LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (http://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   ATi fglrx drivers in Gentoo + kernel 2.6.10 (http://www.linuxquestions.org/questions/linux-distributions-5/ati-fglrx-drivers-in-gentoo-kernel-2-6-10-a-298921/)

vharishankar 03-07-2005 09:08 PM

ATi fglrx drivers in Gentoo + kernel 2.6.10
 
I successfully performed emerge ati-drivers to install the ATi proprietary drivers in Gentoo. I ran fglrxconfig and copied the XF86Config-4 generated by it to /etc/X11/xorg.conf, but unfortunately startx keeps terminating with an error.

How do I configure 3d acceleration with the ATi drivers in Gentoo? Is it possible to use the radeon module to enable 3d acceleration in Gentoo?

I compiled AGP support into the kernel (agpgart) and enabled drm. Should I recompile the AGP support as a module?

vharishankar 03-08-2005 02:26 AM

I found out how to solve this problem. First of all I assume that you have compiled the DRM and agpgart into the kernel (2.6).

Run
Code:

emerge ati-drivers
Even if you don't have Xorg installed, this emerge will do it for you.

Do *not* run fglrxconfig. This will create an XF86Config-4 file which cannot be renamed into xorg.conf for it to work. Instead generate a generic xorg.conf file either by hand or by xorgconfig. Change the default driver to "fglrx" and include the ATi device options from an already generated XF86Config-4 file (by fglrxconfig). Uncomment the DRI and GLX section. Save.

Now type startx. Run glxinfo in a terminal. In the very first line you should see
Code:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes

This is the easiest way.


All times are GMT -5. The time now is 06:59 PM.