View previous topic :: View next topic |
Author |
Message |
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Thu Jan 08, 2004 3:26 pm Post subject: Ati troubles |
|
|
I've look at some of the other ati threads and to be honest they went a bit over my head. I've done emerge ati-drivers. Then I did opengl-update ati and finally fglrxconfig and copied the config file over my old one. After that I got my game to work just fine. However most everyhting using opengl is really slow like a few fps. When I lsmod I don't get anything but I think I should be getting something. Where should I be looking to get this thing solved? |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Jan 08, 2004 3:37 pm Post subject: |
|
|
The ati-drivers package builds a module called "fglrx" which you must load in order to get 3D acceleration. You can add it to your /etc/modules.autoload.d/kernel-2.x file, where x is the correct kernel version. If you have the "UseInternalAGPGART" setting in your XF86Config file set to "yes", you don't need to load anything else. If you've got it set to "no", you need to load the kernel AGP modules, then the fglrx module before starting X.
An easy way to check if you have 3D acceleration is to run "glxinfo". The 3rd line of output should say Code: | direct rendering: Yes | if 3D acceleration is working. If not, it will say Code: | direct rendering: No |
_________________ 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 |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Thu Jan 08, 2004 4:13 pm Post subject: |
|
|
I've got "UseInternalAGPGART" set to yes but when I run "glxinfo" it says direct rendering: No. Something doesn't seem right. |
|
Back to top |
|
|
evan| n00b
Joined: 08 Jan 2004 Posts: 1 Location: Calgary, Canada
|
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Jan 08, 2004 4:35 pm Post subject: |
|
|
Is the fglrx module loaded properly? You'll need to restart X or reboot before it can be used. Also, if you have AGP support compiled into your kernel rather than built as modules, setting "UseInternalAGPGART" = "yes" generally won't work. If your kernel is set up like that, run make menuconfig (or whatever config program you prefer) and change the AGP options to modules, compile, reboot etc, then try again. _________________ 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 |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Thu Jan 08, 2004 4:49 pm Post subject: |
|
|
I have now:
<*> /dev/agpgart (AGP Support)
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
<*> ATI Radeon
Is it enough if I just put:
<M> /dev/agpgart (AGP Support)
? |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Jan 08, 2004 5:47 pm Post subject: |
|
|
Derryth wrote: | Is it enough if I just put:
<M> /dev/agpgart (AGP Support)
? |
You should also select one of the options in the list below that, which gives support for your particular type of motherboard (VIA, nForce etc). If you're using a 2.4 kernel, you can only set it as builtin (ie <*>), but on 2.6 you can also build it as a module.
Derryth wrote: | [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
<*> ATI Radeon |
As long as the ATI driver supports your card (which type is it?), you don't need either of these options selected, and they will almost always prevent the driver from working if you leave them in, so remove both of them. _________________ 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 |
|
|
Tii l33t
Joined: 02 Jan 2004 Posts: 733
|
Posted: Thu Jan 08, 2004 6:23 pm Post subject: |
|
|
Now I get:
Code: | bash-2.05b$ lsmod
Module Size Used by
fglrx 202820 177
agpgart 27144 0 |
and
Code: | direct rendering: Yes |
and it seems to be working. Well, mostly since tuxracer's graphics have gone to hell but the opengl screen savers work without a hitch. A huge thanks for your help! I would have been in real trouble without it. |
|
Back to top |
|
|
|