Subject: Re: Troubles with Xinerama + radeon driver on Xorg
To: Alex <schatziegill@comcast.net>
From: brad harder <bharder@methodlogic.net>
List: netbsd-users
Date: 07/17/2007 17:19:37
On Tue, Jul 17, 2007 at 02:56:42PM -0700, Alex wrote:
> Quick facts:
> - xorg.conf can be found here: http://cl1p.net/xorgconf/
> - I have an ATI Radeon 9800 (AGP) with a DVI and VGA port.
> - "screen0" is an LCD monitor ("ibm") connected to a DVI-to-VGA adaptor 
> ("dvi2vga")
> - "screen1" is a CRT monitor ("viewsonic") connected to a VGA port ("vga")
> 
> I want to use Xinerama with these two monitors, but its behavior is a 
> bit odd. With my current setup, the same image displays on both screens. 
> However, the mouse pointer can move between them. Each screen displays 
> the left half of a larger virtual screen. Even though both screens show 
> the same image, only the left screen is interactive--programs lose focus 
> when I move the mouse cursor to the right screen.

I'm running a similar setup -- I sent msg earlier, but I think it didn't go through.

In any event... find my xorg.conf at end of this msg.

> I am using the ion3 window manager, but I do not think it is to blame 
> for the screen cloning. A person using Fedora Core explains the same 
> problem here:
> http://www.driverheaven.net/linux-radeon-display-drivers/103432-more-different-problems-radeon-9500-pro.html
> 
> The solution offered there is to use an older version of the radeon 
> driver. I might have to try that.
> 
> -Alex

-- 

-bch
http://www.methodlogic.net


=========
xorg.conf
=========

# **********************************************************************
# Refer to the xorg.conf(5) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
    Load        "dbe"  	# Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load        "glx"
    Load        "i2c"
    Load        "ddc"
    Load        "extmod"
EndSection

Section "Files"
    RgbPath	"/usr/pkg/xorg/lib/X11/rgb"
    FontPath   "/usr/pkg/lib/X11/fonts/misc/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/misc/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/TTF/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/Type1/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/CID/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/75dpi/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/100dpi/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/local/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/Speedo/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/TrueType/"
    FontPath   "/usr/pkg/xorg/lib/X11/fonts/freefont/"
    ModulePath "/usr/pkg/xorg/lib/modules"
EndSection

Section "ServerFlags"
     Option "Clone" "false"
EndSection

Section "InputDevice"
    Identifier	"Keyboard0"
    Driver	"kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc105"
    Option "XkbLayout"	"us"
EndSection


Section "InputDevice"
    Identifier	"Mouse0"
    Driver	"mouse"
    Option "Protocol"    "wsmouse"	# wsmouse protocol
    Option "Device"      "/dev/wsmouse"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection


Section "Monitor"
    Identifier  "Monitor0"
    Option "DPMS"
EndSection

Section  "Monitor"
	Identifier "Monitor1"
	VendorName "VSC"
	ModelName "VA1912wSERIES"
	HorizSync 30-82
	VertRefresh 50-85
	Option "DPMS"
	DisplaySize 410 256
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    Option      "BIOSHotkeys" "on"
    Option      "DynamicClocks" "on"
    Option      "ColorTiling" "on"
    Option "MergedFB" "true"
    Option "MonitorLayout" "LVDS, TMDS" # Use LCD and CRT even if you have 2 LCD's or
    Option "CRT2Hsync" "30-82" #Horizontal Sync of the Monitor
    Option "CRT2VRefresh" "50-85" #Vertical Refresh rate of the Monitor
    Option "OverlayOnCRTC2" "true"
    Option "CRT2Position" "RightOf"
    Option "MergedNonRectangular" "true"
    Option "MetaModes" "1024x768-1440x900"
    BusID "PCI:1:0:0"
    Screen 0
EndSection


Section "Screen"
 Identifier  "Screen0"
 Device      "Card0"
 Monitor     "Monitor0"
 DefaultDepth 16
 Subsection "Display"
  Depth       16
  Modes       "1024x768" "800x600" "640x480" "1440x900"
  ViewPort    0 0
  Virtual 2464 900
  Option "MetaModes" "1024x768-1440x900"
  Option "MergedNonRectangular" "true"
 EndSubsection

 Subsection "Display"
  Depth       24
  Modes       "1024x768" "640x480" "1440x900"
  ViewPort    0 0
 EndSubsection
EndSection


Section "Screen"
 Identifier  "solo"
 Device      "Card0"
 Monitor     "Monitor0"
 DefaultDepth 16
 Subsection "Display"
  Depth       16
  Modes       "1024x768" "800x600" "640x480"
  ViewPort    0 0
 EndSubsection

 Subsection "Display"
  Depth       24
  Modes       "1024x768" "640x480"
  ViewPort    0 0
 EndSubsection
EndSection


Section      "ServerLayout"
 Identifier  "solo"
 Screen      "solo"
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
EndSection



Section      "ServerLayout"
 Identifier  "local"
 Screen      "Screen0"
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
EndSection