You are not logged in.
Hi guys,
I'm trying to install nouveau to work with bumblebee. When I just installed the system and tried to run optirun, it gave me some sort of error about not detecting a mouse, which I solved by looking around some forums and installing some xf86 mouse driver. At this point it still didn't work, but after restarting a few times at one point it miraculously started working. So I left it at that.
I tried optirun again today, not changing any of the configurations, and it gives me the following error:
$ optirun glxgears
[ 582.847234] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 582.847265] [ERROR]Aborting because fallback start is disabled.
I completely reinstalled the following packages: bumblebee, bbswitch, xf86-video-nouveau, xf86-video-intel and primus (I didn't reinstall mesa as I had some dependencies on it) and it still gives me the same error. At no point did I install the proprietary drivers.
This is my hardware:
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)
This is the latest log from /var/log/Xorg.8.log
[ 1269.042]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 1268.042] X Protocol Version 11, Revision 0
[ 1268.042] Build Operating System: Linux 3.12.5-1-ARCH x86_64
[ 1268.042] Current Operating System: Linux localhost 3.13.8-1-ARCH #1 SMP PREEMPT Tue Apr 1 12:19:51 CEST 2014 x86_64
[ 1268.042] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/VolumeGroup-lvolroot rw cryptdevice=/dev/sda3:VolumeGroup quiet
[ 1268.042] Build Date: 09 January 2014 08:47:24AM
[ 1268.042]
[ 1268.042] Current version of pixman: 0.32.4
[ 1268.042] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1268.042] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1268.042] (==) Log file: "/var/log/Xorg.8.log", Time: Sat Apr 5 01:41:30 2014
[ 1268.042] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[ 1268.042] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 1268.042] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1268.042] (==) ServerLayout "Layout0"
[ 1268.042] (==) No screen section available. Using defaults.
[ 1268.043] (**) |-->Screen "Default Screen Section" (0)
[ 1268.043] (**) | |-->Monitor "<default monitor>"
[ 1268.043] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 1268.043] (**) | |-->Device "DiscreteNvidia"
[ 1268.043] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1268.043] (**) Option "AutoAddDevices" "false"
[ 1268.043] (**) Option "AutoAddGPU" "false"
[ 1268.043] (**) Not automatically adding devices
[ 1268.043] (==) Automatically enabling devices
[ 1268.043] (**) Not automatically adding GPU devices
[ 1268.043] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1268.043] Entry deleted from font path.
[ 1268.043] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 1268.043] Entry deleted from font path.
[ 1268.043] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 1268.043] Entry deleted from font path.
[ 1268.043] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 1268.043] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 1268.043] Entry deleted from font path.
[ 1268.043] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 1268.043] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/
[ 1268.043] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1268.043] (==) |-->Input Device "<default pointer>"
[ 1268.043] (==) |-->Input Device "<default keyboard>"
[ 1268.043] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 1268.043] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 1268.043] (II) Loader magic: 0x804c80
[ 1268.043] (II) Module ABI versions:
[ 1268.043] X.Org ANSI C Emulation: 0.4
[ 1268.043] X.Org Video Driver: 15.0
[ 1268.043] X.Org XInput driver : 20.0
[ 1268.043] X.Org Server Extension : 8.0
[ 1268.044] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 1268.293] setversion 1.4 failed: Permission denied
[ 1268.293] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1268.293] setversion 1.4 failed: Permission denied
[ 1268.296] (--) PCI:*(0:1:0:0) 10de:0df5:1028:04ca rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 1268.296] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 1268.296] Initializing built-in extension Generic Event Extension
[ 1268.296] Initializing built-in extension SHAPE
[ 1268.296] Initializing built-in extension MIT-SHM
[ 1268.296] Initializing built-in extension XInputExtension
[ 1268.296] Initializing built-in extension XTEST
[ 1268.296] Initializing built-in extension BIG-REQUESTS
[ 1268.296] Initializing built-in extension SYNC
[ 1268.296] Initializing built-in extension XKEYBOARD
[ 1268.296] Initializing built-in extension XC-MISC
[ 1268.296] Initializing built-in extension SECURITY
[ 1268.296] Initializing built-in extension XINERAMA
[ 1268.296] Initializing built-in extension XFIXES
[ 1268.296] Initializing built-in extension RENDER
[ 1268.296] Initializing built-in extension RANDR
[ 1268.296] Initializing built-in extension COMPOSITE
[ 1268.296] Initializing built-in extension DAMAGE
[ 1268.296] Initializing built-in extension COMPOSITE
[ 1268.296] Initializing built-in extension DAMAGE
[ 1268.296] Initializing built-in extension MIT-SCREEN-SAVER
[ 1268.296] Initializing built-in extension DOUBLE-BUFFER
[ 1268.296] Initializing built-in extension RECORD
[ 1268.296] Initializing built-in extension DPMS
[ 1268.296] Initializing built-in extension Present
[ 1268.296] Initializing built-in extension DRI3
[ 1268.296] Initializing built-in extension X-Resource
[ 1268.296] Initializing built-in extension XVideo
[ 1268.296] Initializing built-in extension XVideo-MotionCompensation
[ 1268.296] Initializing built-in extension XFree86-VidModeExtension
[ 1268.296] Initializing built-in extension XFree86-DGA
[ 1268.296] Initializing built-in extension XFree86-DRI
[ 1268.296] Initializing built-in extension DRI2
[ 1268.296] (II) "glx" will be loaded by default.
[ 1268.296] (II) LoadModule: "dri2"
[ 1268.297] (II) Module "dri2" already built-in
[ 1268.297] (II) LoadModule: "glamoregl"
[ 1268.297] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 1268.300] (II) Module glamoregl: vendor="X.Org Foundation"
[ 1268.300] compiled for 1.15.0, module version = 0.6.0
[ 1268.300] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1268.300] (II) LoadModule: "glx"
[ 1268.300] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1268.300] (II) Module glx: vendor="X.Org Foundation"
[ 1268.300] compiled for 1.15.0, module version = 1.0.0
[ 1268.300] ABI class: X.Org Server Extension, version 8.0
[ 1268.300] (==) AIGLX enabled
[ 1268.300] Loading extension GLX
[ 1268.300] (II) LoadModule: "nouveau"
[ 1268.301] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 1268.301] (II) Module nouveau: vendor="X.Org Foundation"
[ 1268.301] compiled for 1.15.0, module version = 1.0.10
[ 1268.301] Module class: X.Org Video Driver
[ 1268.301] ABI class: X.Org Video Driver, version 15.0
[ 1268.301] (II) LoadModule: "mouse"
[ 1268.301] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 1268.301] (II) Module mouse: vendor="X.Org Foundation"
[ 1268.301] compiled for 1.15.0, module version = 1.9.0
[ 1268.301] Module class: X.Org XInput Driver
[ 1268.301] ABI class: X.Org XInput driver, version 20.0
[ 1268.301] (II) LoadModule: "kbd"
[ 1268.301] (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
[ 1268.301] (II) Module kbd: vendor="X.Org Foundation"
[ 1268.301] compiled for 1.15.0, module version = 1.8.0
[ 1268.301] Module class: X.Org XInput Driver
[ 1268.301] ABI class: X.Org XInput driver, version 20.0
[ 1268.301] (II) NOUVEAU driver
[ 1268.302] (II) NOUVEAU driver for NVIDIA chipset families :
[ 1268.302] RIVA TNT (NV04)
[ 1268.302] RIVA TNT2 (NV05)
[ 1268.302] GeForce 256 (NV10)
[ 1268.302] GeForce 2 (NV11, NV15)
[ 1268.302] GeForce 4MX (NV17, NV18)
[ 1268.302] GeForce 3 (NV20)
[ 1268.302] GeForce 4Ti (NV25, NV28)
[ 1268.302] GeForce FX (NV3x)
[ 1268.302] GeForce 6 (NV4x)
[ 1268.302] GeForce 7 (G7x)
[ 1268.302] GeForce 8 (G8x)
[ 1268.302] GeForce GTX 200 (NVA0)
[ 1268.302] GeForce GTX 400 (NVC0)
[ 1268.302] (--) using VT number 1
[ 1268.303] (II) [drm] nouveau interface version: 1.1.1
[ 1268.303] (II) Loading sub module "dri2"
[ 1268.303] (II) LoadModule: "dri2"
[ 1268.303] (II) Module "dri2" already built-in
[ 1268.303] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 1268.303] (EE) NOUVEAU(0): [drm] error opening the drm
[ 1268.303] (EE) NOUVEAU(0): 836:
[ 1268.303] (II) UnloadModule: "nouveau"
[ 1268.303] (EE) Screen(s) found, but none have a usable configuration.
[ 1268.303] (EE)
Fatal server error:
[ 1268.303] (EE) no screens found(EE)
[ 1268.303] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1268.303] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 1268.303] (EE)
[ 1268.303] (EE) Server terminated with error (1). Closing log file.
I read around a lot and at this point I'm really not sure what's going on. Any help greatly appreaciated.
Last edited by JamesLens (2014-04-05 12:57:52)
Offline
Ok, so I have an update:
I managed to make it work. The first thing I did was follow the instructions here: https://bbs.archlinux.org/viewtopic.php … 0#p1326090
This did not solve the issue, so I'm not sure if this was a necessary step, but it made the boot screen look nicer.
Then I randomly decided to modprobe nouveau. So I did rmmod nouveau, followed by modprobe nouveau while checking dmesg. It seemed to have done something. So I retried optirun and it worked.
However, it was giving me 60FPS, same as the intel card. Also it was giving me something about "failed to load any of the libraries: /usr/$LIB/nvidia/libGL.so.1", which is weird since I don't have nvidia installed. Also, when I quit glxgears, it sometimes shut the screen and fan of the computer off.
The error message was along the lines of
293 frames in 5.0 seconds = 58.481 FPS
primus: warning: dropping a frame to avoid deadlock
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 37 requests (37 known processed) with 0 events remaining.
primus: warning: dropping a frame to avoid deadlock
primus: warning: timeout waiting for display worker
On a hunch I changed Bridge=virtualgl in /etc/bumblebee/bumblebee.conf, and then it worked fine.
When I run primusrun it no longer looks for the library in the nvidia folder and there is a libGL.so.1 file in /usr/lib/primus, however optirun works fine while primusrun gives me 60 FPS and the error above when quitting. Does anyone know how to fix that?
Edit: after restart primusrun again gives
primus: fatal: failed to load any of the libraries: /usr/$LIB/nvidia/libGL.so.1
/usr/$LIB/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
while optirun works. Will snoop around.
Other than that, hope this helped someone. I saw this error everywhere with no solution.
Fina Edit: Ok, so the libGL file needs to come from mesa, but it's looking for the nvidia because for some reason mesa-libgl didn't install with mesa. So: uninstalled primus, installed mesa-libgl, reinstalled primus. Now fully works. Marking as solved.
Last edited by JamesLens (2014-04-05 12:57:32)
Offline