You are not logged in.

#1 2016-04-15 12:15:01

stoatally
Member
Registered: 2016-04-15
Posts: 19

X server won't start since kernel, nvidia and gnome update

Today I installed an update containing linux 4.5, nvidia 364.16 and gnome 3.20.1 (from 3.20.0). After this update I rebooted, however on reaching GDM the screen would turn on for about a second before immediately turning off again, this repeated until switching to tty2. The same thing happens when running startx. I have one xorg config file for the keyboard, and nothing else.

Here are my logs: journalctl -b, Xorg.0.log

Can anyone help me figure out what exactly is failing?

The problem appears to be applicable only when using HDMI 2.0 to achieve 4k resolution at 60Hz.

Solution 1

Switch to DisplayPort until nVidia fix their drivers.

Solution 2

Downgrade to linux 4.4.5 and nvidia 361.28, and follow these instructions to fix a problem with the nvidia drivers being symlinked incorrectly.

Last edited by stoatally (2016-04-16 21:29:55)

Offline

#2 2016-04-15 13:06:30

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

Deleted this post as it distracted from my actual issue.

Last edited by stoatally (2016-04-16 09:50:00)

Offline

#3 2016-04-15 15:25:26

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

Deleted this post as it distracted from my actual issue.

Last edited by stoatally (2016-04-16 09:49:52)

Offline

#4 2016-04-15 19:00:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: X server won't start since kernel, nvidia and gnome update

Known issue with Gnome/GDM: please search before posting.


Closing -- for deletion


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-04-15 19:28:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: X server won't start since kernel, nvidia and gnome update

Restored on appeal...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-04-15 19:33:27

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

Updated the thread to focus on my original issue since other threads tackle the issue I stumbled onto when I downgraded some packages.

Offline

#7 2016-04-16 09:18:57

ni3k
Member
Registered: 2016-04-15
Posts: 22

Re: X server won't start since kernel, nvidia and gnome update

Do you still have this issue, any solutions?

I also have 4K screen with HDMI 2.0 and X is not working since the last update (Kernel/Nvidia), but  I use Xfce4 and lightdm.

It is the same exact behaviour if lightdm is enabled, if not and I do startx then i get libEGL.so.1 is missing:

https://bbs.archlinux.org/viewtopic.php?id=211397

Offline

#8 2016-04-16 09:26:21

pavanky
Member
From: Atlanta
Registered: 2010-01-19
Posts: 8
Website

Re: X server won't start since kernel, nvidia and gnome update

This is happening to me on an optimus configuration. I am able to reproduce it without the nvidia driver installed. The only "solution" so far has been to downgrade the linux kernel back to 4.4.5.

Offline

#9 2016-04-16 09:35:39

pavanky
Member
From: Atlanta
Registered: 2010-01-19
Posts: 8
Website

Re: X server won't start since kernel, nvidia and gnome update

Offline

#10 2016-04-16 09:39:26

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

ni3k wrote:

Do you still have this issue, any solutions?

I also have 4K screen with HDMI 2.0 and X is not working since the last update (Kernel/Nvidia), but  I use Xfce4 and lightdm.

It is the same exact behaviour if lightdm is enabled, if not and I do startx then i get libEGL.so.1 is missing:

https://bbs.archlinux.org/viewtopic.php?id=211397

I don't think we are experiencing the same issue, however I might be able to help, libEGL is part of the nvidia-libgl package, try reinstalling that. Just read your thread, seems you know this already but I'll leave it here for others.

When I startx I get the same behaviour as when gdm is starting, the screen turns on and off again over and over.

Last edited by stoatally (2016-04-16 09:42:31)

Offline

#11 2016-04-16 09:58:10

ni3k
Member
Registered: 2016-04-15
Posts: 22

Re: X server won't start since kernel, nvidia and gnome update

Thanks for your reply.

You say "the screen turns on and off again over and over", this is always the case, if I run lightdm, if I do startx, then sometimes but occasionally, I get xorg crash with libEGL.so.1 not found. I tried for more than 3 hours to remove, reinstall downgrade etc. and the onyl working "solution" was to remove nvidia-libgl to get an graphical enviroment, even I know, that this is not correct.

I am just wondering, if the HDMI 2.0 has something to do with it, because I can not find much about this problem and not many people use HDMI 2.0 I believe?!

Offline

#12 2016-04-16 11:13:35

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

I'm using HDMI 2.0 as you said, I'd try DisplayPort if I had the correct cables but the mini-DP to DP cable I have never worked previously.

I just tried this:

pacman -Rdd nvidia-libgl
pacman -S mesa-libgl

But I get the same behaviour when running startx.

Edit: I was hoping that the nvidia-lts driver was a different version, but nope, it's also 364.16. I'm going to try compiling the beta drivers.

Last edited by stoatally (2016-04-16 11:16:50)

Offline

#13 2016-04-16 11:33:37

ni3k
Member
Registered: 2016-04-15
Posts: 22

Re: X server won't start since kernel, nvidia and gnome update

Yes with the new driver and kernel same here but:

I removed all nvidia packages and downgraded the kernel, then I could startx with generic video support but low resolution.

I installed old nvidia packages from pacman cache and again X failed.

Then I removed all nvidia packages again and xorg-server xorg-server-common and started over again, but with mesa-libgl instead of nvidia-libgl (old nvidia packages from pacman cache).

Now startx works with correct resolution.

What I don't understand is, why I could not go back to the last working state by downgrading all packages.

Offline

#14 2016-04-16 11:36:28

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

Yeah, that's pretty much the experience I had, except you took it one step further by combining the older nvidia drivers and mesa-libgl. What version of those drivers are you currently running? I'd like to try the same if the drivers I'm compiling don't work.

Offline

#15 2016-04-16 11:56:00

ni3k
Member
Registered: 2016-04-15
Posts: 22

Re: X server won't start since kernel, nvidia and gnome update

It is not a real solution but here you are:

nvidia-361.28-4-x86_64 (downgraded from nvidia-364.16-2-x86_64)
nvidia-utils-361.28-5-x86_64 (downgraded from nvidia-utils-364.16-2-x86_64)
lib32-nvidia-utils-361.28-4-x86_64 (downgraded from lib32-nvidia-utils-364.16-1-x86_64)
mesa-libgl-11.2.0-1 (downgrade to nvidia-libgl-361.28-5-x86_64 from nvidia-libgl-364.16-2-x86_64 did not work)
lib32-nvidia-libgl removed for now (364.16-1-x86_64)
Kernel linux 4.4.5-1 (downgraded from 4.5-1)

On some point, I also removed mesa and xorg-xinit and did some reboots and so on.
I also installed lxde, just in case it is something with the desktop but no.

Mainly I did (as far as I remember):

Remove Nvidia:

sudo pacman -Rdd nvidia nvidia-utils nvidia-libgl
sudo pacman -Rdd lib32-nvidia-utils lib32-nvidia-libgl

Reboot:

Downgrade Kernel:

cd /var/cache/pacman/pkg
sudo pacman -U linux-4.4.5-1-x86_64.pkg.tar.xz linux-headers-4.4.5-1-x86_64.pkg.tar.xz

Remove xserver

sudo pacman -Rdd xorg-server xorg-server-common

Reboot:

Downgrade Nvidia and Install xserver and switch to mesa-libgl

cd /var/cache/pacman/pkg
sudo pacman -U nvidia-361.28-4-x86_64.pkg.tar.xz nvidia-utils-361.28-5-x86_64.pkg.tar.xz lib32-nvidia-utils-361.28-4-x86_64.pkg.t­ar.xz
sudo pacman -S xorg-server mesa-libgl

Last edited by ni3k (2016-04-16 15:34:29)

Offline

#16 2016-04-16 12:07:06

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

Thanks, I just did essentially the same process and got a working system. Still leaves a huge question as to why it broke like this in the first place.

Before my system broke I had not rebooted for 11 days, so there's a good chance I last booted with the 361.18 drivers and not the 361.28 drivers, so I'm going to do one more rollback and see if those drivers work with nvidia-libgl.

Edit: Nope, it only works with the 361.28 drivers.

Last edited by stoatally (2016-04-16 12:28:41)

Offline

#17 2016-04-16 15:31:15

ni3k
Member
Registered: 2016-04-15
Posts: 22

Re: X server won't start since kernel, nvidia and gnome update

https://devtalk.nvidia.com/default/topi … /?offset=7

Maybe a problem with HDMI 2.0, but everything was working fine before and I don't understand, why it is not possible to downgrade to what was working. Oddly enough that my weird mesa-libgl way is not working with 361.18 driver, but with 361.28 driver?!

On Monday I am back at home and I will try Display Port or a 1080p Display.

I am still suspecting, that a necessary symlink is missing. As far, as I understand, there must be symlinks like /usr/lib/libEGL.so.1 to the libEGL.so.1 provided by nvidia-libgl. Back then, when I was using AMD Card with Catalyst, I often had such issues, but nerver with Nvidia.

Last edited by ni3k (2016-04-16 15:38:50)

Offline

#18 2016-04-16 15:51:31

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

It seems likely that it's related, I'm using basically the same hardware as one user described, an nVidia GTX 950 with a Samsung U24E850R UHD monitor. I'm going to give my mini-DP to DP cable a shot, maybe it'll work now.

Offline

#19 2016-04-16 15:56:56

ni3k
Member
Registered: 2016-04-15
Posts: 22

Re: X server won't start since kernel, nvidia and gnome update

Offline

#20 2016-04-16 17:24:25

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

I'm currently running via DP with nvidia-dkms on linux 4.4.5. After logging in my screen was blank, however GNOME was working, but it saw my HDMI cable as the primary display even though switching the monitor to HDMI resulted in the on/off cycle problem.

fajmOy0s.png

I'll try with linux 4.5 and nvidia-dkms, and if that works I'll try with the normal nvidia package. I suspect the change here is due to using DP and nothing else.

Edit: All of the above worked, I'm now running a fully up to date system again. HDMI 2.0/4k@60 is just broken with the current driver, DP1.2/4k@60 works fine.

Last edited by stoatally (2016-04-16 21:19:01)

Offline

#21 2016-04-16 17:54:36

ni3k
Member
Registered: 2016-04-15
Posts: 22

Re: X server won't start since kernel, nvidia and gnome update

I don't like to read this. I bought a 4K Display with HDMI 2.0 because my PC does not boot when connected via DP :-(
So nvidia-dkms and HDMI 2.0 is not working?

Offline

#22 2016-04-16 17:58:10

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

Unfortunately not. I mentioned that I was having trouble with getting DP working earlier, well what finally did it was uninstalling all video drivers and rebooting into multi-user mode, suddenly DP was working, and has kept working since. Maybe give that a shot, it might work for you.

Offline

#23 2016-04-16 18:10:20

ni3k
Member
Registered: 2016-04-15
Posts: 22

Re: X server won't start since kernel, nvidia and gnome update

Unfortunately, it seems to be a Hardware problem only with Dell, DP and maybe my mainboard. My PC crashes like, if an failed overclock, leading me into the BIOS. Then I have to restore all settings, save and the PC boots just fine. It also happens from sleep.

As I like Dell Displays, I looked for new one with HDMI 2.0.

I dont have this trouble with any other brand.

But I am sure, there must be a way to use downgraded nvidia-libgl to get my system back to the state before the update. And then I will wait to for the next Nvidia driver.

I am happy, that your system is working now.

Offline

#24 2016-04-16 18:30:31

stoatally
Member
Registered: 2016-04-15
Posts: 19

Re: X server won't start since kernel, nvidia and gnome update

Damn, that sucks.

This isn't a permanent solution for me either, I need to use this monitor with my work laptop which only has mini-DP outs, so it's not solved in my mind until HDMI is working again.

Offline

#25 2016-04-16 21:21:59

ghostsquad57
Member
Registered: 2015-04-03
Posts: 10

Re: X server won't start since kernel, nvidia and gnome update

Had the same issue, here's what I found:

When updating the nvidia packages, I would get this weird error about not being able to get information on files like "libGL.so" and "libGL.so.1" and a few other files.

Here's how I fixed it: I used the "file" command on the files that were throwing errors in the upgrade process; file reported that these files were "broken symbolic links to /usr/lib/nvidia-XXX", so I deleted the bad symlinks and created my own symlinks with "ln -s".

Everything is working fine for me now.

Offline

Board footer

Powered by FluxBB