Bumblebee-Project / Bumblebee

Bumblebee daemon and client rewritten in C
http://www.bumblebee-project.org/
GNU General Public License v3.0
1.29k stars 142 forks source link

Support for AMD hybrid technology (PowerXpress) #52

Open Lekensteyn opened 12 years ago

Lekensteyn commented 12 years ago

It's confirmed that the concept for Bumblebee also works for AMD Hybrid graphics: http://forums.gentoo.org/viewtopic-t-909802.html (via http://phoronix.com/forums/showthread.php?68327-Bumblebee-Has-Tumbleweed-For-NVIDIA-Optimus-On-Linux&p=247659#post247659)

For supporting AMD hybrids, we need to:

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.

HariSeldon85 commented 11 years ago

@Lekensteyn

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.

HS

Lekensteyn commented 11 years ago

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

Replace the following:

      ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1.2" # since 11.4
      ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1" # since 11.4
      ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so" # since 11.4

by:

      ln -snf fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/fglrx/libGL.so.1" # for hybrid graphics

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

HariSeldon85 commented 11 years ago

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
Lekensteyn commented 11 years ago

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

HariSeldon85 commented 11 years ago

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]

HariSeldon85 commented 11 years ago

@Lekensteyn

Have you some suggestion to make it work with fglrx?

Lekensteyn commented 11 years ago

@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.

HariSeldon85 commented 11 years ago

@Lekensteyn

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 :)

Lekensteyn commented 11 years ago

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

HariSeldon85 commented 11 years ago

... that's bad :/

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

:/

lucaippo commented 11 years ago

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 ... [driver-radeon] KernelDriver=radeon PMMethod=switcheroo XorgConfFile=/etc/bumblebee/xorg.conf.radeon ...

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

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

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

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

Feel free to request any other test.

ChristophHaag commented 11 years ago

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/fglrx_drv.so
(gdb) bt
#0  0x00007fa541329634 in xdl_xs113_atiddxFreeScreen () from /usr/lib/xorg/modules/drivers/fglrx_drv.so
#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: https://gist.github.com/03749b9763ba204d3b61

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)?

X.org 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.

HariSeldon85 commented 11 years ago

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?

Lekensteyn commented 11 years ago

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

Hohahiu commented 11 years ago

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 https://bugs.launchpad.net/fglrx/+bug/1068661.
  2. You need to use Mesa <9.0, because of this: http://lists.freedesktop.org/archives/mesa-dev/2012-October /028344.html.
  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](rev ff)

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?

Hohahiu commented 11 years ago

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: http://pastebin.com/U9DT56JB My xorg.conf for fglrx: http://pastebin.com/GzU3ZA8e bumblebee-debug: http://pastebin.com/iSBc6XJr Xorg.8.log : http://pastebin.com/HgfUXs8M

My specs: opensuse 12.2 kernel: 3.6.9 Xserver:1.12.3 Mesa:8.0.4 intel:2.20.0 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?

klausenbusk commented 11 years ago

What do optirun says?

Hohahiu commented 11 years ago

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.
kravemir commented 11 years ago

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: /etc/bumblebee/bumblebee.conf: http://pastebin.com/6K4wq1yB /etc/bumblebee/xorg.conf.radeon: http://pastebin.com/bBVdt7M9 And Xorg log: /var/log/Xorg.8.log: http://pastebin.com/2Jsk2WBn

nimai commented 11 years ago

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?

nmikhailov commented 11 years ago

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

klausenbusk commented 11 years ago

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

nmikhailov commented 11 years ago

I tried primus, not much luck:

Hohahiu commented 11 years ago

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

nmikhailov commented 11 years ago

@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.

klausenbusk commented 11 years ago

@nslqqq Could you try with https://github.com/amonakov/primus ? Maybe it a bug in virtualgl If you run archlinux you just compile this package https://aur.archlinux.org/packages/primus-git/ So instant of "glxrun oilrush" you run "primusrun oilrush"

nmikhailov commented 11 years ago

@klausenbusk, i tried primus, see https://github.com/Bumblebee-Project/Bumblebee/issues/52#issuecomment-11764897

I want to summarize, what i got now:

klausenbusk commented 11 years ago

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, https://github.com/Bumblebee-Project/Bumblebee/issues/52#issuecomment-9208798

ghost commented 11 years ago

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 (https://github.com/Bumblebee-Project/Bumblebee/issues/52#issuecomment-10043869).

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 http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/tree/src/radeon_kms.c (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.

Hohahiu commented 11 years ago

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?

ChristophHaag commented 11 years ago

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, X.org 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 http://ati.cchtml.com/ could be opened. The amd developers supposedly read it occassionally, but there is hardly any feedback unfortunately.

Hohahiu commented 11 years ago

I absolutely agree with you.

As for communication with AMD developers you can use ati.cchtml.com. In essence there is an open bug where you idea was mentioned (http://ati.cchtml.com/show_bug.cgi?id=670). 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 http://www.sebastian-siebert.de/ 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.

ChristophHaag commented 11 years ago

I just installed catalyst 13.1 from https://aur.archlinux.org/packages/catalyst-total-pxp/, 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.

thirtythreeforty commented 11 years ago

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?

zette commented 11 years ago

Hi, 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/libexa.so [ 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/libfb.so [ 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 http://wiki.x.org [ 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.

amonakov commented 11 years ago

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?

Ekleog commented 11 years ago

Hi,

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://github.com/Bumblebee-Project/Bumblebee.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/bumblebeed.pid
[ 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 http://wiki.x.org
[ 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/libglamoregl.so
[ 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/libglx.so
[ 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/radeon_drv.so
[ 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.080342] [DEBUG][XORG]    ATI Radeon HD 5450, CEDAR, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
[ 3706.080380] [DEBUG][XORG]    CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
[ 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.080652] [DEBUG][XORG]    TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
[ 3706.080691] [DEBUG][XORG]    TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
[ 3706.080730] [DEBUG][XORG]    CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS,
[ 3706.080769] [DEBUG][XORG]    CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, ARUBA, ARUBA,
[ 3706.080808] [DEBUG][XORG]    ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
[ 3706.080849] [DEBUG][XORG]    ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
[ 3706.080888] [DEBUG][XORG]    ARUBA, ARUBA, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI,
[ 3706.080927] [DEBUG][XORG]    TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, PITCAIRN, PITCAIRN,
[ 3706.080967] [DEBUG][XORG]    PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
[ 3706.081005] [DEBUG][XORG]    PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, VERDE, VERDE, VERDE, VERDE,
[ 3706.081044] [DEBUG][XORG]    VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
[ 3706.081080] [DEBUG][XORG]    VERDE, VERDE, VERDE, VERDE, VERDE, VERDE
[ 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 http://wiki.x.org
[ 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,

Ekleog

amonakov commented 11 years ago

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.

Ekleog commented 11 years ago

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/libexa.so
[ 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/libfb.so
[ 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 http://wiki.x.org
[ 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 !

zette commented 11 years ago

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?

klausenbusk commented 11 years ago

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?

zette commented 11 years ago

PRIME is included in xorg 1.13 and corresponding dirvers for graphics card. Verification: 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: http://phoronix.com/forums/showthread.php?73649-Nouveau-Releases-New-Driver-With-PRIME-Support

klausenbusk commented 11 years ago

I say Thanks zette! :)

Ekleog commented 11 years ago

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).

zette commented 11 years ago

do: 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.

Ekleog commented 11 years ago

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 ?

ChristophHaag commented 11 years ago
  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).
Ekleog commented 11 years ago

Yes, sorry.

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

quantax0 commented 11 years ago

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?

Hohahiu commented 11 years ago

What works? intel+fglrx or intel+radeon?