You are not logged in.

#1 2012-08-29 07:52:24

JediKnight
Member
Registered: 2012-06-07
Posts: 15

Bumblebee configuration - need help

Recently I bought notebook with NVIDIA Optimus technology, and i'm stuck in bumblebee installation.
optirun -vv glxgears:

[  175.078111] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  175.078715] [INFO]Configured driver: nvidia
[  175.257402] [DEBUG]optirun version 3.0.1 starting...
[  175.257459] [DEBUG]Active configuration:
[  175.257474] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  175.257487] [DEBUG] X display: :8
[  175.257498] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
[  175.257510] [DEBUG] Socket path: /var/run/bumblebee.socket
[  175.257520] [DEBUG] VGL Compression: proxy
[  178.550730] [INFO]Response: No - error: X did not start properly
[  178.550800] [ERROR]Cannot access secondary GPU - error: X did not start properly
[  178.550813] [DEBUG]Socket closed.
[  178.550842] [ERROR]Aborting because fallback start is disabled.
[  178.550846] [DEBUG]Killing all remaining processes.

After [DEBUG] VGL Compression:proxy I get thrown into tty console with X process failure. After couple of Ctrl-Alt-F1/F7 state returns back to graphical interface and I see the rest of the message.

Xorg.8.log:

[   175.934] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[   175.934] X Protocol Version 11, Revision 0
[   175.934] Build Operating System: Linux 3.4.8-1-ARCH x86_64 
[   175.934] Current Operating System: Linux jediknight-comp 3.4.9-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:59:31 CEST 2012 x86_64
[   175.934] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1e8827f3-dea2-496c-b3e4-5b9c67c7c5bc ro quiet
[   175.934] Build Date: 27 August 2012  08:04:39AM
[   175.934]  
[   175.934] Current version of pixman: 0.26.2
[   175.934] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   175.934] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   175.934] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Aug 29 15:27:45 2012
[   175.934] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[   175.934] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   175.949] (==) ServerLayout "Layout0"
[   175.949] (==) No screen section available. Using defaults.
[   175.949] (**) |-->Screen "Default Screen Section" (0)
[   175.949] (**) |   |-->Monitor "<default monitor>"
[   175.949] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   175.949] (**) |   |-->Device "Device1"
[   175.949] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   175.949] (**) Option "AutoAddDevices" "false"
[   175.949] (**) Not automatically adding devices
[   175.949] (==) Automatically enabling devices
[   175.949] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   175.949] 	Entry deleted from font path.
[   175.949] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   175.949] 	Entry deleted from font path.
[   175.949] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   175.949] 	Entry deleted from font path.
[   175.949] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   175.950] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   175.950] 	Entry deleted from font path.
[   175.950] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   175.950] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[   175.950] (++) ModulePath set to "/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules"
[   175.950] (==) |-->Input Device "<default pointer>"
[   175.950] (==) |-->Input Device "<default keyboard>"
[   175.950] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[   175.950] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[   175.950] (II) Loader magic: 0x7c8b00
[   175.950] (II) Module ABI versions:
[   175.950] 	X.Org ANSI C Emulation: 0.4
[   175.950] 	X.Org Video Driver: 12.1
[   175.950] 	X.Org XInput driver : 16.0
[   175.950] 	X.Org Server Extension : 6.0
[   175.950] (--) PCI:*(0:1:0:0) 10de:1051:144d:c0b6 rev 161, Mem @ 0xe0000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00003000/128
[   175.950] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   175.950] (II) LoadModule: "extmod"
[   175.951] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[   175.951] (II) Module extmod: vendor="X.Org Foundation"
[   175.951] 	compiled for 1.12.4, module version = 1.0.0
[   175.951] 	Module class: X.Org Server Extension
[   175.951] 	ABI class: X.Org Server Extension, version 6.0
[   175.951] (II) Loading extension MIT-SCREEN-SAVER
[   175.951] (II) Loading extension XFree86-VidModeExtension
[   175.951] (II) Loading extension XFree86-DGA
[   175.951] (II) Loading extension DPMS
[   175.951] (II) Loading extension XVideo
[   175.951] (II) Loading extension XVideo-MotionCompensation
[   175.951] (II) Loading extension X-Resource
[   175.951] (II) LoadModule: "dbe"
[   175.951] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   175.951] (II) Module dbe: vendor="X.Org Foundation"
[   175.951] 	compiled for 1.12.4, module version = 1.0.0
[   175.951] 	Module class: X.Org Server Extension
[   175.951] 	ABI class: X.Org Server Extension, version 6.0
[   175.951] (II) Loading extension DOUBLE-BUFFER
[   175.951] (II) LoadModule: "glx"
[   175.951] (II) Loading /usr/lib/nvidia-bumblebee/xorg/modules/extensions/libglx.so
[   176.815] (II) Module glx: vendor="NVIDIA Corporation"
[   176.815] 	compiled for 4.0.2, module version = 1.0.0
[   176.815] 	Module class: X.Org Server Extension
[   176.815] (II) NVIDIA GLX Module  304.37  Wed Aug  8 20:16:03 PDT 2012
[   176.815] (II) Loading extension GLX
[   176.815] (II) LoadModule: "record"
[   176.816] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   176.816] (II) Module record: vendor="X.Org Foundation"
[   176.816] 	compiled for 1.12.4, module version = 1.13.0
[   176.816] 	Module class: X.Org Server Extension
[   176.816] 	ABI class: X.Org Server Extension, version 6.0
[   176.816] (II) Loading extension RECORD
[   176.816] (II) LoadModule: "dri"
[   176.816] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   176.817] (II) Module dri: vendor="X.Org Foundation"
[   176.817] 	compiled for 1.12.4, module version = 1.0.0
[   176.817] 	ABI class: X.Org Server Extension, version 6.0
[   176.817] (II) Loading extension XFree86-DRI
[   176.817] (II) LoadModule: "dri2"
[   176.817] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   176.817] (II) Module dri2: vendor="X.Org Foundation"
[   176.817] 	compiled for 1.12.4, module version = 1.2.0
[   176.817] 	ABI class: X.Org Server Extension, version 6.0
[   176.817] (II) Loading extension DRI2
[   176.817] (II) LoadModule: "nvidia"
[   176.818] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   176.922] (II) Module nvidia: vendor="NVIDIA Corporation"
[   176.922] 	compiled for 4.0.2, module version = 1.0.0
[   176.922] 	Module class: X.Org Video Driver
[   176.952] (II) LoadModule: "mouse"
[   176.953] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[   176.960] (II) Module mouse: vendor="X.Org Foundation"
[   176.960] 	compiled for 1.12.3, module version = 1.8.1
[   176.960] 	Module class: X.Org XInput Driver
[   176.960] 	ABI class: X.Org XInput driver, version 16.0
[   176.960] (II) LoadModule: "kbd"
[   176.960] (WW) Warning, couldn't open module kbd
[   176.960] (II) UnloadModule: "kbd"
[   176.960] (II) Unloading kbd
[   176.960] (EE) Failed to load module "kbd" (module does not exist, 0)
[   176.960] (II) NVIDIA dlloader X Driver  304.37  Wed Aug  8 19:54:47 PDT 2012
[   176.960] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   176.966] (--) using VT number 7

[   176.979] (II) Loading sub module "fb"
[   176.979] (II) LoadModule: "fb"
[   176.979] (II) Loading /usr/lib/xorg/modules/libfb.so
[   176.979] (II) Module fb: vendor="X.Org Foundation"
[   176.979] 	compiled for 1.12.4, module version = 1.0.0
[   176.979] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   176.979] (II) Loading sub module "wfb"
[   176.979] (II) LoadModule: "wfb"
[   176.979] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   176.991] (II) Module wfb: vendor="X.Org Foundation"
[   176.991] 	compiled for 1.12.4, module version = 1.0.0
[   176.991] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   176.991] (II) Loading sub module "ramdac"
[   176.991] (II) LoadModule: "ramdac"
[   176.991] (II) Module "ramdac" already built-in
[   177.008] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   177.008] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   177.008] (==) NVIDIA(0): RGB weight 888
[   177.008] (==) NVIDIA(0): Default visual is TrueColor
[   177.008] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   177.008] (**) NVIDIA(0): Option "NoLogo" "true"
[   177.008] (**) NVIDIA(0): Option "UseEDID" "false"
[   177.008] (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
[   177.008] (**) NVIDIA(0): Enabling 2D acceleration
[   177.008] (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
[   177.008] (**) NVIDIA(0): Ignoring EDIDs

/etc/bumblebee/xorg.conf.nvidia

Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
EndSection

Section "Files"
    ModulePath "/usr/lib/nvidia-bumblebee,/usr/lib/xorg/modules"
EndSection

Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "CRT-0"
    BusID "PCI:01:00:0"
EndSection

/etc/bumblebee/bumblebee.conf

[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=nvidia

[optirun]
VGLTransport=proxy
AllowFallbackToIGC=false

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

/etc/X11/xorg.conf: empty

What am I doing wrong? Tired of cracking configuration files...

Offline

#2 2012-08-29 08:07:25

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Bumblebee configuration - need help

What bumblee packages have you installed? What files do you have in /etc/X11/xorg.conf.d


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2012-08-29 22:32:59

JediKnight
Member
Registered: 2012-06-07
Posts: 15

Re: Bumblebee configuration - need help

Packages:

bumblebee
lib32-nvidia-tools-bumblebee
nvidia-tools-bumblebee
nvidia
bbswitch

files:
10-evdev.conf

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

10-quirks.conf:

Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

10-synaptics.conf

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
EndSection

That's all files i have in there.

Any help will be really appreciated.

Offline

#4 2012-08-30 08:03:39

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Bumblebee configuration - need help

You should have nvidia-bumblebee, not nvidia installed. Do you use kernel mode setting (with intel)? Do you have nouveau module blacklisted? Do you the nvidia and bbswitch modules manually loaded?

Your configuration files look fine (Assuming you don't have xorg.conf, if you do, please post it here)

Last edited by Dheart (2012-08-30 08:04:59)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#5 2012-08-30 10:00:07

JediKnight
Member
Registered: 2012-06-07
Posts: 15

Re: Bumblebee configuration - need help

KMS enabled. Nouveau blacklisted. Nvidia and bbswitch modules loaded.
Trying to install nvidia-bumblebee instead of nvidia... I'll come back soon if smth is wrong...

Offline

#6 2012-08-31 00:05:34

JediKnight
Member
Registered: 2012-06-07
Posts: 15

Re: Bumblebee configuration - need help

Installed nvidia-bumblebee and all of its dependencies. Problems still there, Xorg.8.log is still the same, error messages are the same. Dunno what to do.
Thinking about leaving only Intel HD to work and to forget about using discrete GPU...

Last edited by JediKnight (2012-08-31 00:06:58)

Offline

#7 2012-08-31 01:40:51

nawitus
Member
Registered: 2009-05-11
Posts: 112

Re: Bumblebee configuration - need help

Did you remove the nvidia package?

EDIT: Also, you could post the output of pacman -Qs nvidia

Last edited by nawitus (2012-08-31 01:41:40)

Offline

#8 2012-08-31 11:36:30

JediKnight
Member
Registered: 2012-06-07
Posts: 15

Re: Bumblebee configuration - need help

pacman -Qs nvidia

local/bumblebee 3.0.1-2
    Bumblebee brings Optimus Support for Linux Through VirtualGL. You need to
    install proper drivers separately. Can be used with Nouveau or Nvidia
local/lib32-nvidia-utils-bumblebee 304.43-1
    NVIDIA drivers utilities and libraries (32-bit). Repacked and installed in
    away that won't break LibGL from mesa.
local/nvidia-bumblebee 304.43-1
    NVIDIA drivers for linux. Packaged for Bumblebee
local/nvidia-utils-bumblebee 304.43-1
    NVIDIA drivers utilities and libraries. With LibGL and xorg modules
    installed in a different directory.

Offline

#9 2012-09-02 14:31:28

JediKnight
Member
Registered: 2012-06-07
Posts: 15

Re: Bumblebee configuration - need help

I left my ambitions to install proprietary driver behind, and tried to install bumblebee with opensource driver, thinking that everything is going to be fine... But, I got into pretty messy situation again, and i didn't find any useful information on the Internet.

So, i removed blacklist for nouveau module, and all instances of nvidia driver: tools, blob, etc. Then I installed xf86-video-nouveau, nouveau-dri, mesa packages. After that, I configured bumblebee.conf to work with nouveau.

Now i got another error:

[jediknight@jediknight-comp ~]$ optirun -vv glxgears
[ 2912.873563] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2912.874274] [INFO]Configured driver: nouveau
[ 2913.025119] [DEBUG]optirun version 3.0.1 starting...
[ 2913.025225] [DEBUG]Active configuration:
[ 2913.025269] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2913.025320] [DEBUG] X display: :8
[ 2913.025403] [DEBUG] LD_LIBRARY_PATH: 
[ 2913.025483] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2913.025549] [DEBUG] VGL Compression: proxy
[ 2913.142592] [INFO]Response: No - error: [XORG] (EE) No devices detected.

[ 2913.142700] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[ 2913.142762] [DEBUG]Socket closed.
[ 2913.142841] [ERROR]Aborting because fallback start is disabled.
[ 2913.142898] [DEBUG]Killing all remaining processes.

Xorg.8.log:

[jediknight@jediknight-comp ~]$ cat /var/log/Xorg.8.log
[  3458.807] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[  3458.807] X Protocol Version 11, Revision 0
[  3458.807] Build Operating System: Linux 3.4.8-1-ARCH x86_64 
[  3458.807] Current Operating System: Linux jediknight-comp 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 09:14:51 CEST 2012 x86_64
[  3458.807] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1e8827f3-dea2-496c-b3e4-5b9c67c7c5bc ro quiet
[  3458.807] Build Date: 27 August 2012  08:04:39AM
[  3458.807]  
[  3458.807] Current version of pixman: 0.26.2
[  3458.807] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  3458.807] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3458.808] (==) Log file: "/var/log/Xorg.8.log", Time: Sun Sep  2 17:58:40 2012
[  3458.808] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[  3458.808] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3458.808] (==) ServerLayout "Layout0"
[  3458.808] (**) |-->Screen "Screen0" (0)
[  3458.808] (**) |   |-->Monitor "<default monitor>"
[  3458.808] (**) |   |-->Device "Device0"
[  3458.808] (==) No monitor specified for screen "Screen0".
	Using a default monitor configuration.
[  3458.808] (**) Option "AutoAddDevices" "false"
[  3458.809] (**) Not automatically adding devices
[  3458.809] (==) Automatically enabling devices
[  3458.809] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  3458.809] 	Entry deleted from font path.
[  3458.809] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  3458.809] 	Entry deleted from font path.
[  3458.809] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  3458.809] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  3458.809] 	Entry deleted from font path.
[  3458.809] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  3458.809] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/
[  3458.809] (==) ModulePath set to "/usr/lib/xorg/modules"
[  3458.809] (==) |-->Input Device "<default pointer>"
[  3458.809] (==) |-->Input Device "<default keyboard>"
[  3458.809] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[  3458.809] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[  3458.809] (II) Loader magic: 0x7c8b00
[  3458.809] (II) Module ABI versions:
[  3458.809] 	X.Org ANSI C Emulation: 0.4
[  3458.809] 	X.Org Video Driver: 12.1
[  3458.809] 	X.Org XInput driver : 16.0
[  3458.809] 	X.Org Server Extension : 6.0
[  3458.810] (--) PCI:*(0:1:0:0) 10de:1051:144d:c0b6 rev 161, Mem @ 0xe0000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00003000/128
[  3458.811] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3458.811] (II) LoadModule: "extmod"
[  3458.811] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  3458.811] (II) Module extmod: vendor="X.Org Foundation"
[  3458.811] 	compiled for 1.12.4, module version = 1.0.0
[  3458.811] 	Module class: X.Org Server Extension
[  3458.811] 	ABI class: X.Org Server Extension, version 6.0
[  3458.811] (II) Loading extension MIT-SCREEN-SAVER
[  3458.811] (II) Loading extension XFree86-VidModeExtension
[  3458.811] (II) Loading extension XFree86-DGA
[  3458.811] (II) Loading extension DPMS
[  3458.812] (II) Loading extension XVideo
[  3458.812] (II) Loading extension XVideo-MotionCompensation
[  3458.812] (II) Loading extension X-Resource
[  3458.812] (II) LoadModule: "dbe"
[  3458.812] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  3458.812] (II) Module dbe: vendor="X.Org Foundation"
[  3458.812] 	compiled for 1.12.4, module version = 1.0.0
[  3458.812] 	Module class: X.Org Server Extension
[  3458.812] 	ABI class: X.Org Server Extension, version 6.0
[  3458.812] (II) Loading extension DOUBLE-BUFFER
[  3458.812] (II) LoadModule: "glx"
[  3458.812] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  3458.812] (II) Module glx: vendor="X.Org Foundation"
[  3458.812] 	compiled for 1.12.4, module version = 1.0.0
[  3458.812] 	ABI class: X.Org Server Extension, version 6.0
[  3458.812] (==) AIGLX enabled
[  3458.812] (II) Loading extension GLX
[  3458.813] (II) LoadModule: "record"
[  3458.813] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  3458.813] (II) Module record: vendor="X.Org Foundation"
[  3458.813] 	compiled for 1.12.4, module version = 1.13.0
[  3458.813] 	Module class: X.Org Server Extension
[  3458.813] 	ABI class: X.Org Server Extension, version 6.0
[  3458.813] (II) Loading extension RECORD
[  3458.813] (II) LoadModule: "dri"
[  3458.813] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  3458.813] (II) Module dri: vendor="X.Org Foundation"
[  3458.813] 	compiled for 1.12.4, module version = 1.0.0
[  3458.813] 	ABI class: X.Org Server Extension, version 6.0
[  3458.813] (II) Loading extension XFree86-DRI
[  3458.814] (II) LoadModule: "dri2"
[  3458.814] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  3458.814] (II) Module dri2: vendor="X.Org Foundation"
[  3458.814] 	compiled for 1.12.4, module version = 1.2.0
[  3458.814] 	ABI class: X.Org Server Extension, version 6.0
[  3458.814] (II) Loading extension DRI2
[  3458.814] (II) LoadModule: "nouveau"
[  3458.814] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  3458.814] (II) Module nouveau: vendor="X.Org Foundation"
[  3458.814] 	compiled for 1.12.2, module version = 1.0.1
[  3458.814] 	Module class: X.Org Video Driver
[  3458.814] 	ABI class: X.Org Video Driver, version 12.0
[  3458.814] (II) LoadModule: "mouse"
[  3458.815] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[  3458.815] (II) Module mouse: vendor="X.Org Foundation"
[  3458.815] 	compiled for 1.12.3, module version = 1.8.1
[  3458.815] 	Module class: X.Org XInput Driver
[  3458.815] 	ABI class: X.Org XInput driver, version 16.0
[  3458.815] (II) LoadModule: "kbd"
[  3458.815] (WW) Warning, couldn't open module kbd
[  3458.815] (II) UnloadModule: "kbd"
[  3458.815] (II) Unloading kbd
[  3458.816] (EE) Failed to load module "kbd" (module does not exist, 0)
[  3458.816] (II) NOUVEAU driver 
[  3458.816] (II) NOUVEAU driver for NVIDIA chipset families :
[  3458.816] 	RIVA TNT        (NV04)
[  3458.816] 	RIVA TNT2       (NV05)
[  3458.816] 	GeForce 256     (NV10)
[  3458.816] 	GeForce 2       (NV11, NV15)
[  3458.816] 	GeForce 4MX     (NV17, NV18)
[  3458.816] 	GeForce 3       (NV20)
[  3458.816] 	GeForce 4Ti     (NV25, NV28)
[  3458.816] 	GeForce FX      (NV3x)
[  3458.816] 	GeForce 6       (NV4x)
[  3458.816] 	GeForce 7       (G7x)
[  3458.816] 	GeForce 8       (G8x)
[  3458.816] 	GeForce GTX 200 (NVA0)
[  3458.816] 	GeForce GTX 400 (NVC0)
[  3458.816] (--) using VT number 7

[  3458.816] (EE) No devices detected.
[  3458.816] 
Fatal server error:
[  3458.816] no screens found
[  3458.816] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  3458.816] Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[  3458.816] 

Devices are online:

[jediknight@jediknight-comp ~]$ lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
[jediknight@jediknight-comp ~]$ lspci|grep 3D
01:00.0 3D controller: NVIDIA Corporation GF119 [GeForce GT 520MX] (rev a1)

After that, i noticed strange message during boot time, telling that VBIOS image not found.

dmesg:

[jediknight@jediknight-comp ~]$ dmesg|grep drm
[    1.263009] [drm] Initialized drm 1.1.0 20060810
[    1.267833] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
[    1.293316] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    1.293318] [drm] Driver supports precise vblank timestamp query.
[    2.035641] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[    2.170467] fbcon: inteldrmfb (fb0) is primary device
[    2.426027] fb0: inteldrmfb frame buffer device
[    2.426028] drm: registered panic notifier
[    2.428364] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    2.432322] [drm] nouveau 0000:01:00.0: Detected an NVd0 generation card (0x0d9110a1)
[    2.433051] [drm] nouveau 0000:01:00.0: acceleration disabled by default, pass noaccel=0 to force enable
[    2.435870] [drm] nouveau 0000:01:00.0: Checking PRAMIN for VBIOS
[    2.483929] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
[    2.483931] [drm] nouveau 0000:01:00.0: Checking PROM for VBIOS
[    2.483996] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
[    2.483997] [drm] nouveau 0000:01:00.0: Checking ACPI for VBIOS
[    2.483998] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
[    2.483999] [drm] nouveau 0000:01:00.0: Checking PCIROM for VBIOS
[    2.484000] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
[    2.484001] [drm] nouveau 0000:01:00.0: No valid VBIOS image found

1. Why does it happen?
2. How to fix it?

Last edited by JediKnight (2012-09-02 14:34:30)

Offline

#10 2012-09-02 20:46:55

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Bumblebee configuration - need help

[donnie@arch ~]$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
301 frames in 5.0 seconds = 60.191 FPS
300 frames in 5.0 seconds = 59.829 FPS
^C
[donnie@arch ~]$ optirun glxgears
3645 frames in 5.0 seconds = 728.971 FPS
3383 frames in 5.0 seconds = 676.586 FPS
3206 frames in 5.0 seconds = 641.106 FPS
3879 frames in 5.0 seconds = 775.592 FPS
[VGL] ERROR: in readback--
[VGL]    241: Window has been deleted by window manager
Packages
xf86-video-intel
lib32-intel-dri
lib32-virtualgl
bumblebee
nvidia-utils-bumblebee
lib32-nvidia-utils-bumblebee
nvidia-bumblebee
bbswitch

Exactly did as in sections 1) Start bumblebee 2) Power Management 3) Default State. I made no changes to anything in /etc/X11/xorg.conf.d/ . It seems to work fine for me.

Offline

#11 2012-09-03 07:43:02

JediKnight
Member
Registered: 2012-06-07
Posts: 15

Re: Bumblebee configuration - need help

Can you post here your configuration files?

/etc/bumblebee/bumblebee.conf
/etc/bumblebee/xorg.conf.nvidia
/etc/X11/xorg.conf.d/
/etc/X11/xorg.conf

Thank you.

Offline

#12 2012-09-03 18:54:40

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Bumblebee configuration - need help

/etc/bumblebee/bumblebee.conf

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=

## Client options. Will take effect on the next optirun executed.
[optirun]
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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
Module=nvidia
PMMethod=bbswitch
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=bbswitch
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
/etc/bumblebee/xorg.conf.nvidia

Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
EndSection

Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"
EndSection
10-evdev.conf

#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
10-quirks.conf

# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442 
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection
10-synaptics.conf

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
EndSection

There is no /etc/X11/xorg.conf

Last edited by donniezazen (2012-09-03 18:55:52)

Offline

Board footer

Powered by FluxBB