View previous topic :: View next topic |
Author |
Message |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 5:37 pm Post subject: ATI RADEON 9200 SE: Need some help!! |
|
|
Hi, someone told me to post here for help in configuring my ATi CARD.
1. What modules/drivers do I need?
2. What files do I need to configure?
I have done the following:
emerge xfree-drm
emerge ati-drivers
When I run glxinfo:
Code: | bash-2.05b$ glxinfo
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x22 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None |
Also, I hear a lot about DRI modules? I do not have a clue what those are, but they seem to help... |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 7:09 pm Post subject: |
|
|
Well I managed to get glxinfo working properly... all I need to do now is enable DRI.
Does anyone know how to go about doing this? |
|
Back to top |
|
 |
black hole sun Apprentice


Joined: 14 Aug 2004 Posts: 245
|
|
Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sun Sep 05, 2004 7:27 pm Post subject: |
|
|
The radeon DRM driver will also support your card, but since it doesn't get along too well with the ATI driver you should try them separately anyway. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 7:36 pm Post subject: |
|
|
Wedge_ wrote: | The radeon DRM driver will also support your card, but since it doesn't get along too well with the ATI driver you should try them separately anyway. |
Is the radeon DRM driver is in ati-drivers?
[quote="black hole sun"]First of all unmerge xfree-drm that's not necessary and can be detrimental.
emerge unmerge xfree-drm {/quote]
By doing so? Would I also need to unmerge the ati-drivers and do merge them again?
Last edited by johnnyICON on Sun Sep 05, 2004 7:39 pm; edited 1 time in total |
|
Back to top |
|
 |
black hole sun Apprentice


Joined: 14 Aug 2004 Posts: 245
|
Posted: Sun Sep 05, 2004 7:38 pm Post subject: |
|
|
You probably should. Why not, coundn't hurt
emerge unmerge xfree-drm
emerge unmerge ati-drivers
emerge ati-drivers ati-drivers-extra
fglrxconfig
# rename /etc/X11/XF86Config-4 to xorg.conf
opengl-update ati
restart X |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 7:41 pm Post subject: |
|
|
Ok will do....
This is confusing, because I read in some places that you should emerge x11-drm then emerge ati-drivers |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 7:48 pm Post subject: |
|
|
I do not have an XFree86-4 file
As well, look at this:
Quote: | Question 1.3: Which cards are supported by the driver?
The following list of supported cards is taken from the 3.7.6 driver version.
* Radeon 9000
* Radeon 9100
* Radeon M9/M9+
* Radeon M10
* Radeon 8500
* Radeon 9200 / 9200 Pro / 9200 LE / 9200 SE
* Radeon 9500 / 9500 Pro
* Radeon 9600 / 9600 Pro / 9600 SE / 9600 TX / 9600 XT
* Radeon 9700 / 9700 Pro
* Radeon 9800 / 9800 Pro / 9800 SE / 9800 LE / 9800 XT
* ATI FireGL 8700, 8800, E1, E2, X1, X2, Z1
* FireGL T2
NOTE: If your card is not listed, you will not be able to use this driver. Older ATI cards should be supported by the opensource "radeon" and "ati" drivers that are supplied as part of XFree or Xorg. Newer ATI cards (eg X800 family) will hopefully be supported in a future version of the ATI binary driver. |
|
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 7:52 pm Post subject: |
|
|
Here are the instructions that I followed:
stustill wrote: | I have a Radeon 7000 (I think, it is whatever the original Radeon was called), and here is how I got my card working!
Compile MTRR into the kernel. Do NOT compile in DRM, say no to it, we will add this in later ourselves. Next, to your USE flags add:
Code: |
radeon -sis -rage128 -matrox -3dfx -gamma -i8x0
|
Now type:
This will install DRM, and the USE flags force it to only compile radeon support. Add radeon to /etc/modules.autoload, so that on reboot it loads the radeon module, and use modprobe radeon to initialize without rebooting. Next, make sure you uncomment the following lines in /etc/X11/XF86Config:
Code: |
Load "glx"
Load "dri"
|
And that in Section "Device", that you make sure that the Driver is "radeon"
Ohh, and don't forget to uncomment Section "Dri". Now startx, and try running glxinfo. If it mentions radeon as being the card it is using for rendering then it is working, should look something like this:
Code: |
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20020611 AGP 1x x86/MMX/3DNow! TCL
OpenGL version string: 1.2 Mesa 4.0.4
|
Hope that helps, that is how I got it working. If you have any problems, just tell me which part you got stuck on, and I can try explaining it better, good luck though
Stu[/code] |
|
|
Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sun Sep 05, 2004 8:05 pm Post subject: |
|
|
OK, firstly, the radeon DRM driver and the ATI driver are totally separate and different things: the radeon driver is opensource and is provided with X - the ATI driver is part binary and is provided by ATI.
You only ever need one of x11-drm and ati-drivers installed - installing both may cause problems.
As I said before, both drivers support your card, so you have the choice of which to use.
For the ATI drivers, you should follow the instructions in the FAQ black hole sun linked to, but unmerge the x11-drm package before you start. Don't worry if you don't have an XF86Config-4 or xorg.conf file yet, the "fglrxconfig" program will create it for you (just make sure you tell it to output the file to the correct location).
For the radeon driver, you should remove the ATI driver, then follow the instructions that you've posted above, replacing "xfree-drm" with "x11-drm". In the past, it was recommended to use the DRM support in the kernel if you were using 2.6, but I don't know if that's still the case. Try it anyway, and if it doesn't work, enable the "Direct Rendering Manager" setting in the Character Devices section of the kernel config, then enable the "ATI Radeon" option below that. That will give you a "radeon" module to load just as emerging x11-drm would. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 8:13 pm Post subject: |
|
|
Ooops. I meant to say in my first pose that I emerged x11-drm... is that the same as xfree-drm? |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 9:42 pm Post subject: |
|
|
Code: | bash-2.05b# fglrxconfig
bash: fglrxconfig: command not found
|
|
|
Back to top |
|
 |
Kathryl Tux's lil' helper


Joined: 08 Feb 2004 Posts: 110
|
Posted: Sun Sep 05, 2004 9:44 pm Post subject: |
|
|
"locate fglrxconfig" => /opt/ati/bin/fglrxconfig ... |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 9:49 pm Post subject: |
|
|
glxinfo doesn't work either.
I have ati-drivers and ati-drivers-extra installed:
Quote: | * media-video/ati-drivers
Latest version available: 3.11.1
Latest version installed: 3.11.1
Size of downloaded files: 3,781 kB
Homepage: http://www.ati.com
Description: Ati precompiled drivers for r350, r300, r250 and r200 chipsets
License: ATI
* media-video/ati-drivers-extra
Latest version available: 3.9.0
Latest version installed: 3.9.0
Size of downloaded files: 4,184 kB
Homepage: http://www.ati.com
Description: Ati precompiled drivers extra application
License: ATI GPL-2 QPL-1.0 |
|
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 10:32 pm Post subject: |
|
|
Kathryl wrote: | "locate fglrxconfig" => /opt/ati/bin/fglrxconfig ... |
What do I do with this? |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Sun Sep 05, 2004 11:58 pm Post subject: |
|
|
Well here's an update for anyone who is just viewing this.
I had x11-drm and ati-drivers emerged, but as suggested, I unmerged x11-drm and kept ati-drivers (I unmerged both than emerged the one).
I am trying to use fglrxconfig in order to create a XFree86-4 config, but when I try to do so, it gives me this:
As user:
Code: | $ fglrxinfo
bash: fglrxinfo: command not found |
As root:
Code: | # fglrxinfo
bash: fglrxinfo: command not found |
Can anyone help? |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Mon Sep 06, 2004 1:39 am Post subject: |
|
|
Still here...  |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Mon Sep 06, 2004 3:03 am Post subject: |
|
|
No one have a clue why I can't run fglrxconfig ??? |
|
Back to top |
|
 |
black hole sun Apprentice


Joined: 14 Aug 2004 Posts: 245
|
Posted: Mon Sep 06, 2004 3:10 am Post subject: |
|
|
Before you run that command, do
su - |
|
Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Mon Sep 06, 2004 9:50 am Post subject: |
|
|
You might need to run env-update, and/or su to root first. You should always be able to run it with "/opt/ati/bin/fglrxconfig".
xfree-drm is the same thing as x11-drm, I guess they just made the name a bit more general since you have the choice between XFree and Xorg at the moment. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Tue Sep 07, 2004 11:46 pm Post subject: |
|
|
black hole sun wrote: | Before you run that command, do
su - |
Code: | bash-2.05b# su -
icon-linux root # fglrxinfo
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: unable to open display :0
icon-linux root #
|
|
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Tue Sep 07, 2004 11:51 pm Post subject: |
|
|
Wedge_ wrote: | You might need to run env-update, and/or su to root first. You should always be able to run it with "/opt/ati/bin/fglrxconfig".
xfree-drm is the same thing as x11-drm, I guess they just made the name a bit more general since you have the choice between XFree and Xorg at the moment. |
OH MY GOD!!!!
YOU'RE MY HERO!!
env-update:
Code: | icon-linux root # env-update
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
icon-linux root # locate fglrxconfig
/opt/ati/bin/fglrxconfig
icon-linux root # fglrxconfig
==============================================================================
ATI - FIRE GL - BE THE CREATOR
==============================================================================
This program will create the ATI "XF86Config-4" file
- based on your selections - for the below listed boardtypes...
- ATI Radeon 8500 / 9100
- ATI FireGL 8700 / 8800 / E1
- ATI FireGL T2
- ATI Radeon 9000
- ATI Radeon 9200
- ATI Radeon 9500
- ATI Radeon 9600
- ATI Radeon 9700
- ATI Radeon 9800
- ATI FireGL Z1 / X1 / X2
- ATI Mobility M9
- ATI Mobility FireGL 9000
- ATI Mobility M9PLUS
The "XF86Config-4" file usually resides in /etc/X11.
Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.
|
|
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Tue Sep 07, 2004 11:51 pm Post subject: |
|
|
Thank you both, Wedge and black hole, I really appreciate it. |
|
Back to top |
|
 |
johnnyICON Apprentice


Joined: 29 Aug 2004 Posts: 296 Location: Canada
|
Posted: Wed Sep 08, 2004 12:55 am Post subject: |
|
|
Uhh.... still not out of the blue... or I am not too sure....
Uncertainty #1:
Code: |
bash-2.05b$ fgl_glxgears
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 31
Current serial number in output stream: 31
|
Uncertainty #2:
bash-2.05b$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No |
|
Back to top |
|
 |
Wedge_ Advocate


Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Wed Sep 08, 2004 10:33 am Post subject: |
|
|
Have you run "opengl-update ati"? Is the "fglrx" module loaded? Are there any errors in your XFree / Xorg logfile? _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
 |
|