http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html
http://www.digit-life.com/articles/reviews3tcfxt1/
wget http://homepage.hispeed.ch/rscheidegger/dri_experimental/libtxc_dxtn050819.tar.gz
ed2k://|file|libtxc_dxtn050819.tar.gz|9950|c71a8a8cb775ea9cb774193ad90d557b|
cat « EOF » /etc/apt/sources.list
#{ [[3D]] : sudo apt-get install libtxc-dxtn deb http://emeitner.f2o.org/debian/ ./ deb-src http://emeitner.f2o.org/debian/ ./ #} http://rzr.online.fr/q/DRI
EOF
mkdir -p /usr/local/src/tmp/dri cd /usr/local/src/tmp/dri cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri login && \ cvs -z3 -d:pserver:anonymous@dri.freedesktop.org:/cvs/dri co drm cd drm && ./autogen.sh
Supports DRI but conflicts on IRQs see DSDT.
dri module works along xorg 6.8.1 on Radeon IGP 320M … (at last
But, on my AmiloA there are still IRQ problems.
When I start XWindow with dri, there's a system freeze (I didn't try to reach my computer via SSH, though).
I order to manage to start X, I need to unactivate some modules that use IRQ #11.
For information, here is my default IRQ after system start :
cat /proc/interrupts [[CPU]]0 0: 11814031 XT-PIC timer 1: 37033 XT-PIC i8042 2: 0 XT-PIC cascade 5: 2 XT-PIC ohci1394 9: 0 XT-PIC acpi 10: 0 XT-PIC ohci_hcd 11: 84447 XT-PIC ohci_hcd, yenta, yenta, eth0, ALI 5451 12: 281295 XT-PIC i8042 14: 110926 XT-PIC ide0 15: 123694 XT-PIC ide1
IRQ #11 is quite crowded
But I managed to start X without freeze after a reboot without sound modules being “modprobed” :
CPU0 0: 11814031 XT-PIC timer 1: 37033 XT-PIC i8042 2: 0 XT-PIC cascade 5: 2 XT-PIC ohci1394 9: 0 XT-PIC acpi 10: 0 XT-PIC ohci_hcd 11: 84447 XT-PIC ohci_hcd, yenta, yenta, eth0 12: 281295 XT-PIC i8042 14: 110926 XT-PIC ide0 15: 123694 XT-PIC ide1
This way, X starts with dri activated, and it works
But when X starts, I get the following kernel message : Disactivating irq #11, and then eth0 no longer works. No enemy-territory playing on the net for me yet
As IRQ #11 gets disactivated, I believe that one or two of the usb ports no longer work (I didn't check), and that PCMCIA doesn't work neither (I don't have PCMCIA cards). And no sound, since I disactivated it myself…
But 3D acceleration works
Some times later, I have managed to get also sound, booting with the “acpi_irq_balance” kernel option, which puts the ALI M5451 module at IRQ #10 :
CPU0 0: 11814031 XT-PIC timer 1: 37033 XT-PIC i8042 2: 0 XT-PIC cascade 5: 2 XT-PIC ohci1394 9: 0 XT-PIC acpi 10: 0 XT-PIC ohci_hcd, ALI 5451 11: 84447 XT-PIC ohci_hcd, yenta, yenta, eth0 12: 281295 XT-PIC i8042 14: 110926 XT-PIC ide0 15: 123694 XT-PIC ide1
I tried to recompile the radeon kernel module without IRQ sharing, but 3D applications segfault.
I don't know X enough to be able to find how to solve the irq problem.
I believe that DRI doesn't really need an IRQ in most cases, because after the “Disactivation irq #11” Kernel message, 3D acceleration still works
glxinfo # name of display: :0.0 # libGL error: failed to open DRM: Operation not permitted # libGL error: reverting to (slow) indirect rendering # display: :0 screen: 0 # direct rendering: No
http://www.sh.nu/lgfaq/#drmperms
Section "DRI" Mode 0666 EndSection
$ glxinfo name of display: :0.0 libGL warning: 3D driver returned no fbconfigs. libGL error: InitDriver failed libGL error: reverting to (slow) indirect rendering display: :0 screen: 0 direct rendering: No
@tag: radeon_dri
LIBGL_DEBUG=debug glxinfo
name of display: :0.0
libGL error: dlopen /usr/lib/dri/radeon_dri.so failed (/usr/lib/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: radeon_dri.so
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
...
aptitude install libgl1-mesa-dri
worked for me on debian