Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI RADEON 9200 SE: Need some help!!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 5:37 pm    Post subject: ATI RADEON 9200 SE: Need some help!! Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
black hole sun
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 245

PostPosted: Sun Sep 05, 2004 7:21 pm    Post subject: Reply with quote

First of all unmerge xfree-drm that's not necessary and can be detrimental.

emerge unmerge xfree-drm

Now check out this FAQ

http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Sep 05, 2004 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
black hole sun
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 245

PostPosted: Sun Sep 05, 2004 7:38 pm    Post subject: Reply with quote

You probably should. Why not, coundn't hurt :D

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 7:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 7:52 pm    Post subject: Reply with quote

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:
Code:
emerge xfree-drm


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
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Sep 05, 2004 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 8:13 pm    Post subject: Reply with quote

Ooops. I meant to say in my first pose that I emerged x11-drm... is that the same as xfree-drm?
Back to top
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 9:42 pm    Post subject: Reply with quote

Code:
bash-2.05b# fglrxconfig
bash: fglrxconfig: command not found
Back to top
View user's profile Send private message
Kathryl
Tux's lil' helper
Tux's lil' helper


Joined: 08 Feb 2004
Posts: 110

PostPosted: Sun Sep 05, 2004 9:44 pm    Post subject: Reply with quote

"locate fglrxconfig" => /opt/ati/bin/fglrxconfig ...
Back to top
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 9:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 10:32 pm    Post subject: Reply with quote

Kathryl wrote:
"locate fglrxconfig" => /opt/ati/bin/fglrxconfig ...


What do I do with this?
Back to top
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Sun Sep 05, 2004 11:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Mon Sep 06, 2004 1:39 am    Post subject: Reply with quote

:D :D :D :D :D :D :D :D :D :D :D :D :D :D Still here... :D :D :D :D :D :D :D :D :D :D :D :D :D :D
Back to top
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Mon Sep 06, 2004 3:03 am    Post subject: Reply with quote

No one have a clue why I can't run fglrxconfig ???
Back to top
View user's profile Send private message
black hole sun
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 245

PostPosted: Mon Sep 06, 2004 3:10 am    Post subject: Reply with quote

Before you run that command, do

su -
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Mon Sep 06, 2004 9:50 am    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Tue Sep 07, 2004 11:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Tue Sep 07, 2004 11:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Tue Sep 07, 2004 11:51 pm    Post subject: Reply with quote

Thank you both, Wedge and black hole, I really appreciate it.
Back to top
View user's profile Send private message
johnnyICON
Apprentice
Apprentice


Joined: 29 Aug 2004
Posts: 296
Location: Canada

PostPosted: Wed Sep 08, 2004 12:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Sep 08, 2004 10:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum