Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ati troubles
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Tii
l33t
l33t


Joined: 02 Jan 2004
Posts: 733

PostPosted: Thu Jan 08, 2004 3:26 pm    Post subject: Ati troubles Reply with quote

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


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 08, 2004 3:37 pm    Post subject: Reply with quote

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


Joined: 02 Jan 2004
Posts: 733

PostPosted: Thu Jan 08, 2004 4:13 pm    Post subject: Reply with quote

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


Joined: 08 Jan 2004
Posts: 1
Location: Calgary, Canada

PostPosted: Thu Jan 08, 2004 4:35 pm    Post subject: Reply with quote

Take a look at this thread

https://forums.gentoo.org/viewtopic.php?t=54793

The message from stustill (4th mesasge in the thread) fixed the problem for me on an Radeon 7500.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 08, 2004 4:35 pm    Post subject: Reply with quote

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


Joined: 02 Jan 2004
Posts: 733

PostPosted: Thu Jan 08, 2004 4:49 pm    Post subject: Reply with quote

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


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 08, 2004 5:47 pm    Post subject: Reply with quote

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


Joined: 02 Jan 2004
Posts: 733

PostPosted: Thu Jan 08, 2004 6:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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