r128 dual-head error

Warren Block wblock at wonkity.com
Tue Apr 14 04:22:19 UTC 2009


On Mon, 13 Apr 2009, John Nielsen wrote:

> I'm trying to get dual-head + Xinerama going on a Dell Inspiron 4000 laptop
> so I can use both the integrated flat panel and an external CRT.

Multiple screens aren't done with Xinerama any more.  xrandr is the new 
way.

> From what I can tell I have my xorg.conf configured properly and it's trying
> to do the right thing but it's throwing an error when initializing the
> secondary screen:
>
> (EE) R128(1): Unable to map MMIO aperture. Invalid argument (22)

Don't know about r128 specifically, but that's an old-style xorg.conf.

> How should I go about troubleshooting this?

Rework your xorg.conf, example below.

Notes:

Only one Device section for a single video card.
Overall screen size defined as Virtual:
For side-by-side: (monitor1X + monitor2x) X max(monitor1y,monitor2y)
    1024+1920 x max(768,1200) = 2944x1200

Monitor positions on virtual screen set in Monitor sections.
Monitor/video connectors set in Device section.
Don't know if AccelMethod EXA works on r128.

Section "ServerLayout"
 	Identifier   "X.org Configured"
 	Screen       0  "Screen0" 0 0
EndSection

Section "Files"
 	ModulePath   "/usr/local/lib/xorg/modules"
 	FontPath     "/usr/local/lib/X11/fonts/misc/"
 	FontPath     "/usr/local/lib/X11/fonts/TTF/"
 	FontPath     "/usr/local/lib/X11/fonts/OTF"
 	FontPath     "/usr/local/lib/X11/fonts/Type1/"
 	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
 	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
 	FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
EndSection

Section "DRI"
 	Group 0
 	Mode  0660
EndSection

Section "Monitor"
 	Identifier   "Monitor0"
 	VendorName   "HWP"
 	ModelName    "2615"
 	Option       "PreferredMode" "1920x1200"
 	Option       "Position" "1024 0"
 	Option       "DPMS"
EndSection

Section "Monitor"
 	Identifier   "Monitor1"
 	VendorName   "PHL"
 	ModelName    "Philips 150B3"
 	Option       "PreferredMode" "1024x768"
 	Option       "Position" "0 0"
EndSection

Section "Device"
         Identifier  "Card0"
         Driver      "radeon"
 	VendorName  "ATI Technologies Inc"
 	BoardName   "Radeon X1650 Pro"
 	BusID       "PCI:1:0:0"
 	Option      "AccelMethod" "EXA"
 	Option      "Monitor-DVI-0" "Monitor0"
 	Option      "Monitor-DVI-1" "Monitor1"
EndSection

Section "Screen"
 	Identifier "Screen0"
 	Device     "Card0"
 	Monitor    "Monitor0"
 	SubSection "Display"
 		Virtual 2944 1200
 	EndSubSection
EndSection

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-x11 mailing list