<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joe Lanman &#187; ati</title>
	<atom:link href="http://www.joelanman.com/by_tag/ati/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joelanman.com</link>
	<description>Web design and development when not playing computer games</description>
	<lastBuildDate>Sat, 18 Dec 2010 19:10:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Having cake and also eating it: Compiz and dual-head on an ATI HD 2600</title>
		<link>http://www.joelanman.com/2008/08/having-cake-and-also-eating-it-compiz-and-dual-head-on-an-ati-hd-2600/</link>
		<comments>http://www.joelanman.com/2008/08/having-cake-and-also-eating-it-compiz-and-dual-head-on-an-ati-hd-2600/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 18:28:57 +0000</pubDate>
		<dc:creator>Joe Lanman</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[dual-head]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.joelanman.com/?p=7</guid>
		<description><![CDATA[Only a day after complaining about my ATI card running under Ubuntu, I seem to have a solved a lot of the issues. Slightly embarrassing. To recap &#8211; my system is set up like this: HP 8510p laptop with an ATI HD 2600 mobility card running Ubuntu 8.04 with a 1680&#215;1050 screen, often connected to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm4.static.flickr.com/3221/2766634586_45365b50d0_m.jpg" alt="dual head photo" /></p>
<p>Only a day after complaining about my ATI card running under Ubuntu, I seem to have a solved a lot of the issues. Slightly embarrassing.  To recap &#8211; my system is set up like this:</p>
<p>HP 8510p laptop with an ATI HD 2600 mobility card running Ubuntu 8.04 with a 1680&#215;1050 screen, often connected to an external monitor (same resolution).</p>
<p>My ideal setup would be like this:</p>
<ul>
<li>&#8216;Big desktop&#8217; mode when plugged into an external monitor, allowing windows to be dragged between screens.</li>
<li>When the monitor is unplugged, to continue working on the laptop screen, without restarting Xorg.</li>
<li> Compiz-fusion providing &#8216;expose&#8217; functionality amongst other things.</li>
<li>Generally not having crashes would be nice.</li>
</ul>
<p><span id="more-7"></span> My first forays into the world of ATI/Linux video configuration went like this:</p>
<ol>
<li>No dual-head out of the box, Compiz-fusion won&#8217;t run on the default open source drivers.</li>
<li>Installing the proprietary drivers enables Compiz, but no obvious way to dual-head.</li>
<li>Running the ati-config command enables dual-head, but it sets up two screens and displays in the xorg.conf. This means that windows cannot be dragged between them, and it seems to only support hardware acceleration on the primary screen. Also it seems unstable &#8211; xorg often crashes on a restart(ctrl-alt-backspace)</li>
</ol>
<p><strong>The Solution</strong></p>
<p>After browsing various <a href="http://www.ailis.de/~k/archives/16-Commercial-ATI-Linux-Display-Driver.html" class="aga aga_3">blogs</a> and <a href="http://ubuntuforums.org/showthread.php?p=1773544" class="aga aga_4">forum threads</a>, I arrived at an xorg.conf that works for me, using the proprietary fglrx driver. The important sections are listed below.  Note:</p>
<ul>
<li>DesktopSetup is set to &#8216;vertical,reverse&#8217; in order to have my second monitor above my laptop.</li>
<li>In the Display subsection, virtual is set to 1680 x 1050 &#8211; the size of the second monitor.</li>
</ul>
<pre>Section "Device"
	Identifier	"Configured Video Device"
	Boardname	"ATI Radeon"
	Busid		"PCI:1:0:0"
	Driver		"fglrx"
	Screen	0
	Vendorname	"ATI"
	Option		"MergedFB"	"off"
	Option		"DesktopSetup"	"vertical,reverse"
	Option		"Mode2"	"1680x1050"
	Option		"ForceMonitors"	"lvds,vga-0"
EndSection
Section "Screen"
	Identifier	"Default Screen"
	Device		"Configured Video Device"
	Monitor		"Configured Monitor"
	Defaultdepth	24
	SubSection "Display"
		Depth	24
		Modes		"1680x1050@60"
		Virtual	1680	1050
	EndSubSection
EndSection</pre>
<p><strong>xRandR</strong></p>
<p>With xorg configured correctly, I&#8217;m using <a href="http://www.x.org/wiki/Projects/XRandR" class="aga aga_5">xRandR</a> to switch between desktop configurations.  Simply running &#8216;xrandr&#8217; in the console should give you a list of possible configurations. For me, option 0 is my &#8216;big desktop&#8217; &#8211; 1680 x 2100, with option 1 being just the single laptop screen. The commands to switch between the two are therefore:</p>
<pre>xrandr -s 0</pre>
<p>and</p>
<pre>xrandr -s 1</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.joelanman.com/2008/08/having-cake-and-also-eating-it-compiz-and-dual-head-on-an-ati-hd-2600/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.573 seconds -->

