Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optirun prints 'Failed to load module "nouveau"' although module nouveau is loaded #873

Open
krichter722 opened this issue May 25, 2017 · 2 comments

Comments

@krichter722
Copy link

Running optirun -vv --debug bash results in

[  811.200189] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  811.200340] [INFO]Configured driver: nouveau
[  811.200465] [DEBUG]optirun version 3.2.1 starting...
[  811.200473] [DEBUG]Active configuration:
[  811.200475] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  811.200478] [DEBUG] X display: :8
[  811.200481] [DEBUG] LD_LIBRARY_PATH: 
[  811.200484] [DEBUG] Socket path: /var/run/bumblebee.socket
[  811.200486] [DEBUG] Accel/display bridge: auto
[  811.200490] [DEBUG] VGL Compression: proxy
[  811.200492] [DEBUG] VGLrun extra options: 
[  811.200497] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  811.200667] [DEBUG]Using auto-detected bridge primus
[  811.316870] [INFO]Response: No - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)

[  811.316890] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)

[  811.316912] [DEBUG]Socket closed.
[  811.316930] [ERROR]Aborting because fallback start is disabled.
[  811.316939] [DEBUG]Killing all remaining processes.

which is unhelpful because modprobe nouveau and modinfo nouveau indicate that the module nouveau is already loaded.

/etc/bumblebee/bumblebee.conf:

[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=nouveau
XorgConfDir=/etc/bumblebee/xorg.conf.d
XorgBinary=/usr/lib/xorg/Xorg

[optirun]
Bridge=auto
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
AllowFallbackToIGC=false

[driver-nvidia]
KernelDriver=nvidia_340
PMMethod=auto
LibraryPath=/usr/lib/nvidia-340:/usr/lib32/nvidia-340
XorgModulePath=/usr/lib/nvidia-340/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

/etc/bumblebee/xorg.conf.nouveau:

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection
Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nouveau"
    BusID "PCI:01:00:0"
EndSection
@Lekensteyn
Copy link
Member

nouveau here refers to the Xorg driver (on Ubuntu this is the package xserver-xorg-video-nouveau) rather than the kernel module which is also named nouveau.

Note that nouveau is not recommended for use with Bumblebee, use PRIME instead. See #773

@krichter722
Copy link
Author

I see. This issue is more about improving feedback so that users can understand it and so that it makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants