OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
modern dual-head success with radeonhd(4)

From: Paul de Weerd (weerdweirdnet.nl)
Date: Sat Mar 01 2008 - 08:47:08 CST


I've finally gotten dual-head to work on my Gigabyte Radeon HD 2600
Pro[1] (PCI-e 16, fanless, two dual DVI connectors, see [2]). The
trick is to update xrandr(1) to the latest src found in git.

Of course, this needs pretty recent -current, with the latest xorg
binaries. I have the following xorg.conf :

--- /etc/X11/xorg.conf -----------------------------------------------
Section "Device"
        Identifier "Radeon HD 2600 Pro"
        Driver "radeonhd"
        VendorName "ATI Technologies Inc"
        BoardName "Radeon HD 2600 Pro"
        BusID "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "MainScreen"
        Device "Radeon HD 2600 Pro"
        DefaultDepth 24
        SubSection "Display"
                Virtual 3200 1200
        EndSubSection
EndSection
----------------------------------------------------------------------

Get the xenocara sources from your local cvs mirror and go to
http://gitweb.freedesktop.org/?p=xorg/app/xrandr.git;a=tree and
download the latest xrandr.c and xrandr.man. Copy these into
${XENOCARA}/app/xrandr/ and do :

        cd ${XENOCARA}/app/xrandr
        make -f Makefile.bsd-wrapper
        sudo make -f Makefile.bsd-wrapper install

Now, when you are in X, execute :

        xrandr --output DVI-I_1/digital --left-of DVI-I_2/digital

Lo and behold, you have 2x 1600x1200. Works For Me (tm)

Just had to share this with the rest of the world ;)

Paul 'WEiRD' de Weerd

[1]: vga1 at pci1 dev 0 function 0 "ATI Radeon HD 2600" rev 0x00
[2]: http://marc.info/?l=openbsd-misc&m=118453415027058&w=2

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/