Two Screens with Radeon... How?

Alex Deucher alexdeucher at gmail.com
Sat Jan 14 08:18:25 PST 2006


On 1/14/06, Hamish Marson <hamish at travellingkiwi.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alex Deucher wrote:
>
> > On 1/12/06, Hamish Marson <hamish at travellingkiwi.com> wrote:
> >
>
> [deleted]
>
> >
> >> somethting along the lines of what's below should get you going.
> >> You may need to define a modeline for the 1680x1050 mode or
> >> define the hsync or vrefresh ranges in your monitor sections.
> >> Also, ignore the secondary radeon pci id. it's just a flag used
> >> to make dualhead work on windows 2000. see the radeon man page
> >> for more information.
> >
> >> Section "ServerLayout" Identifier "Layout" InputDevice
> >> "Keyboard[0]" "CoreKeyboard" InputDevice "Mouse[1]"
> >> "CorePointer" Screen 0 "Screen[0]" 0 0 Screen 1
> >> "Screen[1]" RightOf "Screen[0]" EndSection
> >
> >> Section "Screen" DefaultDepth 24 SubSection "Display" Depth
> >> 24 Modes "1680x1050" EndSubSection Device "Device[0]"
> >> Identifier "Screen[0]" Monitor "Monitor[0]" EndSection
> >
> >> Section "Screen" DefaultDepth 24 SubSection "Display" Depth
> >> 24 Modes "1024x768" EndSubSection Device "Device[1]"
> >> Identifier "Screen[1]" Monitor "Monitor[1]" EndSection
> >
> >> Section "Device" BoardName "Radeon" BusID "1:0:0"
> >> Driver "radeon" Identifier "Device[0]" Screen 0
> >> Option "MonitorLayout" "TMDS, CRT" EndSection
> >
> >> Section "Device" BoardName "Radeon" BusID "1:0:0"
> >> Driver "radeon" Identifier "Device[1]" Screen 1
> >> EndSection
> >
> >> Section "Monitor" Identifier "Monitor[0]" EndSection
> >
> >> Section "Monitor" Identifier "Monitor[1]" EndSection
> >
> >
> Bingo.
>
> Thatks for that Alex. Seems the bit I was missing is the
> 'DefaultDepth' statement for the second screen, plus explicitly
> disabling the mergedFB. Then cloning disables & I get two displays
> (0.0 and 0.1).
>
> A pity KDE wan't move windows betwene them like it can between
> desktops, but until I can get mergednonrectangular working (Gentoo
> amd64 and 7.0 doesn't work yet, it compiles but coredumps) it will do.
>
> I might investigate kde a bit more & see whether it's capable of
> treating two pseudo xinerama displays as separate desktops as well...
>

if you want one big virtual desktop, just add:
Option "xinerama" "true"
to your serverflags or screenlayout section.

> Oh. One thing that the radeo driver still gets wrong is the amount of
> memory. And it won't let me override it... Tells me it KNOWS the mem
> is 128MB & won't believe it's a 256MB card...
>

the radeon driver clips all cards at 128 MB.  vram above 128 MB is not
accessable by the host CPU.  It's only accessable by the radeon
itself.  there are some patches in bugzilla and in my radeon output
re-work to report the actual  amount of ram and then clip it
internally.  There's also a patch to use the additional ram for
texture memory.  e.g.

(--) RADEON(0): Linear framebuffer at 0xb0000000
(--) RADEON(0): VideoRAM: 262144 kByte (256 bit DDR SDRAM)
(II) RADEON(0): PCIE card detected

https://bugs.freedesktop.org/show_bug.cgi?id=5353
http://www.botchco.com/alex/xorg/superpatch/


Alex

>
> > TIA
> >
> > Hamish.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDyRdj/3QXwQQkZYwRAlUpAKDI5qaNefYZuy9tbE53MjiXGCnzywCdHd8k
> beZoM2+4RRvylheXXIMWZrI=
> =jgmB
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>



More information about the xorg mailing list