You are not logged in.

#1 2018-08-24 01:53:45

afader
Member
Registered: 2013-09-12
Posts: 207

[SOLVED] Upgrading nvidia/xorg 396

I can't upgrade the following packages. In particular, I just ran into this updating nvidia drivers from 396.51 to 396.54. In that case, when I start gdm I can't move the mouse or enter anything on the keyboard. The same thing happens when I update the libinput/mouse packages. The mesa packages and systemd packages just lead to a black unresponsive screen.

If anyone knows the right upgrade path for these or what configs to edit, please let me know.

warning: lib32-mesa: ignoring package upgrade (18.0.4-2 => 18.1.6-1)
warning: lib32-mesa-vdpau: ignoring package upgrade (18.0.4-2 => 18.1.6-1)
warning: lib32-nvidia-utils: ignoring package upgrade (396.51-1 => 396.54-1)
warning: lib32-opencl-nvidia: ignoring package upgrade (396.51-1 => 396.54-1)
warning: libsystemd: ignoring package upgrade (238.133-4 => 239.0-2)
warning: libva-mesa-driver: ignoring package upgrade (18.0.4-1 => 18.1.6-1)
warning: mesa: ignoring package upgrade (18.0.4-1 => 18.1.6-1)
warning: mesa-vdpau: ignoring package upgrade (18.0.4-1 => 18.1.6-1)
warning: nvidia-dkms: ignoring package upgrade (396.51-6 => 396.54-1)
warning: nvidia-utils: ignoring package upgrade (396.51-1 => 396.54-1)
warning: opencl-nvidia: ignoring package upgrade (396.51-1 => 396.54-1)
warning: systemd: ignoring package upgrade (238.133-4 => 239.0-2)
warning: xf86-input-libinput: ignoring package upgrade (0.27.1-1 => 0.28.0-1)
warning: xf86-input-mouse: ignoring package upgrade (1.9.2-3 => 1.9.3-1)
warning: xorg-server: ignoring package upgrade (1.20.0-9 => 1.20.1-1)
warning: xorg-server-common: ignoring package upgrade (1.20.0-9 => 1.20.1-1)
warning: xorg-server-devel: ignoring package upgrade (1.20.0-9 => 1.20.1-1)
warning: xorg-server-xvfb: ignoring package upgrade (1.20.0-9 => 1.20.1-1)
warning: xorg-server-xwayland: ignoring package upgrade (1.20.0-9 => 1.20.1-1)

Last edited by afader (2018-08-26 03:34:39)

Offline

#2 2018-08-24 11:10:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: [SOLVED] Upgrading nvidia/xorg 396

Remove xf86-input-mouse it is deprecated and might lead to strange interactions. Update everything else, for nvidia and GDM, see https://bbs.archlinux.org/viewtopic.php … 9#p1796289

Offline

#3 2018-08-25 05:26:33

afader
Member
Registered: 2013-09-12
Posts: 207

Re: [SOLVED] Upgrading nvidia/xorg 396

Before I try that, can you give me some better debug steps in case I do run into that problem again? Usually I try dmesg and Xorg.log and there's nothing meaningful in there.

Offline

#4 2018-08-25 16:40:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: [SOLVED] Upgrading nvidia/xorg 396

look at a journal log for the problematic boot (e.g.

journalctl -b #current boot
journalctl -b-1#previous boot and so fort

as that will contain output from services and the general session as well as the kernel (dmesg) log. If it's the same issue I'm thinking of you should see GDM crashing there because it tries to initialize wayland specific functions not available on nvidia. Also always look at downgrading packages as the last resort, rather than the default option. If you can't log into your graphical session, disable GDM and check if you can boot to a console or check if your system is still operational beyond the graphical session by switching to different VTs.

Offline

#5 2018-08-25 20:08:02

afader
Member
Registered: 2013-09-12
Posts: 207

Re: [SOLVED] Upgrading nvidia/xorg 396

Thanks, as per your comment I usually switch VTs or, if keyboard not working ssh in from a different machine, and it works, suggesting that the problem is all to do with nvidia/xorg/wayland/gdm and nothing about the system itself.

Everything worked now that I disabled wayland. I definitely had a working wayland boot at one point, but I guess it's now broken again. At any rate, is there any reason that I should want to get wayland working aside from it being the future path of X on linux? Is it faster, more secure, more stable etc.? I had wayland working with an old version of the nvidia drivers at one point.

Offline

#6 2018-08-25 22:54:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: [SOLVED] Upgrading nvidia/xorg 396

You had wayland working with the older version of GNOME at one point, they afaik  backpedaled on that due to instability (i don't use GNOME, but iirc the only thing that worked for quite some time now was GDM not the actual session, the actual session did work at one point but they switched away from that again) . So no, pursuing that isn't really an useful option with the nvidia driver right now. Other than that yes wayland is supposed to be all of those, however there's a lot of things still in heavy development. There's also a bit of a disjoint because nvidia's implementation of wayland support differs fundamentally from the way the OSS drivers do it, which would require every wayland compositor to implement support for the two competing backends.

However if the original issue is solved, please mark your thread as such by editing the title in your first post.

Offline

Board footer

Powered by FluxBB