Support for AMD hybrid technology (PowerXpress) #52

Lekensteyn opened this Issue Jan 21, 2012 · 124 comments


None yet
Bumblebee-Project member

It's confirmed that the concept for Bumblebee also works for AMD Hybrid graphics: (via

For supporting AMD hybrids, we need to:

  • modify the PCI Bus ID detection to check for both the NVIDIA and AMD vendor IDs (add an extra field to the bb_status struct)
  • modify documentation, texts, comments to refer to "discrete video card" or "discrete %s video card" instead of "nvidia card". Replace "Optimus" by "Hybrid Graphics" where applicable
  • adjust the switching methods in switch/ (mainly switcheroo) to detect radeon drivers (bbswitch won't detect a card and does not get loaded anyway)
  • separate xorg error log analysis?
  • add xorg.conf for radeon (and fglrx), extend bumblebee.conf
  • Look for ways to extend bbswitch supporting AMD, possibly helpful:;a=blob;f=drivers/gpu/drm/radeon/radeon_atpx_handler.c;hb=HEAD
  • (edit if I forgot something)

I don't have AMD hardware to play with, but it shouldn't be difficult to extend bbswitch for AMD PowerXpress. The other changes are neither difficult.

Bumblebee-Project member

Looks like all we really need is victi.... ehh... volunteers, to test stuff on.


Following up on the howto I wrote on Gentoo forums, sharing some system logs (Xorg.log and dmesg) at for various combinations of Intel drivers (2.15 vs 2.17), OpenGL libraries (mesa's vs fglrx's, first or second X server (like bumblebee).

Currently, the only working combination with fglrx is when using with Intel 2.15 (thanks to the tip in, with fglrx and on primary server.

Bumblebee-Project member

There seems to be two kinds of AMD hybrid graphics (thanks for making it more confusing AMD...). Relevant documentation:


From Radeon 6000M, it'll be called "Radeon" instead of "ATI Radeon". Not sure if this has implications for the PCI Vendor ID.

@Lekensteyn Lekensteyn added a commit that referenced this issue Jan 28, 2012
@Lekensteyn Lekensteyn NVIDIA/Optimus -> AMD/hybrid graphics (GH-52)
Remaining textual changes: init scripts, bugreport
@Lekensteyn Lekensteyn added a commit that referenced this issue Jan 28, 2012
@Lekensteyn Lekensteyn Add driver detection for fglrx+radeon (GH-52)
This breaks driver detection for optirun, which will be fixed when the protocol
is improved.
@Lekensteyn Lekensteyn added a commit that referenced this issue Jan 28, 2012
@Lekensteyn Lekensteyn Adds support for radeon in vga_switcheroo method (GH-52)
Whether this method works for you still depends on switcheroo in kernel!
Bumblebee-Project member

Driver detection is now broken in optirun, to fix that, fix #31. Power management stuff has not completed yet.


I'm ArchLinux user with Intel/AMD vga and in Arch is realy hard to install Catalyst, because it's not compatible with new versions xorg. So i'm open to help you with this project and test stuff.


Any update on this?, could i help in anyway? Have a hp laptop with amd/amd hybrid graphics.

Bumblebee-Project member

No update on this, though AMD seems to be working on this. I saw some APTX ACPI patches on the dri-devel ml. For you it means that there may be a way to switch between cards later.

@Lekensteyn Lekensteyn added a commit that referenced this issue Oct 5, 2012
@Lekensteyn Lekensteyn NVIDIA/Optimus -> AMD/hybrid graphics (GH-52)
Remaining textual changes: init scripts, bugreport
@Lekensteyn Lekensteyn added a commit that referenced this issue Oct 5, 2012
@Lekensteyn Lekensteyn Add driver detection for fglrx+radeon (GH-52)
The nvidia change is white-space only.
Bumblebee-Project member

Rebased on the development branch.


  • separate xorg error log analysis?
  • extend bumblebee.conf (the driver-radeon and driver-fglrx sections)
  • no PM support, use PMMethod=none. If you are using radeon, you could try switcheroo, but this does not work for suspend/resume. Work is in progress to fix that s/r issue (
  • update documentation with proprietary fglrx instructions

AMD users, please test the common-amd branch! When reporting, please mention whether you have an amd/amd or amd/intel setup.


Can't get X to start on the discrete graphic card, it crash with a "Segmentation fault". (open-source radeon driver)

See Xorg.log

00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI BeaverCreek [Radeon HD 6520G]
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Whistler [AMD Radeon HD 6600M Series]

Hardware is a HP Pavilion dv6-6145eo with a Radeon HD 6755G2 (integrated AMD Radeon HD 6520G APU graphic card and discrete AMD Radeon HD 6750M graphic card), where i can't get the X server to start on "AMD Radeon HD 6750M", the setup is Muxless.

uname -a 
Linux arch 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64 GNU/Linux

pacman -Q | grep ati
ati-dri 8.0.4-3
lib32-ati-dri 8.0.4-4
xf86-video-ati 1:6.14.6-1
Bumblebee-Project member

Can you rebuild xf86-video-radeon and xorg-server with debugging symbols enabled? use export CFLAGS='-g -O1' (or even -O0 for no optimization and better debugging).

Then run (adjust paths accordingly):

# gdb --args X :8 -config /etc/bumblebee/xorg.conf.radeon -sharevts -nolisten tcp -noreset -isolateDevice PCI:01:00:00
(gdb) r
... crash here ...
(gdb) bt
... or if it is not a segfault, just run ...
(gdb) c

(r = run, bt = backtrace, c = continue).

Bumblebee-Project member

@klausenbusk Please take it to the upstream developers (radeon and/or xorg-server). As far as I can see, it segfaults because no outputs are found in xf86Crtc.c:2362:

   2362     ret = xf86CollectEnabledOutputs(scrn, config, enabled);
   2363     if (ret == FALSE && canGrow) {
   2364         xf86DrvMsg(i, X_WARNING,
   2365                    "Unable to find connected outputs - setting %dx%d initial framebuffer\n",
   2367         have_outputs = FALSE;
   2368     }

Then, on the end some function is called that ultimately tries to access config->output (according to your backtrace) which is NULL:

   2503     xf86SetScrnInfoModes(scrn);

I think the radeon people cannot do much about it, but I might be wrong. The crash when output is NULL should be fixed by the xorg-server devs though.

(if it helps, there is a thread on the AL forums with the same error message,


Thanks for your time!!
Have posted a bug on but think i have written it under a wrong "Component" :)

Do you self have some ATI/AMD hardware to test with?

And how can i help with getting Bumblebee to work with Intel/AMD/ATI, just write here if it crash? or how?
Because i also have a older laptop with Intel/ATI i could test with, and maybe i could test with Fglrx on this laptop where radeon do not work.

Bumblebee-Project member

@klausenbusk Unfortunately I have no AMD hw on a laptop, so I need to rely on users like you who want to get their stuff working.

Currently this bug is focused on getting optirun to run at least on AMD hw (either intel/amd or amd/amd). Later on, power control should be made available as an extension to bbswitch (works for fglrx too) or fix to vga_switcheroo (will only work for opensource drivers).

Please test it with all hybrid Intel/ATI/AMD+ATI/AMD laptops you have available on. In order to help with fixing vga_switcheroo, I request you to answer the questions given in


Have just tested a bit on my Intel/Ati laptop.
First switcheroo seems to work (suspend/resume not tested, and resume from suspend don't work for some reason on this laptop (black screen)).
Just need to made a "[driver-radeon]" section and add "PMMethod=switcheroo", maybe you could add "[driver-radeon]" and "[driver-fglrx]" section to bumblebee.conf in git. Edit: There seems to be some problem with it, a little hard to explain. (don't have time to write right now)

Now the problems begin, can't start oilrush with optirun ([VGL] ERROR: glXCreateContextAttribsARB symbol not loaded), it start fine on the integrated card and fine on the discrete card (laptop have a multiplexer), but can't get it started with optirun.
Logs: (say if you need more info)
bumblebeed --debug
To long to ber here:
optirun --debug oilrush

[kristian@arch ~]$ optirun --debug oilrush
[  285.121137] [DEBUG]optirun version 3.0-51-ga00f533 starting...
[  285.121211] [DEBUG]Active configuration:
[  285.121249] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  285.121277] [DEBUG] X display: :8
[  285.121303] [DEBUG] LD_LIBRARY_PATH: 
[  285.121330] [DEBUG] Socket path: /var/run/bumblebee.socket
[  285.121357] [DEBUG] VGL Compression: proxy
[  297.755905] [INFO]Response: Yes. X is active.

[  297.755930] [INFO]Running application through vglrun.
[  297.756071] [DEBUG]Process vglrun started, PID 8304.
QGtkStyle was unable to detect the current GTK+ theme.
Loading "/home/kristian/.OilRush/oilrush.cfg"...
Loading ""...
Loading ""...
Loading ""...
Set 1366x768 fullscreen video mode
[VGL] ERROR: glXCreateContextAttribsARB symbol not loaded
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
[  303.904476] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  303.904705] [DEBUG]Socket closed.
[  303.904873] [DEBUG]Killing all remaining processes.

Have looked at #124 but there seems to be no fix.

Minecraft won't start with "optirun java -jar minecraftjar" but work with "optirun --vgl-options -nodl java -jar minecraft.jar", do there need to be fixed something in something?

Bumblebee-Project member

-nodl prevents VGL from intercepting libGL library calls, possibly preventing optirun from having any effect.

switcheroo is supposed to work for ON/OFF until you do a suspend. When you have a black screen, you can try ssh'ing into your machine and look for errors in your dmesg and Xorg.0.log.

Do optirun glxgears and optirun glxspheres work? glXCreateContextAttribsARB exists in the Mesa GL library, not sure why it does not work here.

Oh, and can you compare /var/log/Xorg.0.log against Xorg.8.log? The integrated GPU is also listed in Xorg.8.log which looks a bit strange.


Return back when i have tested with mesa 9.0, where the Intel driver have got OpenGL 3.1 and radeon 3.0
Then it should work with mesa 9.0, because glXCreateContextAttribsARB require OpenGL 3.0 or later.
Current intel and radeon driver only have OpenGL 2.1


Mesa 9.0 fix nothing, same error. Don't know if it need kernel 3.6?


We had the problem with glXCreateContextAttribsARB already with the first bumblebee version.


Thanks BlueCase, i believe what you say. Will try with Primus alternative to virtualgl.


I will check tomorrow the VirtualGL package. Last time MrMEEE solved it and games how OilRush were playable.


I'm an arch linux user with a dell inspiron 15r se : HD4000 + 7730M.
I would like to help in testing and, if I can, in developing.
how si the actual state of the project ?


Bumblebee-Project member

@HariSeldon85 The state is still the same as a month ago. Does switcheroo ON/OFF work for you? Is the system initially booted on the more powerful chip or the power efficient one?
Does Bumblebee from the common-amd branch work for you?


Thanks for the answer.
I've just cloned the common-amd branch and i'm trying to compile and install.
After I've generated the configure file with "autoreconf -fi" how should I "adjust the library and set the module path"?

On the readme is written :
"/configure CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia-current \
CONF_LDPATH_NVIDIA=/usr/lib/nvidia-current:/usr/lib32/nvidia-current \

I'm using the radeonhd open driver.

Sorry for askin but these days i've not so much time to investigate myself.


Bumblebee-Project member

For the open-source drivers it is sufficient to use ./configure --sysconfdir /etc CONF_DRIVER=radeon, no special library or module paths are necessary.
Then run make && sudo make install. If you prefer, you can use this PKGBUILD. The only changes you need is the ./configure line I mentioned and in addition you need to change _gitbranch=develop to _gitbranch=common-amd.


Here we are.
I'll try to do a little report as best as I can.


I've an Ivy bridge i7 CPU with intel HD4000 integrated GPU and the radeon hd 7730M (Dell inspiron 15R SE - a.k.a. inspiron 7520 ).

After I've installed ArchLinux (or any other distro) the system starts with the HD4000 gpu.
This is because my system is a mux-less one, so, Xorg can't do the rendering on the radeon GPU because it is not attached to any display (the same behaviour of Nvidia/Optimus I think).

The reason above, is why switcheroo doesn't work out of the box for me and i cannot activate/use the discrete GPU.
The only working feature of switcheroo is the powering off of the radeon card: If I do an "echo OFF > /sys/debug/vgaswitcheroo/switch" on /etc/rc.local, it really power off the radeon GPU. (checked with "lspci -vnnn | grep VGA).


Now comes to bumblebee.
I've installed bumblebee common-amd branch with the pkgbuild you linked. Installation was fine.
Then I reboot.

The systems boots up correctly with the intel driver (checked with glxinfo).
So I tryed to "optirun glxgears" but I've noticed that the bumblebee service was not running and my user wasn't added to "bumblebbe" group.

So I had to manually:

1) start bumblebee damon with systemd service
2) add my user to "bumblebee" group.

After that i've tried again to "optirun glxgears", but i've had this error:

[gigi@sirius ~]$ optirun -vv glxgears
[ 137.139406] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 137.139838] [INFO]Configured driver: radeon
[ 137.140190] [DEBUG]optirun version 3.0-51-ga00f533 starting...
[ 137.140216] [DEBUG]Active configuration:
[ 137.140224] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 137.140231] [DEBUG] X display: :8
[ 137.140237] [DEBUG] LD_LIBRARY_PATH:
[ 137.140244] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 137.140250] [DEBUG] VGL Compression: proxy
[ 137.157851] [INFO]Response: No - error: XORG Failed to load module "mouse" (module does not exist, 0)

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

[ 137.157893] [DEBUG]Socket closed.
[ 137.157923] [ERROR]Aborting because fallback start is disabled.
[ 137.157933] [DEBUG]Killing all remaining processes.

So, i've googled around, and i've found this your post:
#123 (comment)

But in /etc/X11/xorg.conf.d/ folder i've only 3 files : 10-synaptics.conf, 10quirks.conf, 10-evdev.conf
and no one of these files forces the intel driver.

now i'm stucked here. I don't know what to do.

Hope this little report could help.

Really thanks for your hard work, and let me know how I could help.




HariSeldon85: Try install xf86-input-mouse to get the "mouse" module, what i do :) and remov the changes you have made to xorg.conf.d files.


Done :)

Now the error is the following:

[gigi@sirius ~]$ optirun -vv glxgears
[ 23.653104] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 23.653587] [INFO]Configured driver: radeon
[ 23.653900] [DEBUG]optirun version 3.0-51-ga00f533 starting...
[ 23.653926] [DEBUG]Active configuration:
[ 23.653934] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 23.653941] [DEBUG] X display: :8
[ 23.653947] [DEBUG] LD_LIBRARY_PATH:
[ 23.653954] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 23.653960] [DEBUG] VGL Compression: proxy
[ 23.678535] [INFO]Response: No - error: XORG No devices detected.

[ 23.678554] [ERROR]Cannot access secondary GPU - error: XORG No devices detected.

[ 23.678558] [DEBUG]Socket closed.
[ 23.678573] [ERROR]Aborting because fallback start is disabled.
[ 23.678578] [DEBUG]Killing all remaining processes.


What do bumblebbeed say? (try run it in a terminal with debug mode). I you radeon card enable in vgaswitchroo?


The debug output is the following:

[gigi@sirius ~]$ optirun --debug glxgears
[ 74.372345] [DEBUG]optirun version 3.0-51-ga00f533 starting...
[ 74.372388] [DEBUG]Active configuration:
[ 74.372397] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 74.372404] [DEBUG] X display: :8
[ 74.372410] [DEBUG] LD_LIBRARY_PATH:
[ 74.372417] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 74.372424] [DEBUG] VGL Compression: proxy
[ 74.396452] [INFO]Response: No - error: XORG No devices detected.

[ 74.396483] [ERROR]Cannot access secondary GPU - error: XORG No devices detected.

[ 74.396493] [DEBUG]Socket closed.
[ 74.396524] [ERROR]Aborting because fallback start is disabled.
[ 74.396535] [DEBUG]Killing all remaining processes.

The radeon card is powered on as vgaswitcheroo says:

[gigi@sirius ~]$ cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :Pwr:0000:01:00.0

and the radeon module is loaded as shown by get_module:
[gigi@sirius ~]$ sudo get_module radeon
coresize : 859398
initsize : 0
initstate : live
refcnt : 0
taint :
uevent : (null)
agpmode : 0
audio : 0
benchmark : 0
connector_table : 0
disp_priority : 0
dynclks : -1
gartsize : 512
hw_i2c : 0
lockup_timeout : 10000
modeset : 1
msi : -1
no_wb : 0
pcie_gen2 : -1
r4xx_atom : 0
test : 0
tv : 1
vramlimit : 0
.bss : 0xffffffffa0872be0
.data : 0xffffffffa0869500
.data.unlikely : 0xffffffffa0872810
.devinit.text : 0xffffffffa0842c50
.exit.text : 0xffffffffa0842d09
.fixup : 0xffffffffa0842d27
.gnu.linkonce.this_module : 0xffffffffa0872980
.init.text : 0xffffffffa0961000 : 0xffffffffa0842f78
.parainstructions : 0xffffffffa08693e0
.rodata : 0xffffffffa0842fa0
.rodata.str1.1 : 0xffffffffa08568c1
.rodata.str1.8 : 0xffffffffa085cda8
.smp_locks : 0xffffffffa0869098
.strtab : 0xffffffffa0974470
.symtab : 0xffffffffa09610f0
.text : 0xffffffffa07b4000
__bug_table : 0xffffffffa08692f0
__ex_table : 0xffffffffa0869118
__jump_table : 0xffffffffa0872780
__mcount_loc : 0xffffffffa0866728
__param : 0xffffffffa0866508
__tracepoints_ptrs : 0xffffffffa0869420
__tracepoints_strings : 0xffffffffa0869450
__tracepoints : 0xffffffffa0872840
_ftrace_events : 0xffffffffa0872818

This is a clean Arch installation, just for bumblebee testing purpose :).
No rc-local script, no radeon blacklisting and modprobing. Just the intel and radeon driver package installed and then bumblebee.


Sorry was asking for, "bumblebeed --debug"


Here we are :)

[gigi@sirius ~]$ bumblebeed --debug
[ 633.409007] [INFO]Loading driver bbswitch (module bbswitch)
[ 633.409169] [DEBUG]Process modprobe started, PID 1148.
FATAL: Module bbswitch not found.
[ 633.410705] [DEBUG]Process with PID 1148 returned code 1
[ 633.411000] [ERROR]Module bbswitch could not be loaded (timeout?)
[ 633.411034] [DEBUG]bbswitch is not available, perhaps you need to insmod it?
[ 633.411079] [INFO]Skipping switcheroo PM method because it is not explicitly selected in the configuration.
[ 633.411103] [WARN]No switching method available. The dedicated card will always be on.
[ 633.411127] [DEBUG]Active configuration:
[ 633.411149] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 633.411172] [DEBUG] X display: :8
[ 633.411195] [DEBUG] LD_LIBRARY_PATH:
[ 633.411219] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 633.411242] [DEBUG] pidfile: /var/run/
[ 633.411264] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.DRIVER
[ 633.411305] [DEBUG] ModulePath:
[ 633.411328] [DEBUG] GID name: bumblebee
[ 633.411350] [DEBUG] Power method: auto
[ 633.411379] [DEBUG] Stop X on exit: 1
[ 633.411403] [DEBUG] Driver: radeon
[ 633.411426] [DEBUG] Driver module: radeon
[ 633.411456] [DEBUG] Card shutdown state: 1
[ 633.411622] [DEBUG]Process modinfo started, PID 1149.
[ 633.411699] [DEBUG]Hiding stderr for execution of modinfo
[ 633.428622] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 633.428696] [DEBUG]Configuration test passed.
[ 633.428748] [ERROR]Cannot open or write pidfile /var/run/


And running it with sudo :

[gigi@sirius ~]$ sudo bumblebeed --debug
[ 754.463352] [INFO]Loading driver bbswitch (module bbswitch)
[ 754.463536] [DEBUG]Process modprobe started, PID 1175.
FATAL: Module bbswitch not found.
[ 754.465101] [DEBUG]Process with PID 1175 returned code 1
[ 754.465407] [ERROR]Module bbswitch could not be loaded (timeout?)
[ 754.465440] [DEBUG]bbswitch is not available, perhaps you need to insmod it?
[ 754.465480] [INFO]Skipping switcheroo PM method because it is not explicitly selected in the configuration.
[ 754.465504] [WARN]No switching method available. The dedicated card will always be on.
[ 754.465527] [DEBUG]Active configuration:
[ 754.465550] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 754.465573] [DEBUG] X display: :8
[ 754.465595] [DEBUG] LD_LIBRARY_PATH:
[ 754.465618] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 754.465640] [DEBUG] pidfile: /var/run/
[ 754.465662] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.DRIVER
[ 754.465685] [DEBUG] ModulePath:
[ 754.465709] [DEBUG] GID name: bumblebee
[ 754.465731] [DEBUG] Power method: auto
[ 754.465764] [DEBUG] Stop X on exit: 1
[ 754.465787] [DEBUG] Driver: radeon
[ 754.465809] [DEBUG] Driver module: radeon
[ 754.465832] [DEBUG] Card shutdown state: 1
[ 754.465992] [DEBUG]Process modinfo started, PID 1176.
[ 754.466074] [DEBUG]Hiding stderr for execution of modinfo
[ 754.480704] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 754.480769] [DEBUG]Configuration test passed.
[ 754.480879] [ERROR]Daemon already running, pid 351

Bumblebee-Project member

You should look in /var/log/Xorg.8.log for more useful messages.

Bumblebee-Project member

Ok, that log did not help. You mentioned vgaswitcheroo before, but mind that the card needs to be on for X to pickup the card. You can use vgaswitcheroo by setting PMMethod=switcheroo in bumblebee.conf.

Can you paste your kernel log somewhere (not in this issue please).


Know I have to leave.
But the radeon card is powered on as you can see 2-3 post above.

In late evening i'll post kernel log and I try with that setting in vgaswitcheroo.

(without bumblee installed, obviously, I I try to enable and use with vgaswitcheroo the card "Echo DDIS > etc..." It cannot works and the system hangs because Xorg don't support rendirng on a card that is'nt attached to display).


You have installed xf86-video-ati right? (yeh i don't think you have forgit it :D)


So, in order:

1) Yes, i've xf86-video-ati :)

2) Here's my kernel log after the startup :

3) radeon is powered-on but not enabled by default.

4) this is my bumblebee.conf file.
Where I should add the PMMethod=switcheroo ? I don't think I had to modify the one under nvidia or nouveau section...
EDIT: I've created a radeon section, inserted the switcheroo mode, and then rebooted.
Now if I run bumblebeed --debug it says :
"[INFO]Switching method 'switcheroo' is available and will be used." (Here the complete debug output )

but when I try to "optirun glxgears" it gives me the same error:

[ 493.949557] [ERROR]Cannot access secondary GPU - error: XORG No devices detected.

[ 493.949621] [ERROR]Aborting because fallback start is disabled.

Maybe the radeon is not attached at X display 8 ?

Bumblebee-Project member

2) I only see one radeon device. Can you post lspci -nn | grep '\[030[02]'
4) That was a to-do item. You can add one section yourself, copy the nouveau section and replace nouveau by radeon.


2) Here we are:

[gigi@sirius ~]$ lspci -nn | grep '[030[02]'
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller 8086:0166
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700M Series] [1002:682f]

4) Is exactly what I do :) . Same error (reposted in the last post, I've updated it, check it please ). I think I don't have the bbswitch's not installed by default with the aur packagebuild.

Bumblebee-Project member

bbswitch only works for Nvidia cards atm, not AMD ones. I start to believe that the radeon xorg driver does not support your card yet...


Oh crap...

But here:

seems there's supporto for pci chip cape verde. scrool down all the file...


it seems it's a very experimental support again...:/
If you check here:
For the souther island family it says "WIP" or "TODO" in all 3D features :/

If you want I can try to install fglrx module and delete the radeon one.
Please consider my pc as a your test machine :)

(I've a full image of root partition, so no problem to step back in case of problems :D )



Catalyst kernel module in arch, requires the catalyst-utils package.
Catalyst-utils package conflicts with "libgl" package.
But libgl package is required for bumblebee.

Really stucked.


catalyst-utils provide libgl, so that should not be a problem! :)
Just sudo pacman -S catalyst-dkms
Then you answear Y of the first question, and then Y again.
It should work..


Unfortunately no :(

catalyst utils ask me also to remove xf86-video-intel because it uses intel-dri that uses libgl....

I can't remove xf86-video-intel...


You need to made this PKGBUILD for fglrx, (fglrx libgl should be other place than mesa libgl)
Think you also need to recompile bumblebee (with CONF_PATH)

./configure CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia-current \
CONF_LDPATH_NVIDIA=/usr/lib/nvidia-current:/usr/lib32/nvidia-current \
You just need to modifte it to fglrx, after you have made custom PKGBUILD

Bumblebee-Project member

You do not need to recompile, that is what the bumblebee.conf file is used for :)



Can you provide a pkgbuild to build fglrx for bumblebee? As i said before they cannot be used right now because conflicts with libgl and intel video driver.
Otherwise I cannot test bumblebee: i've the hardware but my radeon 7730M is not supported in the open radeonhd driver...

Thanks a lot in advance.


Bumblebee-Project member

Just grab catalyst-utils, but edit the PKGBUILD before installing.

Replace the following:

      ln -snf /usr/lib/fglrx/ "${pkgdir}/usr/lib/" # since 11.4
      ln -snf /usr/lib/fglrx/ "${pkgdir}/usr/lib/" # since 11.4
      ln -snf /usr/lib/fglrx/ "${pkgdir}/usr/lib/" # since 11.4


      ln -snf "${pkgdir}/usr/lib/fglrx/" # for hybrid graphics

Remove the "libgl" word from provides and conflicts as those are provided by Mesa (required for Intel).


Done. Catalyst succesfully installed alongside xf86-video-intel :)

Now I need to install bumblebee and configure it to work with fglrx:
To Configure the bumblebee pkgbuild to make it work with fireglx, it is correct this line?

./configure --sysconfdir /etc CONF_DRIVER=fglrx
Bumblebee-Project member

That should work, but you still need to create a [driver-fglrx] section in bumblebee.conf and set the LibraryPath to /usr/lib/fglrx.


Ok. Everything done. fglrx & bumblebee installed and configured.

Now when i log into kde I have the following behaviours:

1) Desktop effects are disabled and i can't turn in on. (But I don't care of it )

2) When I try to run "glxinfo" i have as answer :"

[gigi@sirius ~]$ glxinfo
name of display: :0
Errore di segmentazione
(Segmentation error)

3) [gigi@sirius ~]$ optirun --debug glxgears

[ 79.370564] [DEBUG]optirun version 3.0-51-ga00f533 starting...
[ 79.370609] [DEBUG]Active configuration:
[ 79.370617] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 79.370624] [DEBUG] X display: :8
[ 79.370630] [DEBUG] LD_LIBRARY_PATH: /usr/lib/fglrx
[ 79.370637] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 79.370643] [DEBUG] VGL Compression: proxy
[ 79.396520] [INFO]Response: No - error: XORG this is a Muxless PX A+I platform, we doesn't supported it

[ 79.396555] [ERROR]Cannot access secondary GPU - error: XORG this is a Muxless PX A+I platform, we doesn't supported it

[ 79.396566] [DEBUG]Socket closed.
[ 79.396596] [ERROR]Aborting because fallback start is disabled.
[ 79.396607] [DEBUG]Killing all remaining processes.

4) [gigi@sirius ~]$ lspci -vnnn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] rev 09 prog-if 00 [VGA controller]
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700M Series] [1002:682f] prog-if 00 [VGA controller]



Have you some suggestion to make it work with fglrx?

Bumblebee-Project member

@HariSeldon85 I am afraid not. fglrx does have its own bugtracker, maybe there are hints to get your setup working. And if you feel adventurous, get a mainline kernel and try to use radeon on that. No guaruantees though.



I was wondering if there was a solution related to this error and bumblebee switch with fglrx module:

[ 79.396520] [INFO]Response: No - error: XORG this is a Muxless PX A+I platform, we doesn't supported it

Obviously i wasn't askin you to solve a fglrx module error :)

Bumblebee-Project member

@HariSeldon85 Yes, I don't have a solution for that error, it is hard-coded into the fglrx xorg module I guess.


... that's bad :/

So to help you in testing, i had to wait that the open radeon driver add support to my videocard .



Hi, HariSeldon helped me install bumblebee on my laptop (Arch Linux, i5 2520m, Intel SandyBridge Mobile + Radeon 6630m). He supervisioned the whole process so I'm quite sure everything is set up correctly here.
I don't blacklist radeon module anymore nor I shut down radeon card via switcheroo, anyway radeon is auto-turned off after boot. X starts with no problems (with or without gdm) and intel card is working as usual, but optirun cannot find secondary video device and fails to run.

$ optirun --debug glxgears
[ 1812.973948] [DEBUG]optirun version 3.0-51-ga00f533 starting...
[ 1812.974048] [DEBUG]Active configuration:
[ 1812.974086] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1812.974126] [DEBUG] X display: :8
[ 1812.974192] [DEBUG] LD_LIBRARY_PATH:
[ 1812.974253] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1812.974300] [DEBUG] VGL Compression: proxy
[ 1812.992911] [INFO]Response: No - error: XORG No devices detected.

[ 1812.993064] [ERROR]Cannot access secondary GPU - error: XORG No devices detected.

[ 1812.993112] [DEBUG]Socket closed.
[ 1812.993187] [ERROR]Aborting because fallback start is disabled.
[ 1812.993208] [DEBUG]Killing all remaining processes.

$ cat /etc/bumblebee/bumblebee.conf

$ cat /etc/bumblebee/xorg.conf.radeon
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
Option "AutoAddDevices" "false"

Section "Device"
Identifier "Device0"
Driver "radeon"

Section "Screen"
Identifier "Screen0"
Device "Device0"

I suppose the problem is still switcheroo: "echo (D)DIS" always hangs system, as it always did.

Feel free to request any other test.


I tried with a HD 7970M on a clevo notebook ("AMD Enduro" = muxless).

I am stuck with X segfaulting when trying to remove a nonexistent screen.

I need the Screen section that aticonfig --initial created because when trying to start X without one, it tries for some reason to start with the intel module and fails with

[  1345.963] (EE) No devices detected.

I'm not really sure why X would do that, but whatever...

aticonfig --initial created a minimalistic ServerLayout, Monitor, Device and Screen section. Nothing interesting, but I can paste it if someone wants to see it.

So with that config X seems to try to do the right thing, but segfaults:

Program received signal SIGSEGV, Segmentation fault.
0x00007fa541329634 in xdl_xs113_atiddxFreeScreen () from /usr/lib/xorg/modules/drivers/
(gdb) bt
#0  0x00007fa541329634 in xdl_xs113_atiddxFreeScreen () from /usr/lib/xorg/modules/drivers/
#1  0x00000000004a232c in xf86DeleteScreen (pScrn=0x274b660) at xf86Helper.c:237
#2  0x0000000000496fed in InitOutput (pScreenInfo=0x8b1e60 <screenInfo>, argc=8, argv=0x7fff1316d098) at xf86Init.c:600
#3  0x0000000000424899 in main (argc=8, argv=0x7fff1316d098, envp=0x7fff1316d0e0) at main.c:20

Xorg.8.log for the segfault:

So the segfault is in fglrx but can xorg work around that by, for example, making sure to only call xf86DeleteScreen when pScrn is valid (I have not looked at the code but I assume that's the reason of the segfault) or something?

Or is it because it tries to do that PowerXpress stuff (I think it wouldn't work on Enduro anyway)? ist the latest version from git, I really hope that's not the problem.

edit: Damn, it uses the wrong libglx. But that shouldn't cause an X segfault so early, right? I'll later try if I can get X to use fglrx' libglx.


So we are 3 people with 3 different card (7730, 6630, 7970) with the same error :

1345.963 No devices detected.

Some useful hints how to solve it?

Bumblebee-Project member

I have no idea, sorry. Maybe the #radeon guys know.


As far as I understand, you are trying to use catalyst with xserver 1.13. There are following issues:
1. You need to use intel driver <=2.20.2, since
2. You need to use Mesa <9.0, because of this:
3. The only working combination for me: intel 2.20.0+fglrx 12.8 (or 12.6)+Mesa 8.0.4+xserver 1.12.3+kernel 3.7(or 3.4).

My hardware is: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz (HD 4000)+AMD Mobility HD 7750:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde Radeon HD 7700M Series

As for radeon driver currently it doesn't work.

I also would like to test bumblebee. Currently I have working combination of intel driver and fglrx (switching between them by using amdconfig --px-dgpu and amdconfig --px-igpu). What should I install other than bimblebee itself? Where can I find the amd-common branch? Also does it work with primus?


I've installed bumblebee amd-common branch on opensuse 12.2 (created an rpm from spec file).
bumblebee-debug starts fine but whenever I try optirun glxinfo I get some errors.

My bumblebee.conf:
My xorg.conf for fglrx:
Xorg.8.log :

My specs: opensuse 12.2
kernel: 3.6.9
fglrx:8.982 (I guess it is catalyst 12.8 but maybe 12.6)

So I have a couple of questions. Did I configure it write?

According to Xorg.8.log:

[ 52097.297] (II) fglrx(0): PowerXpress: Integrated GPU is selected.
[ 52097.426] (II) fglrx(0): PowerXpress: Diagnostic output from /usr/lib64/fglrx/switchlibGL:
Switch to Intel

So I presume fglrx is calling switchlibGL and switchlibglx. These scripts are used to switch between intel and amd video cards. Does this interfere with bumblebee?

Do you need more info?


What do optirun says?


Here you are:

$ optirun glxinfo
[  394.390152] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Screen 1 deleted because of no matching config section.
[  394.390234] [ERROR]Aborting because fallback start is disabled.

I've run bumblebee using radeon driver and I've got this error:

[ 3122.545444] [INFO]bumblebeed 3.0-51-ga00f533 started
[ 3125.554773] [ERROR][XORG] (EE) RADEON(0): [drm] failed to set drm interface version.
[ 3125.554851] [ERROR][XORG] (EE) RADEON(0): Kernel modesetting setup failed
[ 3125.554891] [ERROR][XORG] (EE) Screen(s) found, but none have a usable configuration.
[ 3125.554934] [ERROR][XORG] (EE) 
[ 3125.554964] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
# lspci | grep -i 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: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series] (rev ff)

I'm running ArchLinux and I have latest packages and here is some configuration:
And Xorg log:


As far as I'm concerned, same hardware (& software, it seems) config as @kravecm , same result as @lucaippo ... that's kind of weird, isn't it?


@klausenbusk, did you manged to run oilrush/minecraft on your ati/Intel setup? I have same configuration and errors


@nslqqq I never got tested more, with my Intel/ATI setup :(, so no..


I tried primus, not much luck:

  • unigine-heaven (benchmark, same engine as in olirush) - works, (although outputs alot of shader errors in terminal)
  • minecraft - still no luck, new error: xmlconfig.c:1033: driQueryOptioni: Assertion `cache->info[i].name != ((void *) 0)' failed.
  • simple qt based opengl test reports QGLShaderProgram: shader programs are not supported
  • glxgears works fine ;-)

What is your hardware?
As I understand you used radeon, right?


@Hohahiu, my specs:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Madison [Radeon HD 5000M Series]
Yes, i am using radeon (xf86-video-ati 1:7.0.0, mesa 9.0.1), and vgaswitcheroo.


@nslqqq Could you try with ? Maybe it a bug in virtualgl
If you run archlinux you just compile this package
So instant of "glxrun oilrush" you run "primusrun oilrush"


@klausenbusk, i tried primus, see #52 (comment)

I want to summarize, what i got now:

  • glxinfo works with both vglrun and primus. Seems like it returns vaild info: direct rendering yes, opengl version 3.0 (intel suports only 2.1)
  • glxgears works with both vglrun and primus.
  • minecraft:
    • vglrun: crashes with org.lwjgl.LWJGLException: Could not find GLX 1.3 config from peer info full log:
    • primus: crashes with xmlconfig.c:1033: driQueryOptioni: Assertion `cache->info[i].name != ((void *) (which seems to be in mesa)
  • unigine-heaven (oilrush):
    • vglrun: [VGL] ERROR: glXCreateContextAttribsARB symbol not loaded same as #52 (comment)
    • primus: works! fps rises from 5 (intel) to 17.
  • simple opengl test from qtcreator examples(slightly modifed to use shaders):
    • vglrun: works
    • primus: QGLShaderProgram: shader programs are not supported

After 3 months where I have not played around with bumblebee on my AMD/AMD setup (radeon driver), I was just trying today, but getting the "(EE) No devices detected." as many of you. How could we debug it?
Last time (3 months ago) it just segfaults, #52 (comment)


Hi everybody,
I'm on a dell inspiron 15R SE (HD4000 and 7730M) and I'm using arch - just like HariSeldon...
I'm using the last xf86-video-ati as driver.
So far i managed to install VirtualGL and the common-amd branch of Bumblebee by using this configuration (#52 (comment)).

Now.. whenever I try to run something with optirun, i get this output:

$ sudo optirun --debug java -jar minecraft.jar 
[  828.555023] [DEBUG]optirun version 3.0-51-ga00f533 starting...
[  828.555069] [DEBUG]Active configuration:
[  828.555077] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  828.555084] [DEBUG] X display: :8
[  828.555090] [DEBUG] LD_LIBRARY_PATH: 
[  828.555096] [DEBUG] Socket path: /var/run/bumblebee.socket
[  828.555102] [DEBUG] VGL Compression: proxy
[  828.574494] [INFO]Response: No - error: [XORG] (EE) RADEON(0): [drm] failed to set drm interface version.
[  828.574515] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) RADEON(0): [drm] failed to set drm interface version.
[  828.574522] [DEBUG]Socket closed.
[  828.574537] [ERROR]Aborting because fallback start is disabled.
[  828.574542] [DEBUG]Killing all remaining processes.

This error seems to be from here (around line 586)

Can you help me?
Also, does anyone know if the common-amd branch has ever worked? I'm a beginner C programmer and I would like to help the project by coding too.


The main problem with AMD 77** and upper cards is that they don't support fully 3D via radeon driver. So there are two options: to wait for this driver to work or to ask catalyst developer to help with running fglrx through bumblebee.

I would prefer the second approach. The problem with fglrx now is that it tries to load intel module when it detects hybrid graphics. Is there any way to turn off this function in catalyst?


catalyst and open source radeon probably work quite a bit different, so maybe this thread should be split into bumblebee with catalyst and fglrx with radeon.

I finally found out how to use catalyst's hybrid implementation on archlinux. With catalyst 13.1, 1.13, mesa 9.0.1 and xf86-video-inte-git (with uxa) by the way.
But there are several ways in which it sucks, so I am still interested in bumblebee.

I have not found out how to start an X server with fglrx without intel.
It does indeed seem to be the case that it is actually the fglrx ddx that is trying to do something with the intel ddx. I even tried to completely remove the intel xorg module before starting the second X, but that just results in a segfault.

I think it would be a reasonable request to amd to make X start-able without using intel and without connected screens. The latter may be solved with Option "Ignore" "true" in the Monitor section, but better be safe and explicitely ask for it to be tested. As far as I know catalyst needs X running for OpenCL so this would be needed on "servers" anyway. Servers in quotes because Xeons don't have intel graphics. Maybe headless workstations?

Is there an official openly viewable communication canal to the fglrx/catalyst developers?
In the meantime, maybe an issue on could be opened. The amd developers supposedly read it occassionally, but there is hardly any feedback unfortunately.


I absolutely agree with you.

As for communication with AMD developers you can use In essence there is an open bug where you idea was mentioned ( Also you can try to tell this to your maintainer of fglrx package. At least Sebastian Siebert from openSUSE has some sort of communication with AMD developers. So you can leave a comment on in the news for 13.1.

By the way how did you manage to run hybrid graphics on fglrx+intel? Does integrated graphics work? In my case it just crashes. But discrete works just fine.


I just installed catalyst 13.1 from, switched to amd with the pxp_switch_catalyst script and then did aticonfig --initial and startx and it worked. The switching didn't really work reliably in the beginning so I had to switch back and forth between amd and intel for 2 or 3 times until the script didn't output some strange warnings anymore, but then it was ok. With the amd config X is crashy when enabling or disabling additional monitors and with 3(+?) monitors it just doesn't work correctly. Also, the rendering with multiple monitors is not really ok. So until AMD gets it together and releases something that actually works and is usable I'd like to use bumblebee.

And I actually saw the comment on the unofficial bugtracker, but notice that it is almost two weeks old and there has been no answer at all. Maybe someone read it, maybe not. Maybe someone in the fglrx team thinks it's a good idea, maybe not. We simply don't know.


Is there any progress on this? My laptop has the same configuration and I would really like this discrete graphics card that I'm lugging around to work. Seems AMD released a new Catalyst, does it help?


I do also have problem with running common-amd branch on my notebook.
My situation is as follows: AMD+AMD, with radeon kernel driver and switcheroo working properly.

lspci |grep VGA
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4225/4250]
02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Madison [Mobility Radeon HD 5650/5750 / 6550M]

glxinfo runs fine on integrated (hd4250) card, but fails with optirun on hd5650.

From logs it seems that optirun tries to enable dri on integrated card for the second time, and thus it fails bumblebeed thinks that there is no working secondary card:

optirun glxinfo
[ 105.067887] [ERROR]Cannot access secondary GPU - error: XORG RADEON(0): [drm] failed to set drm interface version.

[ 105.068041] [ERROR]Aborting because fallback start is disabled.

partial output from bumblebeed --debug:
[ 751.607804] [DEBUG]XORG using VT number 8
[ 751.607814] [DEBUG]XORG [KMS] Kernel modesetting enabled.
[ 751.607824] [DEBUG]XORG [KMS] Kernel modesetting enabled.
[ 751.607834] [DEBUG]XORG RADEON(0): Creating default Display subsection in Screen section
[ 751.607846] [DEBUG][XORG] "Screen0" for depth/fbbpp 24/32
[ 751.607857] [DEBUG]XORG RADEON(0): Depth 24, (--) framebuffer bpp 32
[ 751.607867] [DEBUG]XORG RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 751.607878] [DEBUG]XORG RADEON(0): Default visual is TrueColor
[ 751.607888] [DEBUG]XORG RADEON(0): RGB weight 888
[ 751.607898] [DEBUG]XORG RADEON(0): Using 8 bits per RGB (8 bit DAC)
[ 751.607907] [DEBUG]XORG RADEON(0): Chipset: "ATI Mobility Radeon HD 4200" (ChipID = 0x9712)
[ 751.607938] [ERROR]XORG RADEON(0): [drm] failed to set drm interface version.
[ 751.607952] [ERROR]XORG RADEON(0): Kernel modesetting setup failed
[ 751.607963] [DEBUG]XORG UnloadModule: "radeon"
[ 751.607974] [DEBUG]XORG RADEON(G0): Depth 24, (--) framebuffer bpp 32
[ 751.607985] [DEBUG]XORG RADEON(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 751.607995] [DEBUG]XORG RADEON(G0): Default visual is TrueColor
[ 751.608044] [DEBUG]XORG RADEON(G0): RGB weight 888
[ 751.608055] [DEBUG]XORG RADEON(G0): Using 8 bits per RGB (8 bit DAC)
[ 751.608065] [DEBUG]XORG RADEON(G0): Chipset: "ATI Mobility Radeon HD 5000 Series" (ChipID = 0x68c1)
[ 751.608076] [DEBUG]XORG Loading sub module "dri2"
[ 751.608088] [DEBUG]XORG LoadModule: "dri2"
[ 751.608098] [DEBUG]XORG Module "dri2" already built-in
[ 751.608108] [DEBUG]XORG Loading sub module "exa"
[ 751.608117] [DEBUG]XORG LoadModule: "exa"
[ 751.608129] [DEBUG]XORG Loading /usr/lib/xorg/modules/
[ 751.608139] [DEBUG]XORG Module exa: vendor="X.Org Foundation"
[ 751.608150] [DEBUG][XORG] compiled for 1.13.3, module version = 2.6.0
[ 751.608161] [DEBUG][XORG] ABI class: X.Org Video Driver, version 13.1
[ 751.608173] [DEBUG]XORG RADEON(G0): KMS Color Tiling: enabled
[ 751.608183] [DEBUG]XORG RADEON(G0): KMS Color Tiling 2D: enabled
[ 751.608193] [DEBUG]XORG RADEON(G0): KMS Pageflipping: enabled
[ 751.608203] [DEBUG]XORG RADEON(G0): SwapBuffers wait for vsync: enabled
[ 751.608213] [DEBUG]XORG RADEON(G0): Output LVDS-1 has no monitor section
[ 751.608223] [DEBUG]XORG RADEON(G0): Output HDMI-0 has no monitor section
[ 751.608234] [DEBUG]XORG RADEON(G0): Output VGA-1 has no monitor section
[ 751.608245] [DEBUG]XORG RADEON(G0): EDID for output LVDS-1
[ 751.608255] [DEBUG]XORG RADEON(G0): Printing probed modes for output LVDS-1
[ 751.617846] [DEBUG]XORG RADEON(G0): EDID for output HDMI-0
[ 751.617857] [DEBUG]XORG RADEON(G0): EDID for output VGA-1
[ 751.617867] [DEBUG]XORG RADEON(G0): Output LVDS-1 connected
[ 751.617877] [DEBUG]XORG RADEON(G0): Output HDMI-0 disconnected
[ 751.617887] [DEBUG]XORG RADEON(G0): Output VGA-1 disconnected
[ 751.617897] [DEBUG]XORG RADEON(G0): Using exact sizes for initial modes
[ 751.617907] [DEBUG]XORG RADEON(G0): Output LVDS-1 using initial mode 1600x900
[ 751.617917] [DEBUG]XORG RADEON(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 751.617928] [DEBUG]XORG RADEON(G0): mem size init: gart size :1fdef000 vram size: s:40000000 visible:3fa3b000
[ 751.617939] [DEBUG]XORG RADEON(G0): EXA: Driver will allow EXA pixmaps in VRAM
[ 751.617951] [DEBUG]XORG RADEON(G0): DPI set to (96, 96)
[ 751.617961] [DEBUG]XORG Loading sub module "fb"
[ 751.617970] [DEBUG]XORG LoadModule: "fb"
[ 751.617980] [DEBUG]XORG Loading /usr/lib/xorg/modules/
[ 751.617990] [DEBUG]XORG Module fb: vendor="X.Org Foundation"
[ 751.618000] [DEBUG][XORG] compiled for 1.13.3, module version = 1.0.0
[ 751.618011] [DEBUG][XORG] ABI class: X.Org ANSI C Emulation, version 0.4
[ 751.618023] [DEBUG]XORG Loading sub module "ramdac"
[ 751.618032] [DEBUG]XORG LoadModule: "ramdac"
[ 751.618042] [DEBUG]XORG Module "ramdac" already built-in
[ 751.618056] [ERROR]XORG Screen(s) found, but none have a usable configuration.
[ 751.618067] [DEBUG][XORG] Fatal server error:
[ 751.618077] [DEBUG][XORG] no screens found
[ 751.618087] [ERROR]XORG
[ 751.618101] [DEBUG][XORG] Please consult the The X.Org Foundation support
[ 751.618112] [DEBUG][XORG] at
[ 751.618123] [DEBUG][XORG] for help.
[ 751.618135] [ERROR]XORG Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 751.618147] [ERROR]XORG
[ 751.618156] [DEBUG][XORG] Server terminated with error (1). Closing log file.
[ 751.718436] [ERROR]X did not start properly
[ 751.718769] [DEBUG]Socket closed.


Check your /var/log/Xorg.0.log — primary X server probably binds both cards. You can prevent it by explicitly specifying BusID for the integrated card only in /etc/X11/xorg.conf.

I'm curious why you want to use Bumblebee, is PRIME offloading not working for you?



I just tried to built and run bumblebeed (Intel+AMD), with no success.

Here are the steps I took (output from non-bumblebee commands omitted) :

$ git clone git://
$ git checkout common-amd
$ ./configure --prefix=/opt/bumblebee --sysconfdir=/opt/bumblebee
$ make
$ sudo make install
$ sudo rm /etc/udev/rules.d/99-remove-nvidia-dev.rules
$ # Don't have a nvidia card, and don't want to put not-pacman-managed files everywhere
$ sudo groupadd bumblebee
$ cd /opt/bumblebee/sbin
$ sudo ./bumblebeed --pm-method switcheroo --debug
[ 3662.227226] [INFO]Switching method 'switcheroo' is available and will be used.
[ 3662.227267] [DEBUG]Active configuration:
[ 3662.227282] [DEBUG] bumblebeed config file: /opt/bumblebee/bumblebee/bumblebee.conf
[ 3662.227309] [DEBUG] X display: :8
[ 3662.227322] [DEBUG] LD_LIBRARY_PATH: 
[ 3662.227338] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 3662.227359] [DEBUG] pidfile: /var/run/
[ 3662.227380] [DEBUG] xorg.conf file: /opt/bumblebee/bumblebee/xorg.conf.DRIVER
[ 3662.227398] [DEBUG] ModulePath: 
[ 3662.227414] [DEBUG] GID name: bumblebee
[ 3662.227433] [DEBUG] Power method: switcheroo
[ 3662.227451] [DEBUG] Stop X on exit: 1
[ 3662.227473] [DEBUG] Driver: radeon
[ 3662.227495] [DEBUG] Driver module: radeon
[ 3662.227512] [DEBUG] Card shutdown state: 1
[ 3662.227639] [DEBUG]Process /sbin/modinfo started, PID 6142.
[ 3662.227667] [DEBUG]Hiding stderr for execution of /sbin/modinfo
[ 3662.244500] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 3662.244531] [DEBUG]Configuration test passed.
[ 3662.244849] [INFO]./bumblebeed 3.0-51-ga00f533 started
[ 3662.244936] [INFO]Switching dedicated card OFF [switcheroo]
[ 3662.287255] [INFO]Initialization completed - now handling client requests

Then in another terminal :

$ sudo usermod -aG bumblebee ekleog
$ exec su -l ekleog
$ /opt/bumblebee/bin/optirun glxgears
[ 3706.081592] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ 3706.081653] [ERROR]Aborting because fallback start is disabled.

During this time, in the first terminal, these log lines were written by bumblebeed :

[ 3705.586212] [DEBUG]Accepted new connection
[ 3705.586558] [INFO]Switching dedicated card ON [switcheroo]
[ 3706.039962] [DEBUG]there is no PCI configuration space to restore
[ 3706.040078] [INFO]Starting X server on display :8.
[ 3706.040271] [DEBUG]Process Xorg started, PID 6145.
[ 3706.063585] [DEBUG]Process with PID 6145 returned code 1
[ 3706.063681] [DEBUG][XORG] X.Org X Server 1.14.2
[ 3706.063721] [DEBUG][XORG] Release Date: 2013-06-25
[ 3706.063764] [DEBUG][XORG] X Protocol Version 11, Revision 0
[ 3706.063794] [DEBUG][XORG] Build Operating System: Linux 3.9.7-1-ARCH x86_64 
[ 3706.063827] [DEBUG][XORG] Current Operating System: Linux eta 3.9.8-1-ARCH #1 SMP PREEMPT Thu Jun 27 21:37:31 CEST 2013 x86_64
[ 3706.063864] [DEBUG][XORG] Kernel command line: root=PARTUUID=b1622fa2-1642-498a-a8f3-1dd91b2f724c ro rootfstype=ext4 resume=UUID=2e80cc96-c4ff-4ad8-ad72-3acab4d3d7bd initrd=EFI\arch\initramfs-arch.img modprobe.blacklist=radeon
[ 3706.063898] [DEBUG][XORG] Build Date: 01 July 2013  10:48:42AM
[ 3706.063925] [DEBUG][XORG] Current version of pixman: 0.30.0
[ 3706.063961] [DEBUG][XORG]    Before reporting problems, check
[ 3706.064009] [DEBUG][XORG]    to make sure that you have the latest version.
[ 3706.064053] [DEBUG][XORG] Markers: (--) probed, (**) from config file, (==) default setting,
[ 3706.064086] [DEBUG][XORG]    (++) from command line, (!!) notice, (II) informational,
[ 3706.064129] [DEBUG][XORG]    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 3706.064175] [DEBUG][XORG] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Jul  3 17:27:18 2013
[ 3706.064206] [DEBUG][XORG] (++) Using config file: "/opt/bumblebee/bumblebee/xorg.conf.radeon"
[ 3706.064240] [DEBUG][XORG] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 3706.064270] [DEBUG][XORG] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 3706.064301] [DEBUG][XORG] (==) ServerLayout "Layout0"
[ 3706.064333] [DEBUG][XORG] (**) |-->Screen "Screen0" (0)
[ 3706.064364] [DEBUG][XORG] (**) |   |-->Monitor "<default monitor>"
[ 3706.064397] [DEBUG][XORG] (**) |   |-->Device "Device0"
[ 3706.064428] [DEBUG][XORG] (==) No monitor specified for screen "Screen0".
[ 3706.064460] [DEBUG][XORG]    Using a default monitor configuration.
[ 3706.064504] [DEBUG][XORG] (**) Option "AutoAddDevices" "false"
[ 3706.064535] [DEBUG][XORG] (**) Not automatically adding devices
[ 3706.064565] [DEBUG][XORG] (==) Automatically enabling devices
[ 3706.064597] [DEBUG][XORG] (==) Automatically adding GPU devices
[ 3706.064631] [DEBUG][XORG] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 3706.064665] [DEBUG][XORG]    Entry deleted from font path.
[ 3706.064712] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 3706.064745] [DEBUG][XORG]    Entry deleted from font path.
[ 3706.064791] [DEBUG][XORG]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 3706.064837] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 3706.064871] [DEBUG][XORG]    Entry deleted from font path.
[ 3706.064919] [DEBUG][XORG]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 3706.064965] [DEBUG][XORG] (==) FontPath set to:
[ 3706.064998] [DEBUG][XORG]    /usr/share/fonts/misc/,
[ 3706.065042] [DEBUG][XORG]    /usr/share/fonts/TTF/,
[ 3706.065087] [DEBUG][XORG]    /usr/share/fonts/Type1/
[ 3706.065131] [DEBUG][XORG] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 3706.065164] [DEBUG][XORG] (==) |-->Input Device "<default pointer>"
[ 3706.065195] [DEBUG][XORG] (==) |-->Input Device "<default keyboard>"
[ 3706.065228] [DEBUG][XORG] (==) The core pointer device wasn't specified explicitly in the layout.
[ 3706.065261] [DEBUG][XORG]    Using the default mouse configuration.
[ 3706.065305] [DEBUG][XORG] (==) The core keyboard device wasn't specified explicitly in the layout.
[ 3706.065337] [DEBUG][XORG]    Using the default keyboard configuration.
[ 3706.065383] [DEBUG][XORG] (II) Loader magic: 0x7fdc20
[ 3706.065415] [DEBUG][XORG] (II) Module ABI versions:
[ 3706.065448] [DEBUG][XORG]    X.Org ANSI C Emulation: 0.4
[ 3706.065496] [DEBUG][XORG]    X.Org Video Driver: 14.1
[ 3706.065542] [DEBUG][XORG]    X.Org XInput driver : 19.1
[ 3706.065586] [DEBUG][XORG]    X.Org Server Extension : 7.0
[ 3706.065633] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 3706.065665] [DEBUG][XORG] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 3706.065697] [DEBUG][XORG] setversion 1.4 failed
[ 3706.065727] [DEBUG][XORG] (--) PCI:*(0:1:0:0) 1002:6840:103c:1897 rev 0, Mem @ 0xa0000000/268435456, 0xc0000000/131072, I/O @ 0x00003000/256, BIOS @ 0x????????/131072
[ 3706.065761] [DEBUG][XORG] Initializing built-in extension Generic Event Extension
[ 3706.065794] [DEBUG][XORG] Initializing built-in extension SHAPE
[ 3706.065824] [DEBUG][XORG] Initializing built-in extension MIT-SHM
[ 3706.065857] [DEBUG][XORG] Initializing built-in extension XInputExtension
[ 3706.065888] [DEBUG][XORG] Initializing built-in extension XTEST
[ 3706.065919] [DEBUG][XORG] Initializing built-in extension BIG-REQUESTS
[ 3706.065951] [DEBUG][XORG] Initializing built-in extension SYNC
[ 3706.065982] [DEBUG][XORG] Initializing built-in extension XKEYBOARD
[ 3706.066014] [DEBUG][XORG] Initializing built-in extension XC-MISC
[ 3706.066045] [DEBUG][XORG] Initializing built-in extension SECURITY
[ 3706.066078] [DEBUG][XORG] Initializing built-in extension XINERAMA
[ 3706.066112] [DEBUG][XORG] Initializing built-in extension XFIXES
[ 3706.066144] [DEBUG][XORG] Initializing built-in extension RENDER
[ 3706.066176] [DEBUG][XORG] Initializing built-in extension RANDR
[ 3706.066208] [DEBUG][XORG] Initializing built-in extension COMPOSITE
[ 3706.066240] [DEBUG][XORG] Initializing built-in extension DAMAGE
[ 3706.066271] [DEBUG][XORG] Initializing built-in extension MIT-SCREEN-SAVER
[ 3706.066326] [DEBUG][XORG] Initializing built-in extension DOUBLE-BUFFER
[ 3706.066361] [DEBUG][XORG] Initializing built-in extension RECORD
[ 3706.066392] [DEBUG][XORG] Initializing built-in extension DPMS
[ 3706.066425] [DEBUG][XORG] Initializing built-in extension X-Resource
[ 3706.066459] [DEBUG][XORG] Initializing built-in extension XVideo
[ 3706.066492] [DEBUG][XORG] Initializing built-in extension XVideo-MotionCompensation
[ 3706.066523] [DEBUG][XORG] Initializing built-in extension XFree86-VidModeExtension
[ 3706.066554] [DEBUG][XORG] Initializing built-in extension XFree86-DGA
[ 3706.066588] [DEBUG][XORG] Initializing built-in extension XFree86-DRI
[ 3706.066620] [DEBUG][XORG] Initializing built-in extension DRI2
[ 3706.066651] [DEBUG][XORG] (II) "glx" will be loaded by default.
[ 3706.066682] [DEBUG][XORG] (II) LoadModule: "dri2"
[ 3706.066716] [DEBUG][XORG] (II) Module "dri2" already built-in
[ 3706.066749] [DEBUG][XORG] (II) LoadModule: "glamoregl"
[ 3706.066781] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/
[ 3706.066814] [DEBUG][XORG] (II) Module glamoregl: vendor="X.Org Foundation"
[ 3706.066845] [DEBUG][XORG]    compiled for 1.14.0, module version = 0.5.0
[ 3706.066889] [DEBUG][XORG]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 3706.066970] [DEBUG][XORG] (II) LoadModule: "glx"
[ 3706.067024] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/extensions/
[ 3706.067080] [DEBUG][XORG] (II) Module glx: vendor="X.Org Foundation"
[ 3706.067134] [DEBUG][XORG]    compiled for 1.14.2, module version = 1.0.0
[ 3706.067199] [DEBUG][XORG]    ABI class: X.Org Server Extension, version 7.0
[ 3706.067245] [DEBUG][XORG] (==) AIGLX enabled
[ 3706.067279] [DEBUG][XORG] Loading extension GLX
[ 3706.067310] [DEBUG][XORG] (II) LoadModule: "radeon"
[ 3706.067344] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/drivers/
[ 3706.067375] [DEBUG][XORG] (II) Module radeon: vendor="X.Org Foundation"
[ 3706.067409] [DEBUG][XORG]    compiled for 1.14.0, module version = 7.1.0
[ 3706.067454] [DEBUG][XORG]    Module class: X.Org Video Driver
[ 3706.067498] [DEBUG][XORG]    ABI class: X.Org Video Driver, version 14.1
[ 3706.067542] [DEBUG][XORG] (II) LoadModule: "mouse"
[ 3706.067611] [WARN][XORG] (WW) Warning, couldn't open module mouse
[ 3706.067667] [DEBUG][XORG] (II) UnloadModule: "mouse"
[ 3706.067725] [DEBUG][XORG] (II) Unloading mouse
[ 3706.067793] [ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 3706.067851] [DEBUG][XORG] (II) LoadModule: "kbd"
[ 3706.067886] [DEBUG][XORG] (WW) Warning, couldn't open module kbd
[ 3706.067918] [DEBUG][XORG] (II) UnloadModule: "kbd"
[ 3706.067950] [DEBUG][XORG] (II) Unloading kbd
[ 3706.067982] [DEBUG][XORG] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 3706.068015] [DEBUG][XORG] (II) RADEON: Driver for ATI Radeon chipsets:
[ 3706.068045] [DEBUG][XORG]    ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
[ 3706.068092] [DEBUG][XORG]    ATI Radeon Mobility X300 (M24) 3152 (PCIE),
[ 3706.068136] [DEBUG][XORG]    ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
[ 3706.068181] [DEBUG][XORG]    ATI Radeon X600 (RV380) 3E50 (PCIE),
[ 3706.068226] [DEBUG][XORG]    ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
[ 3706.068272] [DEBUG][XORG]    ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
[ 3706.068319] [DEBUG][XORG]    ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
[ 3706.068365] [DEBUG][XORG]    ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
[ 3706.068411] [DEBUG][XORG]    ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
[ 3706.068458] [DEBUG][XORG]    ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
[ 3706.068503] [DEBUG][XORG]    ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
[ 3706.068549] [DEBUG][XORG]    ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
[ 3706.068635] [DEBUG][XORG]    ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
[ 3706.068683] [DEBUG][XORG]    ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
[ 3706.068728] [DEBUG][XORG]    ATI Radeon IGP330M/340M/350M (U2) 4337,
[ 3706.068773] [DEBUG][XORG]    ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
[ 3706.068818] [DEBUG][XORG]    ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
[ 3706.068868] [DEBUG][XORG]    ATI Radeon X800PRO (R420) JI (AGP),
[ 3706.068914] [DEBUG][XORG]    ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
[ 3706.068959] [DEBUG][XORG]    ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
[ 3706.069007] [DEBUG][XORG]    ATI Radeon Mobility 9800 (M18) JN (AGP),
[ 3706.069054] [DEBUG][XORG]    ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP),
[ 3706.069100] [DEBUG][XORG]    ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP),
[ 3706.069145] [DEBUG][XORG]    ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
[ 3706.069190] [DEBUG][XORG]    ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP),
[ 3706.069242] [DEBUG][XORG]    ATI Radeon Mobility M7 LW (AGP),
[ 3706.069288] [DEBUG][XORG]    ATI Mobility FireGL 7800 M7 LX (AGP),
[ 3706.069332] [DEBUG][XORG]    ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
[ 3706.069377] [DEBUG][XORG]    ATI FireGL Mobility 9000 (M9) Ld (AGP),
[ 3706.069420] [DEBUG][XORG]    ATI Radeon Mobility 9000 (M9) Lf (AGP),
[ 3706.069467] [DEBUG][XORG]    ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI FireMV 2400 PCI,
[ 3706.069513] [DEBUG][XORG]    ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP),
[ 3706.069558] [DEBUG][XORG]    ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP),
[ 3706.069604] [DEBUG][XORG]    ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP),
[ 3706.069670] [DEBUG][XORG]    ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP),
[ 3706.069717] [DEBUG][XORG]    ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP),
[ 3706.069764] [DEBUG][XORG]    ATI Radeon Mobility 9600 (M10) NQ (AGP),
[ 3706.069809] [DEBUG][XORG]    ATI Radeon Mobility 9600 (M11) NR (AGP),
[ 3706.069861] [DEBUG][XORG]    ATI Radeon Mobility 9600 (M10) NS (AGP),
[ 3706.069906] [DEBUG][XORG]    ATI FireGL Mobility T2 (M10) NT (AGP),
[ 3706.069953] [DEBUG][XORG]    ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP),
[ 3706.069998] [DEBUG][XORG]    ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
[ 3706.070044] [DEBUG][XORG]    ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
[ 3706.070096] [DEBUG][XORG]    ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI),
[ 3706.070141] [DEBUG][XORG]    ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI),
[ 3706.070191] [DEBUG][XORG]    ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI),
[ 3706.070235] [DEBUG][XORG]    ATI Radeon Mobility X300 (M22) 5460 (PCIE),
[ 3706.070284] [DEBUG][XORG]    ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE),
[ 3706.070355] [DEBUG][XORG]    ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE),
[ 3706.070433] [DEBUG][XORG]    ATI Radeon X800PRO (R423) UI (PCIE),
[ 3706.070512] [DEBUG][XORG]    ATI Radeon X800LE (R423) UJ (PCIE),
[ 3706.070591] [DEBUG][XORG]    ATI Radeon X800SE (R423) UK (PCIE),
[ 3706.070670] [DEBUG][XORG]    ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE),
[ 3706.070748] [DEBUG][XORG]    ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE),
[ 3706.070825] [DEBUG][XORG]    ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE),
[ 3706.070904] [DEBUG][XORG]    ATI FireGL unknown (R423) UR (PCIE),
[ 3706.070980] [DEBUG][XORG]    ATI FireGL unknown (R423) UT (PCIE),
[ 3706.071057] [DEBUG][XORG]    ATI Mobility FireGL V5000 (M26) (PCIE),
[ 3706.071138] [DEBUG][XORG]    ATI Mobility FireGL V5000 (M26) (PCIE),
[ 3706.071219] [DEBUG][XORG]    ATI Mobility Radeon X700 XL (M26) (PCIE),
[ 3706.071299] [DEBUG][XORG]    ATI Mobility Radeon X700 (M26) (PCIE),
[ 3706.071378] [DEBUG][XORG]    ATI Mobility Radeon X700 (M26) (PCIE),
[ 3706.071457] [DEBUG][XORG]    ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834,
[ 3706.071537] [DEBUG][XORG]    ATI Radeon Mobility 9100 IGP (U3) 5835,
[ 3706.071612] [DEBUG][XORG]    ATI Radeon XPRESS 200 5954 (PCIE),
[ 3706.071689] [DEBUG][XORG]    ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP),
[ 3706.071766] [DEBUG][XORG]    ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP),
[ 3706.071847] [DEBUG][XORG]    ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI),
[ 3706.071929] [DEBUG][XORG]    ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE),
[ 3706.072007] [DEBUG][XORG]    ATI Radeon XPRESS 200M 5975 (PCIE),
[ 3706.072085] [DEBUG][XORG]    ATI Radeon XPRESS 200 5A41 (PCIE),
[ 3706.072163] [DEBUG][XORG]    ATI Radeon XPRESS 200M 5A42 (PCIE),
[ 3706.072243] [DEBUG][XORG]    ATI Radeon XPRESS 200 5A61 (PCIE),
[ 3706.072320] [DEBUG][XORG]    ATI Radeon XPRESS 200M 5A62 (PCIE),
[ 3706.072397] [DEBUG][XORG]    ATI Radeon X300 (RV370) 5B60 (PCIE),
[ 3706.072475] [DEBUG][XORG]    ATI Radeon X600 (RV370) 5B62 (PCIE),
[ 3706.072554] [DEBUG][XORG]    ATI Radeon X550 (RV370) 5B63 (PCIE),
[ 3706.072633] [DEBUG][XORG]    ATI FireGL V3100 (RV370) 5B64 (PCIE),
[ 3706.072711] [DEBUG][XORG]    ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE),
[ 3706.072790] [DEBUG][XORG]    ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
[ 3706.072869] [DEBUG][XORG]    ATI Radeon Mobility 9200 (M9+) 5C63 (AGP),
[ 3706.072950] [DEBUG][XORG]    ATI Mobility Radeon X800 XT (M28) (PCIE),
[ 3706.073027] [DEBUG][XORG]    ATI Mobility FireGL V5100 (M28) (PCIE),
[ 3706.073072] [DEBUG][XORG]    ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE),
[ 3706.073117] [DEBUG][XORG]    ATI Radeon X850 XT PE (R480) (PCIE),
[ 3706.073162] [DEBUG][XORG]    ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE),
[ 3706.073208] [DEBUG][XORG]    ATI unknown Radeon / FireGL (R480) 5D50 (PCIE),
[ 3706.073253] [DEBUG][XORG]    ATI Radeon X850 XT (R480) (PCIE),
[ 3706.073297] [DEBUG][XORG]    ATI Radeon X800XT (R423) 5D57 (PCIE),
[ 3706.073383] [DEBUG][XORG]    ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE),
[ 3706.073465] [DEBUG][XORG]    ATI Radeon X700 PRO (RV410) (PCIE),
[ 3706.073548] [DEBUG][XORG]    ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE),
[ 3706.073627] [DEBUG][XORG]    ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800,
[ 3706.073707] [DEBUG][XORG]    ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800,
[ 3706.073784] [DEBUG][XORG]    ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300,
[ 3706.073861] [DEBUG][XORG]    ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800,
[ 3706.073941] [DEBUG][XORG]    ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800,
[ 3706.074022] [DEBUG][XORG]    ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
[ 3706.074104] [DEBUG][XORG]    ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
[ 3706.074183] [DEBUG][XORG]    ATI Mobility Radeon X1400, ATI Radeon X1300/X1550,
[ 3706.074261] [DEBUG][XORG]    ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300,
[ 3706.074338] [DEBUG][XORG]    ATI Mobility Radeon X1300, ATI Mobility Radeon X1300,
[ 3706.074417] [DEBUG][XORG]    ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300,
[ 3706.074497] [DEBUG][XORG]    ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350,
[ 3706.074574] [DEBUG][XORG]    ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550,
[ 3706.074653] [DEBUG][XORG]    ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450,
[ 3706.074749] [DEBUG][XORG]    ATI Radeon X1300/X1550, ATI Mobility Radeon X2300,
[ 3706.074826] [DEBUG][XORG]    ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
[ 3706.074906] [DEBUG][XORG]    ATI Mobility Radeon X1350, ATI Mobility Radeon X1450,
[ 3706.074988] [DEBUG][XORG]    ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350,
[ 3706.075073] [DEBUG][XORG]    ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600,
[ 3706.075153] [DEBUG][XORG]    ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600,
[ 3706.075232] [DEBUG][XORG]    ATI Mobility FireGL V5200, ATI Mobility Radeon X1600,
[ 3706.075310] [DEBUG][XORG]    ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600,
[ 3706.075388] [DEBUG][XORG]    ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400,
[ 3706.075471] [DEBUG][XORG]    ATI Mobility FireGL V5250, ATI Mobility Radeon X1700,
[ 3706.075551] [DEBUG][XORG]    ATI Mobility Radeon X1700 XT, ATI FireGL V5200,
[ 3706.075629] [DEBUG][XORG]    ATI Mobility Radeon X1700, ATI Radeon X2300HD,
[ 3706.075706] [DEBUG][XORG]    ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300,
[ 3706.075787] [DEBUG][XORG]    ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950,
[ 3706.075865] [DEBUG][XORG]    ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
[ 3706.075942] [DEBUG][XORG]    ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
[ 3706.076021] [DEBUG][XORG]    ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
[ 3706.076109] [DEBUG][XORG]    ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950,
[ 3706.076188] [DEBUG][XORG]    ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560,
[ 3706.076269] [DEBUG][XORG]    ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400,
[ 3706.076373] [DEBUG][XORG]    ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560,
[ 3706.076420] [DEBUG][XORG]    ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835,
[ 3706.076464] [DEBUG][XORG]    ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200,
[ 3706.076509] [DEBUG][XORG]    ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740,
[ 3706.076555] [DEBUG][XORG]    ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT,
[ 3706.076599] [DEBUG][XORG]    ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT,
[ 3706.076645] [DEBUG][XORG]    ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600,
[ 3706.076690] [DEBUG][XORG]    ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
[ 3706.076735] [DEBUG][XORG]    ATI Radeon 4800 Series, ATI Radeon HD 4850 x2,
[ 3706.076779] [DEBUG][XORG]    ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL),
[ 3706.076825] [DEBUG][XORG]    ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2,
[ 3706.076870] [DEBUG][XORG]    ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270,
[ 3706.076915] [DEBUG][XORG]    AMD FireStream 9250, ATI FirePro V8700 (FireGL),
[ 3706.076958] [DEBUG][XORG]    ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
[ 3706.077002] [DEBUG][XORG]    ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series,
[ 3706.077048] [DEBUG][XORG]    ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98,
[ 3706.077094] [DEBUG][XORG]    ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP),
[ 3706.077139] [DEBUG][XORG]    ATI Mobility Radeon HD 4670, ATI FirePro M5750,
[ 3706.077183] [DEBUG][XORG]    ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP),
[ 3706.077227] [DEBUG][XORG]    ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
[ 3706.077271] [DEBUG][XORG]    ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
[ 3706.077317] [DEBUG][XORG]    ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
[ 3706.077364] [DEBUG][XORG]    ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
[ 3706.077410] [DEBUG][XORG]    ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
[ 3706.077454] [DEBUG][XORG]    ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770,
[ 3706.077505] [DEBUG][XORG]    ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT,
[ 3706.077548] [DEBUG][XORG]    ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000,
[ 3706.077593] [DEBUG][XORG]    ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT,
[ 3706.077642] [DEBUG][XORG]    ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610,
[ 3706.077686] [DEBUG][XORG]    ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
[ 3706.077730] [DEBUG][XORG]    ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
[ 3706.077777] [DEBUG][XORG]    ATI Mobility Radeon HD 3850 X2, ATI RV670,
[ 3706.077824] [DEBUG][XORG]    ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2,
[ 3706.077869] [DEBUG][XORG]    ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850,
[ 3706.077916] [DEBUG][XORG]    ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550,
[ 3706.077960] [DEBUG][XORG]    ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710,
[ 3706.078006] [DEBUG][XORG]    ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series,
[ 3706.078050] [DEBUG][XORG]    ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series,
[ 3706.078094] [DEBUG][XORG]    ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
[ 3706.078140] [DEBUG][XORG]    ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
[ 3706.078188] [DEBUG][XORG]    ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
[ 3706.078234] [DEBUG][XORG]    ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
[ 3706.078279] [DEBUG][XORG]    ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
[ 3706.078324] [DEBUG][XORG]    ATI FireGL V3600, ATI Radeon HD 2600 LE,
[ 3706.078368] [DEBUG][XORG]    ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
[ 3706.078414] [DEBUG][XORG]    ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
[ 3706.078458] [DEBUG][XORG]    ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430,
[ 3706.078503] [DEBUG][XORG]    ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450,
[ 3706.078548] [DEBUG][XORG]    ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series,
[ 3706.078593] [DEBUG][XORG]    ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO,
[ 3706.078636] [DEBUG][XORG]    ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO,
[ 3706.078681] [DEBUG][XORG]    ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
[ 3706.078725] [DEBUG][XORG]    ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
[ 3706.078770] [DEBUG][XORG]    ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
[ 3706.078814] [DEBUG][XORG]    ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
[ 3706.078857] [DEBUG][XORG]    ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics,
[ 3706.078907] [DEBUG][XORG]    ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2,
[ 3706.078957] [DEBUG][XORG]    SUMO, SUMO, SUMO, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200,
[ 3706.079004] [DEBUG][XORG]    ATI Radeon 4100, ATI Mobility Radeon HD 4200,
[ 3706.079051] [DEBUG][XORG]    ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
[ 3706.079096] [DEBUG][XORG]    AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics,
[ 3706.079140] [DEBUG][XORG]    AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics,
[ 3706.079184] [DEBUG][XORG]    AMD Radeon HD 6300 Series Graphics,
[ 3706.079228] [DEBUG][XORG]    AMD Radeon HD 6200 Series Graphics, PALM, PALM, PALM, CYPRESS,
[ 3706.079273] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter,
[ 3706.079321] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter,
[ 3706.079369] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
[ 3706.079414] [DEBUG][XORG]    AMD Firestream 9350, ATI Radeon HD 5800 Series,
[ 3706.079460] [DEBUG][XORG]    ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series,
[ 3706.079504] [DEBUG][XORG]    ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series,
[ 3706.079549] [DEBUG][XORG]    ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
[ 3706.079598] [DEBUG][XORG]    ATI Mobility Radeon HD 5800 Series,
[ 3706.079659] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter,
[ 3706.079705] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter,
[ 3706.079749] [DEBUG][XORG]    ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series,
[ 3706.079798] [DEBUG][XORG]    ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
[ 3706.079844] [DEBUG][XORG]    ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
[ 3706.079888] [DEBUG][XORG]    ATI Mobility Radeon HD 5000 Series,
[ 3706.079932] [DEBUG][XORG]    ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
[ 3706.079977] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter,
[ 3706.080023] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670,
[ 3706.080068] [DEBUG][XORG]    ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD,
[ 3706.080115] [DEBUG][XORG]    ATI Mobility Radeon HD 5000 Series,
[ 3706.080159] [DEBUG][XORG]    ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics,
[ 3706.080213] [DEBUG][XORG]    ATI Mobility Radeon Graphics, CEDAR,
[ 3706.080258] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter,
[ 3706.080303] [DEBUG][XORG]    ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR,
[ 3706.080418] [DEBUG][XORG]    AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN,
[ 3706.080457] [DEBUG][XORG]    CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series,
[ 3706.080495] [DEBUG][XORG]    BARTS, BARTS, Mobility Radeon HD 6000 Series,
[ 3706.080533] [DEBUG][XORG]    Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS,
[ 3706.080573] [DEBUG][XORG]    AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series,
[ 3706.080613] [DEBUG][XORG]    AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
[ 3706.081115] [DEBUG][XORG] (--) using VT number 1
[ 3706.081141] [DEBUG][XORG] (II) [KMS] Kernel modesetting enabled.
[ 3706.081167] [ERROR][XORG] (EE) No devices detected.
[ 3706.081193] [ERROR][XORG] (EE) 
[ 3706.081217] [DEBUG][XORG] Fatal server error:
[ 3706.081243] [ERROR][XORG] (EE) no screens found(EE) 
[ 3706.081275] [ERROR][XORG] (EE) 
[ 3706.081308] [DEBUG][XORG] Please consult the The X.Org Foundation support 
[ 3706.081339] [DEBUG][XORG]     at
[ 3706.081385] [DEBUG][XORG]  for help. 
[ 3706.081419] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 3706.081451] [ERROR][XORG] (EE) 
[ 3706.081483] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
[ 3706.081515] [ERROR]X did not start properly
[ 3706.081650] [DEBUG]Socket closed.

BTW, how to you bear github transforming any :\n to :+1: ?

Hope that helps,



I suppose you're using the open-source radeon driver, not fglrx, right?

Please try with /etc/X11/xorg.conf and /opt/bumblebee/bumblebee/xorg.conf.radeon modified to explicitly set BusID for each card.

Again, I'd appreciate if you explained why you're trying to use Bumblebee rather than PRIME offloading.


Yes, I'm using radeon.

I don't use PRIME offloading because, according to this page, PRIME requires a compositing manager which I do not use (i3 is not compositing), and a second screen for slave card (not sure if I understand correctly, but I did not manage to make X accept to run without a screen -- and an almost empty screen section did not fit it). The real reason being I did not know about it, though.

If I specifically set the radeon PCI bus id in /opt/bumblebee/bumblebee/xorg.conf.radeon, I get the following part (until KMS line everything is just the same) :

[ 5376.523715] [DEBUG][XORG] (II) [KMS] Kernel modesetting enabled.
[ 5376.523735] [DEBUG][XORG] (II) RADEON(0): Creating default Display subsection in Screen section
[ 5376.523755] [DEBUG][XORG]    "Screen0" for depth/fbbpp 24/32
[ 5376.523784] [DEBUG][XORG] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[ 5376.523804] [DEBUG][XORG] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 5376.523822] [DEBUG][XORG] (==) RADEON(0): Default visual is TrueColor
[ 5376.523844] [DEBUG][XORG] (==) RADEON(0): RGB weight 888
[ 5376.523866] [DEBUG][XORG] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[ 5376.523888] [DEBUG][XORG] (--) RADEON(0): Chipset: "TURKS" (ChipID = 0x6840)
[ 5376.523905] [DEBUG][XORG] (II) Loading sub module "dri2"
[ 5376.523927] [DEBUG][XORG] (II) LoadModule: "dri2"
[ 5376.523948] [DEBUG][XORG] (II) Module "dri2" already built-in
[ 5376.523967] [DEBUG][XORG] (II) Loading sub module "exa"
[ 5376.523987] [DEBUG][XORG] (II) LoadModule: "exa"
[ 5376.524007] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/
[ 5376.524028] [DEBUG][XORG] (II) Module exa: vendor="X.Org Foundation"
[ 5376.524048] [DEBUG][XORG]    compiled for 1.14.2, module version = 2.6.0
[ 5376.524076] [DEBUG][XORG]    ABI class: X.Org Video Driver, version 14.1
[ 5376.524103] [DEBUG][XORG] (II) RADEON(0): KMS Color Tiling: enabled
[ 5376.524122] [DEBUG][XORG] (II) RADEON(0): KMS Color Tiling 2D: enabled
[ 5376.524143] [DEBUG][XORG] (II) RADEON(0): KMS Pageflipping: enabled
[ 5376.524166] [DEBUG][XORG] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[ 5376.524189] [DEBUG][XORG] (WW) RADEON(0): No outputs definitely connected, trying again...
[ 5376.524209] [DEBUG][XORG] (WW) RADEON(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[ 5376.524230] [DEBUG][XORG] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 5376.524251] [DEBUG][XORG] (II) RADEON(0): mem size init: gart size :1fdef000 vram size: s:80000000 visible:7fcc0000
[ 5376.524271] [DEBUG][XORG] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
[ 5376.524291] [DEBUG][XORG] (==) RADEON(0): DPI set to (96, 96)
[ 5376.524310] [DEBUG][XORG] (II) Loading sub module "fb"
[ 5376.524329] [DEBUG][XORG] (II) LoadModule: "fb"
[ 5376.524350] [DEBUG][XORG] (II) Loading /usr/lib/xorg/modules/
[ 5376.524370] [DEBUG][XORG] (II) Module fb: vendor="X.Org Foundation"
[ 5376.524390] [DEBUG][XORG]    compiled for 1.14.2, module version = 1.0.0
[ 5376.524418] [DEBUG][XORG]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 5376.524445] [DEBUG][XORG] (II) Loading sub module "ramdac"
[ 5376.524464] [DEBUG][XORG] (II) LoadModule: "ramdac"
[ 5376.524483] [DEBUG][XORG] (II) Module "ramdac" already built-in
[ 5376.524503] [ERROR][XORG] (EE) RADEON(0): No modes.
[ 5376.524522] [DEBUG][XORG] (II) UnloadModule: "radeon"
[ 5376.524543] [DEBUG][XORG] (II) UnloadSubModule: "fb"
[ 5376.524563] [DEBUG][XORG] (II) Unloading fb
[ 5376.524582] [DEBUG][XORG] (II) UnloadSubModule: "exa"
[ 5376.524601] [DEBUG][XORG] (II) Unloading exa
[ 5376.524621] [ERROR][XORG] (EE) Screen(s) found, but none have a usable configuration.
[ 5376.524641] [ERROR][XORG] (EE) 
[ 5376.524658] [DEBUG][XORG] Fatal server error:
[ 5376.524680] [ERROR][XORG] (EE) no screens found(EE) 
[ 5376.524701] [ERROR][XORG] (EE) 
[ 5376.524720] [DEBUG][XORG] Please consult the The X.Org Foundation support 
[ 5376.524740] [DEBUG][XORG]     at
[ 5376.524767] [DEBUG][XORG]  for help. 
[ 5376.524789] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 5376.524812] [ERROR][XORG] (EE) 
[ 5376.524833] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
[ 5376.524853] [ERROR]X did not start properly
[ 5376.524942] [DEBUG]Socket closed.

Looks like it went a bit farther !


To be 100% honest, I must say that I missed PRIME introduction. Now I had tested it, and the offloading works fine.
There are however problems with switcheroo PM - discret card have to be ON while xserver starts (so xrandr sees both display adatpers) and turning it OFF when not needed sometimes breake xserver.

My setup build heat quiqly while discret card is turned on, so running it all the time is not possible.
Maybe You know how to force xrandr to see both cards, after turning discrete ON while already in X?


You all talk about PRIME, but I can't really find anything about it. Just some blog-posts, where can I get it from and "install" it?


PRIME is included in xorg 1.13 and corresponding dirvers for graphics card.
xrandr --listproviders
should return list of integrated and discrete cards with indexes 0 and 1.

Running application with system variable DRI_PRIME set to 0 or 1 will run it at corresponding engine.
ie: DRI_PRIME=1 glxinfo

There can be problem with default settings of main and offload engine, and this selection must be made manually then with 'xrandr --setprovideroffloadsink' followed by id from --listproviders.

For more information check this:


I say Thanks zette! :)


Well... So... I use xorg 1.14, with xorg-video-{intel,ati} installed, xrandr version 1.4, and...

$ xrandr --listproviders                       
Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:Intel

So it looks like PRIME is not yet supported for my card (as hinted by post number 8 of your link).


sudo cat /sys/kernel/debug/vgaswitcheroo/switch
and check if both card are powered on after the X starts. If no You will probably need to check Your's kernel boot parameters and/or startup scripts to see if it does not set power management on start, and eventually force discrete card to power ON during startup sequence.


Oh, it needs to be powered on since boot ?
I just powered it on through a # echo ON > /sys/kernel/debug/vgaswitcheroo/switch manually, to test.

OK... Just tried stopping X, enabling the radeon, and starting X again, and I now have two providers !

After a xrandr --setprovideroffloadsink radeon Intel, I can run glxspheres (e.g.), with both DRI_PRIME=0 and DRI_PRIME=1 (and get a *3 speedup).

However, I can see the result only in full screen. I suppose this is due to i3 not being compositing ?

  1. This is the wrong place to discuss this.

  2. A "lightweight" compositing manager like xcompmgr should give you compositing for any window manager (I don't know if it actually works together with i3, but it should).


Yes, sorry.

Anyway, if I can do anything to help bumblebee for intel/AMD setup, please tell me.


I /think/ i was finally able to get this to work -- I did some very rudimentary benchmarks, and it /appears/ that virtualgl is offloading to my 7970m -- the performance on vglrun glxspheres is showing 2x as many FPS as just running glxspheres directly

however, i do notice, when i run vglrun glxspheres it shows the following:

OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile

is this normal, that the program would detect the intel card, even though it's getting processed by the radeon via vgl?


What works? intel+fglrx or intel+radeon?



I got the common-amd branch to work with my HP dv7 laptop, which has a quad-core Intel i7-2630QM CPU and a Radeon HD 6400M GPU. I used a combination of fglrx (with PowerXpress support) and i915. With some hacks I got direct rendering working on both cards simultaneously, and I can call the ATI card using optirun/virtualgl.

My question is if AMD hybrid support is still in the works - I am interested in using the latest Bumblebee and primus instead of VirtualGL.


I don't think anybody was recently working on merging common-amd branch.

primus should work, it's not nVidia specific


I have never gotten primus to run.

> optirun glxinfo | head
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: VirtualGL
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_make_current_read, GLX_SUN_get_transparent_index
> primusrun glxinfo | head
Xlib:  extension "NV-GLX" missing on display ":8".
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":8"
      after 28 requests (28 known processed) with 0 events remaining.
name of display: :0

Presumably I need Bumblebee with primus support, which the amd branch lacks.


Ok, I can confirm that the fglrx + bumblebee works now. But not out of the box. Let's see if I get everything together I did. This is specific to a certain package in the archlinux aur, modified for amd's beta driver:

So only sort of a checklist of stuff you can watch out for if it doesn't work for you.

bumblebee.conf needs this added to the config:


Probably doesn't need /usr/lib/xorg in the XorgModulePath, but whatever.

/usr/lib/xorg/modules/updates/extensions/fglrx/ contains and I symlinked it to in the same directory because the linker wouldn't pick it up. You'll find this out if you run bumblebeed --debug -C /your/config and there is a symbol lookup error.

/etc/bumblebee/xorg.conf.fglrx is the one from the repository I think:

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

Section "Device"
    Identifier "Device1"
    Driver "fglrx"

To make your integrated gpu also work, make sure that LIBGL_DRIVERS_PATH and LD_LIBRARY_PATH are not set to fglrx's paths by any script e.g. in /etc/profile.d

Then make sure that in /etc/X11/xorg.conf.d/ there is no ModulePath set to any of fglrx's paths.

I found that I had to create 00-libglxModulePath.conf with content

Section "Files"
         ModulePath   "/usr/lib/xorg/modules/extensions"
         ModulePath   "/usr/lib/xorg/modules"

because X would pick fglrx's libglx first for some reason.

That's pretty much it.

In /usr/lib/xorg/modules/dri I have and the intel stuff. In /usr/lib/xorg/modules/drivers/ I have and the intel stuff. I also have /usr/lib/xorg/modules/linux/, and lastly like I already mentioned my fglrx's libglx in /usr/lib/xorg/modules/updates/extensions/fglrx/

Edit: Oh yes, in /usr/lib/catalystpxp there is fglrx's, (and symlinks,

I'm not completely sure how everything finds the correct paths with this strange setup, but it seems to work.

I have only one little problem: After the X server with fglrx started by optirun exits, my main X server gets all messed up and I have to go to a tty and then back to X for it to render correctly again, but then my second screen only shows black...? Probably more of an intel problem I would guess...

Last question: catalyst doesn't seem to power off the card when it's not used. What would be an appropriate method for radeon cards?


What would be an appropriate method for radeon cards?

Unload catalyst, load the open-source driver and power down the card via vgaswitcheroo. The relevant ACPI method is ATPX. On nVidia systems, bbswitch can take care of invoking the ACPI method (_DSM), but nobody has worked on adding ATPX handling in bbswitch.

I looks like you haven't attempted to test primus? The conversation about it continued here: amonakov/primus#104


@ChristophHaag I put together some scripts and config files to get Bumblebee to play nice with fglrx.

The X server corruption can be avoided by sending a kill -s 9 to the secondary X server instead of a normal termination (lol). The radeon card can be turned off using a single ACPI call, however I have not found a way to turn it back on without rebooting.


@amonakov That is a possibility, but I have had severe problems with kernel panics when unloading and loading radeon/fglrx. I think for radeon this has been finally solved in 3.10 or so. But for fglrx I still have it, for example this was just today:


@YoRyan Yes, kill -9 does kill the other xserver without affecting my primary one. Took a few seconds to track, so if people want to have that behaviour from bumblebee by default, it is in bb_stop_wait src/bbrun.c in

I just commented out the other stuff:

    //the first 10 attempts, use SIGTERM
//    if (i < 10) {
//      kill(proc, SIGTERM);
//    } else {
      //after that, use SIGKILL
      kill(proc, SIGKILL);
//    }

But it would be better to have it fixed upstream at the Xorg server... this does qualify as a bug, doesn't it?


Hello everyone. Please, apologize If I'm doing a wrong post in the wrong place.
Soo!!! Lets goo...
I'm an un happy and pissed owner of an hp envy with intel hd3000 and amd 6850m ( maybe the only notebook using this card).
I'm trying to use Bumblebee + primus in a pale hope to have mine discrete card working under linux. ( since under windows seems our card just doesn't work to).

First I tried with radeon xorg drivers. From the first perspective seems everything work ( testing under arch distro and ubuntu 13.10) and under arch at last seems it work. but i'm concerned with the performance when doing some comparison with dri prime.
Here example;

LIBGL_DEBUG=verbose optirun -vvvvv --debug  glxspheres --info
[  188.447936] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  188.448354] [INFO]Configured driver: radeon
[  188.448708] [DEBUG]optirun version 3.0-51-ga00f533 starting...
[  188.448738] [DEBUG]Active configuration:
[  188.448748] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  188.448757] [DEBUG] X display: :8
[  188.448765] [DEBUG] LD_LIBRARY_PATH: 
[  188.448773] [DEBUG] Socket path: /var/run/bumblebee.socket
[  188.448781] [DEBUG] VGL Compression: proxy
[  188.448922] [INFO]Response: Yes. X is active.

[  188.448946] [INFO]Running application through vglrun.
[  188.449098] [DEBUG]Process vglrun started, PID 1237.
Polygons in scene: 62464
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/
libGL: Can't open configuration file /home/nash/.drirc: No such file or directory.
libGL: Can't open configuration file /home/nash/.drirc: No such file or directory.
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/
Error: nConfigOptions (12) does not match the actual number of options in
       __driConfigOptions (13).
libGL: Can't open configuration file /home/nash/.drirc: No such file or directory.
Visual ID of window: 0x69
libGL: Can't open configuration file /home/nash/.drirc: No such file or directory.
Context is Direct
OpenGL Renderer: Gallium 0.4 on AMD JUNIPER
libGL: Can't open configuration file /home/nash/.drirc: No such file or directory.
59.872598 frames/sec - 66.817819 Mpixels/sec
59.997185 frames/sec - 66.956858 Mpixels/sec
59.998107 frames/sec - 66.957887 Mpixels/sec

When I'm trying the same using DRI_PRIME;

LIBGL_DEBUG=verbose DRI_PRIME=1  glxspheres --info
Polygons in scene: 62464
libGL: OpenDriver: trying  /usr/lib/xorg/modules/dri/tls/
libGL: OpenDriver: trying  /usr/lib/xorg/modules/dri/tls/
libGL: Can't open configuration file /home/nash/.drirc: No such file or directory.
libGL: Can't open configuration file /home/nash/.drirc: No such file or directory.
Visual ID of window: 0x59
libGL: Can't open configuration file /home/nash/.drirc: No such file or directory.
Context is Direct
OpenGL Renderer: Gallium 0.4 on AMD JUNIPER
315.433255 frames/sec - 352.023513 Mpixels/sec
271.609452 frames/sec - 381.825452 Mpixels/sec
306.515778 frames/sec - 366.256866 Mpixels/sec

so.. why using bumblebee seems load the R600 driver and later i965 driver? i'm missing something?
OBS: is impossible run under ubuntu 13.10 bumblebee, always receive some dri version error.

Using catalyst..
By other side when I try to use the CATALYST drive instead the radeon driver this 6850m card seems blacklisted inside fglrx or fglrx load the firegl driver ( since 6850m are re branded) or fglrx load the hd 6850 standart alone driver and hangs with the infamous

 PowerXpress feature is not supported on A+I Mux platform Please uninstall fglrx driver. 
r. Doesn't matter what I do or how, always when bumblebee load I receive this message ( if there is a way of circumvent this message or change the vendor:device id from card to try another tests, I'm open minded, please......).

Under ubuntu same using intel and unloading/blacklisting fglrx and doing al kind of sorcery with libgl inte/fglrx drivers, well BLACK SCREEN. cant load to test bumblebee then..

So.. I'm glad if someone comment about ....


The fglrx error means that your laptop has muxed hybrid graphics. But I would suggest you to switch to open source radeon drivers. First, in kernel 3.10 the support of VDPAU through UVD was merged. Dynamic power management (DPM) was included in 3.11. In your case your discrete GPU is supported by r600g driver, which is mature enough. As for DRI_PRIME, did you do

xrandr --setprovideroffloadsink radeon Intel

before running application? Also since your system is muxed IIRC you need to restart x server after enabling discrete GPU through vgaswitcheroo.

Is there any success story with bumblebbe+fglrx on non Arch systems?


"The fglrx error means that your laptop has muxed hybrid graphics." NO.. This card/configuration is muxless ( under windows act/work being a muxless and doing some hacks works on demand like last cards, per app) (this is almost the same problem from some 7xx/67xx/69xx cards).

Seems or the FGLRX already have this id:manufaturer configuration blacklisted or is loading the wrong card id since 6850m is a re-branded "5850hd" or the hp bios ( always fucked) setup by default in igpu not dgpu. i'm not speaking about muxed output here) "..

When using aticonfig --px-dgpu the fglrx driver load himself and unload the previous loaded intel module trying to load by himself the intel module and then this message. Because this we CANT load fglrx driver + intel same time.
Again, if someone know how to change or fake the card id fglrx under linux or bypass this, i'm open minded.

I'm already trying use the r600g driver..
DRI_PRIME i'm using for long. In fact last UBUNTU 13.10 releases already is doing this "xrandr --setprovideroffloadsink radeon Intel" by default and seems some portions from UBUNTU UNITY already is using offloading ( need a further investigation, when blacklisting radeon, lots of gl extensions doesn't load in unity).

No.. vgaswitcheroo doesnt work in this intel/amd configuration because in fact they are MUXLESS.

"... Is there any success story with bumblebbe+fglrx on non Arch systems? ..."
Under ubuntu with radeon driver being used/loaded in offloadmode by default almost everything work until receive some DRI version error.

LIBGL_DEBUG=verbose optirun -vvvvv --debug  glxspheres --info
[  657.166106] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  657.166464] [INFO]Configured driver: radeon
[  657.166617] [DEBUG]optirun version 3.2-19-g1b3f8b8 starting...
[  657.166631] [DEBUG]Active configuration:
[  657.166637] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  657.166643] [DEBUG] X display: :8
[  657.166648] [DEBUG] LD_LIBRARY_PATH: 
[  657.166653] [DEBUG] Socket path: /var/run/bumblebee.socket
[  657.166659] [DEBUG] Accel/display bridge: virtualgl
[  657.166664] [DEBUG] VGL Compression: proxy
[  657.166670] [DEBUG] VGLrun extra options: 
[  657.166675] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  657.179838] [INFO]Response: No - error: [XORG] (EE) RADEON(0): [drm] failed to set drm interface version.

[  657.179870] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) RADEON(0): [drm] failed to set drm interface version.

[  657.179878] [DEBUG]Socket closed.
[  657.179906] [ERROR]Aborting because fallback start is disabled.
[  657.179917] [DEBUG]Killing all remaining processes.

Seems good to bumblebee team take a look in this default offloading in ubuntu, since this will cause a lot of bug requests when ubuntu 13/10 release.


Can you do something about OpenCL? It sucks a bit on catalyst because you need an X server that was started with the fglrx ddx.

hello_world from git://

$ optirun ./hello_world
There are 1 platforms.
clGetDeviceIDs() failed: CL_DEVICE_NOT_FOUND

$ DISPLAY=:8 optirun ./hello_world
There are 1 platforms.
There are 1 GPU devices.
clCreateContext() succeeded.
clCreateCommandQueue() succeeded.
clCreateProgramWithSource() suceeded.
clBuildProgram() suceeded.
clCreateKernel() suceeded.
clCreateBuffer() succeeded.
clSetKernelArg() succeeded.
clEnqueueNDRangeKernel() suceeded.
clFinish() succeeded.
clEnqueueReadBuffer() suceeded.
pi = 3.141590

@ChristophHaag, are you asking for an optirun command line flag to reset $DISPLAY to :8?

(it's quite unfortunate fglrx needs that; does it mean you can't run opencl programs without starting an X session?)


The X session started by bumblebee is fine. But you can only use OpenCL if you set DISPLAY to that X session. That's no problem for command line programs but if you have a gui program that makes use of OpenCL it will get displayed on the invisible X and you have to use VNC or xpra or so to see it.

I have no idea how fglrx's OpenCL works so I don't know whether it would be easy with some trickery to make it work with optirun without the need to set DISPLAY to :8.

Bumblebee-Project member

@ChristophHaag For OpenCL you do not even need the X server. Support for OpenCL on radeon (using the r600 Gallium driver) is experimental (expect bugs!) and you need the following:

  • A kernel with the radeon driver.
  • A recent LLVM version
  • Mesa built with OpenCL support for r600
  • Permission to read/write to /dev/dri/cardN. For example, if you have identified that /dev/dri/card0 is the Intel device and /dev/dri/card1 is the AMD graphics device, then you can use sudo setfacl -m u:$USER:rw /dev/dri/card1 to grant yourself access.

I have not tried fglrx, so perhaps read/write access to /dev/dri/cardN is sufficient to get OpenCL to work for it too. You can also join #radeon on Freenode if you need more help with OpenCL and radeon.

@Lekensteyn Lekensteyn referenced this issue in Bumblebee-Project/bbswitch Jan 15, 2014

No suitable _DSM call found. #84


Good afternoon.

I have obtained the link to this project in and try to use it for enabling my dedicated card (AMD Radeon HD 8750M) with fglrx driver on Lenovo IdeaPad G500A,

#  lspci | grep 'VGA\|ATI'
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M]

OS openSUSE 13.1 (I want to use it for OpenCL programming).

I have downloaded common-amd branch of the project and installed it, adding


into Bumblebee-common-amd/src/pci.h and adding PCI_CLASS_DISPLAY_OTHER into this line of the Bumblebee-common-amd/src/pci.c file:

if (pci_class == PCI_CLASS_DISPLAY_VGA ||
                pci_class == PCI_CLASS_DISPLAY_3D || pci_class == PCI_CLASS_DISPLAY_OTHER)

Also I added lines recommended by @ChristophHaag into bumblebee.conf file (correspondingly to my system):


I start Bumblebee as follows.

boot with Intel card
> su
# export PATH=/usr/local/sbin:$PATH
# export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH
# bumblebeed --daemon
# bumblebeed --debug
[  216.942812] [INFO]PM is disabled, not performing detection.
[  216.942844] [DEBUG]Active configuration:
[  216.942854] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  216.942881] [DEBUG] X display: :8
[  216.942891] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/fglrx:/usr/lib/fglrx
[  216.942899] [DEBUG] Socket path: /var/run/bumblebee.socket
[  216.942910] [DEBUG] pidfile: /var/run/
[  216.942919] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.fglrx
[  216.942928] [DEBUG] ModulePath: /usr/lib64/xorg,/usr/lib64/xorg/modules,/usr/lib64/xorg/modules/extensions/fglrx/
[  216.942937] [DEBUG] GID name: bumblebee
[  216.942945] [DEBUG] Power method: none
[  216.942954] [DEBUG] Stop X on exit: 1
[  216.942962] [DEBUG] Driver: fglrx
[  216.942977] [DEBUG] Driver module: fglrx
[  216.942986] [DEBUG] Card shutdown state: 1
[  216.943102] [DEBUG]Process /sbin/modinfo started, PID 2063.
[  216.943164] [DEBUG]Hiding stderr for execution of /sbin/modinfo
[  216.944668] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  216.944705] [DEBUG]Configuration test passed.
[  216.944747] [ERROR]Daemon already running, pid 2059
# aticonfig --pxl
PowerXpress: Integrated GPU is active (Power-Saving mode).
# optirun --debug glxgears
[ 1349.078985] [DEBUG]optirun version 3.0.1-2012-10-05-Format:%h$ starting...
[ 1349.079022] [DEBUG]Active configuration:
[ 1349.079025] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1349.079029] [DEBUG] X display: :8
[ 1349.079033] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/fglrx:/usr/lib/fglrx
[ 1349.079036] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1349.079039] [DEBUG] VGL Compression: proxy
[ 1350.908494] [INFO]Response: No - error: [XORG] (EE) fglrx(0): Failed to open CMMQS connection.

[ 1350.908512] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) fglrx(0): Failed to open CMMQS connection.

[ 1350.908516] [DEBUG]Socket closed.
[ 1350.908539] [ERROR]Aborting because fallback start is disabled.
[ 1350.908544] [DEBUG]Killing all remaining processes.
# aticonfig --px-dgpu
PowerXpress: Discrete GPU is selected (High-Performance mode), please restart Xserver(s) for changes to take effect!
# optirun --debug glxgears

It returns first 7 lines of this command run with Intel card. After this machine hangs. Sometimes this command completed execution before computer hanged. There was one error in the output. It was written that display: :8 cannot be opened. Unfortunately, I couldn't reproduce this to take photo. The Xorg.8.log file is empty.

Could anybody help get this trick working, please?

Thank you in advance,


It's an interesting question whether it actually does work at all. By now there have been many changes like the "megadrivers" in mesa, that could be a complication.

I haven't tried to use this in a looong time. But I remember that it was always a bit tricky to load the right libraries in the right order.

Do not use aticonfig --px-dgpu with bumblebee. It changes libraries around like replaces the system's libGL with fglrx's libGL. That's not what you want to do, you want bumblebee to handle it. I think I remember that my graphical output was hanging when attempting to do stuff like that too.

But when starting with optirun you might need to set LD_LIBRARY_PATH and/or LIBGL_DRIVERS_PATH and maybe even LD_PRELOAD to load fglrx's libraries. Sorry, don't know much more right now. I can only say that after a bit of tinkering it gets clearer that aticonfig --px-dgpu doesn't actually do anything "interesting" except moving a few files around which will break the X session currently running on intel.

fglrx(0): Failed to open CMMQS connection.

That's an error I have never seen before, maybe it's new.

Do you only need OpenCL? You might not need bumblebee at all for it. Just try to start your opencl program with root, with a little bit of luck it "just works". Maybe you need to set LD_LIBRARY_PATH for it to use the fglrx's libraries first. At least I believe that using fglrx's OpenCL support as a normal user required an X session, but as root it would work without an x session like from a tty.


Thank you for answer!

Yes, this card is mainly assumed to be used as a compute device. Graphics capabilities of the Intel card are enough for me.

I have tried to execute clinfo as root, but it returns Segmentation fault. With own program I have found that this happens on the line


I have tried to do

# export LD_LIBRARY_PATH=/usr/lib64/fglrx:/usr/lib/fglrx

but nothing changes.

Help me, please.

I understand, this is not exactly the topic of this discussion, but I really want to get the AMD GPU working...

Bumblebee-Project member

If you just need it for compute purposes, maybe you will have more success with the opensource radeon driver. It can be competive with the fglrx driver.


I tried radeon driver. The driver by itself works, but GalliumCompute SDK supports cards up to Tahiti only. My GPU is Oland and it is too new for that SDK.


Hey everyone,
I'd be glad to help with testing this branch fo bumblebee (and getting some help to use my discrete GPU would be nice as well :D )
For now it is not working properly. I have followed the archwiki on Bumblebee ( and I have the error systemd-logind: failed to get session: PID XXX does not belong to any known session.
On the wiki they give a fix for intel chipsets (i915), but I have AMD/AMD GPUs, so I do not really know how to adapt this fix to my computer.
I am using the open source drivers. Should I put something like that in mkinitcpio.conf: MODULES="radeon bbswitch" with radeon in stead of i915?
Thanks for your help, and I hope I'll be able to help in return with data or anything you might need.

Bumblebee-Project member

@baudouinroullier It is no use to use bbswitch for radeon hardware, bbswitch is written for nvidia hardware.

The main advantage of bumblebee over PRIME is that you can disable the card when you decide not to use it. Since that is not possible using bbswitch, I suggest to try PRIME instead. If you enable runtime power management for the PCI device, then it will disable itself after the last user (an application via PRIME) is gone (after a delay of 5 seconds).


Thank you for your answers.

@klausenbusk Sorry, I didn't really understand your question. I'm quite a begginer in hybrid graphics and drivers and whatnot.
@Lekensteyn If I understand you correctly bumblebee works for AMD but not Radeon? Or am I completely wrong?
I've tried PRIME briefly without success (libGL errors), that's why I decided to try bumblebee (quoting arch wiki: "You can also use bumblebee with radeon, there is a bumblebee-amd-git package on AUR.")
Well, I don't think this is the place to ask for help about PRIME so I'll be off.

If you do need data or anything from my hardware I'd be glad to help.


Maine a stupid question. Bur how is Bumblebee different than DRI_Prime, if you is using the open >source driver?

DRI_PRIME is a proper implementation of switchable graphics based on kernel mechanisms. And as such it is only supported by free drivers. Also it can automatically power on and shutdown the discrete graphics. At this point this is much better solution for radeon GPUs. In addition, due to AMD's decision to use free kernel driver as a base for future versions of userspace fglrx it will be in even better state.

@ArchangeGabriel ArchangeGabriel modified the milestone: Bumblebee Future Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment