Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI Radeon 9200 performance?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Wed Jan 28, 2004 7:46 pm    Post subject: ATI Radeon 9200 performance? Reply with quote

What kind of performance should I be getting out of this card? I used the ATI faq to install and, I admit that I don't know what some of the options meant when doing the config, :oops: but the ones that I didn't know I just left at defaults. It doesn't seem like I'm getting nearly as good performance as I should be, things such as GL visualizations and screen savers run VERY slowly. I'd like to know what kind of things to do to check performance and what kind of performance I should be getting, thanks :)
Back to top
View user's profile Send private message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Wed Jan 28, 2004 9:41 pm    Post subject: Reply with quote

can anyone help me out? thanks
Back to top
View user's profile Send private message
homeobocks
Guru
Guru


Joined: 19 Dec 2003
Posts: 345
Location: I'm from Canada, and they say I'm a little slow . . . eh?

PostPosted: Wed Jan 28, 2004 10:02 pm    Post subject: Reply with quote

Do you have the 3d accelerated drivers?
_________________
HOW DO I SHOT WEB
Back to top
View user's profile Send private message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Wed Jan 28, 2004 10:37 pm    Post subject: Reply with quote

I emerged ati-drivers and used fglrxconfig to make the config file, but like I said, I didn't know what some of the options in there meant. If this doesn't answer your question then please explain to me how to find out. I'm a little bit of a noob, especially when it comes to video. thanks
Back to top
View user's profile Send private message
CMI
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 205

PostPosted: Wed Jan 28, 2004 10:41 pm    Post subject: Reply with quote

Code:
[washu:~] chris$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes <<<<<
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:


What do you get?
_________________
SECOMGroup - Lineman.net
LightPHPCMS - PhotoGallery
Back to top
View user's profile Send private message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Wed Jan 28, 2004 10:46 pm    Post subject: Reply with quote

here's the out put of glxinfo:
Code:
kevin@Gentoo kevin $ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   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
----------------------------------------------------------------------
0x23 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x25 24 tc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x26 24 tc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x27 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x28 24 dc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x29 24 dc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x2a 24 dc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
Back to top
View user's profile Send private message
CMI
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 205

PostPosted: Wed Jan 28, 2004 11:01 pm    Post subject: Reply with quote

You don't have direct rendering enabled.

http://www.gentoo.org/doc/en/dri-howto.xml

Notice the configre section on that link. It tells you what to do in your XFree86 config file. If you do that and still get problems, post /var/log/XFree86/0/log
_________________
SECOMGroup - Lineman.net
LightPHPCMS - PhotoGallery
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 28, 2004 11:07 pm    Post subject: Reply with quote

Actually, that guide isn't entirely appropriate for use with the ati-drivers. If you enable the Direct Rendering Manager kernel option, it can stop the drivers from working. Make sure you've done "opengl-update ati", and that the "fglrx" module is loaded before you start X, along with the kernel AGP modules (load fglrx after the the kernel modules).
_________________
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
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Wed Jan 28, 2004 11:11 pm    Post subject: Reply with quote

what kernel modules should I have compiled?

edit sorry, I only thought there was one new response :oops: I'll go through that howto and I won't enable Direct Rendering Manager
Back to top
View user's profile Send private message
CMI
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 205

PostPosted: Wed Jan 28, 2004 11:31 pm    Post subject: Reply with quote

DRM = Good.

What kernel version do you have?

Keep an eye here(https://forums.gentoo.org/viewtopic.php?t=129557) as well. Some overlapping things may come up.
_________________
SECOMGroup - Lineman.net
LightPHPCMS - PhotoGallery
Back to top
View user's profile Send private message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Wed Jan 28, 2004 11:39 pm    Post subject: Reply with quote

I have kernel version 2.4.22, drm is good? so should I enable drm pick the ATI Radeon option and then make an XF86Config file using the XF86config program and then look through it and make sure everythings right? or should I use ati-drivers and use the fglrx-config program to make the config file and then just tweak that one? or am I just totally confused? :oops: if I am totally confused, I'm sorry but maybe I'll need some more thorough help..
Back to top
View user's profile Send private message
CMI
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 205

PostPosted: Thu Jan 29, 2004 12:37 am    Post subject: Reply with quote

Its been awhile since I've done this so I'm a little hazy on some things.

Check the other post I linked you to. I just gave a response to the other guy that will get you going. I really have no idea about fglrx-config at the moment. Maybe it will come back to me. After you get all the components working OK, I'll post relevant sections of my config file for you. (remind me if I forget)
_________________
SECOMGroup - Lineman.net
LightPHPCMS - PhotoGallery
Back to top
View user's profile Send private message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Thu Jan 29, 2004 1:40 am    Post subject: Reply with quote

I've tried just about everything I've found in all the links I've gotten and anythign that I could think of and I just can't get Direct Rendering working. when I run "glxinfo | grep rendering" I get a line that says DirectRendering = no any ideas? where is this stuff in my config file? do you want me to post my config file? thanks
Back to top
View user's profile Send private message
CMI
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 205

PostPosted: Thu Jan 29, 2004 2:25 am    Post subject: Reply with quote

Code:
dmesg | grep drm


See if you get anything. Are the modules inserted? Do a lsmod for us. Also, take a look for warnings and errors in your XFree86.0.log file. We'll get this sorted out eventally.[/code]
_________________
SECOMGroup - Lineman.net
LightPHPCMS - PhotoGallery
Back to top
View user's profile Send private message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Thu Jan 29, 2004 3:14 am    Post subject: Reply with quote

There is no output on the dmesg one, here's the output of lsmod:
Code:
kevin@Gentoo kevin $ lsmod
Module                  Size  Used by    Tainted: P
fglrx                 174216   0
snd-pcm-oss            39460  50
snd-mixer-oss          13328   0 [snd-pcm-oss]
snd-intel8x0           20036  50 (autoclean)
snd-ac97-codec         42968   0 (autoclean) [snd-intel8x0]
snd-pcm                69408   0 (autoclean) [snd-pcm-oss snd-intel8x0]
snd-mpu401-uart         4128   0 (autoclean) [snd-intel8x0]
snd-rawmidi            15328   0 (autoclean) [snd-mpu401-uart]
snd-page-alloc          6644   0 (autoclean) [snd-intel8x0 snd-pcm]
snd-seq-oss            28416   0 (unused)
snd-seq-midi-event      4160   0 [snd-seq-oss]
snd-seq                44976   2 [snd-seq-oss snd-seq-midi-event]
snd-timer              16932   0 [snd-pcm snd-seq]
snd-seq-device          4212   0 [snd-rawmidi snd-seq-oss snd-seq]
snd                    36644   0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-mpu401-uart snd-rawmidi snd-seq-oss snd-seq-midi-event snd-seq snd-timer snd-seq-device]
printer                 7616   0
usb-ohci               20680   0 (unused)
usbcore                67008   1 [printer usb-ohci]
nvnet                  26208   1


and I'll post all the errors/warnings in the log file:
Code:

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) fglrx(0): board is an unknown third party board, chipset is supported


(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe0ab8000 at 0x4023b000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *


the part that's set off on the bottom was all together, it seems like the important stuff, however I dont' know what it means, thanks[/code]
Back to top
View user's profile Send private message
CMI
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 205

PostPosted: Thu Jan 29, 2004 4:18 am    Post subject: Reply with quote

Ok, you need to insert your modules (this is why I hate modules). FYI, I have no idea what "fglrx" is/does so someone should chime in on that one. Edit the module autoload file for your kernel version. For 2.4.x it should be:

/etc/modules.autoload.d/kernel-2.4

You'll need to add the names of your agp and driver modules. Mine looks like this:

Code:
agpgart
radeon


Make sure you have the modules init scritpt set to run on boot:

Code:
/sbin/rc-update add modules default


Then if it doesnt work, post the same things again.
_________________
SECOMGroup - Lineman.net
LightPHPCMS - PhotoGallery
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 29, 2004 10:52 am    Post subject: Reply with quote

@CMI: fglrx is the ATI driver module, and, as I said before, the kernel DRM or xfree-drm modules are not compatible with it. If he loads the "radeon" module, the fglrx module will thereafter refuse to load. If he loads fglrx first, then radeon, I think it would load, but wouldn't give 3D acceleration.

@Kevin72594: if the 9200 is supported by the standard radeon DRM driver, you can either use it, or you can use the ati-drivers, but not both at the same time :)

Choice #1 - DRM: follow the guide CMI posted, using the "radeon" driver. In this case, you do not need the fglrx module and can unmerge the ATI drivers.

Choice #2 - ATI driver: get rid of xfree-drm if you've emerged it (emerge -C xfree-drm). In your kernel config, select the appropriate AGP options (/dev/agpgart support + support for your motherboard) and build it as a module. Make sure "Direct Rendering Manager" is not selected. When you've recompiled your kernel + rebooted, load the agpgart module, then load the fglrx module. Run fglrxconfig if you need to, then do "opengl-update ati" and start X. If you want to add the modules to your modules.autoload/kernel-2.4 file, be sure to add them in the order
Code:
agpgart
fglrx

_________________
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
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Thu Jan 29, 2004 11:40 am    Post subject: Reply with quote

ok, thank you, I think i want to use the ati drivers, I am on my way to school right now but I'll try it as soon as I get home, thanks
Back to top
View user's profile Send private message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Thu Jan 29, 2004 8:18 pm    Post subject: Reply with quote

no luck so far you guys :? I'll try using the standard radeon DRM driver, any more ideas would be nice, I'm still getting the same warnings and errors in the log file, it doesn't make very much sense to me, what do these two lines mean?
Code:
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP


thanks for all your help so far, I hope we can get this figured out :)
Back to top
View user's profile Send private message
CMI
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 205

PostPosted: Thu Jan 29, 2004 8:21 pm    Post subject: Reply with quote

Confirm that the modules are inserted with lsmod so we can eliminate that. I googled and got this:

http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html#4_agpenomem

Edit: I think we should take a look at Wedge's sig :)

Edit2:
Quote:
http://www.wlug.org.nz/RadeonNotes:
The problem is well documented - basically, you don't have correct AGPGART support. The way I solved this on LinuxKernel2.6 was to make sure UseInternalAGPGART was set to no in the XF86Config file and rebooting - if at any stage the fglrx AGPGART has loaded, you're shit out of luck. (Ask dmesg(8))

_________________
SECOMGroup - Lineman.net
LightPHPCMS - PhotoGallery
Back to top
View user's profile Send private message
Kevin72594
Guru
Guru


Joined: 30 Dec 2003
Posts: 307

PostPosted: Thu Jan 29, 2004 9:00 pm    Post subject: Reply with quote

I fixed it :) the problem was that fglrx was with agpgart, I had to set UseInternalAGPGART to no! Thank you so much!
Back to top
View user's profile Send private message
CMI
Apprentice
Apprentice


Joined: 19 Aug 2003
Posts: 205

PostPosted: Thu Jan 29, 2004 9:06 pm    Post subject: Reply with quote

Thats a great page wedge has there. We should get the forum admins to hack that code so a link to that page is auto-replied to every post relating to X :)
_________________
SECOMGroup - Lineman.net
LightPHPCMS - PhotoGallery
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 29, 2004 9:48 pm    Post subject: Reply with quote

Great to hear it's working Kevin72594, and it's nice to see the FAQ is actually helping people :)
_________________
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
Page 1 of 1

 
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