On Mon, 4 Jun 2018 at 02:22, Akemi Yagi <amy...@gmail.com> wrote: > On Sun, Jun 3, 2018 at 9:05 AM, Nicolas Thierry-Mieg > <nicolas.thierry-m...@univ-grenoble-alpes.fr> wrote: > > > Over the week-end I took some more time to reinvestigate the issue, in > case > > we actually want to fix it. > > > > Note that I have set up bumblebee on two different laptops, both with an > > intel integrated GPU and a discrete nvidia GPU, both running Centos 7 and > > installed similarly (nvidia and bumblebee from elrepo). One works fine > with > > the default configuration, the other doesn't and results in the error > that > > the OP ran into. > > IOW the issue only occurs on some systems... Maybe due to the order in > > which the 2 GPUs are found by the kernel or by X.org. I don't know. > (snip) > > My kludgy solution to the issue is to move the nvidia libglx.so out of > the > > way: > > sudo mv /usr/lib64/xorg/modules/extensions/nvidia /usr/lib64/xorg > > and tell bumblebee where it is now, by setting XorgModulePath in > > /etc/bumblebee/bumblebee.conf so it now has /usr/lib64/xorg/nvidia/ > instead > > of /usr/lib64/xorg/modules/extensions/nvidia/ . > (snip) > > And everything works as expected. > > > > I believe a permanent fix could be to have nvidia-x11-drv install > libglx.so > > in /usr/lib64/xorg/nvidia/ , set ModulePath accordingly in > > /etc/X11/xorg.conf.d/99-nvidia.conf , and have the default bumblebee.conf > > file with the fixed XorgModulePath. > > In this way nvidia GPUs should still work fine for non-bumblee users > (thanks > > to 99-nvidia.conf), and bumblebee should work for everyone. > > > > Thoughts? > > > > Regards, > > Nicolas > > Nicolas, > > Thank you for your explanations in such great details on how you got > bumblebee working. Phil is currently struggling for time but will be > responding with his thoughts soon. > > Akemi > _______________________________________________ > elrepo mailing list > elrepo@lists.elrepo.org > http://lists.elrepo.org/mailman/listinfo/elrepo
I finally got to try out the solution posted. Unfortunately, it did not work for me though. The error I now get is: 22.409] (II) LoadModule: "glx" [ 22.409] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 22.409] (EE) Failed to load /usr/lib64/xorg/modules/extensions/libglx.so: libGL.so.1: cannot open shared object file: No such file or directory [ 22.409] (II) UnloadModule: "glx" [ 22.409] (II) Unloading glx [ 22.409] (EE) Failed to load module "glx" (loader failed, 7) I'll try a few more things to see if I can muddle through....
_______________________________________________ elrepo mailing list elrepo@lists.elrepo.org http://lists.elrepo.org/mailman/listinfo/elrepo