Bug 969763

Summary: No displaymanager after update nvidia driver
Product: [openSUSE] openSUSE Distribution Reporter: Daniele Tombolini <kailed>
Component: X11 3rd Party DriverAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Major    
Priority: P2 - High CC: astieger, hpj, rw
Version: 13.2   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Xorg log

Description Daniele Tombolini 2016-03-06 13:09:32 UTC
Created attachment 667924 [details]
Xorg log

Hi, after a system update (zypper up) something is broken with nvidia driver.
Xorg does not start.

Only fixed by removing nvdia driver !
So, fine with nvidia-355.* broken with nvidia 361.*
Comment 1 Andreas Stieger 2016-03-06 17:31:47 UTC
*** Bug 969764 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Dirsch 2016-03-08 09:29:15 UTC
*Update*
Good news. Meanwhile I can reproduce the issue.
Bad news. After having a hard day investigating the issue yesterday I still could not to figure out the culprit. :-( 

Workround for now:
- remove any nvidia RPMs via YaST, zypper or rpm, e.g. via
  "rpm -e $(rpm -qa|grep nvidia)"
- rm -f /lib/modules/*-<kernel_flavor>/updates/nvidia*.ko
- find  /lib/modules/*-<kernel_flavor>/weak-updates -name "nvidia*.ko" -delete
- reinstall nvidia packages via 'zypper inr'
Comment 4 Stefan Dirsch 2016-03-08 12:52:12 UTC
Ok. I believe I fixed the issue finally. It may happen that you need to restart the displaymanager afterwards (or just reboot the machine in case you don't know how to do this), but that should be enough. And IIRC this is no new issue (depends on the DM you're using). I'll push the fixes towards NVIDIA ASAP.
Comment 5 Stefan Dirsch 2016-03-08 14:29:31 UTC
Updates in the repo should be available in the next days.
Comment 6 Stefan Dirsch 2016-03-09 14:27:14 UTC
Repos for openSUSE 13.1, 13.2 and Leap 42.1 have been updated with fixed RPMs.
Comment 7 Stefan Dirsch 2016-03-09 15:26:53 UTC
(In reply to Stefan Dirsch from comment #4)
> [...] It may happen that you need to
> restart the displaymanager afterwards (or just reboot the machine in case
> you don't know how to do this), but that should be enough. And IIRC this is
> no new issue (depends on the DM you're using). I'll push the fixes towards
> NVIDIA ASAP.

Indeed that's DM specific. Works with xdm, doesn't with gdm. Reason is that gdm
hardcodes Xserver binary to /usr/bin/Xorg instead of using the proper symlink /usr/bin/X. No, I don't like gdm ...