View previous topic :: View next topic |
Author |
Message |
ksool Guru
Joined: 27 May 2006 Posts: 337 Location: Cambridge, MA
|
Posted: Tue Aug 29, 2006 4:59 am Post subject: AIGLX and compiz |
|
|
Hey all,
I've been trying to setup AIGLX (followed the wiki page) and ran into a bit of a roadblock. Right up front, here's the bug:
Code: |
$ compizrc
compiz: NO GLXFBConfig for default depth, this isn't going to work.
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.0
|
I can't find anything on this, even what GLXFBConfig is.
I'm using a ATI Radeon Mobility 9100 IGP with the radeon driver, can't get DRI to work.
Any ideas? |
|
Back to top |
|
|
kmare l33t
Joined: 20 Nov 2004 Posts: 619 Location: Thessaloniki, Greece
|
Posted: Tue Aug 29, 2006 5:08 pm Post subject: |
|
|
hmm are you sure you're using 24bit depth as default in your /etc/X11/xorg.conf?
also which version of compiz are you using? try to use the latest you can... see also here:
http://gentoo-wiki.com/HOWTO_XGL/Troubleshooting#No_GLXFBConfig_for_default_depth _________________ Never argue with an idiot. They will only pull you down to their level, then beat you with experience. |
|
Back to top |
|
|
dleverton Guru
Joined: 28 Aug 2006 Posts: 517
|
Posted: Tue Aug 29, 2006 6:03 pm Post subject: Re: AIGLX and compiz |
|
|
krs1ars wrote: | I'm using a ATI Radeon Mobility 9100 IGP with the radeon driver, can't get DRI to work. |
As far as I know, no DRI means no AIGLX. Is there anything in Xorg.0.log related to either? |
|
Back to top |
|
|
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Tue Aug 29, 2006 6:28 pm Post subject: |
|
|
Radeon 9100IGP ID:1002-5835?
I have the same card, DRI work fine with the radeon (not ati, not propriatery driver, radeon driver)+EXA and i can use XGL (didnt tried AIGLX) without lagg, transparancy work perfectly in 2d mode and euphoria screensaver (KDE) work At 30fps in the mode with grid and other stuff.
This is probably the worst card for linux (no official suport) but with a good xorg.conf and the x.org 7.1, it work almost perfectly (i play unreal tournement 2004 in 1280x800/medium with no lagg) |
|
Back to top |
|
|
ksool Guru
Joined: 27 May 2006 Posts: 337 Location: Cambridge, MA
|
Posted: Tue Aug 29, 2006 7:19 pm Post subject: |
|
|
In my xorg.conf, I most definatley have default depth set to 24, and there's nothing in Xorg.0.log that makes me think its been changed. I'm currently using the most recent version of compiz though I have tried a few others without change.
I've never been able to get dri working, and it seems to be incompatible with the X composite extension you need to use compiz/aiglx. Maybe I've got that wrong. Here's a bit from my xorg log
Code: |
(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
|
Elv13, would you post your xorg.conf, I'm dying to know how you got dri working. |
|
Back to top |
|
|
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Tue Aug 29, 2006 7:25 pm Post subject: |
|
|
DONT use fglrx. ATI DO NOT suporte this card for voltage reason, you NEED to use radeon driver and EXA accell or you will never have DRI/XGL/AIGLX/any kind of 3d accel
and exa accel is 10 time better than the official 2d accel, the onlt place where the ATI (fglrx) driver is better is in 3d and this card is unsuported so there is no reason why you would use it |
|
Back to top |
|
|
ksool Guru
Joined: 27 May 2006 Posts: 337 Location: Cambridge, MA
|
Posted: Tue Aug 29, 2006 7:33 pm Post subject: |
|
|
Pardon my ignorance... but what's exa?...and how would I go about setting it up? |
|
Back to top |
|
|
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Tue Aug 29, 2006 7:47 pm Post subject: |
|
|
EXA is the 2d accel method, i will psot my xorg.conf when i will open my laptop, it is just a small setting
it is like
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
but with EXA |
|
Back to top |
|
|
ksool Guru
Joined: 27 May 2006 Posts: 337 Location: Cambridge, MA
|
Posted: Thu Aug 31, 2006 7:25 am Post subject: |
|
|
I had a bit of success today, managed to get compiz working (through aiglx) though DRI is not working (according to glxinfo).
It's a bit more obvious that hardward acceleration isn't working since compiz runs slow as all hell and X eats up ton's of CPU even without compiz.
I'll post the relevant sections of my xorg.conf and then the errors from Xorg.0.log.
xorg.conf
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Touchpad" "AlwaysCore"
InputDevice "USB" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "OffTime" "20"
Option "AIGLX" "true"
EndSection
...
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "glx"
Load "freetype"
Load "type1"
Load "ddc"
Load "radeon"
Load "drm"
EndSection
...
Section "Device"
Option "AGPMode" "4"
Option "AGPFastWrite" "on"
Option "RenderAccel" "true"
Option "AccelMethod" "EXA"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RS300M AGP [Radeon Mobility 9100IGP]"
BusID "PCI:1:5:0"
### (I'm not sure what if the following two are needed) ###
Option "EnablePageFlip" "true"
Option "backingstore" "true"
EndSection
...
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
|
/var/log/Xorg.0.log
Code: |
(--) RADEON(0): Chipset: "ATI Radeon Mobility 9100 IGP (U3) 5835" (ChipID = 0x5$(--) RADEON(0): Linear framebuffer at 0xe0000000
(II) RADEON(0): AGP card detected
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
(II) RADEON(0): [dri] Found DRI library version 1.2.0 and kernel module version$(**) RADEON(0): AGP 4x mode is configured
(**) RADEON(0): Enabling AGP Fast Write
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/lib/xorg/modules/libshadowfb.so
(II) Module shadowfb: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.3
(II) RADEON(0): Page flipping enabled
(II) RADEON(0): Will try to use DMA for Xv image transfers
(--) RADEON(0): Mapped VideoRAM: 131072 kByte (64 bit DDR SDRAM)
(II) RADEON(0): Color tiling enabled by default
...
(**) RADEON(0): Using EXA acceleration architecture
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/lib/xorg/modules/libexa.so
(II) Module exa: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 2.0.0
ABI class: X.Org Video Driver, version 1.0
...
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:05.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xd9735000
(II) RADEON(0): [drm] mapped SAREA 0xd9735000 to 0xb7bce000
(II) RADEON(0): [drm] framebuffer handle = 0xe0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000219 [AGP 0x1002/0x5833; Card 0x1002/0x5835]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xd2000000
(II) RADEON(0): [agp] Ring mapped at 0xaf9e8000
(II) RADEON(0): [agp] ring read ptr handle = 0xd2101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0xaf9e7000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd2102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xaf7e7000
(II) RADEON(0): [agp] GART texture map handle = 0xd2302000
(II) RADEON(0): [agp] GART Texture map mapped at 0xaf307000
(II) RADEON(0): [drm] register handle = 0xd0100000
(II) RADEON(0): [dri] Visual configs initialized
...
(II) RADEON(0): BIOS HotKeys Disabled
(**) RADEON(0): RADEONInit returns 0x81fcdb8
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x81fcdb8)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0): MC_FB_LOCATION : 0x1fff1800
(**) RADEON(0): MC_AGP_LOCATION : 0xffffffc0
(**) RADEON(0): Map Changed ! Applying ...
(**) RADEON(0): Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): GRPH_BUFFER_CNTL from 20067c7c to 20075c5c
(**) RADEON(0): RADEONSaveScreen(0)
(II) RADEON(0): Depth moves disabled by default
(**) RADEON(0): Setting up initial surfaces
(**) RADEON(0): Initializing fb layer
(**) RADEON(0): Setting up accel memmap
**************************************************************************************
(==) RADEON(0): Not using accelerated EXA DownloadFromScreen hook
**************************************************************************************
(II) RADEON(0): Allocating from a screen of 131072 kb
(II) RADEON(0): Will use 4000 kb for front buffer at offset 0x00000000
(II) RADEON(0): Will use 16 kb for hardware cursor at offset 0x003e8000
(II) RADEON(0): Will use 4000 kb for back buffer at offset 0x003ec000
(II) RADEON(0): Will use 4000 kb for depth buffer at offset 0x007d4000
(II) RADEON(0): Will use 59392 kb for textures at offset 0x00bbc000
(II) RADEON(0): Will use 59664 kb for X Server offscreen at offset 0x045bc000
(**) RADEON(0): Initializing backing store
(**) RADEON(0): Option "BackingStore" "true"
(**) RADEON(0): Backing store enabled
(**) RADEON(0): DRI Finishing init !
(II) RADEON(0): X context handle = 0x1
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(**) RADEON(0): EngineRestore (32/32)
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 16
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0): MC_FB_LOCATION was: 0x1fff1800 is: 0x1fff1800
(WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0x207f2000
(**) RADEON(0): GRPH_BUFFER_CNTL from 20067c7c to 20075c5c
(II) RADEON(0): Direct rendering enabled
(**) RADEON(0): Setting up final surfaces
(**) RADEON(0): Initializing Acceleration
(II) RADEON(0): Render acceleration enabled for R200 type cards.
(**) RADEON(0): EngineInit (32/32)
(**) RADEON(0): Pitch for acceleration = 160
(**) RADEON(0): EngineRestore (32/32)
(II) RADEON(0): Acceleration enabled
...
(II) AIGLX: Loaded and initialized /usr/lib/dri/r200_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
|
Sorry for the ridiculiously long log, but I figure'd better too much than not enough.
(==) RADEON(0): Not using accelerated EXA DownloadFromScreen hook |
|
Back to top |
|
|
|