Two Screens with Radeon... How?

Hamish Marson hamish at travellingkiwi.com
Sat Jan 14 12:28:49 PST 2006


-----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.


Unfortunately kde doesn't seem to do what I want with xinerama
enabled. Pseudo with mergefb, or real with two separate displays. It
treats both monitors as one screen. Which means maximising goes over
both monitors, and screensavers run in the middle of both with big
black bands at the sides instead of two copies, one on each
display...  I don't tthink it's an X problem. More a kde problem, or
maybe just me (Although I did compile it (Gentoo) with xonerama
enabled, I'm not sure how to tell what it thinks it's doing... More
investigation needed. Thanks for all your help.

Hamish.

>
> 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.
>

_______________________________________________
xorg mailing list
xorg at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

> _______________________________________________ xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDyV8B/3QXwQQkZYwRAupIAJ4zAKgclmop9WIPU1nzG74P2M67LgCgqpu0
0MnqcQ1FVggLDYAMejb6fYg=
=vwGV
-----END PGP SIGNATURE-----




More information about the xorg mailing list