You are not logged in.

#1 2009-03-03 20:37:34

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

[SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

I know this is not a new issue but... let's try again.

The title is pretty much the situation. I reinstalled the whole system recently and installed Catalyst which worked good except for a delay on maximizing/resizing windows. Yesterday I saw the new about Catalyst going to AUR and all that stuff so I decided to switch to open source drivers. They work pretty good but the wiki-way to start compiz without fusion-icon which used to work with catalyst does not work anymore.

$ cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "aticonfig Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
    Load  "synaptics"
    Load  "glx"
    Load  "dri"
    Load  "drm"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
    Option "XAANoOffscreenPixmaps" "true" #needed for aiglx
    Option "ColorTiling" "on"
    Option "AccelMethod" "EXA"
    Option "EnablePageFlip" "on"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes      "1280x800"
    EndSubSection
EndSection

Section "DRI"
    Mode    0666
EndSection

Section "Extensions"
    Option    "Composite" "Enable"
EndSection
$ cat /usr/share/applications/compiz.desktop
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Compiz
Exec=compiz ccp
NoDisplay=true
# name of loadable control center module
X-GNOME-WMSettingsModule=compiz
# name we put on the WM spec check window
X-GNOME-WMName=Compiz
$ gconftool-2 --get /desktop/gnome/session/required_components/windowmanager
compiz
$ fusion-icon
 * Detected Session: gnome
 * Searching for installed applications...
 * No GLX_EXT_texture_from_pixmap with direct rendering context
 ... present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1
 * Using the GTK Interface
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
 * Starting Compiz
 ... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering
/usr/lib/python2.6/site-packages/FusionIcon/interface_gtk/main.py:214: GtkWarning: Theme directory 24x24/stock of theme hydroxygenPablerkasMod has no size field

  gtk.main()
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

Thanks in advance

Last edited by Slurp (2009-03-08 19:10:34)


Stop the world, I get off...

Offline

#2 2009-03-03 21:10:44

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

Have you installed ati-dri ?

Compiz fusion is a bit of a problem, while Kwin4 on the other hand doens't "complain" about a minimal Xorg.conf.

Offline

#3 2009-03-03 21:34:05

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Re: [SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

Thanks.

Yes, I have it installed. Maybe I'll give kde 4.3 a try but by now...


Stop the world, I get off...

Offline

#4 2009-03-04 09:53:51

cywhale
Member
Registered: 2008-03-10
Posts: 31

Re: [SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

Did you try with XAA instead of EXA?
I never managed to get Compiz working on my >Thinkpad A31p using EXA - XAA works fine. Some searching about this lead me to some threads where other users stated that a xorg patch (from Fedora? I don't remember) causes X to crash using EXA and Compiz Fusion.

Offline

#5 2009-03-04 12:36:26

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Re: [SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

mmm... Compiz works fine, but only if I run fusion-icon; otherwise i get the typical no-borders windows on login. I want it to run instead (no replacing) metacity, as it used to do with Catalyst drivers.

I don't know, maybe open-source drivers are available too late in booting and that's why compiz cannot start... That is my theory...


Stop the world, I get off...

Offline

#6 2009-03-04 18:49:10

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

Compiz has the problem --> it needs some arguments too work with the latest technologies in the open source drivers.

Offline

#7 2009-03-04 21:37:50

CursedMonkey
Member
Registered: 2008-08-30
Posts: 45

Re: [SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

In your compiz.desktop instead of:

Exec=compiz ccp

It should be:

Exec=compiz --sm-disable --ignore-desktop-hints ccp --indirect-rendering

Edit:

If you still have problems after that you need to export LIBGL_ALWAYS_INDIRECT=1, which is what fusion-icon is doing.

Last edited by CursedMonkey (2009-03-04 21:41:03)

Offline

#8 2009-03-08 19:09:50

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Re: [SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

Yes, that was it... Thank you very much!


Stop the world, I get off...

Offline

Board footer

Powered by FluxBB