[Bug 1088287] New: intel/nvidia optimus prime switching to nvidia stopped working at 42.3, not possible to use nvidia GPU
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287 Bug ID: 1088287 Summary: intel/nvidia optimus prime switching to nvidia stopped working at 42.3, not possible to use nvidia GPU Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: linux@daniel-bauer.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Created attachment 766097 --> http://bugzilla.opensuse.org/attachment.cgi?id=766097&action=edit hwinfo, lspci, procinfo After upgrading to 42.3 the prime-select script does not work anymore. After entering "prime-select nvidia" (in a console, as root) I cannot log-out anymore from the KDE-session. After click on the logout-symbol I get: kmsserver-logout-greeter PID 3692 signal: aborted (6) So I enter "shutdown -r now" in the console. The following boot then hangs after "Starting switch root...". I must press the power-button and boot again into level 3, run "prime-select intel" and boot again. So, I cannot use the Nvidia graphics card anymore. I attach all information I found useful, if you need more I'll be happy to provide it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c1
Daniel Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c2
--- Comment #2 from Daniel Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c3
--- Comment #3 from Daniel Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c4
--- Comment #4 from Daniel Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c5
--- Comment #5 from Daniel Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c6
--- Comment #6 from Daniel Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c7
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c8
--- Comment #8 from Michal Srb
Hmm. Might have been addressed by this xorg-x11-server change, we made for Leap 15/Tumbleweed.
------------------------------------------------------------------- Tue Mar 27 14:42:18 UTC 2018 - msrb@suse.com
- Update and re-enable n_xserver-optimus-autoconfig-hack.patch. (bnc#1084411)
I think this is not related. This patch was enabled and working in Leap 42.3 and also in Leap 42.2. It was disabled and recently re-enabled in Leap 15 and Tumbleweed, but that should not matter in this bug since it is reported against Leap 42.3. I am not familiar with the suse-prime scripts either. I have read them briefly now and they seem to be quite fragile, but I can't tell what may have went wrong. Both the Xorg.0.log and Xorg.0.log.old show situation when nvidia is the primary GPU and intel is secondary. It seems that intel gets correctly configured as output source because it sets up the eDP1 output. But shortly after the X server is cleanly terminated. My guess is that the display manager fails. You could try if switching to some other display manager helps (KDM, GDM, SDDM, ...). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c9
--- Comment #9 from Stefan Dirsch
I think this is not related. This patch was enabled and working in Leap 42.3 and also in Leap 42.2. It was disabled and recently re-enabled in Leap 15 and Tumbleweed, but that should not matter in this bug since it is reported against Leap 42.3.
Thanks. I couldn't remember these details any longer.
I am not familiar with the suse-prime scripts either. I have read them briefly now and they seem to be quite fragile, but I can't tell what may have went wrong. Both the Xorg.0.log and Xorg.0.log.old show situation when nvidia is the primary GPU and intel is secondary. It seems that intel gets correctly configured as output source because it sets up the eDP1 output. But shortly after the X server is cleanly terminated. My guess is that the display manager fails. You could try if switching to some other display manager helps (KDM, GDM, SDDM, ...).
I don't know how the nvidia driver has been installed on this system. If the customer used our packages from https://download.nvidia.com/opensuse/leap/42.3 in %post installation we switch to GLX extension and libGL of X.Org/Mesa on an Intel/NVIDIA system for safety reason. Assuming that Intel is the primary card. Could well be that then these suse-prime scripts no longer work. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c10
--- Comment #10 from Daniel Bauer
I don't know how the nvidia driver has been installed on this system. If the customer used our packages from
The installed ones are from obs://build.suse.de/Proprietary:X11:Drivers the update changed to this repository. Before they were from https://download.nvidia.com/opensuse/leap/42.2 (2!) and didn't work, too -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c11
--- Comment #11 from Daniel Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287
http://bugzilla.opensuse.org/show_bug.cgi?id=1088287#c12
--- Comment #12 from Michal Srb
So is there really no possibility to use linux with full graphics power on modern optimus laptops?
I don't have optimus laptop available to test my theory, but this should work right now: * Do not install any suse-prime or any similar scripts. * Do not install the proprietary nvidia driver, nouveau will be used. * Set nvidia as your primary GPU - either do nothing if it is by default, or set it in bios if possible, or set it as the primary device in /etc/X11/xorg.conf.d/50-device.conf. That's it. When X server starts, it should use the nvidia GPU. All rendering happens on it and all its outputs will be available. The intel GPU should be loaded as secondary GPU and it should be auto-configured as provider of additional outputs. So if any outputs are wired to it, they should be available too. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com