xrandr: adding a second display to screen 0 [radeon]

martin f krafft madduck at madduck.net
Mon Feb 18 02:22:44 PST 2008


also sprach martin f krafft <madduck at madduck.net> [2008.02.18.0959 +0100]:
> Is it possible to achieve what I want to do? I am somewhat disturbed
> by the maximum of 1280x1200 (1500k). Is this hard-coded into the
> driver? Can I increase the maximum to 3840k somehow (my long term
> goal is a triple-head 3x1280x1024 config) so that I can accomodate
> multiple displays?

I reread http://wiki.debian.org/XStrikeForce/HowToRandR12, which has
been updated a lot since I last checked it out. I came up with an
xorg.conf file, which provides me with a single 2560x1024 screen
(attached), and now xrandr -q says:

  Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 2560 x 1024
  VGA-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 0mm x 0mm
    1280x1024_60.00   60.0*+
    1600x1024      60.0
    1280x960       60.0
    1280x800       60.0
    1152x768       54.8
    800x600        56.2
    640x480        59.9
  DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 375mm x 301mm
    1280x1024      60.0*+   75.0     59.9
    1024x768       75.1     70.1     60.0
    832x624        74.6
    800x600        72.2     75.0     60.3     56.2
    640x480        75.0     72.8     66.7     60.0
    720x400        70.1
  S-video disconnected (normal left inverted right x axis y axis)

This feels pretty good. Unfortunately, the VGA-0 screen still stays
off and the LED is blinking as if it was in DPMS powersave mode.

Unfortunately, the screen seems to simply extend across the two
displays, so the Xinerama protocol does not seem to be provided and
fluxbox cannot distinguish between heads.

If I add Option "Xinerama" "on" to the ServerLayout, then X crashes
during startup with an incantation of the FontFileCompleteXLFD backtrace.

The logs are attached.

Backtrace:
0: /usr/bin/X11/X(xf86SigHandler+0x6a) [0x47568a]
1: /lib/libc.so.6 [0x2ab3086ed240]
2: /usr/bin/X11/X(RRCrtcSetRotations+0) [0x519ba0]
3: /usr/bin/X11/X(xf86RandR12SetRotations+0x74) [0x4b2404]
4: /usr/bin/X11/X(xf86CrtcScreenInit+0xa3) [0x4ae013]
5: /usr/lib/xorg/modules/drivers//radeon_drv.so(RADEONScreenInit+0xf1f) [0x2ab30a98b30f]
6: /usr/bin/X11/X(AddScreen+0x238) [0x4361f8]
7: /usr/bin/X11/X(InitOutput+0x266) [0x4683b6]
8: /usr/bin/X11/X(main+0x29f) [0x4369af]
9: /lib/libc.so.6(__libc_start_main+0xf4) [0x2ab3086da1c4]
10: /usr/bin/X11/X(FontFileCompleteXLFD+0x279) [0x435ec9]

Fatal server error:
Caught signal 11.  Server aborting

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
ubuntu is an ancient african word meaning "i can't install debian."
                                                          -- unknown
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
# /etc/X11/xorg.conf (xorg X Window System server configuration file)

Section "ServerFlags"
  Option      "DontZap" "yes"
  Option      "AllowDeactivateGrabs" "yes"
  Option      "AllowClosedownGrabs" "yes"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
	Option		"XkbOptions"	"ctrl:nocaps"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Monitor"
    Identifier      "Acer AL922[1]"
    DisplaySize     1280 1024
EndSection

Section "Monitor"
	  Identifier      "MRM B18XA"
	  HorizSync       24-80
	  VertRefresh     30-60
    DisplaySize     1280 1024
    # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
    Modeline        "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
    Option          "PreferredMode" "1280x1024_60.00"
    Option          "Enable" "true"
    Option          "RightOf" "Acer AL922[1]"
EndSection

Section "Device"
	  Identifier      "Radeon 9200"
    Driver          "ati"
    BusID           "PCI:1:0:0"
    Option          "AccelMethod"   "EXA"
    Option          "Monitor-DVI-0" "Acer AL922[1]"
    Option          "Monitor-VGA-0" "MRM B18XA"
EndSection

Section "Screen"
    Identifier      "Default Screen"
    Device          "Radeon 9200"
    DefaultDepth    24
    SubSection "Display"
        Depth       24
        Virtual     2560 1024
    EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log.bz2
Type: application/octet-stream
Size: 10480 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080218/750658b9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log.Xinerama.bz2
Type: application/octet-stream
Size: 9739 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080218/750658b9/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.x.org/archives/xorg/attachments/20080218/750658b9/attachment.pgp>


More information about the xorg mailing list