Current ATI/AMD r500 support in Linux

As I have complained several times before, I have problems with my ATI Technologies Inc M52 [ATI Mobility Radeon X1300] card on IBM/Lenovo T60 (don't you just love those company name changes?!)

I have been tracking two git repositories for drivers:

  • git://anongit.freedesktop.org/git/avivo/xf86-video-avivo
    Older reverse engineering effort to which I contributed PCI ID of my card
  • git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd
    Newer effort based on AMD specification which developers from Novell received ahead of rest of Open Source community

Last time I reviewed the problem, both of those drivers where broken for my box.

This time, I must report that avivo driver is now finding my card, and in fact, I'm typing this blog post using it :-)

Even xrandr is reporting something which seems sane:

Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1400 x 1400
VGA unknown connection 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x800       60.0* 
   1280x768       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
LFP connected 1400x1050+0+0 (normal left inverted right x axis y axis) 305mm x 228mm
   1400x1050      60.0*+   50.0  
   1280x1024      59.9  
   1280x800       60.0  
   1280x768       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0     59.9  

I will have to plug in external monitor to test this out! /me happy

OOH, radeon-hd is showing just blank screen. So, don't give up upon avido driver yet!

The most useful hint for testing drivers from git is to simply do:

ln -sf /usr/lib/xorg/ /usr/local/lib/xorg

because both of those drivers have tendency to install into /usr/local by default (which is good), but then Debian installed Xorg won't find it. I could have done ./configure --prefix=/usr, but autogen.sh in git repository doesn't have that, and who wants to thing about small things all the time?!