<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: ATI r500 driver]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?ati_r500_driver</link>
<description></description>
<pubDate>Wed, 13 Jun 2007 12:58:22 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[ATI r500 driver]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?ati_r500_driver</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: howto</div><hr/><div class="wiki">
<p>
This page describe steps needed to compile <a target="_blank" title="(external link)" href="http://lwn.net/Articles/237920/">open source r500 driver<!-- wiki-renamed-hyperlink "open source r500 driver"<http://lwn.net/Articles/237920/> --></a></p>
<p>
Installation is done on <a target="_blank" title="(external link)" href="http://www.thinkwiki.org/wiki/Category:T60&quot;">IBM T60 laptop<!-- wiki-renamed-hyperlink "IBM T60 laptop"<http://www.thinkwiki.org/wiki/Category:T60"> --></a> with 1400x1200 LCD on current Debian unstable.</p>
<pre>
# prerequesits from packages
sudo apt-get install xserver-xorg-dev

# libpciexpress
git clone git://anongit.freedesktop.org/git/xorg/lib/libpciaccess
cd libpciaccess/
./autogen.sh
make
sudo make install

# checkout source
git clone git://anongit.freedesktop.org/git/avivo/xf86-video-avivo
cd xf86-video-avivo/
./autogen.sh
./configure --prefix /usr
make
sudo make install
</pre>
<br /><p>
Then, I needed to add my card PCI ID to driver: <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/avivo-m52-pci-id.diff?action=attachments_download;page_name=ati_r500_driver;id=20070613094423-0-32380">avivo-m52-pci-id.diff</a><!-- wiki: {file: avivo-=m52-=pci-=id.diff} --></span></p>
<pre>
$ lspci -nn | grep ATI
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M52 [ATI Mobility Radeon X1300] [1002:7149]
</pre>
<br /><p>
After that, I changed <tt>/etc/X11/xorg.conf</tt> to include</p>
<pre>
Section &quot;Device&quot;
        Identifier  &quot;aticonfig-Device[0]&quot;
        Driver      &quot;avivo&quot;
EndSection
</pre>
<br /><p>
It does find card, but screen screwed and cursor has strange artifacts.</p>
<span class="nlw_phrase"><img alt="Image005+scale.jpg" src="https://saturn.ffzg.hr/rot13/index.cgi/Image005%2Bscale.jpg?action=attachments_download;page_name=ati_r500_driver;id=20070613125748-1-17884" /><!-- wiki: {image: Image005+scale.jpg} --></span><br /><br /><p>
Here is a log file: <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/Xorg.1.log?action=attachments_download;page_name=ati_r500_driver;id=20070613125118-1-32380">Xorg.1.log</a><!-- wiki: {file: Xorg.1.log} --></span></p>
</div>
<hr/><div>Attachments: avivo-m52-pci-id.diff, Image005+scale.jpg, Xorg.1.log</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>howto</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?ati_r500_driver</guid>
<pubDate>Wed, 13 Jun 2007 12:58:22 -0000</pubDate>
</item>
</channel>
</rss>