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