<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 &lt;<a href="mailto:amyagi@gmail.com" target="_blank">amyagi@gmail.com</a>&gt; 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>
&lt;<a href="mailto:Nicolas.Thierry-Mieg@univ-grenoble-alpes.fr" target="_blank">Nicolas.Thierry-Mieg@univ-grenoble-alpes.fr</a>&gt; wrote:<br>
<br>
&gt; Over the week-end I took some more time to reinvestigate the issue, in case<br>
&gt; we actually want to fix it.<br>
&gt;<br>
&gt; Note that I have set up bumblebee on two different laptops, both with an<br>
&gt; intel integrated GPU and a discrete nvidia GPU, both running Centos 7 and<br>
&gt; installed similarly (nvidia and bumblebee from elrepo). One works fine with<br>
&gt; the default configuration, the other doesn&#39;t and results in the error that<br>
&gt; the OP ran into.<br>
&gt; IOW the issue only occurs on some  systems... Maybe due to the order in<br>
&gt; which the 2 GPUs are found by the kernel or by X.org. I don&#39;t know.<br>
(snip)<br>
&gt; My kludgy solution to the issue is to move the nvidia libglx.so out of the<br>
&gt; way:<br>
&gt; sudo mv /usr/lib64/xorg/modules/extensions/nvidia /usr/lib64/xorg<br>
&gt; and tell bumblebee where it is now, by setting XorgModulePath in<br>
&gt; /etc/bumblebee/bumblebee.conf so it now has /usr/lib64/xorg/nvidia/ instead<br>
&gt; of /usr/lib64/xorg/modules/extensions/nvidia/ .<br>
(snip)<br>
&gt; And everything works as expected.<br>
&gt;<br>
&gt; I believe a permanent fix could be to have nvidia-x11-drv install libglx.so<br>
&gt; in /usr/lib64/xorg/nvidia/ , set ModulePath accordingly in<br>
&gt; /etc/X11/xorg.conf.d/99-nvidia.conf , and have the default bumblebee.conf<br>
&gt; file with the fixed XorgModulePath.<br>
&gt; In this way nvidia GPUs should still work fine for non-bumblee users (thanks<br>
&gt; to 99-nvidia.conf), and bumblebee should work for everyone.<br>
&gt;<br>
&gt; Thoughts?<br>
&gt;<br>
&gt; Regards,<br>
&gt; 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: &quot;glx&quot;</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: &quot;glx&quot;</div><div>[    22.409] (II) Unloading glx</div><div>[    22.409] (EE) Failed to load module &quot;glx&quot; (loader failed, 7)</div></div><div><br></div><div>I&#39;ll try a few more things to see if I can muddle through....</div></div></div></div></div>