https://www.slackwiki.com/api.php?action=feedcontributions&user=Phorneker&feedformat=atomSlackWiki - User contributions [en]2024-03-29T15:04:11ZUser contributionsMediaWiki 1.40.0https://www.slackwiki.com/index.php?title=ATI_Graphics&diff=3175ATI Graphics2018-10-13T02:49:34Z<p>Phorneker: /* Notes */</p>
<hr />
<div>[[Category:Hardware]]<br />
===Introduction===<br />
<br />
ATI drivers come in two flavours:<br />
<br />
1) X.Org open source 'radeon' driver - full support (accelerated 2D and 3D) for the Radeon 9200 and earlier. (Also supported for the 9200 - X850 for Slackware -current, or any Slackware newer than 11.0)<br />
<br />
2) ATI's proprietary closed source 'fglrx' driver - support for the 9500 and above (all support for earlier cards has now been dropped). This is the only driver with any support, either 2D or 3D, for the X1xxx series of cards (R500 and newer).<br />
<br />
====Kernel====<br />
<br />
AGPGART: If you have an AGP card, you should ensure AGPGART and support for your specific GART are built in the kernel (built in or module is fine)<br />
<br />
PCI Express: If you have a PCI Express card, you should ensure PCI Express support is built in the kernel.<br />
<br />
==Seting up the 'radeon' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Module or built in, plus the module under this for "ATI Radeon"<br />
<br />
===Initial Setup===<br />
Edit /etc/X11/xorg.conf<br />
<br />
In Section "Module" add:<br />
<br />
Load "glx"<br />
Load "dri"<br />
<br />
At the end of the file, add<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
(Or use 'Xorg -configure' to generate a new xorg.conf to autodetect the ATi card)<br />
<br />
===Tweaking===<br />
<br />
To increase performance for Radeon users (in particular, R300 and R400), you may also want to add the following under the "Device" section for the radeon:<br />
<br />
====AGP users====<br />
<br />
Option "AGPMode" "8" # Modify accordingly if you don't have an AGP 8x card <br />
Option "AGPFastWrite" "true" # This one has big warnings all over it, so test it first! <br />
<br />
====Mobility card users====<br />
<br />
Option "DynamicClocks" "true" # The equivalent of ATi's PowerPlay <br />
Option "BIOSHotkeys" "true" # You _might_ need this for some special function keys on your laptop <br />
<br />
====All users====<br />
<br />
Option "EnablePageFlip" "true" <br />
Option "ColorTiling" "true" <br />
<br />
===Final Check===<br />
<br />
Run 'glxinfo | grep render'. It will return something like the following (the last line will vary depending on R300/ R400, PCI/ PCIE or AGP, etc). The important thing is that this reports "direct rendering: yes".<br />
<br />
direct rendering: Yes<br />
OpenGL renderer string: Mesa DRI R300 20060815 AGP 8x x86/MMX+/3DNow!+/SSE TCL<br />
<br />
===Notes===<br />
<br />
'''R300 - R400:'''<br />
<br />
Please note that these cards do not have accelerated hardware support in X.Org < 6.9 (i.e. Slackware 11.0 or older)<br />
<br />
'''R500 (X1xxx and above)'''<br />
<br />
Sorry, there is no open source accelerated support in X for these cards. Either use fglrx or vesa.<br />
<br />
'''R600'''<br />
<br />
For the ATI Radeon Mobility 2600 (the built in video on the HP Compaq 8510p), the '''ati''' driver can be used for accelerated support. The amdgpu driver will not work with this video board. Though the fglrx driver can be used with this video board, it is not necessary to install the proprietary driver to get this video board working.<br />
<br />
Upcoming releases of Slackware will have '''ati''' driver instead of '''radeon''', so /etc/X11/xorg.conf will have to be updated accordingly as you upgrade Slackware to the latest release. Fortunately, Slackware 14.2 (stable) configures this chipset correctly for the ATi Radeon Mobility 2600. The change is necessary<br />
only if you are running '''current''', or whenever Slackware 15.x is released.<br />
<br />
==Setting up the 'fglrx' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Libraries====<br />
<br />
The fglrx driver requires that you have the package cxxlibs installed on your system to build it.<br />
<br />
'''(Slamd64)''': You will also need the 32 bit compatibility libraries from c/<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Must *not* be built into the kernel - it should be a module (and not loaded) or not built.<br />
<br />
Frame Buffer: Must *not* be built into the kernel - it should be a module or not built (it is not compatible with the current fglrx drivers).<br />
<br />
===Installing the Driver===<br />
<br />
You will need to download the 'ATI Driver Installer' package (the RPM packages do not have support for X.Org 6.9).<br />
<br />
Once you have downloaded the installer, run it (I reccommend using sudo, as you need root permissions but also need access to the X server. You could use xhost+ and then su, but this is not safe).<br />
<br />
sudo sh ati-driver-installer-$VERSION-$ARCH.run<br />
<br />
You need to select the 'Install driver' (the ATI installer cannot generate a Slackware package), and then it is reccommended you choose "automatic" on the next screen. The driver will now install itself.<br />
<br />
Make sure that you mount tmpfs for 3D acceleration, or you can get unexpected results.<br />
<br />
ie: <br />
'FGLTexMgr: open of shared memory object failed (Function not implemented)<br />
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!<br />
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!'<br />
<br />
Add the following to /etc/fstab:<br />
tmpfs /dev/shm tmpfs defaults 0 0<br />
then 'mount /dev/shm' on a console<br />
<br />
===Patching the Driver===<br />
<br />
If you are running the latest kernel, more often than not you will need to patch the fglrx driver. At the very least, you will need to manually rebuild it if you change your kernel - follow instruction 1 if necessary, then 2 and 3.<br />
<br />
There is no central repository of these, so it is not possible to point you to a specific place to check for them (although the [http://ati.cchtml.com Unofficial ATI Bugzilla] or [http://www.rage3d.com/board/forumdisplay.php?f=88 Rage3D Linux Drivers forum] are good places to check).<br />
<br />
Once you have downloaded the patches:<br />
<br />
1. Apply them in /lib/modules/fglrx (or /lib/modules/fglrx/build_mod)<br />
<br />
cd /lib/modules/fglrx/build_mod<br />
cat somepatch.diff | patch -p1<br />
<br />
2. Rebuild the fglrx module<br />
<br />
sh /lib/modules/fglrx/build_mod/make.sh<br />
<br />
N.B. Modules built are kernel specific - you can only build a module for the kernel you are currently running.<br />
<br />
3. Install the module<br />
<br />
sh /lib/modules/fglrx/make_install.sh<br />
<br />
===Configuring the X server===<br />
<br />
If you have not installed the fglrx driver before, run:<br />
<br />
aticonfig --initial --input=/etc/X11/xorg.conf<br />
aticonfig --ovt=Xv<br />
<br />
This will add an fglrx 'Section "Device"' to /etc/X11/xorg.conf and enable video overlay (enables video playback)<br />
<br />
Edit /etc/X11/xorg.conf (you need to do this with root permissions)<br />
<br />
Find:<br />
<br />
1) A 'Section "Device"' that contains fglrx<br />
2) 'Section "Screen"'<br />
<br />
Then:<br />
<br />
1) Under the Section "Device" that contains fglrx<br /><br />
1A). Make a note of the value of "Indentifier"<br /><br />
<br />
2) Under Section "Screen", replace the value of "Device" with the value you just noted from fglrx<br />
<br />
At the end of /etc/X11/xorg.conf, add this section (This allows all users to access the direct rendering mode - without it, you can't use acceleration as a user):<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
Restart the X server<br />
<br />
===Final Check===<br />
<br />
To check that fglrx has been installed and setup correctly, run 'fglrxinfo' in a terminal under X. It should return something like:<br />
<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: MOBILITY RADEON X700 Generic<br />
OpenGL version string: 2.0.5642 (8.22.5)<br />
<br />
(The 'renderer' string will vary depending on the chip your card actually has).<br />
<br />
===Uninstalling the driver===<br />
<br />
With root permissions, run:<br />
<br />
sh /usr/share/fglrx/fglrx-uninstall.sh</div>Phornekerhttps://www.slackwiki.com/index.php?title=ATI_Graphics&diff=3174ATI Graphics2018-10-13T02:46:43Z<p>Phorneker: /* Notes */ Updated information for configuring the R600 chipset to work with X11.</p>
<hr />
<div>[[Category:Hardware]]<br />
===Introduction===<br />
<br />
ATI drivers come in two flavours:<br />
<br />
1) X.Org open source 'radeon' driver - full support (accelerated 2D and 3D) for the Radeon 9200 and earlier. (Also supported for the 9200 - X850 for Slackware -current, or any Slackware newer than 11.0)<br />
<br />
2) ATI's proprietary closed source 'fglrx' driver - support for the 9500 and above (all support for earlier cards has now been dropped). This is the only driver with any support, either 2D or 3D, for the X1xxx series of cards (R500 and newer).<br />
<br />
====Kernel====<br />
<br />
AGPGART: If you have an AGP card, you should ensure AGPGART and support for your specific GART are built in the kernel (built in or module is fine)<br />
<br />
PCI Express: If you have a PCI Express card, you should ensure PCI Express support is built in the kernel.<br />
<br />
==Seting up the 'radeon' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Module or built in, plus the module under this for "ATI Radeon"<br />
<br />
===Initial Setup===<br />
Edit /etc/X11/xorg.conf<br />
<br />
In Section "Module" add:<br />
<br />
Load "glx"<br />
Load "dri"<br />
<br />
At the end of the file, add<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
(Or use 'Xorg -configure' to generate a new xorg.conf to autodetect the ATi card)<br />
<br />
===Tweaking===<br />
<br />
To increase performance for Radeon users (in particular, R300 and R400), you may also want to add the following under the "Device" section for the radeon:<br />
<br />
====AGP users====<br />
<br />
Option "AGPMode" "8" # Modify accordingly if you don't have an AGP 8x card <br />
Option "AGPFastWrite" "true" # This one has big warnings all over it, so test it first! <br />
<br />
====Mobility card users====<br />
<br />
Option "DynamicClocks" "true" # The equivalent of ATi's PowerPlay <br />
Option "BIOSHotkeys" "true" # You _might_ need this for some special function keys on your laptop <br />
<br />
====All users====<br />
<br />
Option "EnablePageFlip" "true" <br />
Option "ColorTiling" "true" <br />
<br />
===Final Check===<br />
<br />
Run 'glxinfo | grep render'. It will return something like the following (the last line will vary depending on R300/ R400, PCI/ PCIE or AGP, etc). The important thing is that this reports "direct rendering: yes".<br />
<br />
direct rendering: Yes<br />
OpenGL renderer string: Mesa DRI R300 20060815 AGP 8x x86/MMX+/3DNow!+/SSE TCL<br />
<br />
===Notes===<br />
<br />
'''R300 - R400:'''<br />
<br />
Please note that these cards do not have accelerated hardware support in X.Org < 6.9 (i.e. Slackware 11.0 or older)<br />
<br />
'''R500 (X1xxx and above)'''<br />
<br />
Sorry, there is no open source accelerated support in X for these cards. Either use fglrx or vesa.<br />
<br />
'''R600'''<br />
<br />
For the ATI Radeon Mobility 2600 (the built in video on the HP Compaq 8510p), the '''ati''' driver can be used for accelerated support. The amdgpu driver will not work with this video board. Though the fglrx driver can be used with this video board, it is not necessary to install the proprietary driver to get this video board working.<br />
<br />
Upcoming releases of Slackware will have '''ati''' driver instead of '''radeon''', so /etc/X11/xorg.conf will have to be updated accordingly as you upgrade Slackware to the latest release.<br />
<br />
==Setting up the 'fglrx' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Libraries====<br />
<br />
The fglrx driver requires that you have the package cxxlibs installed on your system to build it.<br />
<br />
'''(Slamd64)''': You will also need the 32 bit compatibility libraries from c/<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Must *not* be built into the kernel - it should be a module (and not loaded) or not built.<br />
<br />
Frame Buffer: Must *not* be built into the kernel - it should be a module or not built (it is not compatible with the current fglrx drivers).<br />
<br />
===Installing the Driver===<br />
<br />
You will need to download the 'ATI Driver Installer' package (the RPM packages do not have support for X.Org 6.9).<br />
<br />
Once you have downloaded the installer, run it (I reccommend using sudo, as you need root permissions but also need access to the X server. You could use xhost+ and then su, but this is not safe).<br />
<br />
sudo sh ati-driver-installer-$VERSION-$ARCH.run<br />
<br />
You need to select the 'Install driver' (the ATI installer cannot generate a Slackware package), and then it is reccommended you choose "automatic" on the next screen. The driver will now install itself.<br />
<br />
Make sure that you mount tmpfs for 3D acceleration, or you can get unexpected results.<br />
<br />
ie: <br />
'FGLTexMgr: open of shared memory object failed (Function not implemented)<br />
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!<br />
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!'<br />
<br />
Add the following to /etc/fstab:<br />
tmpfs /dev/shm tmpfs defaults 0 0<br />
then 'mount /dev/shm' on a console<br />
<br />
===Patching the Driver===<br />
<br />
If you are running the latest kernel, more often than not you will need to patch the fglrx driver. At the very least, you will need to manually rebuild it if you change your kernel - follow instruction 1 if necessary, then 2 and 3.<br />
<br />
There is no central repository of these, so it is not possible to point you to a specific place to check for them (although the [http://ati.cchtml.com Unofficial ATI Bugzilla] or [http://www.rage3d.com/board/forumdisplay.php?f=88 Rage3D Linux Drivers forum] are good places to check).<br />
<br />
Once you have downloaded the patches:<br />
<br />
1. Apply them in /lib/modules/fglrx (or /lib/modules/fglrx/build_mod)<br />
<br />
cd /lib/modules/fglrx/build_mod<br />
cat somepatch.diff | patch -p1<br />
<br />
2. Rebuild the fglrx module<br />
<br />
sh /lib/modules/fglrx/build_mod/make.sh<br />
<br />
N.B. Modules built are kernel specific - you can only build a module for the kernel you are currently running.<br />
<br />
3. Install the module<br />
<br />
sh /lib/modules/fglrx/make_install.sh<br />
<br />
===Configuring the X server===<br />
<br />
If you have not installed the fglrx driver before, run:<br />
<br />
aticonfig --initial --input=/etc/X11/xorg.conf<br />
aticonfig --ovt=Xv<br />
<br />
This will add an fglrx 'Section "Device"' to /etc/X11/xorg.conf and enable video overlay (enables video playback)<br />
<br />
Edit /etc/X11/xorg.conf (you need to do this with root permissions)<br />
<br />
Find:<br />
<br />
1) A 'Section "Device"' that contains fglrx<br />
2) 'Section "Screen"'<br />
<br />
Then:<br />
<br />
1) Under the Section "Device" that contains fglrx<br /><br />
1A). Make a note of the value of "Indentifier"<br /><br />
<br />
2) Under Section "Screen", replace the value of "Device" with the value you just noted from fglrx<br />
<br />
At the end of /etc/X11/xorg.conf, add this section (This allows all users to access the direct rendering mode - without it, you can't use acceleration as a user):<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
Restart the X server<br />
<br />
===Final Check===<br />
<br />
To check that fglrx has been installed and setup correctly, run 'fglrxinfo' in a terminal under X. It should return something like:<br />
<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: MOBILITY RADEON X700 Generic<br />
OpenGL version string: 2.0.5642 (8.22.5)<br />
<br />
(The 'renderer' string will vary depending on the chip your card actually has).<br />
<br />
===Uninstalling the driver===<br />
<br />
With root permissions, run:<br />
<br />
sh /usr/share/fglrx/fglrx-uninstall.sh</div>Phornekerhttps://www.slackwiki.com/index.php?title=ATI_Graphics&diff=3170ATI Graphics2018-05-10T19:58:44Z<p>Phorneker: /* Notes */</p>
<hr />
<div>[[Category:Hardware]]<br />
===Introduction===<br />
<br />
ATI drivers come in two flavours:<br />
<br />
1) X.Org open source 'radeon' driver - full support (accelerated 2D and 3D) for the Radeon 9200 and earlier. (Also supported for the 9200 - X850 for Slackware -current, or any Slackware newer than 11.0)<br />
<br />
2) ATI's proprietary closed source 'fglrx' driver - support for the 9500 and above (all support for earlier cards has now been dropped). This is the only driver with any support, either 2D or 3D, for the X1xxx series of cards (R500 and newer).<br />
<br />
====Kernel====<br />
<br />
AGPGART: If you have an AGP card, you should ensure AGPGART and support for your specific GART are built in the kernel (built in or module is fine)<br />
<br />
PCI Express: If you have a PCI Express card, you should ensure PCI Express support is built in the kernel.<br />
<br />
==Seting up the 'radeon' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Module or built in, plus the module under this for "ATI Radeon"<br />
<br />
===Initial Setup===<br />
Edit /etc/X11/xorg.conf<br />
<br />
In Section "Module" add:<br />
<br />
Load "glx"<br />
Load "dri"<br />
<br />
At the end of the file, add<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
(Or use 'Xorg -configure' to generate a new xorg.conf to autodetect the ATi card)<br />
<br />
===Tweaking===<br />
<br />
To increase performance for Radeon users (in particular, R300 and R400), you may also want to add the following under the "Device" section for the radeon:<br />
<br />
====AGP users====<br />
<br />
Option "AGPMode" "8" # Modify accordingly if you don't have an AGP 8x card <br />
Option "AGPFastWrite" "true" # This one has big warnings all over it, so test it first! <br />
<br />
====Mobility card users====<br />
<br />
Option "DynamicClocks" "true" # The equivalent of ATi's PowerPlay <br />
Option "BIOSHotkeys" "true" # You _might_ need this for some special function keys on your laptop <br />
<br />
====All users====<br />
<br />
Option "EnablePageFlip" "true" <br />
Option "ColorTiling" "true" <br />
<br />
===Final Check===<br />
<br />
Run 'glxinfo | grep render'. It will return something like the following (the last line will vary depending on R300/ R400, PCI/ PCIE or AGP, etc). The important thing is that this reports "direct rendering: yes".<br />
<br />
direct rendering: Yes<br />
OpenGL renderer string: Mesa DRI R300 20060815 AGP 8x x86/MMX+/3DNow!+/SSE TCL<br />
<br />
===Notes===<br />
<br />
'''R300 - R400:'''<br />
<br />
Please note that these cards do not have accelerated hardware support in X.Org < 6.9 (i.e. Slackware 11.0 or older)<br />
<br />
'''R500 (X1xxx and above)'''<br />
<br />
Sorry, there is no open source accelerated support in X for these cards. Either use fglrx or vesa.<br />
<br />
'''R600'''<br />
<br />
For the ATI Radeon Mobility 2600 (the built in video on the HP Compaq 8510p), the '''radeon''' driver can be used for accelerated support. The amdgpu driver will not work with this video board. Though the fglrx driver can be used with this video board, it is not necessary to install the proprietary driver to get this video board working.<br />
<br />
==Setting up the 'fglrx' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Libraries====<br />
<br />
The fglrx driver requires that you have the package cxxlibs installed on your system to build it.<br />
<br />
'''(Slamd64)''': You will also need the 32 bit compatibility libraries from c/<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Must *not* be built into the kernel - it should be a module (and not loaded) or not built.<br />
<br />
Frame Buffer: Must *not* be built into the kernel - it should be a module or not built (it is not compatible with the current fglrx drivers).<br />
<br />
===Installing the Driver===<br />
<br />
You will need to download the 'ATI Driver Installer' package (the RPM packages do not have support for X.Org 6.9).<br />
<br />
Once you have downloaded the installer, run it (I reccommend using sudo, as you need root permissions but also need access to the X server. You could use xhost+ and then su, but this is not safe).<br />
<br />
sudo sh ati-driver-installer-$VERSION-$ARCH.run<br />
<br />
You need to select the 'Install driver' (the ATI installer cannot generate a Slackware package), and then it is reccommended you choose "automatic" on the next screen. The driver will now install itself.<br />
<br />
Make sure that you mount tmpfs for 3D acceleration, or you can get unexpected results.<br />
<br />
ie: <br />
'FGLTexMgr: open of shared memory object failed (Function not implemented)<br />
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!<br />
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!'<br />
<br />
Add the following to /etc/fstab:<br />
tmpfs /dev/shm tmpfs defaults 0 0<br />
then 'mount /dev/shm' on a console<br />
<br />
===Patching the Driver===<br />
<br />
If you are running the latest kernel, more often than not you will need to patch the fglrx driver. At the very least, you will need to manually rebuild it if you change your kernel - follow instruction 1 if necessary, then 2 and 3.<br />
<br />
There is no central repository of these, so it is not possible to point you to a specific place to check for them (although the [http://ati.cchtml.com Unofficial ATI Bugzilla] or [http://www.rage3d.com/board/forumdisplay.php?f=88 Rage3D Linux Drivers forum] are good places to check).<br />
<br />
Once you have downloaded the patches:<br />
<br />
1. Apply them in /lib/modules/fglrx (or /lib/modules/fglrx/build_mod)<br />
<br />
cd /lib/modules/fglrx/build_mod<br />
cat somepatch.diff | patch -p1<br />
<br />
2. Rebuild the fglrx module<br />
<br />
sh /lib/modules/fglrx/build_mod/make.sh<br />
<br />
N.B. Modules built are kernel specific - you can only build a module for the kernel you are currently running.<br />
<br />
3. Install the module<br />
<br />
sh /lib/modules/fglrx/make_install.sh<br />
<br />
===Configuring the X server===<br />
<br />
If you have not installed the fglrx driver before, run:<br />
<br />
aticonfig --initial --input=/etc/X11/xorg.conf<br />
aticonfig --ovt=Xv<br />
<br />
This will add an fglrx 'Section "Device"' to /etc/X11/xorg.conf and enable video overlay (enables video playback)<br />
<br />
Edit /etc/X11/xorg.conf (you need to do this with root permissions)<br />
<br />
Find:<br />
<br />
1) A 'Section "Device"' that contains fglrx<br />
2) 'Section "Screen"'<br />
<br />
Then:<br />
<br />
1) Under the Section "Device" that contains fglrx<br /><br />
1A). Make a note of the value of "Indentifier"<br /><br />
<br />
2) Under Section "Screen", replace the value of "Device" with the value you just noted from fglrx<br />
<br />
At the end of /etc/X11/xorg.conf, add this section (This allows all users to access the direct rendering mode - without it, you can't use acceleration as a user):<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
Restart the X server<br />
<br />
===Final Check===<br />
<br />
To check that fglrx has been installed and setup correctly, run 'fglrxinfo' in a terminal under X. It should return something like:<br />
<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: MOBILITY RADEON X700 Generic<br />
OpenGL version string: 2.0.5642 (8.22.5)<br />
<br />
(The 'renderer' string will vary depending on the chip your card actually has).<br />
<br />
===Uninstalling the driver===<br />
<br />
With root permissions, run:<br />
<br />
sh /usr/share/fglrx/fglrx-uninstall.sh</div>Phornekerhttps://www.slackwiki.com/index.php?title=ATI_Graphics&diff=3169ATI Graphics2018-05-10T19:58:05Z<p>Phorneker: /* Notes */</p>
<hr />
<div>[[Category:Hardware]]<br />
===Introduction===<br />
<br />
ATI drivers come in two flavours:<br />
<br />
1) X.Org open source 'radeon' driver - full support (accelerated 2D and 3D) for the Radeon 9200 and earlier. (Also supported for the 9200 - X850 for Slackware -current, or any Slackware newer than 11.0)<br />
<br />
2) ATI's proprietary closed source 'fglrx' driver - support for the 9500 and above (all support for earlier cards has now been dropped). This is the only driver with any support, either 2D or 3D, for the X1xxx series of cards (R500 and newer).<br />
<br />
====Kernel====<br />
<br />
AGPGART: If you have an AGP card, you should ensure AGPGART and support for your specific GART are built in the kernel (built in or module is fine)<br />
<br />
PCI Express: If you have a PCI Express card, you should ensure PCI Express support is built in the kernel.<br />
<br />
==Seting up the 'radeon' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Module or built in, plus the module under this for "ATI Radeon"<br />
<br />
===Initial Setup===<br />
Edit /etc/X11/xorg.conf<br />
<br />
In Section "Module" add:<br />
<br />
Load "glx"<br />
Load "dri"<br />
<br />
At the end of the file, add<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
(Or use 'Xorg -configure' to generate a new xorg.conf to autodetect the ATi card)<br />
<br />
===Tweaking===<br />
<br />
To increase performance for Radeon users (in particular, R300 and R400), you may also want to add the following under the "Device" section for the radeon:<br />
<br />
====AGP users====<br />
<br />
Option "AGPMode" "8" # Modify accordingly if you don't have an AGP 8x card <br />
Option "AGPFastWrite" "true" # This one has big warnings all over it, so test it first! <br />
<br />
====Mobility card users====<br />
<br />
Option "DynamicClocks" "true" # The equivalent of ATi's PowerPlay <br />
Option "BIOSHotkeys" "true" # You _might_ need this for some special function keys on your laptop <br />
<br />
====All users====<br />
<br />
Option "EnablePageFlip" "true" <br />
Option "ColorTiling" "true" <br />
<br />
===Final Check===<br />
<br />
Run 'glxinfo | grep render'. It will return something like the following (the last line will vary depending on R300/ R400, PCI/ PCIE or AGP, etc). The important thing is that this reports "direct rendering: yes".<br />
<br />
direct rendering: Yes<br />
OpenGL renderer string: Mesa DRI R300 20060815 AGP 8x x86/MMX+/3DNow!+/SSE TCL<br />
<br />
===Notes===<br />
<br />
'''R300 - R400:'''<br />
<br />
Please note that these cards do not have accelerated hardware support in X.Org < 6.9 (i.e. Slackware 11.0 or older)<br />
<br />
'''R500 (X1xxx and above)'''<br />
<br />
Sorry, there is no open source accelerated support in X for these cards. Either use fglrx or vesa.<br />
<br />
'''R600'''<br />
<br />
For the ATI Radeon Mobility 2600 (the built in video on the HP Compaq 8510p), the '''radeon''' driver must be used for accelerated support. The amdgpu driver will not work with this video board. Though the fglrx driver can be used with this video board, it is not necessary to install the proprietary driver to get this video board working.<br />
<br />
==Setting up the 'fglrx' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Libraries====<br />
<br />
The fglrx driver requires that you have the package cxxlibs installed on your system to build it.<br />
<br />
'''(Slamd64)''': You will also need the 32 bit compatibility libraries from c/<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Must *not* be built into the kernel - it should be a module (and not loaded) or not built.<br />
<br />
Frame Buffer: Must *not* be built into the kernel - it should be a module or not built (it is not compatible with the current fglrx drivers).<br />
<br />
===Installing the Driver===<br />
<br />
You will need to download the 'ATI Driver Installer' package (the RPM packages do not have support for X.Org 6.9).<br />
<br />
Once you have downloaded the installer, run it (I reccommend using sudo, as you need root permissions but also need access to the X server. You could use xhost+ and then su, but this is not safe).<br />
<br />
sudo sh ati-driver-installer-$VERSION-$ARCH.run<br />
<br />
You need to select the 'Install driver' (the ATI installer cannot generate a Slackware package), and then it is reccommended you choose "automatic" on the next screen. The driver will now install itself.<br />
<br />
Make sure that you mount tmpfs for 3D acceleration, or you can get unexpected results.<br />
<br />
ie: <br />
'FGLTexMgr: open of shared memory object failed (Function not implemented)<br />
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!<br />
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!'<br />
<br />
Add the following to /etc/fstab:<br />
tmpfs /dev/shm tmpfs defaults 0 0<br />
then 'mount /dev/shm' on a console<br />
<br />
===Patching the Driver===<br />
<br />
If you are running the latest kernel, more often than not you will need to patch the fglrx driver. At the very least, you will need to manually rebuild it if you change your kernel - follow instruction 1 if necessary, then 2 and 3.<br />
<br />
There is no central repository of these, so it is not possible to point you to a specific place to check for them (although the [http://ati.cchtml.com Unofficial ATI Bugzilla] or [http://www.rage3d.com/board/forumdisplay.php?f=88 Rage3D Linux Drivers forum] are good places to check).<br />
<br />
Once you have downloaded the patches:<br />
<br />
1. Apply them in /lib/modules/fglrx (or /lib/modules/fglrx/build_mod)<br />
<br />
cd /lib/modules/fglrx/build_mod<br />
cat somepatch.diff | patch -p1<br />
<br />
2. Rebuild the fglrx module<br />
<br />
sh /lib/modules/fglrx/build_mod/make.sh<br />
<br />
N.B. Modules built are kernel specific - you can only build a module for the kernel you are currently running.<br />
<br />
3. Install the module<br />
<br />
sh /lib/modules/fglrx/make_install.sh<br />
<br />
===Configuring the X server===<br />
<br />
If you have not installed the fglrx driver before, run:<br />
<br />
aticonfig --initial --input=/etc/X11/xorg.conf<br />
aticonfig --ovt=Xv<br />
<br />
This will add an fglrx 'Section "Device"' to /etc/X11/xorg.conf and enable video overlay (enables video playback)<br />
<br />
Edit /etc/X11/xorg.conf (you need to do this with root permissions)<br />
<br />
Find:<br />
<br />
1) A 'Section "Device"' that contains fglrx<br />
2) 'Section "Screen"'<br />
<br />
Then:<br />
<br />
1) Under the Section "Device" that contains fglrx<br /><br />
1A). Make a note of the value of "Indentifier"<br /><br />
<br />
2) Under Section "Screen", replace the value of "Device" with the value you just noted from fglrx<br />
<br />
At the end of /etc/X11/xorg.conf, add this section (This allows all users to access the direct rendering mode - without it, you can't use acceleration as a user):<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
Restart the X server<br />
<br />
===Final Check===<br />
<br />
To check that fglrx has been installed and setup correctly, run 'fglrxinfo' in a terminal under X. It should return something like:<br />
<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: MOBILITY RADEON X700 Generic<br />
OpenGL version string: 2.0.5642 (8.22.5)<br />
<br />
(The 'renderer' string will vary depending on the chip your card actually has).<br />
<br />
===Uninstalling the driver===<br />
<br />
With root permissions, run:<br />
<br />
sh /usr/share/fglrx/fglrx-uninstall.sh</div>Phornekerhttps://www.slackwiki.com/index.php?title=ATI_Graphics&diff=3168ATI Graphics2018-05-10T19:56:09Z<p>Phorneker: /* Notes */</p>
<hr />
<div>[[Category:Hardware]]<br />
===Introduction===<br />
<br />
ATI drivers come in two flavours:<br />
<br />
1) X.Org open source 'radeon' driver - full support (accelerated 2D and 3D) for the Radeon 9200 and earlier. (Also supported for the 9200 - X850 for Slackware -current, or any Slackware newer than 11.0)<br />
<br />
2) ATI's proprietary closed source 'fglrx' driver - support for the 9500 and above (all support for earlier cards has now been dropped). This is the only driver with any support, either 2D or 3D, for the X1xxx series of cards (R500 and newer).<br />
<br />
====Kernel====<br />
<br />
AGPGART: If you have an AGP card, you should ensure AGPGART and support for your specific GART are built in the kernel (built in or module is fine)<br />
<br />
PCI Express: If you have a PCI Express card, you should ensure PCI Express support is built in the kernel.<br />
<br />
==Seting up the 'radeon' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Module or built in, plus the module under this for "ATI Radeon"<br />
<br />
===Initial Setup===<br />
Edit /etc/X11/xorg.conf<br />
<br />
In Section "Module" add:<br />
<br />
Load "glx"<br />
Load "dri"<br />
<br />
At the end of the file, add<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
(Or use 'Xorg -configure' to generate a new xorg.conf to autodetect the ATi card)<br />
<br />
===Tweaking===<br />
<br />
To increase performance for Radeon users (in particular, R300 and R400), you may also want to add the following under the "Device" section for the radeon:<br />
<br />
====AGP users====<br />
<br />
Option "AGPMode" "8" # Modify accordingly if you don't have an AGP 8x card <br />
Option "AGPFastWrite" "true" # This one has big warnings all over it, so test it first! <br />
<br />
====Mobility card users====<br />
<br />
Option "DynamicClocks" "true" # The equivalent of ATi's PowerPlay <br />
Option "BIOSHotkeys" "true" # You _might_ need this for some special function keys on your laptop <br />
<br />
====All users====<br />
<br />
Option "EnablePageFlip" "true" <br />
Option "ColorTiling" "true" <br />
<br />
===Final Check===<br />
<br />
Run 'glxinfo | grep render'. It will return something like the following (the last line will vary depending on R300/ R400, PCI/ PCIE or AGP, etc). The important thing is that this reports "direct rendering: yes".<br />
<br />
direct rendering: Yes<br />
OpenGL renderer string: Mesa DRI R300 20060815 AGP 8x x86/MMX+/3DNow!+/SSE TCL<br />
<br />
===Notes===<br />
<br />
'''R300 - R400:'''<br />
<br />
Please note that these cards do not have accelerated hardware support in X.Org < 6.9 (i.e. Slackware 11.0 or older)<br />
<br />
'''R500 (X1xxx and above)'''<br />
<br />
Sorry, there is no open source accelerated support in X for these cards. Either use fglrx or vesa.<br />
<br />
'''R600'''<br />
<br />
For the ATI Radeon Mobility 2600 (the built in video on the HP Compaq 8510p), the '''radeon''' driver must be used for accelerated support. The amdgpu driver will not work with this video board.<br />
<br />
==Setting up the 'fglrx' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Libraries====<br />
<br />
The fglrx driver requires that you have the package cxxlibs installed on your system to build it.<br />
<br />
'''(Slamd64)''': You will also need the 32 bit compatibility libraries from c/<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Must *not* be built into the kernel - it should be a module (and not loaded) or not built.<br />
<br />
Frame Buffer: Must *not* be built into the kernel - it should be a module or not built (it is not compatible with the current fglrx drivers).<br />
<br />
===Installing the Driver===<br />
<br />
You will need to download the 'ATI Driver Installer' package (the RPM packages do not have support for X.Org 6.9).<br />
<br />
Once you have downloaded the installer, run it (I reccommend using sudo, as you need root permissions but also need access to the X server. You could use xhost+ and then su, but this is not safe).<br />
<br />
sudo sh ati-driver-installer-$VERSION-$ARCH.run<br />
<br />
You need to select the 'Install driver' (the ATI installer cannot generate a Slackware package), and then it is reccommended you choose "automatic" on the next screen. The driver will now install itself.<br />
<br />
Make sure that you mount tmpfs for 3D acceleration, or you can get unexpected results.<br />
<br />
ie: <br />
'FGLTexMgr: open of shared memory object failed (Function not implemented)<br />
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!<br />
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!'<br />
<br />
Add the following to /etc/fstab:<br />
tmpfs /dev/shm tmpfs defaults 0 0<br />
then 'mount /dev/shm' on a console<br />
<br />
===Patching the Driver===<br />
<br />
If you are running the latest kernel, more often than not you will need to patch the fglrx driver. At the very least, you will need to manually rebuild it if you change your kernel - follow instruction 1 if necessary, then 2 and 3.<br />
<br />
There is no central repository of these, so it is not possible to point you to a specific place to check for them (although the [http://ati.cchtml.com Unofficial ATI Bugzilla] or [http://www.rage3d.com/board/forumdisplay.php?f=88 Rage3D Linux Drivers forum] are good places to check).<br />
<br />
Once you have downloaded the patches:<br />
<br />
1. Apply them in /lib/modules/fglrx (or /lib/modules/fglrx/build_mod)<br />
<br />
cd /lib/modules/fglrx/build_mod<br />
cat somepatch.diff | patch -p1<br />
<br />
2. Rebuild the fglrx module<br />
<br />
sh /lib/modules/fglrx/build_mod/make.sh<br />
<br />
N.B. Modules built are kernel specific - you can only build a module for the kernel you are currently running.<br />
<br />
3. Install the module<br />
<br />
sh /lib/modules/fglrx/make_install.sh<br />
<br />
===Configuring the X server===<br />
<br />
If you have not installed the fglrx driver before, run:<br />
<br />
aticonfig --initial --input=/etc/X11/xorg.conf<br />
aticonfig --ovt=Xv<br />
<br />
This will add an fglrx 'Section "Device"' to /etc/X11/xorg.conf and enable video overlay (enables video playback)<br />
<br />
Edit /etc/X11/xorg.conf (you need to do this with root permissions)<br />
<br />
Find:<br />
<br />
1) A 'Section "Device"' that contains fglrx<br />
2) 'Section "Screen"'<br />
<br />
Then:<br />
<br />
1) Under the Section "Device" that contains fglrx<br /><br />
1A). Make a note of the value of "Indentifier"<br /><br />
<br />
2) Under Section "Screen", replace the value of "Device" with the value you just noted from fglrx<br />
<br />
At the end of /etc/X11/xorg.conf, add this section (This allows all users to access the direct rendering mode - without it, you can't use acceleration as a user):<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
Restart the X server<br />
<br />
===Final Check===<br />
<br />
To check that fglrx has been installed and setup correctly, run 'fglrxinfo' in a terminal under X. It should return something like:<br />
<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: MOBILITY RADEON X700 Generic<br />
OpenGL version string: 2.0.5642 (8.22.5)<br />
<br />
(The 'renderer' string will vary depending on the chip your card actually has).<br />
<br />
===Uninstalling the driver===<br />
<br />
With root permissions, run:<br />
<br />
sh /usr/share/fglrx/fglrx-uninstall.sh</div>Phornekerhttps://www.slackwiki.com/index.php?title=ATI_Graphics&diff=3167ATI Graphics2018-05-10T19:55:47Z<p>Phorneker: /* Notes */ Support information about video support for the ATI Radeon Mobility 2600 was added.</p>
<hr />
<div>[[Category:Hardware]]<br />
===Introduction===<br />
<br />
ATI drivers come in two flavours:<br />
<br />
1) X.Org open source 'radeon' driver - full support (accelerated 2D and 3D) for the Radeon 9200 and earlier. (Also supported for the 9200 - X850 for Slackware -current, or any Slackware newer than 11.0)<br />
<br />
2) ATI's proprietary closed source 'fglrx' driver - support for the 9500 and above (all support for earlier cards has now been dropped). This is the only driver with any support, either 2D or 3D, for the X1xxx series of cards (R500 and newer).<br />
<br />
====Kernel====<br />
<br />
AGPGART: If you have an AGP card, you should ensure AGPGART and support for your specific GART are built in the kernel (built in or module is fine)<br />
<br />
PCI Express: If you have a PCI Express card, you should ensure PCI Express support is built in the kernel.<br />
<br />
==Seting up the 'radeon' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Module or built in, plus the module under this for "ATI Radeon"<br />
<br />
===Initial Setup===<br />
Edit /etc/X11/xorg.conf<br />
<br />
In Section "Module" add:<br />
<br />
Load "glx"<br />
Load "dri"<br />
<br />
At the end of the file, add<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
(Or use 'Xorg -configure' to generate a new xorg.conf to autodetect the ATi card)<br />
<br />
===Tweaking===<br />
<br />
To increase performance for Radeon users (in particular, R300 and R400), you may also want to add the following under the "Device" section for the radeon:<br />
<br />
====AGP users====<br />
<br />
Option "AGPMode" "8" # Modify accordingly if you don't have an AGP 8x card <br />
Option "AGPFastWrite" "true" # This one has big warnings all over it, so test it first! <br />
<br />
====Mobility card users====<br />
<br />
Option "DynamicClocks" "true" # The equivalent of ATi's PowerPlay <br />
Option "BIOSHotkeys" "true" # You _might_ need this for some special function keys on your laptop <br />
<br />
====All users====<br />
<br />
Option "EnablePageFlip" "true" <br />
Option "ColorTiling" "true" <br />
<br />
===Final Check===<br />
<br />
Run 'glxinfo | grep render'. It will return something like the following (the last line will vary depending on R300/ R400, PCI/ PCIE or AGP, etc). The important thing is that this reports "direct rendering: yes".<br />
<br />
direct rendering: Yes<br />
OpenGL renderer string: Mesa DRI R300 20060815 AGP 8x x86/MMX+/3DNow!+/SSE TCL<br />
<br />
===Notes===<br />
<br />
'''R300 - R400:'''<br />
<br />
Please note that these cards do not have accelerated hardware support in X.Org < 6.9 (i.e. Slackware 11.0 or older)<br />
<br />
'''R500 (X1xxx and above)'''<br />
<br />
Sorry, there is no open source accelerated support in X for these cards. Either use fglrx or vesa.<br />
<br />
'''R600'''<br />
<br />
For the ATI Radeon Mobility 2600 (the built in video on the HP Compaq 8510p), the radeon driver must be used for accelerated support. The amdgpu driver will not work with this video board.<br />
<br />
==Setting up the 'fglrx' driver==<br />
<br />
===Preparing Your System===<br />
<br />
====Libraries====<br />
<br />
The fglrx driver requires that you have the package cxxlibs installed on your system to build it.<br />
<br />
'''(Slamd64)''': You will also need the 32 bit compatibility libraries from c/<br />
<br />
====Kernel====<br />
<br />
Direct Rendering Manager (DRM): Must *not* be built into the kernel - it should be a module (and not loaded) or not built.<br />
<br />
Frame Buffer: Must *not* be built into the kernel - it should be a module or not built (it is not compatible with the current fglrx drivers).<br />
<br />
===Installing the Driver===<br />
<br />
You will need to download the 'ATI Driver Installer' package (the RPM packages do not have support for X.Org 6.9).<br />
<br />
Once you have downloaded the installer, run it (I reccommend using sudo, as you need root permissions but also need access to the X server. You could use xhost+ and then su, but this is not safe).<br />
<br />
sudo sh ati-driver-installer-$VERSION-$ARCH.run<br />
<br />
You need to select the 'Install driver' (the ATI installer cannot generate a Slackware package), and then it is reccommended you choose "automatic" on the next screen. The driver will now install itself.<br />
<br />
Make sure that you mount tmpfs for 3D acceleration, or you can get unexpected results.<br />
<br />
ie: <br />
'FGLTexMgr: open of shared memory object failed (Function not implemented)<br />
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!<br />
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!'<br />
<br />
Add the following to /etc/fstab:<br />
tmpfs /dev/shm tmpfs defaults 0 0<br />
then 'mount /dev/shm' on a console<br />
<br />
===Patching the Driver===<br />
<br />
If you are running the latest kernel, more often than not you will need to patch the fglrx driver. At the very least, you will need to manually rebuild it if you change your kernel - follow instruction 1 if necessary, then 2 and 3.<br />
<br />
There is no central repository of these, so it is not possible to point you to a specific place to check for them (although the [http://ati.cchtml.com Unofficial ATI Bugzilla] or [http://www.rage3d.com/board/forumdisplay.php?f=88 Rage3D Linux Drivers forum] are good places to check).<br />
<br />
Once you have downloaded the patches:<br />
<br />
1. Apply them in /lib/modules/fglrx (or /lib/modules/fglrx/build_mod)<br />
<br />
cd /lib/modules/fglrx/build_mod<br />
cat somepatch.diff | patch -p1<br />
<br />
2. Rebuild the fglrx module<br />
<br />
sh /lib/modules/fglrx/build_mod/make.sh<br />
<br />
N.B. Modules built are kernel specific - you can only build a module for the kernel you are currently running.<br />
<br />
3. Install the module<br />
<br />
sh /lib/modules/fglrx/make_install.sh<br />
<br />
===Configuring the X server===<br />
<br />
If you have not installed the fglrx driver before, run:<br />
<br />
aticonfig --initial --input=/etc/X11/xorg.conf<br />
aticonfig --ovt=Xv<br />
<br />
This will add an fglrx 'Section "Device"' to /etc/X11/xorg.conf and enable video overlay (enables video playback)<br />
<br />
Edit /etc/X11/xorg.conf (you need to do this with root permissions)<br />
<br />
Find:<br />
<br />
1) A 'Section "Device"' that contains fglrx<br />
2) 'Section "Screen"'<br />
<br />
Then:<br />
<br />
1) Under the Section "Device" that contains fglrx<br /><br />
1A). Make a note of the value of "Indentifier"<br /><br />
<br />
2) Under Section "Screen", replace the value of "Device" with the value you just noted from fglrx<br />
<br />
At the end of /etc/X11/xorg.conf, add this section (This allows all users to access the direct rendering mode - without it, you can't use acceleration as a user):<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
Restart the X server<br />
<br />
===Final Check===<br />
<br />
To check that fglrx has been installed and setup correctly, run 'fglrxinfo' in a terminal under X. It should return something like:<br />
<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: MOBILITY RADEON X700 Generic<br />
OpenGL version string: 2.0.5642 (8.22.5)<br />
<br />
(The 'renderer' string will vary depending on the chip your card actually has).<br />
<br />
===Uninstalling the driver===<br />
<br />
With root permissions, run:<br />
<br />
sh /usr/share/fglrx/fglrx-uninstall.sh</div>Phorneker