Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NVIDIA Drivers Ubuntu |
New
|
Undecided
|
Unassigned | ||
mutter (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
xorg (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
There are two bug reports in LP: #1559576, LP: #1632322 and also LP: #1666664, where GDM does not start on proprietary nvidia drivers. As it turned out, the reason for that was Xorg starting in rootless mode and apparently not initializing everything properly, which was causing gnome-shell/
Installing xserver-xorg-legacy did partially fix those issues.
Enabling modesetting for nvidia driver however still causes the problem.
Here are some parts from log:
Xorg startup:
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
glx loaded:
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
nvidia loaded:
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
modesetting loaded:
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
Mär 11 00:43:18 arvlin /usr/lib/
gnome-shell fails to run:
Mär 11 00:43:20 arvlin kernel: gnome-shell[2067]: segfault at 28 ip 00007fedba8da7c4 sp 00007ffd2fb5f5a0 error 4 in libmutter-
xorg stops:
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin /usr/lib/
Mär 11 00:43:21 arvlin gdm-launch-
summary: |
XOrg does not work in rootless mode on nvidia proprietary drivers + (GNOME) |
summary: |
- XOrg does not work in rootless mode on nvidia proprietary drivers + Xorg does not work in rootless mode on nvidia proprietary drivers (GNOME) |
summary: |
- Xorg does not work in rootless mode on nvidia proprietary drivers - (GNOME) + Xorg does not detect displays in rootless mode on nvidia proprietary + drivers (GNOME) |
tags: | added: gnome-1710 wayland |
tags: |
added: gnome-17.10 removed: gnome-1710 |
I don't currently have access to my nvidia hardware and to be honest not even sure if rootless Xorg is supported yet on nvidia drivers, however I would have assumed that if wayland is mostly working then the KMS support would have been in good enough shape for this to work.
Without xserver-xorg-legacy gdm should start in wayland mode, so not sure how that is related to rootless Xorg?
Igor, Can you get a back trace of the mutter crash? As far as I recall most of the rootless Xorg stuff is at a lower level than mutter, and handled by logind and Xorg. systemd-logind passes a fd for your drm device over to Xorg, are there any log messages related to that?