<html>
    <head>
      <base href="https://issues.openmandriva.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - XFdrake does not handle systems with two graphics cards"
   href="https://issues.openmandriva.org/show_bug.cgi?id=1935#c76">Comment # 76</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - XFdrake does not handle systems with two graphics cards"
   href="https://issues.openmandriva.org/show_bug.cgi?id=1935">bug 1935</a>
              from <span class="vcard"><a class="email" href="mailto:adelson.oliveira@gmail.com" title="adelson <adelson.oliveira@gmail.com>"> <span class="fn">adelson</span></a>
</span></b>
        <pre>I resumed like that,

1) blacklisted nouveau editing /etc/default/grub

2) Installed nvidia-current (dkms + etc)

3) Edit /etc/bumblebee/bumblebee.conf to have,

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib64/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib64/nvidia-current/xorg,/usr/lib64/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

Then tried,

$ optirun glxspheres64

[ 4144.314334] [ERROR]Cannot access secondary GPU, secondary X is not active.

[ 4144.314378] [ERROR]Aborting because fallback start is disabled.

I finally found out that "secondary X is not active" is caused by bumblebee's
attempt to use nouveau (which is blacklisted) instead of nvidia:

# bumblebeed -vv
 ..................
[ 4333.728447] [DEBUG]Detected nouveau driver
 .................
 ................. 
[ 4333.728547] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nouveau
[ 4333.728554] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
 ...................
....................
[ 4333.728586] [DEBUG] Driver: nouveau
[ 4333.728592] [DEBUG] Driver module: nouveau
......................
................


Then I tried to force nvidia driver:

# bumblebeed --driver=nvidia-current
[ 2568.329524] [INFO]bumblebeed 3.2.1 started
rmmod: ERROR: Module nvidia is in use by: nvidia_modeset
[ 2571.338311] [ERROR]Unloading nvidia driver timed out.

And, I reached the following bumblebee project discussion on the problem of
loading/unloading nvidia due to its use by nvidia_modeset:

<a href="https://github.com/Bumblebee-Project/Bumblebee/issues/699">https://github.com/Bumblebee-Project/Bumblebee/issues/699</a>
<a href="https://github.com/Bumblebee-Project/Bumblebee/issues/719">https://github.com/Bumblebee-Project/Bumblebee/issues/719</a>

At a certain point in the discussion above, one of bumblebee's developer
consider if it is possible to have a workaround for bumblebee next 3.2.2.

Is it available a bumblebee-3.2.2 for updating OMV LX 3.0 bumblebee's package?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>