DualHead on alubook (radeon)
From ArchWiki
Contents |
Introduction
Quick notes of what I did to have dualhead on the alubook (powerbook5,6 model 02/2005) with an Apple Cinema Display with DVI. I have a Radeon RV350; it should work with r200, r250 and r300 drivers. The configuration works well without step 2 and 3 on a vga screen.
Edit /etc/X11/xorg.conf
Full file: xorg.conf
Edited sections:
- Server layout:
Section "ServerLayout" Identifier "X.Org Configured" Screen 0 "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection
- Modules
Section "Module" Load "GLcore" Load "i2c" Load "extmod" Load "bitmap" Load "ddc" Load "dri" Load "vbe" #Load "dbe" Load "record" Load "glx" Load "int10" Load "type1" Load "freetype" #Load "fbdevhw" Load "v4l" EndSection
- Monitors:
Section "Monitor" Identifier "LCD" Option "DPMS" #HorizSync 30-130 #VertRefresh 50-160 #Modeline "1280x854" 79.815 1280 1296 1408 1536 854 855 858 866 -HSync -VSync EndSection Section "Monitor" Identifier "AppleCinemaDisplay" Option "DPMS" "true" #Modeline "1680x1050" 149.01 1680 1760 1944 2280 1050 1050 1052 1089 #60EndSection EndSection
(Note: if you comment ddc above uncomment modelines too)
- Card:
Section "Device" Identifier "Card0" Option "EnablePageFlip" "off" # Increases performance Option "SWcursor" "false" # Use Software Cursor Option "NoAccel" "false" # Disable Hardware Acceleration Option "AGPMode" "4" # Set AGP data transfer rate, DRI only Option "AGPFastWrite" "true" # Use AGP Fast Write, DRI only Option "RenderAccel" "on" # Hardware acceleration Option "IgnoreEDID" "off" Option "DynamicClocks" "on" Option "MetaModes" "1280x854 1280x854-1680x1050" Option "MergedFB" "true" Option "MergedDPI" "100 100" Option "MergedNonRectangular" "true" Option "CRT2Position" "RightOf" Driver "radeon" BusID "PCI:0:16:0" EndSection Section "Device" Identifier "Card1" Driver "radeon" BusID "PCI:0:16:0" Screen 1 EndSection
- Screens:
Section "Screen" Identifier "Screen0" Device "Card0" Monitor "LCD" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x854" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "AppleCinemaDisplay" DefaultColorDepth 24 SubSection "Display" Depth 24 Modes "1680x1050" #ViewPort 0 0 EndSubSection EndSection
Download radeontools source
wget http://ozlabs.org/~jk/docs/mergefb/radeontool-hacked.tar.gz make
(Note: a copy of radeontools-hacked.tar.gz is on Arch Linux PPC ftp.
Radeon tools use
[benoitc@enlil ~]$ sudo bin/radeontool regmatch FP_GEN_CNTL FP_GEN_CNTL (0284) 0x00034048 0x00034048 is the initial model value [benoitc@enlil ~]$ sudo bin/radeontool regset FP_GEN_CNTL $((0x00034048 & ~0x0c07 | 0x0405)) OLD: FP_GEN_CNTL (0284) 0x00034048 NEW: FP_GEN_CNTL (0284) 0x000344cd
This step doesn't do anything on the lappy. But using the xmode script is useful. When I launched X, I execute xmode singe and that's it. xmode dual seems to produce errors. After some hours the external screen is very hot anyway...
Sources