Letzte Änderung am 2006-08-20 03:40:11 von Richard proofing
Erweiterungen:
1. Add the following line to your /etc/apt/sources.list
deb http://people.debian.org/~daenzer/dri-trunk-unstable ./
I use Lilo, so I added the following lines:
image=/boot/vmlinuz-2.6.5-1-686 initrd=/boot/initrd.img-2.6.5-1-686
read-only
6. After a successful boot, edit /etc/modules and add the following lines:
# rm -f linux
# ln -s kernel-source-2.6.5 linux
9. Download and compile the DRI kernel module (in /usr/src)
# wget www.freedesktop.org/~dri/snapshots/r200-20040513-linux.i386.tar.bz2
# ./install.sh
10. Edit /etc/X11/XF86Config-4 and add/modify the following lines:
## Section "Modules" should include:
Load "glx"
Section "Device" should include:
Driver "radeon"
Option "EnablePageFlip" "on"
and make sure the following section is in there:
Löschungen:
1. Add the following line to your /etc/apt/sources.list
:code:deb http://people.debian.org/~daenzer/dri-trunk-unstable∞ ./ :code:
I use Lilo, so I added the following lines:
:code:image=/boot/vmlinuz-2.6.5-1-686 initrd=/boot/initrd.img-2.6.5-1-686
read-only :code:
6. After a successful boot, edit /etc/modules and add the following lines:
:code:ati-agp
radeon :code:
:code:# rm -f linux
# ln -s kernel-source-2.6.5 linux :code:
9. Download and compile the DRI kernel module (in /usr/src)
:code:# wget www.freedesktop.org/~dri/snapshots/r200-20040513-linux.i386.tar.bz2?
# ./install.sh :code:
10. Edit /etc/X11/XF86Config-4 and add/modify the following lines:
:code:Section "Modules" should include:
Load "glx" :code:
Section "Device" should include:
:code:Driver "radeon"
Option "EnablePageFlip?" "on" :code:
and make sure the following section is in there:
:code:Section "DRI"
EndSection? :code:
Editiert am 2006-06-10 17:10:48 von RoEn
Erweiterungen:
ATI IGP Direct Rendering on Kanotix - mini-HOWTO
This HOWTO is written by Zipslack
After a lot of experimenting, I finally got working Direct Rendering/OpenGL? on my Presario2500? laptop with the ATI IGP345 graphic chipset. Here's a HOWTO that should work for all IGP320/330/340/345 chipsets.
DISCLAIMER: This worked for my system -- YMMV. You may trash your system by using these instructions. Have a rescue disk or boot disk handy (the Kanotix CD would probably be fine for this).
All of the steps should be handled at the console. At KDM, choose "Console Login" as the session. X libraries will have to be replaced and there will be greater chance of success if X is not running.
1. Add the following line to your /etc/apt/sources.list
:code:deb http://people.debian.org/~daenzer/dri-trunk-unstable∞ ./ :code:
2.a. apt-get update and then install the 2.6 kernel. I was successful with the 2.6.5 kernel from debian.
aptitude install kernel-image-2.6.5-1-686
(in place of -686, use the appropriate suffix for your hardware; -386,-686,-686-smp,-K7,-K7-smp)
b. When asked about stopping to configure LILO, choose "n"
c. When asked about installing a boot block with the existing
lilo.conf, choose "no"
d. When asked about wiping & creating a new lilo config, choose "no"
The following two sections are for Lilo. I do not use Grub
3. Edit your bootloader file (/boot/menu.list or /etc/lilo.conf for lilo)
I use Lilo, so I added the following lines:
:code:image=/boot/vmlinuz-2.6.5-1-686 initrd=/boot/initrd.img-2.6.5-1-686
label="Kanotix26?"
vga=normal #FB still acts funny with 2.6 and ATI
root=/dev/hda3? #change to match your install location
append="~~~" #whatever options you need
read-only :code:
The root= line is optional and should already be set elsewhere, but I'm booting multiple distros.
4. Execute the command lilo and watch for errors. Make sure the new entry is added to the table.
5. Back up your /etc/modules file as /etc/modules.original
and then reboot to make sure the bootloader and kernel work properly. (This is where you might need the rescueCD? or boot floppy). As the computer is booting, watch for the option about making a new hardware profile and press a key so your hardware can be re-detected and a new /etc/modules written. Don't be scared if X won't start on reboot.
6. After a successful boot, edit /etc/modules and add the following lines:
:code:ati-agp
radeon :code:
Go ahead and modprobe these two modules and check with dmesg to make sure they load properly.
7. Still at the console (as root), get and install the kernel source. This will be needed for the DRM module compile.
a. aptitude install kernel-source-2.6.5
b. cd /usr/src and tar -xjvf kernel-source-2.6.5.tar.bz2?
c. Change the symlink for the new kernel source
:code:# rm -f linux
# ln -s kernel-source-2.6.5 linux :code:
d. cd /usr/src/linux and then make oldconfig
8. Download & compile DRI-trunk packages.
aptitude install xserver-xfree86?-dri-trunk xlibmes-gl1?-dri-trunk
(drm-trunk-module-src will also be downloaded, but will not be used because it doesn't work properly)
9. Download and compile the DRI kernel module (in /usr/src)
:code:# wget www.freedesktop.org/~dri/snapshots/r200-20040513-linux.i386.tar.bz2?
# tar -xjvf r200*.tar.bz2?
# cd dripkg
# export LINUXDIR=/usr/src/linux
# ./install.sh :code:
10. Edit /etc/X11/XF86Config-4 and add/modify the following lines:
:code:Section "Modules" should include:
Load "dri"
Load "glcore"
Load "glx" :code:
Section "Device" should include:
:code:Driver "radeon"
Option "AGPMode" "4"
Option "AGPFastWrite?" "on"
Option "EnablePageFlip?" "on" :code:
and make sure the following section is in there:
:code:Section "DRI"
Mode 0666
EndSection? :code:
11. Hopefully, things will work at this point. startx and then open a terminal. Run glxinfo and look for "direct rendering: Yes" near the top. Run glxgears and check your FPS and CPU usage.
With the normal 2D setup, my 2.6GHz laptop ran ~370 fps with 100% CPU usage. New DRI setup runs ~530 fps with 12% CPU usage. All OpenGL? screensaver modes work fine, except Lament locked up once. Tuxracer, TuxKart?, and FlightGear? all work fine. For Tuxracer, it will start but with a black screen. Hit Q to quit and then edit your ~/.tuxracer/options file and turn full-screen off. After this it will run fine.
Hope this helps.
This HOWTO is written by Zipslack
Löschungen:
ATI IGP Direct Rendering on Kanotix - mini-HOWTO
This HOWTO is written by Zipslack
After a lot of experimenting, I finally got working Direct Rendering/OpenGL? on my Presario2500? laptop with the ATI IGP345 graphic chipset. Here's a HOWTO that should work for all IGP320/330/340/345 chipsets.
DISCLAIMER: This worked for my system -- YMMV. You may trash your system by using these instructions. Have a rescue disk or boot disk handy (the Kanotix CD would probably be fine for this).
All of the steps should be handled at the console. At KDM, choose "Console Login" as the session. X libraries will have to be replaced and there will be greater chance of success if X is not running.
1. Add the following line to your /etc/apt/sources.list
:code:deb http://people.debian.org/~daenzer/dri-trunk-unstable∞ ./ :code:
2.a. apt-get update and then install the 2.6 kernel. I was successful with the 2.6.5 kernel from debian.
aptitude install kernel-image-2.6.5-1-686
(in place of -686, use the appropriate suffix for your hardware; -386,-686,-686-smp,-K7,-K7-smp)
b. When asked about stopping to configure LILO, choose "n"
c. When asked about installing a boot block with the existing
lilo.conf, choose "no"
d. When asked about wiping & creating a new lilo config, choose "no"
The following two sections are for Lilo. I do not use Grub
3. Edit your bootloader file (/boot/menu.list or /etc/lilo.conf for lilo)
I use Lilo, so I added the following lines:
:code:image=/boot/vmlinuz-2.6.5-1-686 initrd=/boot/initrd.img-2.6.5-1-686
label="Kanotix26?"
vga=normal #FB still acts funny with 2.6 and ATI
root=/dev/hda3? #change to match your install location
append="~~~" #whatever options you need
read-only :code:
The root= line is optional and should already be set elsewhere, but I'm booting multiple distros.
4. Execute the command lilo and watch for errors. Make sure the new entry is added to the table.
5. Back up your /etc/modules file as /etc/modules.original
and then reboot to make sure the bootloader and kernel work properly. (This is where you might need the rescueCD? or boot floppy). As the computer is booting, watch for the option about making a new hardware profile and press a key so your hardware can be re-detected and a new /etc/modules written. Don't be scared if X won't start on reboot.
6. After a successful boot, edit /etc/modules and add the following lines:
:code:ati-agp
radeon :code:
Go ahead and modprobe these two modules and check with dmesg to make sure they load properly.
7. Still at the console (as root), get and install the kernel source. This will be needed for the DRM module compile.
a. aptitude install kernel-source-2.6.5
b. cd /usr/src and tar -xjvf kernel-source-2.6.5.tar.bz2?
c. Change the symlink for the new kernel source
:code:# rm -f linux
# ln -s kernel-source-2.6.5 linux :code:
d. cd /usr/src/linux and then make oldconfig
8. Download & compile DRI-trunk packages.
aptitude install xserver-xfree86?-dri-trunk xlibmes-gl1?-dri-trunk
(drm-trunk-module-src will also be downloaded, but will not be used because it doesn't work properly)
9. Download and compile the DRI kernel module (in /usr/src)
:code:# wget www.freedesktop.org/~dri/snapshots/r200-20040513-linux.i386.tar.bz2?
# tar -xjvf r200*.tar.bz2?
# cd dripkg
# export LINUXDIR=/usr/src/linux
# ./install.sh :code:
10. Edit /etc/X11/XF86Config-4 and add/modify the following lines:
:code:Section "Modules" should include:
Load "dri"
Load "glcore"
Load "glx" :code:
Section "Device" should include:
:code:Driver "radeon"
Option "AGPMode" "4"
Option "AGPFastWrite?" "on"
Option "EnablePageFlip?" "on" :code:
and make sure the following section is in there:
:code:Section "DRI"
Mode 0666
EndSection? :code:
11. Hopefully, things will work at this point. startx and then open a terminal. Run glxinfo and look for "direct rendering: Yes" near the top. Run glxgears and check your FPS and CPU usage.
With the normal 2D setup, my 2.6GHz laptop ran ~370 fps with 100% CPU usage. New DRI setup runs ~530 fps with 12% CPU usage. All OpenGL? screensaver modes work fine, except Lament locked up once. Tuxracer, TuxKart?, and FlightGear? all work fine. For Tuxracer, it will start but with a black screen. Hit Q to quit and then edit your ~/.tuxracer/options file and turn full-screen off. After this it will run fine.
Hope this helps.
This HOWTO is written by Zipslack
älteste bekannte Version dieser Seite wurde bearbeitet am 2004-06-03 11:08:16 von AndyMcCoy [ ]
ATI IGP Direct Rendering on Kanotix - mini-HOWTO
This HOWTO is written by Zipslack
After a lot of experimenting, I finally got working Direct Rendering/
OpenGL? on my
Presario2500? laptop with the ATI IGP345 graphic chipset. Here's a HOWTO that should work for all IGP320/330/340/345 chipsets.
DISCLAIMER: This worked for my system -- YMMV. You may trash your system by using these instructions. Have a rescue disk or boot disk handy (the Kanotix CD would probably be fine for this).
All of the steps should be handled at the console. At KDM, choose "Console Login" as the session. X libraries will have to be replaced and there will be greater chance of success if X is not running.
1. Add the following line to your /etc/apt/sources.list
:code:deb
http://people.debian.org/~daenzer/dri-trunk-unstable∞ ./ :code:
2.a. apt-get update and then install the 2.6 kernel. I was successful with the 2.6.5 kernel from debian.
aptitude install kernel-image-2.6.5-1-686
(in place of -686, use the appropriate suffix for your hardware; -386,-686,-686-smp,-K7,-K7-smp)
b. When asked about stopping to configure LILO, choose "n"
c. When asked about installing a boot block with the existing
lilo.conf, choose "no"
d. When asked about wiping & creating a new lilo config, choose "no"
The following two sections are for Lilo. I do not use Grub
3. Edit your bootloader file (/boot/menu.list or /etc/lilo.conf for lilo)
I use Lilo, so I added the following lines:
:code:image=/boot/vmlinuz-2.6.5-1-686 initrd=/boot/initrd.img-2.6.5-1-686
label="
Kanotix26?"
vga=normal #FB still acts funny with 2.6 and ATI
root=/dev/
hda3? #change to match your install location
append="~~~" #whatever options you need
read-only :code:
The root= line is optional and should already be set elsewhere, but I'm booting multiple distros.
4. Execute the command lilo and watch for errors. Make sure the new entry is added to the table.
5. Back up your /etc/modules file as /etc/modules.original
and then reboot to make sure the bootloader and kernel work properly. (This is where you might need the
rescueCD? or boot floppy). As the computer is booting, watch for the option about making a new hardware profile and press a key so your hardware can be re-detected and a new /etc/modules written. Don't be scared if X won't start on reboot.
6. After a successful boot, edit /etc/modules and add the following lines:
:code:ati-agp
radeon :code:
Go ahead and modprobe these two modules and check with dmesg to make sure they load properly.
7. Still at the console (as root), get and install the kernel source. This will be needed for the DRM module compile.
a. aptitude install kernel-source-2.6.5
b. cd /usr/src and tar -xjvf kernel-source-2.6.5.tar.
bz2?
c. Change the symlink for the new kernel source
:code:# rm -f linux
# ln -s kernel-source-2.6.5 linux :code:
d. cd /usr/src/linux and then make oldconfig
8. Download & compile DRI-trunk packages.
aptitude install xserver-
xfree86?-dri-trunk xlibmes-
gl1?-dri-trunk
(drm-trunk-module-src will also be downloaded, but will not be used because it doesn't work properly)
9. Download and compile the DRI kernel module (in /usr/src)
:code:# wget www.freedesktop.org/~dri/snapshots/r200-20040513-linux.i386.tar.
bz2?
# tar -xjvf r200*.tar.
bz2?
# cd dripkg
# export LINUXDIR=/usr/src/linux
# ./install.sh :code:
10. Edit /etc/X11/XF86Config-4 and add/modify the following lines:
:code:Section "Modules" should include:
Load "dri"
Load "glcore"
Load "glx" :code:
Section "Device" should include:
:code:Driver "radeon"
Option "AGPMode" "4"
Option "
AGPFastWrite?" "on"
Option "
EnablePageFlip?" "on" :code:
and make sure the following section is in there:
:code:Section "DRI"
Mode 0666
EndSection? :code:
11. Hopefully, things will work at this point. startx and then open a terminal. Run glxinfo and look for "direct rendering: Yes" near the top. Run glxgears and check your FPS and CPU usage.
With the normal 2D setup, my 2.6GHz laptop ran ~370 fps with 100% CPU usage. New DRI setup runs ~530 fps with 12% CPU usage. All
OpenGL? screensaver modes work fine, except Lament locked up once. Tuxracer,
TuxKart?, and
FlightGear? all work fine. For Tuxracer, it will start but with a black screen. Hit Q to quit and then edit your ~/.tuxracer/options file and turn full-screen off. After this it will run fine.
Hope this helps.
This HOWTO is written by Zipslack
Letzter Editor :
Eigentümer :