You are not logged in.

#1 2008-07-15 19:06:31

vsk
Member
Registered: 2008-05-27
Posts: 70

Once working Compiz Fusion is borked :(

Hello!,

I used to use Compiz Fusion before I came to Arch, and I got the git version working on my first Arch install. Unfortunately, it was slow as molasses (stickier, too) - and I uninstalled.

This time, I followed the AIGLX instructions on the Ubuntu, Arch, and Gentoo wikis.
I've tried both the stable and the git versions using the xf86-video-i810 driver, and the xf86-video-intel drivers - no success.
I've tried both the stable and the git versions on the last 3 kernel26 upgrades - no luck.

I would really appreciate any help regarding how I can get my compiz working to its normal speedy self!
Thank you

---
Info;

q ~  $  glxinfo | grep direct
direct rendering: Yes
q ~  $  SKIP_CHECKS=yes compiz --replace
compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

In ubuntu I remember that /usr/bin/compiz was a shell script that one could modify. I tweaked mine to modify certain tests and to focrce compiz to use a certain driver. In Arch - I ran;
$ sudo nano /usr/bin/compiz
and got a bunch of gibberish..

Is there a an equivalent script in Arch though?

Last edited by vsk (2008-07-16 15:33:44)

Offline

#2 2008-07-16 15:34:25

vsk
Member
Registered: 2008-05-27
Posts: 70

Re: Once working Compiz Fusion is borked :(

I am posting my xorg.conf. Looking at other threads, it seems though it's an important factor..

q ~  $   q ~  $  cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "AIGLX" "true"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "glx"
    Load  "extmod"
    Load  "xtrap"
    Load  "record"
    Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      380   300    # mm
    #Displaysize      1280  1024
    Identifier   "Monitor0"
    VendorName   "SAM"
    ModelName    "SyncMaster"
### Comment all HorizSync and VertRefresh values to use DDC:
    HorizSync    30.0 - 81.0
    VertRefresh  56.0 - 75.0
    Option        "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
    BusID       "PCI:0:2:0"
    Option      "XAANoOffscreenPixmaps" "true"
    Option         "AllowGLXWithComposite" "true"
        Option      "DRI" "True"    
    VideoRam 32768
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    Option        "AddARGBGLXVisuals" "True"
    Option        "DisableGLXRootClipping" "True"
    SubSection "Display"
        Viewport   0 0
        Depth      24
        Modes       "1280x1024"
    EndSubSection
EndSection

Section "ServerFlags"
        Option  "AIGLX" "on"
EndSection 

Section "DRI"
    Group 0
    Mode 0666
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Last edited by vsk (2008-07-17 17:30:20)

Offline

#3 2008-07-16 21:48:04

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Once working Compiz Fusion is borked :(

Are you running anything alongside Compiz Fusion? Like a DE or something or are you trying to run pure compiz?

Try launching compiz with the same command but with LIBGL_ALWAYS_INDIRECT=1 prepended (or exported beforehand)
That should solve the compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing part. I find the intel driver is better for compiz

Offline

#4 2008-07-17 15:48:12

vsk
Member
Registered: 2008-05-27
Posts: 70

Re: Once working Compiz Fusion is borked :(

Sorry I should have mentioned, I'm running Gnome.

Here is the output with your new variable;

q ~/Desktop/plt/src  $  LIBGL_ALWAYS_INDIRECT=1 compiz --replace
compiz (core) - Fatal: No GLXFBConfig for default depth, this isn't going to work.
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

Lastly,  thank you for your input, I was going to stick with the i810 - but now I think I won't. I also read somewhere that the guys who maintain the intel driver have deprecated the i810, so more persuasion!

Here is more log output. If you don't want to read it - that's fine, it's just that I have an i810 card (under the xf86-video-intel driver)  and X keeps on loading the inccorect driver, even though the correct one is present in the same directory! How do I stop that??

q ~  $  cat /var/log/Xorg.0.log | grep dri
    X.Org XInput driver : 2.0
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
    ABI class: X.Org XInput driver, version 2.0
    ABI class: X.Org XInput driver, version 2.0
(II) Loading /usr/lib/xorg/modules/drivers//sil164.so
(II) Loading /usr/lib/xorg/modules/drivers//ch7xxx.so
(II) Loading /usr/lib/xorg/modules/drivers//ivch.so
(II) Loading /usr/lib/xorg/modules/drivers//tfp410.so
(II) Loading /usr/lib/xorg/modules/drivers//ch7017.so
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/lib/xorg/modules/extensions//libdri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) [drm] loaded kernel module for "i915" driver.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [dri] visual configs initialized
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i915_dri.so

I don't know why X loads the i915 driver, but I'm pleading google to help me. I found this;

Check that the DRM (Direct Rendering Module, the kernel module) is loaded and has found your card. [...]

q ~  $  dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized i915 1.6.0 20060119 on minor 0

Ok...So DRM is loading the incorrect driver as well. 2 problems.
But according to the X log, nothing's wrong;

q ~  $  grep -i "Direct rendering" /var/log/Xorg.0.log
(II) intel(0): direct rendering: Enabled

Last edited by vsk (2008-07-17 17:28:37)

Offline

#5 2008-07-17 19:54:09

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Once working Compiz Fusion is borked :(

It says that there is something wrong with a config, so try this:
My xorg.conf is below and it works fine with compiz on mine. Try changing some parts of the Screen section perhaps as your computer is complaining about default depth.
Also, you could try starting compiz with fusion-icon.

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "AIGLX" "true"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "xtrap"
    Load  "dri"
    Load  "record"
    Load  "dbe"
    Load  "freetype"
    Load  "type1"
    Load  "glx"
    Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
    Identifier    "Mouse0"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "auto-dev"
    Option        "HorizEdgeScroll"    "0"
    Option         "CircularScrolling" "on"
    Option         "CircScrollTrigger" "2" 
    Option         "SHMConfig"    "true"
EndSection

Section "Monitor"
    #DisplaySize      330   210    # mm
    Identifier   "Monitor0"
    VendorName   "LPL"
    ModelName    "a900"
    Option   "DPI" "96 x 96"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
    VideoRAM    63533
    BusID       "PCI:0:2:0"
    Option      "XAANoOffscreenPixmaps"    "true"
        Option      "DRI"     "true"
        Option      "EnablePageFlip" "true"
        Option      "RenderAccel" "true"
        Option      "AccelMethod" "XAA"

EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth  24
    SubSection "Display"
        Viewport   0 0
        Depth     1
        Modes    "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
        Modes    "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes    "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
        Modes    "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes    "1280x800"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1280x800"
    EndSubSection
EndSection

Section "DRI"
       Mode 0666
EndSection

Last edited by alex_anthony (2008-07-17 20:00:47)

Offline

Board footer

Powered by FluxBB