[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xorg (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: mutter (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
** Tags removed: gnome-1710 ** Tags added: gnome-17.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
** Tags added: gnome-1710 wayland -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
[ 163.975845] Call Trace: [ 163.975854] dump_stack+0x63/0x81 [ 163.975858] __warn+0xcb/0xf0 [ 163.975860] warn_slowpath_null+0x1d/0x20 [ 163.975866] drm_atomic_helper_commit_hw_done+0xab/0xb0 [drm_kms_helper] [ 163.975869] nvidia_drm_atomic_helper_commit_tail+0x128/0x1d0 [nvidia_drm] [ 163.975875] commit_tail+0x3f/0x80 [drm_kms_helper] [ 163.975879] commit_work+0x12/0x20 [drm_kms_helper] [ 163.975881] process_one_work+0x1fc/0x4b0 [ 163.975883] worker_thread+0x4b/0x500 [ 163.975886] kthread+0x101/0x140 [ 163.975888] ? process_one_work+0x4b0/0x4b0 [ 163.975890] ? kthread_create_on_node+0x60/0x60 [ 163.975893] ret_from_fork+0x2c/0x40 [ 163.975895] ---[ end trace 341cfa538776d33d ]--- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
Jeremy, it's not related. Also, this is how it supposed to work. If gdm thinks it cannot start wayland session, it wont display Wayland option. Why does gdm thinks Wayland session is not available you ask? Because I presume you have modesetting disabled, because installation or update for nvidia driver overwrites: /etc/modprobe.d/nvidia-graphics-drivers.conf -> /etc/alternatives/x86_64 -linux-gnu_nvidia_modconf and puts by default: options nvidia_381_drm modeset=0 which will prevent wayland from working. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
https://bugzilla.gnome.org/781075 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
Hm, this makes sense. Maybe, after xorg/nvidia driver detects monitors as root (calling "sudo startx" from the console, has the same effect as running lightdm) they are cached somewhere, or maybe Xorg/nvidia driver changes permissions, so rootless Xorg cann then detect monitors in following sessions. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
The following line is a bit suspicious >Mär 21 20:10:20 arvlin /usr/lib/gdm3/gdm-x-session[3618]: (II) >systemd-logind: releasing fd for 226:0 afair that would mean the Xorg/nvidia driver no longer has access to GPU once NVIDIA is trying to load/detect monitors, however strangely its also showing up in your other "working" log. It might be worth filing an upstream bug against gdm. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
** Attachment added: "xorg_after_lightdm.txt" https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1672033/+attachment/4841880/+files/xorg_after_lightdm.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
Here you go: ** Attachment added: "logind.txt" https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1672033/+attachment/4841878/+files/logind.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
** Attachment added: "xorg_faileed_monitor_detect.txt" https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1672033/+attachment/4841879/+files/xorg_faileed_monitor_detect.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
Igor, can you post full logs from Xorg, and also any systemd-logind logs from journalctl. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
(before your workaround) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
xrandr output in rootless session: igor:~% ps aux | grep Xorg igor 3779 3.2 0.0 199348 51332 tty3 S+ 15:49 0:00 /usr/lib/xorg/Xorg vt3 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3 igor:~% xrandr -q Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767 DVI-D-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 59.95*+ 1920x1080 60.00 1680x1050 59.95 1600x1200 60.00 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.32 640x480 59.94 HDMI-0 disconnected (normal left inverted right x axis y axis) DP-0 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis) DP-4 disconnected (normal left inverted right x axis y axis) DP-5 disconnected (normal left inverted right x axis y axis) lightdm works, because it starts Xorg as root for itself, which causes monitor initialization and consequently later started rootless session work fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
I don't have hybrid graphics. It's a normal desktop. Yes, lightdm is working with KMS enabled and it is possible to log in into gnome-shell Xorg session. But lightdm is started as root: root 10867 0.0 0.0 361724 6620 ?SLsl 15:41 0:00 /usr/sbin/lightdm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
Also does lightdm work with KMS enabled for logging into gnome-shell session? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
what hardware are you running? I recall some hybrid laptops fail to advertise a "primary" display. what is the output of "xrandr -q" in a working root-less X session? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1672033] Re: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME)
** Summary changed: - 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs