<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>&lt;p&gt;My current laptop has a beautiful piece of crap of an &lt;a href=&quot;http://ati.amd.com/products/radeonx1600/index.html&quot;&gt;ATI Mobility Radeon &lt;span class=&quot;caps&quot;&gt;X1600&lt;/span&gt;&lt;/a&gt;. At first I installed &lt;a href=&quot;http://www.ubuntu.com&quot;&gt;Ubuntu 8.04&lt;/a&gt; on it and immediately switched to the proprietary &lt;span class=&quot;caps&quot;&gt;ATI&lt;/span&gt; driver (to get more features and better support for multi-head).&lt;/p&gt;


	&lt;p&gt;However, the display always seemed sluggish.. I never use 3D or Composite, it all seemed related to 2D rendering. For instance, when I switched workspaces I often had to wait 10 seconds for windows to be redrawn.&lt;/p&gt;


	&lt;p&gt;Still, I managed to work like this for a while. One day however, I decided to try the &lt;a href=&quot;http://dri.freedesktop.org/wiki/ATIRadeon&quot;&gt;open source drivers&lt;/a&gt; (it seems they have initial support for the &lt;span class=&quot;caps&quot;&gt;R500&lt;/span&gt; chip on this graphics board).&lt;/p&gt;


	&lt;p&gt;The good news is that is supports multi-head profiles far better than the proprietary driver (&lt;a href=&quot;http://www.x.org/wiki/Projects/XRandR&quot;&gt;XRandR&lt;/a&gt; 1.2 &lt;span class=&quot;caps&quot;&gt;FTW&lt;/span&gt;!). Still, the 2D sucked, got no 3D nor XVideo overlay&amp;#8230;&lt;/p&gt;


	&lt;p&gt;I even thought &amp;#8220;oh this must be an Ubuntu thing&amp;#8221;... At the beginning of this week I managed to install &lt;a href=&quot;http://www.debian.org&quot;&gt;Debian&lt;/a&gt; Unstable on this laptop, but had the same problems using the open source &amp;#8220;radeon&amp;#8221; driver&amp;#8230;.&lt;/p&gt;


	&lt;p&gt;On a desperate move, I&amp;#8217;ve tried the latest and bleeding edge &lt;span class=&quot;caps&quot;&gt;ATI&lt;/span&gt; proprietary driver. For my surprise, all my problems were solved and the card is working properly! So I decided to log here the steps I took to get the things properly (remember, I&amp;#8217;m running Debian unstable).&lt;/p&gt;


	&lt;h3&gt;Instructions&lt;/h3&gt;

	&lt;p&gt;First, we have to download the latest drivers from &lt;span class=&quot;caps&quot;&gt;ATI&lt;/span&gt; from &lt;a href=&quot;http://ati.amd.com/support/drivers/linux/linux-radeon.html&quot;&gt;their website&lt;/a&gt; Then as root run:&lt;/p&gt;


&lt;pre&gt;
./ati-driver-installer* --extract fglrx
cd fglrx
./packages/Debian/ati-packager.sh --buildpkg sid
cd ..
dpkg -i *.deb
&lt;/pre&gt;
	&lt;p&gt;This will build &lt;code&gt;deb's&lt;/code&gt; from the &lt;span class=&quot;caps&quot;&gt;ATI&lt;/span&gt; distribution file and install them or your system. The next step is to build the actual driver, and for that you can use module-assistant like this:&lt;/p&gt;


&lt;pre&gt;
m-a prepare
m-a update
m-a a-i fglrx
&lt;/pre&gt;
	&lt;p&gt;This will build and install the &lt;code&gt;fglrx&lt;/code&gt; driver for your current installed kernel.&lt;/p&gt;


	&lt;p&gt;Then you must configure Xorg. I followed this steps:&lt;/p&gt;


&lt;pre&gt;
aticonfig --initial=dual-head --screen-layout=horizontal
&lt;/pre&gt;
	&lt;p&gt;After this I just started X and &lt;strong&gt;it worked perfectly&lt;/strong&gt;. I mean, I had horizontal BigDesktop, fast 2D rendering, 3D, XVideo overlay on both displays and suspend is working like a charm.&lt;/p&gt;


	&lt;p&gt;The only problem left is that my second display has a bigger resolution that the main one. However, the &lt;span class=&quot;caps&quot;&gt;ATI&lt;/span&gt; driver sets the second display to the same resolution as the first.&lt;/p&gt;


	&lt;p&gt;To work around this problem I just had to manually edit &lt;code&gt;/etc/X11/xorg.conf&lt;/code&gt; and add at the &lt;code&gt;Section &quot;Device&quot;&lt;/code&gt; this:&lt;/p&gt;


&lt;pre&gt;
    Option &quot;Mode2&quot; &quot;1680x1050&quot; 
&lt;/pre&gt;
	&lt;p&gt;Replace the resolution with the native resolution of your second display. Restart X and &lt;span class=&quot;caps&quot;&gt;BANG&lt;/span&gt;, it &lt;strong&gt;should&lt;/strong&gt; work :)&lt;/p&gt;


	&lt;p&gt;Hope that this instructions can help you somehow.&lt;/p&gt;</body>
  <excerpt nil="true"></excerpt>
  <id type="integer">107</id>
  <permalink>solving-2d-rendering-problems-on-an-ati-x1600</permalink>
  <published-at type="datetime">2008-05-28T11:24:00-07:00</published-at>
  <title>Solving 2D rendering problems on an ATI X1600</title>
</post>
