You are not logged in.

#1 2007-10-23 18:40:50

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

compiz running with fglrx drivers and AIGLX

Hi there.
Just for the record, i just tried out the new AMD fglrx drivers. (They are not in the arch repos yet)
/* Edit: By now they are in testing repo */

Believe it or not Compiz works!
I tested compiz-fusion like this: http://wiki.archlinux.org/index.php/Com … Repository

Known issues:
*amdcccle refuses to start
*compiz does not work when using a dualhead setup
*some games (Tremulous, ioquake3(?),.....?) have a weird gamma when running in fullscreen, they are all dark and have weak colours, its fine in window mode
*xv video output is flickering
*running quake2world in fullscreen causes the same flickering - i think this is a compiz bug not an ATI bug.
*strange white borders around things when using GTK window decorator, use emerald instead

[maci@notebob ~]$ cat /var/log/Xorg.0.log|grep Compos
(**) Extension "Composite" is enabled
[maci@notebob ~]$ cat /var/log/Xorg.0.log|grep AIGL|grep -v WW
(==) AIGLX enabled
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/fglrx_dri.so

I also made a cheap benchmark:


fglrx 8.40.4:

[maci@notebob ~]$ fgl_glxgears 
Using GLX_SGIX_pbuffer
2178 frames in 5.0 seconds = 435.600 FPS
2238 frames in 5.0 seconds = 447.600 FPS
2258 frames in 5.0 seconds = 451.600 FPS

fglrx 8.42.3:

[maci@notebob ~]$ fgl_glxgears 
Using GLX_SGIX_pbuffer
2964 frames in 5.0 seconds = 592.800 FPS
3159 frames in 5.0 seconds = 631.800 FPS
3147 frames in 5.0 seconds = 629.400 FPS

This is my hardware:

[maci@notebob ~]$ lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 21)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 21)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
[b]01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10][/b]
02:05.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:06.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
02:09.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:09.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:09.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)
[maci@notebob ~]$

I am running the latest kernel from core:

[maci@notebob ~]$ uname -a
Linux notebob 2.6.23-ARCH #1 SMP PREEMPT Mon Oct 22 10:58:45 UTC 2007 i686 Intel(R) Pentium(R) M processor 1.50GHz GenuineIntel GNU/Linux

This is the xorg.conf I am using:

[maci@notebob ~]$ cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "Simple Layout"
        Screen         "Screen 1" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"
        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  "dbe"     # Double buffer extension
        Load  "extmod"
        Load  "type1"
        Load  "freetype"
        Load  "glx"
        Load  "dri"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "Auto"   # Auto detect
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
        Option      "Emulate3Buttons"
EndSection

Section "Monitor"
        Identifier   "My Monitor"
EndSection

Section "Device"
        Identifier  "My Video Card"
        Driver      "fglrx"
        Option      "AGPMode" "8"
        Option      "ColorTiling" "on"
        Option      "AccelMethod" "EXA"
        Option      "EnablePageFlip" "on"
        Option      "RenderAccel" "on"
        Option      "GARTSize" "64"
#    Option "AGPFastWrite" "yes"
        Option      "DesktopSetup" "single"
EndSection

Section "Screen"
        Identifier "Screen 1"
        Device     "My Video Card"
        Monitor    "My Monitor"
        DefaultDepth     24
EndSection

Section "DRI"
        Mode         0666
EndSection

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

Note: Screenshots will follow soon.

Last edited by maci (2007-10-25 18:02:58)

Offline

#2 2007-10-23 19:00:26

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: compiz running with fglrx drivers and AIGLX

Holy molly!

I can't believe it! yikes The new ATi driver is out and it supports Composite? I must be dreaming! big_smile

*runs off to grab the new driver.
*Discovered that it isn't in 64 bit testing repository, yet. sad

Thanks for spreading the news, maci, and if it's ok with you, could you please share your xorg.conf file with us? smile

PS. You guys might be interest in this article on Phoronix about the new driver: http://www.phoronix.com/scan.php?page=a … =887&num=1

Last edited by zodmaner (2007-10-24 19:18:50)

Offline

#3 2007-10-23 20:10:33

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: compiz running with fglrx drivers and AIGLX

PKGBUILD too? tongue

(can't seem to compile this on my own:()

Offline

#4 2007-10-23 21:54:37

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: compiz running with fglrx drivers and AIGLX

Mikko777 wrote:

PKGBUILD too? tongue

(can't seem to compile this on my own:()

+1

Offline

#5 2007-10-23 22:28:17

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: compiz running with fglrx drivers and AIGLX

I'll be building this for the official repos tonight - I'm going to start in about 10 minutes. wink

Offline

#6 2007-10-23 22:28:48

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: compiz running with fglrx drivers and AIGLX

get the PKGBUILDs for fglrx and fglrx-utils from abs and replace them with those (you need the patches from abs):


pkgname=fglrx
pkgver=8.42.3
_kernel_version=2.6.23
pkgrel=1
pkgdesc="Proprietary AMD/ATI kernel drivers for Radeon brand cards. Stock kernel."
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
#license provided by fglrx-utils package
license=('custom:"fglrx"')
depends=("fglrx-utils>=${pkgver}" "kernel26>=${_kernel_version}")
makedepends=()
replaces=('ati-fglrx')
install=${pkgname}.install
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-$pkgver-x86.x86_64.run kernel-2.6.23.patch)
md5sums=('56ff087389b5594f0db9949354bb0698'
         '03eabf812017ebe353f74cfab5388bee')

_kernver=${_kernel_version}-ARCH

build() {
    cd $startdir/src

    [ "$CARCH" = "i686" ] && _arch="x86"
    [ "$CARCH" = "x86_64" ] && _arch="x86_64"

    chmod a+x ati-driver-installer-$pkgver-x86.x86_64.run
    ./ati-driver-installer-$pkgver-x86.x86_64.run --extract archive_files


    cp $startdir/src/archive_files/arch/${_arch}/* $startdir/src/ -r
    cp $startdir/src/archive_files/common/* $startdir/src/ -r

    if [ "$CARCH" == "x86_64" ]; then
      cp $startdir/src/archive_files/x710_64a/* $startdir/src/ -r
    else
      cp $startdir/src/archive_files/x710/* $startdir/src/ -r
    fi
    cd $startdir/src
    cd $startdir/src/lib/modules/fglrx/build_mod/
    patch -Np0 -i $startdir/src/kernel-2.6.23.patch || return 1

    # Build the kernel module
    cp 2.6.x/Makefile .
    make -C /lib/modules/${_kernver}/build SUBDIRS="`pwd`" modules || return 1

    # Install the kernel module
    install -m 644 -D $startdir/src/lib/modules/fglrx/build_mod/fglrx.ko \
        $startdir/pkg/lib/modules/${_kernver}/video/fglrx.ko

    sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/$install

}


-----------------------------------------

pkgname=fglrx-utils
pkgver=8.42.3
pkgrel=1
pkgdesc="Proprietary AMD/ATI userspace tools and libraries for Radeon brand cards."
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
# license provided in this package also applies to
# kernel module pkgs, and is noted in their PKGBUILDs
license=('custom:"fglrx"')
#finger required for acpi scripts
depends=('xorg-server>=1.1.1' 'libdrm' 'libstdc++5' 'netkit-bsd-finger' \
         'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi') 
replaces=('ati-drivers' 'ati-fglrx-utils')
conflicts=('libgl' 'ati-drivers-module' 'ati-drivers' 'nvidia')
provides=('libgl')
install=fglrx-utils.install
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-$pkgver-x86.x86_64.run \
        amdcccle.desktop fglrx.sh atieventsd.sh ati-powermode.sh.patch)
md5sums=('56ff087389b5594f0db9949354bb0698'
         '1f4b870e977b155af549442932e8ce6f'
         'bdafe749e046bfddee2d1c5e90eabd83'
         'f729bf913613f49b0b9759c246058a87'
         '150c5cd49e9affe3635415aa9d9c00e6')
sha1sums=('b8e878e846e0971d49339ee5957acc6482329510'
          'ec0271dfc6926efe28c791242a613c27b1f79bcb'
          '5339ab8c6268bd8a886c56bd1ea25ecd2fe09985'
          '3a9444e247e46df62c8effb64f8ed39d3665c5c5'
          'afd5121c6c5520929e5a274780721e3200cce590')
options=('!strip')

build() {
    cd $startdir/src

    [ "$CARCH" = "i686" ] && _arch="x86";
    [ "$CARCH" = "x86_64" ] && _arch="x86_64";

    chmod a+x ati-driver-installer-$pkgver-x86.x86_64.run
    ./ati-driver-installer-$pkgver-x86.x86_64.run --extract archive_files

    # Grab the example ACPI scripts for lid close and AC plugged/unplugged
    mkdir -p $startdir/src/etc/
    cp $startdir/src/archive_files/common/usr/share/doc/fglrx/examples/etc/acpi $startdir/src/etc -r
    cd $startdir/src/etc/acpi
    sed -i "s#/usr/X11R6/bin/aticonfig#/usr/bin/aticonfig#g" $startdir/src/etc/acpi/ati-powermode.sh || return 1
    sed -i "s#--effective=now##g" $startdir/src/etc/acpi/ati-powermode.sh || return 1
    patch -Np0 -i $startdir/src/ati-powermode.sh.patch
    cd ../..

    # Get our architecture files and common files all in one place
    cp $startdir/src/archive_files/arch/${_arch}/* $startdir/src/ -r
    cp $startdir/src/archive_files/common/* $startdir/src/ -r
    if [ "$CARCH" = "x86_64" ]; then
       cp $startdir/src/archive_files/x710_64a/* $startdir/src/ -r
     else
       cp $startdir/src/archive_files/x710/* $startdir/src/ -r
    fi

    # Remove src and documents - install remaining files
    mkdir -p $startdir/src/usr/share/pixmaps
    mv $startdir/src/usr/share/icons/* $startdir/src/usr/share/pixmaps/
    rm -rf $startdir/src/usr/{src,share/{icons,doc,applnk,gnome}}

    # Install into correct paths for Xorg7
    install -d -m 755 $startdir/pkg/usr/include $startdir/pkg/usr/bin \
            $startdir/pkg/usr/lib/xorg/modules $startdir/pkg/etc \
            $startdir/pkg/usr/share $startdir/pkg/usr/sbin \
            $startdir/pkg/etc/rc.d $startdir/pkg/etc/acpi

    mv $startdir/src/etc/* $startdir/pkg/etc/
    mv $startdir/src/usr/sbin/* $startdir/pkg/usr/sbin/
    mv $startdir/src/usr/include/* $startdir/pkg/usr/include/
    mv $startdir/src/usr/share/* $startdir/pkg/usr/share/
    mv $startdir/src/usr/X11R6/include/* $startdir/pkg/usr/include/
    mv $startdir/src/usr/X11R6/bin/* $startdir/pkg/usr/bin/
    if [ "$CARCH" == "x86_64" ]; then
      mv $startdir/src/usr/X11R6/lib64/modules/* $startdir/pkg/usr/lib/xorg/modules/
      rm -rf $startdir/src/usr/X11R6/lib64/modules
      mv $startdir/src/usr/X11R6/lib64/* $startdir/pkg/usr/lib
     else
      mv $startdir/src/usr/X11R6/lib/modules/* $startdir/pkg/usr/lib/xorg/modules/
      rm -rf $startdir/src/usr/X11R6/lib/modules
      mv $startdir/src/usr/X11R6/lib/* $startdir/pkg/usr/lib/
    fi

    # create proper symlinks to libGL.so, libfglrx_pp.so, and libfglrx_gamma.so
    cd $startdir/pkg/usr/lib
    ln -s libGL.so.1.2 libGL.so
    ln -s libGL.so.1.2 libGL.so.1
    ln -sf /usr/lib/libfglrx_pp.so.1.0 libfglrx_pp.so.1
    ln -sf /usr/lib/libfglrx_gamma.so.1.0 libfglrx_gamma.so.1

    mkdir -p ${startdir}/pkg/usr/lib/xorg/modules/extensions
    cd ${startdir}/pkg/usr/lib/xorg/modules/extensions
    ln -sf libGLcore.xorg libGLcore.so
    ln -sf libglx.xorg libglx.so
   
    # correct dir permissions
    find $startdir/pkg/usr -type d -exec chmod 755 {} \;

    # correct FILE permissions - >=8.39.4 has nearly every file marked 0744. This
    # is dumb, and previous versions of the drivers had no files marked this
    # way.  Fixing permissions of files to what they were in 8.38.6
    find $startdir/pkg/etc -not -type d -exec chmod 0444 {} \;
    find $startdir/pkg/etc -name '*.sh' -not -type d -exec chmod a+x {} \;
    chmod u+w $startdir/pkg/etc/{ati/control,acpi/ati-powermode.sh}
    find $startdir/pkg/usr/{bin,lib,sbin} -not -type d -exec chmod 0755 {} \;
    chmod 0555 $startdir/pkg/usr/sbin/atigetsysteminfo.sh
    find $startdir/pkg/usr/lib -name '*.a' -not -type d -exec chmod 0644 {} \;
    find $startdir/pkg/usr/{share,include} -not -type d -exec chmod 0444 {} \;
    find $startdir/pkg/usr/share/ati/amdcccle/ -name '*.qm' -not -type d -exec chmod 0644 {} \;
    find $startdir/pkg/usr/share/man -not -type d -exec chmod 0644 {} \;

    # install licenses
    install -m 0644 -D $startdir/src/archive_files/ATI_LICENSE.TXT \
                     $startdir/pkg/usr/share/licenses/fglrx/AMD_ATI_LICENSE.TXT
    # create DE file
    install -m 0755 -D $startdir/src/amdcccle.desktop \
            $startdir/pkg/usr/share/applications/amdcccle.desktop
    # thanks to cerebral, we dont need that damned symlink
    install -m 0755 -D $startdir/src/fglrx.sh \
            $startdir/pkg/etc/profile.d/fglrx.sh
    # Add ATI Events Daemon launcher
    install -m 0755 -D $startdir/src/atieventsd.sh \
            $startdir/pkg/etc/rc.d/atieventsd

}

Offline

#7 2007-10-23 22:30:38

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: compiz running with fglrx drivers and AIGLX

Cerebral wrote:

I'll be building this for the official repos tonight - I'm going to start in about 10 minutes. wink

This is why I feel i'll never distro hop again
big_smile

Offline

#8 2007-10-23 22:31:42

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: compiz running with fglrx drivers and AIGLX

cerebral, while youre on it.. i had some issues with the amdcccle ... it wouldnt start at all.. also had this issue with the older version here is the strace output:

munmap(0xb7966000, 4096)                = 0
getdents(9, /* 0 entries */, 1024)      = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 10
connect(10, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 110) = 0
getpeername(10, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, [20]) = 0
uname({sys="Linux", node="notebob", ...}) = 0
access("/home/maci/.Xauthority", R_OK)  = 0
open("/home/maci/.Xauthority", O_RDONLY) = 11
fstat64(11, {st_mode=S_IFREG|0600, st_size=150, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7966000
read(11, "\0\0\0\4\300\250\2\3\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 150
read(11, "", 4096)                      = 0
close(11)                               = 0
munmap(0xb7966000, 4096)                = 0
fcntl64(10, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(10, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"l\0\v\0\0\0\22\0\20\0", 10}, {"\0\0", 2}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {":\261a\324\231\\\367>\337\207\316\257\30\321\5\177", 16}, {"", 0}], 6) = 48
read(10, 0x89d4870, 8)                  = -1 EAGAIN (Resource temporarily unavailable)
select(11, [10], NULL, NULL, NULL)      = 1 (in [10])
read(10, "\1\0\v\0\0\0\31\2", 8)        = 8
read(10, "\300*/\4\0\0`\3\377\377\37\0\0\1\0\0\24\0\377\377\1\7\0\0  \10\377\364\r\35\10"..., 2148) = 2148
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"7\0\5\0\0\0`\3\206\0\0\0\10\0\0\0\377\377\377\0b\0\5\0\f\0\0\0BIG-"..., 40}], 1) = 40
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\301\2\0\0\0\0\0\1\202\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0008\307\377\277", 4096) = 32
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"\202\0\1\0", 4}], 1)      = 4
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\327\3\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0<\307\377\277\204/\34\10", 4096) = 32
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"\24\0\6\0\206\0\0\0\27\0\0\0\37\0\0\0\0\0\0\0\0\341\365\5", 24}], 1) = 24
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\10\4\0007\6\0\0\37\0\0\0\0\0\0\0\333\30\0\0\0\0\0\0\0\0\0\0008\307\377\277"..., 4096) = 4096
read(10, "mMessageBox.foreground:\t#000000\n"..., 2300) = 2300
read(10, 0x89d5350, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"b\0\5\0\t\0\0\0XKEYBOARD\0\0\0", 20}], 1) = 20
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\301\5\0\0\0\0\0\1\227o\257\0\20\0\0\333\30\0\0\0\0\0\0\0\0\0\0008\307\377\277", 4096) = 32
read(10, 0x89d5350, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"\227\0\2\0\1\0\0\0", 8}], 1) = 8
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\1\6\0\0\0\0\0\1\0\0\0H\307\377\2777\301\23\10\250\327\247\10\360\350J\10\1\0\0\0", 4096) = 32
read(10, 0x89d5350, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"b\0\6\0\17\0\0\0ATIFGLEXTENSION\0", 24}], 1) = 24
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\301\7\0\0\0\0\0\1\222\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0008\307\377\277", 4096) = 32
read(10, 0x89d5350, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"b\0\6\0\17\0\0\0ATIFGLEXTENSION\0", 24}], 1) = 24
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\301\10\0\0\0\0\0\1\222\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0008\307\377\277", 4096) = 32
read(10, 0x89d5350, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"\222!\2\0\0\0\0\0", 8}], 1) = 8
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\0\t\0\2\0\0\0\365\0\0\7\376\21 Y\0D\20\0 \200\21\214\t\20h\200\20\20\201 "..., 4096) = 40
read(10, 0x89d5350, 4096)               = -1 EAGAIN (Resource temporarily unavailable)
select(11, [10], [10], NULL, NULL)      = 1 (out [10])
writev(10, [{"\2220\21\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\22\0\0\0\7\0\0\0\0\0\0\0"..., 68}], 1) = 68
select(11, [10], [], NULL, NULL)        = 1 (in [10])
read(10, "\1\0\n\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0"..., 4096) = 40
read(10, 0x89dcc30, 8)                  = -1 EAGAIN (Resource temporarily unavailable)




-----------------

anyone can confirm this ?

Offline

#9 2007-10-23 22:41:46

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: compiz running with fglrx drivers and AIGLX

So basically you changed "radeon" to "fglrx" ?

Offline

#10 2007-10-23 23:40:43

pirx
Member
Registered: 2007-10-14
Posts: 15

Re: compiz running with fglrx drivers and AIGLX

argh: "This does not include support for the FireGL series, but the workstation compatibility will be introduced next month in fglrx 8.43"

Waiting for 8.43 sad

Offline

#11 2007-10-24 01:24:46

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: compiz running with fglrx drivers and AIGLX

hm - I'm getting unpleasantness with these drivers on my 9600XT.. glibc double-free errors all over the place if I have my dual-head setup going, graphical artifacts in the bottom-right corner and under the mouse, AIGLX not working...  I'll be sticking with 8.40.4 personally.

However, I will have 8.42.3 in [testing] shortly.

Offline

#12 2007-10-24 02:24:50

thunderwolf318
Member
Registered: 2005-05-30
Posts: 54

Re: compiz running with fglrx drivers and AIGLX

What kernel are you trying to build it for?
according to this http://www.phoronix.com/scan.php?page=a … =887&num=1 it does not support 2.6.23

EDIT: Just found this http://www.phoronix.com/forums/showthread.php?t=5952 looks like someone made a patch

Last edited by thunderwolf318 (2007-10-24 02:26:10)

Offline

#13 2007-10-24 06:02:27

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: compiz running with fglrx drivers and AIGLX

[maci@notebob ~]$ uname -a
Linux notebob 2.6.23-ARCH #1 SMP PREEMPT Fri Oct 19 08:48:54 UTC 2007 i686 Intel(R) Pentium(R) M processor 1.50GHz GenuineIntel GNU/Linux

i used the patch you can find in cvs

Offline

#14 2007-10-24 07:38:47

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: compiz running with fglrx drivers and AIGLX

i am at work now so i was able to try dualhead as well.
i can report the same problems when using dualhead+compiz, just dualhead works fine but as soon as i use compiz it fucks up

Offline

#15 2007-10-24 08:03:35

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: compiz running with fglrx drivers and AIGLX

Good  ,i had been waiting for it for a loog time..

Offline

#16 2007-10-24 08:06:42

Avenger
Member
Registered: 2005-11-11
Posts: 65

Re: compiz running with fglrx drivers and AIGLX

Hmm, I can't get compiz to work on my laptop with a Mobility X700 chip, all I get is:

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

Here are som logs, it seems like AIGLX and composite is enabled correctly:

cat /var/log/Xorg.0.log | grep AIGLX
(==) AIGLX enabled
(WW) AIGLX: 3D driver claims to not support visual 0x23
... (I get loads of these)
(WW) AIGLX: 3D driver claims to not support visual 0x72
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/fglrx_dri.so


cat /var/log/Xorg.0.log | grep Composite
(**) Extension "Composite" is enabled


fglrxinfo prints out:

display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X700
OpenGL version string: 2.0.6958 Release


"GLX_EXT_texture_from_pixmap" is listed under "server glx extensions" and "client glx extensions" in glxinfo.

I try to start compiz like this:
compiz --replace gconf

Offline

#17 2007-10-24 08:22:44

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: compiz running with fglrx drivers and AIGLX

http://wiki.archlinux.org/index.php/Com … ion_on_ATI

i'd try the second solution

Last edited by maci (2007-10-24 08:24:00)

Offline

#18 2007-10-24 08:26:10

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: compiz running with fglrx drivers and AIGLX

anyone else has issues with starting amdcccle in this or any previous version ?

Offline

#19 2007-10-24 08:35:02

miggols99
Member
Registered: 2007-06-10
Posts: 424

Re: compiz running with fglrx drivers and AIGLX

How about 64bit? I have been waiting for this for a looong time. 32bit shouldn't get all the love sad

Offline

#20 2007-10-24 08:36:19

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: compiz running with fglrx drivers and AIGLX

my 64bit box has an nividia card
but however the PKGBUILD should work fine on 64bit boxes as well, just try it

Offline

#21 2007-10-24 08:48:22

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

Re: compiz running with fglrx drivers and AIGLX

well suspend works with 2.6.22 (the last one before .23 appeared in repos), can anyone comment on *.23?

as for amdcccle I get the same problem, fd 10 corresponds to socket for connecting to Xserver:

socket(PF_FILE, SOCK_STREAM, 0)         = 10
connect(10, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 110) = 0

so there seems to be a problem either with X or with the driver itself, perhaps it would work on xserver 1.4 (if I remember correctly, you can find it in testing). But then people in phoronix forums had problems with performance and suspend on 1.4

Offline

#22 2007-10-24 09:15:43

laxity
Member
Registered: 2004-07-01
Posts: 14

Re: compiz running with fglrx drivers and AIGLX

maci wrote:

anyone else has issues with starting amdcccle in this or any previous version ?

i have the same problem.. also since the previous version.

Offline

#23 2007-10-24 09:36:55

maci
Member
From: Singapore
Registered: 2005-04-03
Posts: 43
Website

Re: compiz running with fglrx drivers and AIGLX

im running 2.6.23 havent tried suspend yet.
anyways i dont think it will work..
i cant even start an xserver twice.. since a lot of fglrx versions already
once i killed my xserver i need to reboot to start it again since the screen will just stay black when running startx

anyway good to know im not the only one having issues with amdcccle

Offline

#24 2007-10-24 10:18:05

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: compiz running with fglrx drivers and AIGLX

Well great, atleast i can report good news again.

Running latest .23 kernel, xorg 1.4, Danimoths official compiz, and cerebral's fglrx.

tests: AMD3000+ and Radeon9600pro.

mikko@desktop:~$ glxgears
19550 frames in 5.0 seconds = 3909.959 FPS
19564 frames in 5.0 seconds = 3912.744 FPS
19568 frames in 5.0 seconds = 3913.499 FPS
mikko@desktop:~$ fgl_glxgears
Using GLX_SGIX_pbuffer
3448 frames in 5.0 seconds = 689.600 FPS
4215 frames in 5.0 seconds = 843.000 FPS
4201 frames in 5.0 seconds = 840.200 FPS

A bit more improvement from .41 drivers.
Amdcccle still refuses to start for me too.

[root@desktop mikko]# amdcccle
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

Also mouse (evdev) is messed up in fullscreen apps??? moves really weird. (wrong direction, in slowmotion)
(normal in gnome)

and compiz seems to crap on me too:

[/c... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
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

Well gotta tweak some more. smile

Offline

#25 2007-10-24 12:10:14

Avenger
Member
Registered: 2005-11-11
Posts: 65

Re: compiz running with fglrx drivers and AIGLX

maci wrote:

Tried it but no go, if I use LIBGL_ALWAYS_INDIRECT=1 I get another error though:
compiz (core) - Fatal: No valid GL extensions string found.
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0

About amdcccle, it won't start here either, it just does nothing when I start it.

Offline

Board footer

Powered by FluxBB