Bug 1097950

Summary: Optimus laptop multi monitor does not connect without editing configs and running commands. Crashes desktop on unplug. X goes into boot loop when restarting desktop manager.
Product: [openSUSE] openSUSE Tumbleweed Reporter: Kyle Agronick <agronick+suse>
Component: OtherAssignee: Tomáš Chvátal <tchvatal>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: andreas.fueglistaler
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: http://bugzilla.opensuse.org/show_bug.cgi?id=1091828
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Kyle Agronick 2018-06-17 15:58:45 UTC
There are a bunch issues I've experienced with Optimus on SuSE. I think the experience is much harder than it should be and there are a number of pitfalls for getting it set up.

nvidia-xconfig purports to set up a good x config for optimus but it makes one that starts the x server in an infinite loop

I had to overwrite /usr/lib64/xorg/modules/extensions/libglx.so with /usr/lib64/xorg/modules/extensions/nvidia/nvidia-libglx.so to get bumblebee working.

I had to use intel-virtual-output after installing Bumblebee to just use my laptop's HDMI output. This isn't really a bug but I don't think users should have to edit config files, and run commands every time they want to use HDMI.

Desktop locked up after unplugging monitor. Restarting desktop manager make X restart over and over again.

I made a video of some of these issues:
https://youtu.be/jiw4lmQk-zQ
Comment 1 Stefan Dirsch 2018-06-18 01:54:10 UTC
Right. (open)SUSE never really supported Optimus systems. Users had mixed results
with Bumblebee/suse-prime packages found on the openSUSE build service. It's still recommended to enable only one of both GPUs in the BIOS - if possible. In your
case probably NVIDIA, if HDMI is connected to this GPU.

> I had to overwrite /usr/lib64/xorg/modules/extensions/libglx.so with 
> /usr/lib64/xorg/modules/extensions/nvidia/nvidia-libglx.so to get bumblebee
> working.

Please be aware that libglx meanwhile is handled via update-alternatives mechanism. When installing NVIDIA driver RPMs on an Optimus system XOrg's libglx
is chosen for to be on the safe side ...
Comment 2 Kyle Agronick 2018-06-18 23:25:21 UTC
> Right. (open)SUSE never really supported Optimus systems. 

I think its something that should definitely be looked at because every laptop I've gotten for myself or for work the past few years has had optimus. All the pieces are there. Its just a matter of detecting it and putting it in place for the user. Especially since they're putting different outputs on different chips, being able to use HDMI shouldn't be a power user feature.
Comment 3 Andreas Fueglistaler 2018-07-28 07:49:00 UTC
I agree, if Suse wants to be a bigger player and make linux a better platform and not being replaced again by Windows this functionality should work out of the box.
Comment 4 Tomáš Chvátal 2020-05-15 11:56:54 UTC
Sorry but the optimus tech is in the disrepair state and there is nothing much to be done.

Users are to move Prime: to https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime