Bumblebee with nouveau?

Vincent Cheng vincentc1208 at gmail.com
Sat Aug 31 21:35:19 UTC 2013


On Sat, Aug 31, 2013 at 12:00 AM, Marco Mattiolo
<marco.mattiolo at hotmail.it> wrote:
> Hi and thank you all for maintaining Nvidia drivers+Bumblebee in Debian!
>
> I would like to setup the discrete graphics card on my Samsung RC530:
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
> Processor Family Integrated Graphics Controller (rev 09)
> 01:00.0 3D controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)
>
> Being cited in the wiki, I tried bumblebee+nouveau:
>
> $ optirun -vv glxgears
> [  233.842547] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
> [  233.843133] [DEBUG]optirun version 3.2.1 starting...
> [  233.843163] [DEBUG]Active configuration:
> [  233.843179] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
> [  233.843196] [DEBUG] X display: :8
> [  233.843210] [DEBUG] LD_LIBRARY_PATH:
> [  233.843242] [DEBUG] Socket path: /var/run/bumblebee.socket
> [  233.843257] [DEBUG] Accel/display bridge: auto
> [  233.843271] [DEBUG] VGL Compression: proxy
> [  233.843285] [DEBUG] VGLrun extra options:
> [  233.843299] [DEBUG] Primus LD Path:
> /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
> [  233.843362] [DEBUG]Using auto-detected bridge primus
> [  233.855852] [INFO]Response: No - error: X did not start properly
>
> [  233.855899] [ERROR]Cannot access secondary GPU - error: X did not start
> properly
>
> [  233.855929] [DEBUG]Socket closed.
> [  233.855976] [ERROR]Aborting because fallback start is disabled.
> [  233.856026] [DEBUG]Killing all remaining processes.
>
>
> It seems to me error being "X did not start properly", so (from the attached
> Xorg.8.log):
>
> [   233.852] drmOpenDevice: node name is /dev/dri/card0
> [   233.852] drmOpenDevice: open result is 10, (OK)
> [   233.852] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
> [   233.852] drmOpenDevice: node name is /dev/dri/card0
> [   233.852] drmOpenDevice: open result is 10, (OK)
> [   233.852] drmOpenByBusid: drmOpenMinor returns 10
> [   233.852] drmOpenByBusid: Interface 1.4 failed, trying 1.1
> [   233.852] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
> [   233.852] drmOpenDevice: node name is /dev/dri/card1
> [   233.853] drmOpenDevice: open result is 10, (OK)
> [   233.853] drmOpenByBusid: drmOpenMinor returns 10
> [   233.853] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> [   233.853] (II) [drm] nouveau interface version: 1.1.1
> [   233.853] (II) Loading sub module "dri2"
> [   233.853] (II) LoadModule: "dri2"
> [   233.853] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
> [   233.853] (II) Module dri2: vendor="X.Org Foundation"
> [   233.853]     compiled for 1.12.4, module version = 1.2.0
> [   233.853]     ABI class: X.Org Server Extension, version 6.0
> [   233.853] drmOpenDevice: node name is /dev/dri/card0
> [   233.853] drmOpenDevice: open result is 11, (OK)
> [   233.853] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
> [   233.853] drmOpenDevice: node name is /dev/dri/card0
> [   233.853] drmOpenDevice: open result is 11, (OK)
> [   233.853] drmOpenByBusid: drmOpenMinor returns 11
> [   233.853] drmOpenByBusid: Interface 1.4 failed, trying 1.1
> [   233.853] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
> [   233.853] drmOpenDevice: node name is /dev/dri/card1
> [   233.853] drmOpenDevice: open result is 11, (OK)
> [   233.853] drmOpenByBusid: drmOpenMinor returns 11
> [   233.853] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> [   233.854] (--) NOUVEAU(0): Chipset: "NVIDIA NVC1"
> [   233.854] (II) NOUVEAU(0): Creating default Display subsection in Screen
> section
>     "Default Screen Section" for depth/fbbpp 24/32
> [   233.854] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
> [   233.854] (==) NOUVEAU(0): RGB weight 888
> [   233.854] (==) NOUVEAU(0): Default visual is TrueColor
> [   233.854] (==) NOUVEAU(0): Using HW cursor
> [   233.854] (==) NOUVEAU(0): GLX sync to VBlank disabled.
> [   233.854] (==) NOUVEAU(0): Page flipping enabled
> [   233.854] (==) NOUVEAU(0): Swap limit set to 2 [Max allowed 2]
> [   233.854] (WW) NOUVEAU(0): No outputs definitely connected, trying
> again...
> [   233.854] (WW) NOUVEAU(0): Unable to find connected outputs - setting
> 1024x768 initial framebuffer
> [   233.854]
> [   233.854] Backtrace:
> [   233.854] 0: Xorg (xorg_backtrace+0x36) [0x7f3da8142d06]
> [   233.854] 1: Xorg (0x7f3da7fc4000+0x182859) [0x7f3da8146859]
> [   233.854] 2: /lib/x86_64-linux-gnu/libpthread.so.0
> (0x7f3da72e9000+0xf210) [0x7f3da72f8210]
> [   233.854] 3: Xorg (xf86SetScrnInfoModes+0x275) [0x7f3da80834a5]
> [   233.854] 4: Xorg (xf86InitialConfiguration+0x15a5) [0x7f3da8086e15]
> [   233.854] 5: /usr/lib/xorg/modules/drivers/nouveau_drv.so
> (0x7f3da3cfe000+0x2618c) [0x7f3da3d2418c]
> [   233.854] 6: /usr/lib/xorg/modules/drivers/nouveau_drv.so
> (0x7f3da3cfe000+0xf29c) [0x7f3da3d0d29c]
> [   233.854] 7: Xorg (InitOutput+0x8ba) [0x7f3da8055a2a]
> [   233.854] 8: Xorg (0x7f3da7fc4000+0x41d26) [0x7f3da8005d26]
> [   233.854] 9: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5)
> [0x7f3da5f52995]
> [   233.854] 10: Xorg (0x7f3da7fc4000+0x4219d) [0x7f3da800619d]
> [   233.854]
> [   233.854] Segmentation fault at address (nil)
> [   233.854]
> Fatal server error:
> [   233.854] Caught signal 11 (Segmentation fault). Server aborting
> [   233.854]
> [   233.855]
> Please consult the The X.Org Foundation support
>      at http://wiki.x.org
>  for help.
> [   233.855] Please also check the log file at "/var/log/Xorg.8.log" for
> additional information.
> [   233.855]
> [   233.855] Server terminated with error (1). Closing log file.
>
>
> Now, my question is: regardless of performance, is Bumblebee known to work
> with nouveau driver?
> If not, I'll try bumblebee+nvidia. If yes, I'll report the problem and ask
> for help.
> Just let me know, thank you all for patience! :)

Bumblebee should work with both nouveau or nvidia, automatically
choosing whichever one is available, and will default to nvidia if
both modules are available to choose from. With that said, nouveau's
support for Fermi/Kepler cards is still spotty, and the backtrace
above suggests an issue with nouveau, not with bumblebee. You may want
to try bumblebee+nvidia instead.

Alternatively, if you'd rather use bumblebee+nouveau, PRIME is also an
option that's built into the kernel (and which you won't need to
install bumblebee to use), but it requires the very latest
kernel+X+mesa stacks, which wasn't the case last time I looked at
PRIME as an option for myself to consider (although I suppose that it
may work with packages from experimental now). It also won't work with
the proprietary nvidia drivers, and if bumblebee+nouveau doesn't work,
I doubt that PRIME would either...but more at [1] if you're
interested.

Regards,
Vincent

[1] http://nouveau.freedesktop.org/wiki/Optimus/



More information about the pkg-nvidia-devel mailing list