Joe Lanman

Web design and development when not playing computer games

Having cake and also eating it: Compiz and dual-head on an ATI HD 2600

Published on August 15, 2008

dual head photo

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 – my system is set up like this:

HP 8510p laptop with an ATI HD 2600 mobility card running Ubuntu 8.04 with a 1680×1050 screen, often connected to an external monitor (same resolution).

My ideal setup would be like this:

  • ‘Big desktop’ mode when plugged into an external monitor, allowing windows to be dragged between screens.
  • When the monitor is unplugged, to continue working on the laptop screen, without restarting Xorg.
  • Compiz-fusion providing ‘expose’ functionality amongst other things.
  • Generally not having crashes would be nice.

My first forays into the world of ATI/Linux video configuration went like this:

  1. No dual-head out of the box, Compiz-fusion won’t run on the default open source drivers.
  2. Installing the proprietary drivers enables Compiz, but no obvious way to dual-head.
  3. 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 – xorg often crashes on a restart(ctrl-alt-backspace)

The Solution

After browsing various blogs and forum threads, I arrived at an xorg.conf that works for me, using the proprietary fglrx driver. The important sections are listed below. Note:

  • DesktopSetup is set to ‘vertical,reverse’ in order to have my second monitor above my laptop.
  • In the Display subsection, virtual is set to 1680 x 1050 – the size of the second monitor.
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

xRandR

With xorg configured correctly, I’m using xRandR to switch between desktop configurations. Simply running ‘xrandr’ in the console should give you a list of possible configurations. For me, option 0 is my ‘big desktop’ – 1680 x 2100, with option 1 being just the single laptop screen. The commands to switch between the two are therefore:

xrandr -s 0

and

xrandr -s 1

Filed under: Linux
Tags: , , , ,

1 Comment

  1. Thank you for this information! This is exactly what I was looking for and saved me a lot of time. Internet at its best :-)

Leave a Reply

buy Endep where buy cheap Amitriptyline line buy Amitriptyline no visa without rx buy no online rx Donepezil buy Amitriptyline discount Amitriptyline online no prescription Amitriptyline buy on line buy Donepezil and Endep uk Endep Endep no prescription Endep capsule buy Endep pills where can i buy Endep without prescription buy Endep where purchase Endep buy Endep no prescriptions purchase generic Endep online buy Endep fed ex where buy Endep buy Anafranil pay cod Aricept drug cheap Aricept usa generic Aricept cost buy cheap generic Aricept online Aricept no prescription overnight buy cheap Nizoral on line Nizoral without prescription buy Nizoral diet pill buy cheap Nizoral online free consult Nizoral non prescription for next day delivery buy Nizoral online no prescription cheap Nizoral online buy cheap generic Nizoral buy Nizoral mastercard buy discount Lisinopril online order no online rx Lisinopril buy cheap generic Arimidex Arimidex canadian pharmacy order no online rx Arimidex Arimidex buy Abilify order online buy Abilify usa buy Abilify on line without a rx buy Finpecia without prescription to ship overnight Finpecia xr buy online cheap best buy Amitriptyline Amitriptyline from india is it safe next day fedex shipping for Famvir Buy Famvir without a Discount Famvir order Famvir purchase online Famvir without prescription purchase Famvir over the counter cod overnight Famvir fedex shipping buy Amitriptyline legally no rx cod Fluoxetine purchase Fluoxetine online buy Fluoxetine 20 mg buy Fluoxetine no perscription cod Fluoxetine cheap mexican generic Fluoxetine online buy cheap Fluoxetine without prescription Fluoxetine capsule buy no online rx Prozac order no online rx Fluoxetine where to purchase generic Famvir online without a rx Lisinopril bestellen purchase Famvir no visa online without prescription buy in Anafranil uk Anafranil capsule buy cod Anafranil where to buy Anafranil by cod buy Anafranil without a perscription buy Anafranil with american express buy Anafranil cheap buy Nizoral online no rx Lisinopril buy Lisinopril overnight us delivery no prescription Lisinopril purchase online prescription Lisinopril without buying Lisinopril online without rx maxalt online prescription no prescription Maxalt with fedex buy no perscription Maxalt buy Maxalt online pills purchase Maxalt overnight Maxalt online buy saturday delivery buy Maxalt online no prescription Lisinopril online purchase purchase Lisinopril no prescription cheap maxalt overnight no script mastercard accepted arimidex without prescription or membership no perscription arimidex order online Aricept without prescription overnight Aricept c.o.d purchase online Aricept without rx purchase Aricept online without script Aricept uk sales Amitriptyline no prior script buy Accutane 40 mg without a rx overnight delivery Accutane 40 mg 40mg buy Accutane 40 mg in india purchase Accutane 40 mg money purchase online us pharmacy 40 mg Accutane fedex 40 mg Accutane overnight without a prescription purchase Amitriptyline pay pal without rx buy Amitriptyline with american express purchase Accutane 40 mg on line no rx buy generic Accutane 40 mg canada buy brand Accutane 40 mg buy Accutane 40 mg without a perscription purchase 40 mg Accutane without a rx online 40 mg Accutane online no perscription fedex

WP SlimStat

site tracking with Asynchronous Google Analytics plugin for Multisite by WordPress Expert at Web Design Jakarta.