You are not logged in.
Hello everyone,
I have Dell XPS 15 l502x laptop with GT 540M graphics card with optimus support. I want to enable optimus with bumblebee, but no matter what I do I just can't make it work. I'm already start thinking that this laptop is not supported....
I've installed the following packages from AUR to support optimus on my laptop:
bumblebee
nvidia-bumblebee
nvidia-utils-bumblebee
Also, I am using my own custom configured kernel, uname -a shows:
Linux milktea 3.2.13-1-abs #1 SMP PREEMPT Wed Mar 28 14:16:29 CST 2012 i686 Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz GenuineIntel GNU/Linux
The only changes from ArchLinux default kernel is CPU architecture (I changed to Core 2 Duo and later instead of default i686) and support for PAE.
When I run optirun glxgears I get this output:
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ERROR]Aborting because fallback start is disabled.
And Xorg.8.log is:
[ 4430.976]
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[ 4430.976]
X.Org X Server 1.12.0.901 (1.12.1 RC 1)
Release Date: 2012-03-30
[ 4430.976] X Protocol Version 11, Revision 0
[ 4430.976] Build Operating System: Linux 3.3.0-1-ARCH i686
[ 4430.976] Current Operating System: Linux milktea 3.2.13-1-abs #1 SMP PREEMPT Wed Mar 28 14:16:29 CST 2012 i686
[ 4430.976] Kernel command line: root=/dev/sda3 ro initrd=../initramfs-linux-abs.img BOOT_IMAGE=../vmlinuz-linux-abs
[ 4430.976] Build Date: 31 March 2012 09:47:27AM
[ 4430.976]
[ 4430.976] Current version of pixman: 0.24.4
[ 4430.976] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4430.976] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4430.976] (==) Log file: "/var/log/Xorg.8.log", Time: Sat Apr 7 12:10:38 2012
[ 4430.977] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 4430.977] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 4430.977] (==) ServerLayout "Layout0"
[ 4430.977] (**) |-->Screen "Screen0" (0)
[ 4430.977] (**) | |-->Monitor "Monitor0"
[ 4430.977] (**) | |-->Device "Device0"
[ 4430.977] (**) Option "AutoAddDevices" "false"
[ 4430.977] (**) Not automatically adding devices
[ 4430.977] (==) Automatically enabling devices
[ 4430.977] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 4430.977] Entry deleted from font path.
[ 4430.977] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 4430.977] Entry deleted from font path.
[ 4430.977] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 4430.977] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 4430.977] Entry deleted from font path.
[ 4430.977] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 4430.977] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 4430.977] (++) ModulePath set to "/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules"
[ 4430.977] (==) |-->Input Device "<default pointer>"
[ 4430.977] (==) |-->Input Device "<default keyboard>"
[ 4430.977] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 4430.977] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 4430.977] (II) Loader magic: 0x82225a0
[ 4430.977] (II) Module ABI versions:
[ 4430.977] X.Org ANSI C Emulation: 0.4
[ 4430.977] X.Org Video Driver: 12.0
[ 4430.977] X.Org XInput driver : 16.0
[ 4430.977] X.Org Server Extension : 6.0
[ 4430.978] (--) PCI:*(0:1:0:0) 10de:0df4:1028:050e rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[ 4430.978] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 4430.978] (II) LoadModule: "extmod"
[ 4430.979] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 4430.979] (II) Module extmod: vendor="X.Org Foundation"
[ 4430.979] compiled for 1.12.0.901, module version = 1.0.0
[ 4430.979] Module class: X.Org Server Extension
[ 4430.979] ABI class: X.Org Server Extension, version 6.0
[ 4430.979] (II) Loading extension MIT-SCREEN-SAVER
[ 4430.979] (II) Loading extension XFree86-VidModeExtension
[ 4430.979] (II) Loading extension XFree86-DGA
[ 4430.979] (II) Loading extension DPMS
[ 4430.979] (II) Loading extension XVideo
[ 4430.979] (II) Loading extension XVideo-MotionCompensation
[ 4430.979] (II) Loading extension X-Resource
[ 4430.979] (II) LoadModule: "dbe"
[ 4430.979] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 4430.979] (II) Module dbe: vendor="X.Org Foundation"
[ 4430.979] compiled for 1.12.0.901, module version = 1.0.0
[ 4430.979] Module class: X.Org Server Extension
[ 4430.979] ABI class: X.Org Server Extension, version 6.0
[ 4430.979] (II) Loading extension DOUBLE-BUFFER
[ 4430.979] (II) LoadModule: "glx"
[ 4430.979] (II) Loading /usr/lib/nvidia-bumblebee/xorg/modules/extensions/libglx.so
[ 4430.998] (II) Module glx: vendor="NVIDIA Corporation"
[ 4430.998] compiled for 4.0.2, module version = 1.0.0
[ 4430.998] Module class: X.Org Server Extension
[ 4430.998] (II) NVIDIA GLX Module 295.33 Sat Mar 17 15:18:29 PDT 2012
[ 4430.999] (II) Loading extension GLX
[ 4430.999] (II) LoadModule: "record"
[ 4430.999] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 4430.999] (II) Module record: vendor="X.Org Foundation"
[ 4430.999] compiled for 1.12.0.901, module version = 1.13.0
[ 4430.999] Module class: X.Org Server Extension
[ 4430.999] ABI class: X.Org Server Extension, version 6.0
[ 4430.999] (II) Loading extension RECORD
[ 4430.999] (II) LoadModule: "dri"
[ 4430.999] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 4430.999] (II) Module dri: vendor="X.Org Foundation"
[ 4430.999] compiled for 1.12.0.901, module version = 1.0.0
[ 4430.999] ABI class: X.Org Server Extension, version 6.0
[ 4430.999] (II) Loading extension XFree86-DRI
[ 4430.999] (II) LoadModule: "dri2"
[ 4430.999] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 4430.999] (II) Module dri2: vendor="X.Org Foundation"
[ 4430.999] compiled for 1.12.0.901, module version = 1.2.0
[ 4430.999] ABI class: X.Org Server Extension, version 6.0
[ 4430.999] (II) Loading extension DRI2
[ 4431.000] (II) LoadModule: "intel"
[ 4431.000] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 4431.000] (II) Module intel: vendor="X.Org Foundation"
[ 4431.000] compiled for 1.11.99.903, module version = 2.18.0
[ 4431.000] Module class: X.Org Video Driver
[ 4431.000] ABI class: X.Org Video Driver, version 12.0
[ 4431.000] (II) LoadModule: "mouse"
[ 4431.000] (WW) Warning, couldn't open module mouse
[ 4431.000] (II) UnloadModule: "mouse"
[ 4431.000] (II) Unloading mouse
[ 4431.000] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 4431.000] (II) LoadModule: "kbd"
[ 4431.001] (WW) Warning, couldn't open module kbd
[ 4431.001] (II) UnloadModule: "kbd"
[ 4431.001] (II) Unloading kbd
[ 4431.001] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 4431.001] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[ 4431.001] (--) using VT number 7
[ 4431.001] (EE) No devices detected.
[ 4431.001]
Fatal server error:
[ 4431.001] no screens found
[ 4431.001]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 4431.001] Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 4431.001]
Does anyone have any ideas on what might be wrong? Please, help.
Thanks in advance.
Last edited by leonid (2012-04-12 01:55:31)
Offline
Maybe install acpi_call , and just shut down your nvidia ? First show us your lspci ( -vnnn | grep VGA )..
Offline
I want to use nvidia card... say, games, game development, blender, etc...
lspci -vnnn | grep VGA shows:
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
And also, additionally, my bumblebee config:
[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=bbswitch
LibraryPath=/usr/lib/nvidia-bumblebee
XorgModulePath=/usr/lib/xorg/modules/drivers/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
[driver-nouveau]
KernelDriver=nouveau
PMMethod=bbswitch
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
Offline
you must install virtualgl and libgl. look at this posts-> https://bbs.archlinux.org/viewtopic.php?id=134934 - maybe it can help you.
greetings
kimi
Offline
virtualgl and libgl are installed as dependencies to bumblebee... I submitted bug report to the bumblebee project (#123), maybe anyone there can help me...
Offline
I have basically the same laptop. This occurred for me following a kernel upgrade. I just had to rebuild nvidia-bumblebee for the new kernel. Have you changed your (custom) kernel recently?
alternatively, you might be able to use the dkms version of it to get it to build automatically for any kernel changes
Last edited by alex_anthony (2012-04-09 11:14:31)
Offline
No, I did not update custom kernel recently, but update official kernel... I have both, and I am using custom kernel. But to be sure I rebuild and reinstalled nvidia-bumblebee... No changes... But with the help of Bumblebee developers I managed to have some progress... Now I have this error:
Error: couldn't get an RGB, Double-buffered visual
Can you please post your bumblebee and xorg configuration? I think my xorg configuration is wrong, but I don't know what... Also, can you please tell which packages you installed for bumblebee?
Offline
I have bumblebee, dkms-bbswitch, nvidia-utils-bumblebee, nvidia, virtualgl
My bumblebee.conf is:
# 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=true
# 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=nvidia
## 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
# 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
I haven't edited any xorg.conf files whatsoever, so they are just the default ones. Here is /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
What are the full relevant sections in lspci -vvnn saying? your grepping removed the verbose bits. e.g. when my nvidia card is off, it gives:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df5] (rev ff) (prog-if ff)
!!! Unknown header type 7f
but different when it's turned on.
Offline
Thank you very much. Apparently my bumblebee configuration was wrong. And I used custom configuration for xorg. Now I use default and it works. This is weird hovewer because I can't customize xorg then... I will look into this issue more to see if I can resolve it.
Thank you very much again, saved me from many days of frustration.
Offline
Same problem here
optirun glxspheres
Password:
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ERROR]Aborting because fallback start is disabled.
I resolved it moving/removing /etc/X11/xorg.conf.d/10-monitor.conf which contains
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Device"
Identifier "Device0"
Driver "intel" #Choose the driver used for this monitor
EndSection
Section "Screen"
Identifier "Screen0" #Collapse Monitor and Device section to Screen sec$
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24 #Choose the depth (16||24)
SubSection "Display"
Depth 24
Modes "1366x768_75.00" #Choose the resolution
EndSubSection
EndSection
And bumblee worked correctly, i made some tries also 1080i on youtube works better.
But if I restart ne video drive is not recognised maybe i need to edit this file but I don't know how.
Offline
Hi, well done, it worked for me too, thanks.! BTW do you know how to put the bumblebee icon in the taskbar just like the official page says?, i want to have the icon, it's gonna be useful., i want to know how to install the "bumblebee-gui" in Arch. I have installed bumblebee with Bbswitch, everything works cool and smooth, but i want to have the icon in the taskbar cause it sends notifications about bumblebee state. I know it's not essential, but i like eyes candy and i dont like doing a "cat /proc/acpi/bbswitch" every time. The wiki just says nothing about it, i think it needs some updates or maybe it's just not available in Arch. I tried to do the way the official page said ( https://github.com/Bumblebee-Project/bu … indicator), but i couldn't start it. Could you help me with it?
Anyway Thanks! )
Offline
Still getting same errors, no news?
Offline
Resolve, i just need to comment the driver section of my
/etc/X11/xorg.conf.d/10-monitor.conf
Offline