installing fglrx on gentoo
Currently, the proprietary ATI driver for Linux only supports XServer 1.6.x, or older, so installing it in Gentoo (there is XServer 1.7 in the test branch) is not very obvious at first glance.
Create the file /etc/portage/package.mask/x11 and enter it with your favorite editor:
In /etc/make.conf, type:
We load the kernel 2.6.32 (fglrx only works on it).
The latest version of gentoo-sources on branch 32 is 2.6.32-r8.
Now assemble the core in your favorite way. Be sure to disconnect the Rendering Manager core the Direct (aka drm) .
Then boot from this kernel by removing the xdm service (if used).
Remove the xserver packages: (for me they didn’t want to just do a downgrade)
emerge -C `cat /etc/portage/package.mask/x11 | xargs
and rebuild the world:
the emerge -uDN world.
Then do:
and run X11.
1. Preparation
Create the file /etc/portage/package.mask/x11 and enter it with your favorite editor:
> = x11-apps / xinput-1.5.0
= x11-base / xorg-drivers-1.7
> = x11-base / xorg-server-1.7.0
> = x11-libs / libdmx-1.0.99.0
> = x11-libs /libX11-1.2.99.0
> = x11-libs / libXext-1.0.99.0
> = x11-libs / libXi-1.2.99.0
> = x11-libs / libXinerama-1.0.99.0
> = x11-libs / libXScrnSaver-1.2.0
> = x11-libs / libXtst-1.0.99.0
> = x11-libs / libXxf86dga-1.1
> = x11-libs / libXxf86vm-1.0.99.0
> = x11-proto / bigreqsproto-1.1
> = x11-proto / dmxproto-2.2. 99
> = x11-proto / fixesproto-4.1
> = x11-proto / inputproto-1.9.99
> = x11-proto / recordproto-1.13.99.0
> = x11-proto / scrnsaverproto-1.2.0
> = x11-proto / xcmiscproto -1.2.0
> = x11-proto / xextproto-7.1.1
> = x11-proto / xf86bigfontproto-1.2.0
> = x11-proto / xf86dgaproto-2.1
> = x11-proto / xf86vidmodeproto-2.3
> = x11-proto / xineramaproto-1.2
> = media-libs / mesa-7.7
In /etc/make.conf, type:
VIDEO_CARDS = "fglrx"
We load the kernel 2.6.32 (fglrx only works on it).
The latest version of gentoo-sources on branch 32 is 2.6.32-r8.
emerge "= sys-kernel / gentoo-sources-2.6.32-r8"
Now assemble the core in your favorite way. Be sure to disconnect the Rendering Manager core the Direct (aka drm) .
Then boot from this kernel by removing the xdm service (if used).
2. Installing the ATI Proprietary Driver
Remove the xserver packages: (for me they didn’t want to just do a downgrade)
emerge -C `cat /etc/portage/package.mask/x11 | xargs
and rebuild the world:
the emerge -uDN world.
Then do:
aticonfig --initial -f
and run X11.