Converting Xorg from fglrx to ati driver

For some strange reason, I was having crash issues using fglrx on my desktop. In addition, my laptop would sometimes kernel fault using the fglrx. Both systems use ATI chipsets that are supported under the Linux kernel's radeon.ko driver.


# List Video cards
$ lspci | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
#
# OR this
#

$ lspci | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Radeon X1300/X1550 Series]
01:00.1 Display controller: ATI Technologies Inc RV516 [Radeon X1300 Pro] (Secondary)
#
# Unload the fglrx driver:
#

$ modprobe -r fglrx
#
# make sure it's gone
#

$ lsmod
#
# Make sure your kernel has DRI and radeon installed
#

$ egrep '(CONFIG_DRM=|CONFIG_DRM_RADEON=)' /lib/modules/`uname -r`/build/.config
CONFIG_DRM=m
CONFIG_DRM_RADEON=m
#
# Uninstall the ati-drivers: (in Gentoo Linux)
#

$ emerge -C ati-drivers
#
# Create a new xorg.conf, or at the very least remove the entries that pointed to the fglrx driver.
#

$ X -configure
#
# then edit /root/xorg.conf.new
#

$ vim /root/xorg.conf.new
#
# Reinstall mesa and xorg-server
# Ati-drivers tend to overwrite some files, and the X server will still try and load the fglrx.ko kernel module.

$ emerge -avt1 mesa xorg-server
#
# You may want the xrandr library and command
#

$ emerge -avtu1 xrandr1 libXrandr

Anyways, these were the steps I ended up having to do to get things to work right. Xrandr allowed me to use multiple monitors, but only in the stretched way. I had to increase the Virtual desktop size to about 3000 x 2000. Your results may vary.

Recent comments