View Issue Details

IDProjectCategoryView StatusLast Update
0000886channel: elrepo/el7kmod-nvidiapublic2019-04-29 02:22
Reporterspekbukkem Assigned Topperry  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Summary0000886: latest changes break bumblebee for EL7.6
DescriptionAfter the update of the latest nvidia driver, the bumblebee setup stopped working: The Gnome Shell desktop does not render correctly. A couple of icons are completely black, and most new windows I open are also completely black (except for the gnome terminal). So completely unusable at the moment. Next to that, I'm also no longer able to make use of optirun. I'm encountering the same issues as ananl is bu id 882: I had to uncomment the device ID in the bumblebee configuration file, but after that it complains libGL.so.1 could not be found.
Additional InformationI've compared the sources of nvidia-x11-drv-410.78-2.el7_6.elrepo.nosrc.rpm with nvidia-x11-drv-410.78-1.el7_6.elrepo.nosrc.rpm, and noticed a lot of changes have been made to the package: e.g. the libGL*.so.* libraries are no longer included. This explains why optirun is failing. I did not yet found the real cause of the black screens, but these are most likely also related to the same changes made in the last package.
TagsNo tags attached.
Reported upstream

Activities

pperry

2019-01-08 11:28

administrator   ~0006105

I have no idea about Optimus hardware and bumblebee so can't comment on that.

The latest changes to the nvidia packages are required to support the latest libglvnd packages on rhel7.6

rg

2019-01-12 16:29

developer   ~0006130

See section "mesa-13.0.3-6 and libglvnd issues" here:

https://docs.fedoraproject.org/en-US/quick-docs/bumblebee/

spekbukkem

2019-01-14 01:15

reporter   ~0006134

Thank you both for the additional information.I will try to solve the issue myself and keep you updated. I just installed the nvidia 410.93 drivers, which are now available. At least I'm again able to boot without the black windows/icons. So this seems to be fixed. I also think I have bumblebee working again, but I still not to solve some issues with blacklisting some nvidia modules on boot and unloading them correctly when optirun is closed.

spekbukkem

2019-04-29 02:22

reporter   ~0006294

Sorry for my delayed response. I was indeed able to solve most of the issues supplied via de fedoraproject bumblebee information page, for which rg shared the link.

Adding the following to primusrun script __GLVND_DISALLOW_PATCHING=1, adding BusID "PCI:0:1:0" to the /etc/bumblebee/xorg.conf.nvidia file and alertering the library path in the primusrun script did the trick. However, the optirun program is binary, so I think the same patches (that have been applied for Fedora) need to be executed for EL7.x.

The only thing I can not fix yet is preventing the nvidia drivers from loading on boot. Blacklisiting did not solve it. From what I've read this could be caused by the fact that the module is part of initramfs. I therefore regenerated the initramfs using dracut, but after that I was unable to boot. I had to load an older kernel, remove the blacklisting of the nvidia modules and generate the initramfs file again to solve this. Does any one of you have an idea how to solve this? More important, will it save battery power to only load the nvidia modules when required?

Issue History

Date Modified Username Field Change
2018-12-22 01:16 spekbukkem New Issue
2018-12-22 01:16 spekbukkem Status new => assigned
2018-12-22 01:16 spekbukkem Assigned To => pperry
2019-01-08 11:28 pperry Note Added: 0006105
2019-01-12 16:29 rg Note Added: 0006130
2019-01-14 01:15 spekbukkem Note Added: 0006134
2019-04-29 02:22 spekbukkem Note Added: 0006294