From owner-freebsd-x11@FreeBSD.ORG Fri Jul 6 02:58:09 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8463516A421 for ; Fri, 6 Jul 2007 02:58:09 +0000 (UTC) (envelope-from elfshadow@physics.upatras.gr) Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by mx1.freebsd.org (Postfix) with SMTP id 7870B13C46C for ; Fri, 6 Jul 2007 02:58:08 +0000 (UTC) (envelope-from elfshadow@physics.upatras.gr) Received: (qmail 22823 invoked from network); 6 Jul 2007 02:31:26 -0000 Received: by simscan 1.1.0 ppid: 22816, pid: 22817, t: 4.2498s scanners: clamav: 0.88.2/m:39/d:1582 spam: 3.1.3 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on nic.upatras.gr X-Spam-Level: X-Spam-Status: No, score=0.7 required=8.0 tests=AWL autolearn=ham version=3.2.0 Received: from pythagoras.physics.upatras.gr (150.140.159.71) by nic.upatras.gr with SMTP; 6 Jul 2007 02:31:22 -0000 Received: (qmail 26215 invoked by uid 1189); 6 Jul 2007 02:28:09 -0000 Date: Fri, 6 Jul 2007 05:28:09 +0300 From: Laganakos Vassilis To: freebsd-x11@freebsd.org Message-ID: <20070706022809.GA26133@pythagoras.physics.upatras.gr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline User-Agent: Mutt/1.4.2i Subject: ATI Mobility Radeon X600 - Dualhead Configuration X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 02:58:09 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello all, I have a problem with my recently obtained TFT monitor. I don't know if this is the right place to post (sorry). I want to have it connected to my laptop and use both screens, the laptop's screen and the external monitor. I tried various configurations I found on the web, and up till now I can do one of the following: - use *only* the laptop's lcd (at least it worked...) - use *only* the external tft monitor - use *both* using the same resolution on both The problem is that the lcd is a 4:3 (1400x1050) while the TFT is a wide 16:10 (1440x900). Since the 16:10 is not a VESA supported ratio, I managed to configure correct the wide monitor using ModeLine in xorg.conf To use both screens I use MergedFB. I create some "Device" sections in the xorg.conf that are identical, except the identifier, and some "Screen" sections, using each device in one of them. I then configure MergedFB in one of the Screens, and I also enabled MergedXinerama and MergedNonRectangular. The wide monitor although that is connected was not detected by the radeon driver, and I had to force the use of MergedFB. When I used the Option "MonitorLayout" "LVDS, TMDS" it was detected *but* not the DDC settings. The result is that I can get both monitors working with the nice option to be able to drag windows from one screen to another (I really like this :) ), *but* the same resolution is used on both, so one of them is not displaying things good. Now I saw in some forums that you can use the PanelSize option to explicitly state the resolution you want to be used in the specific screen. I used this and alternative the MetaModes but it led nowhere, But I spent a few days (mainly nights) to get this far... I don't know if it is possible, but can the radeon driver drive two monitors with the same card, that they use different resolution? I'm not sure if my xorg.conf is correct... I am using FreeBSD-6-Stable, Xorg 7.2, and radeon driver. Could please some help out, if he/she had the same case solved? I attach my current xorg.conf stripped down. Kind regards, Vassilis -- --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xorg.conf" Section "Module" # This loads the DBE extension module. Load "dbe" # Double buffer extension # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection # This loads the font modules Load "type1" # Load "speedo" Load "freetype" # Load "xtt" # This loads the GLX module Load "glx" # This loads the DRI module #Load "dri" EndSection # ********************************************************************** # Input devices # ********************************************************************** # ********************************************************************** # Monitor section # ********************************************************************** # Any number of monitor sections may be present Section "Monitor" Identifier "lcd" # HorizSync is in kHz unless units are specified. # HorizSync may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS. HorizSync 31.5 - 64.3 # HorizSync 30-64 # multisync # HorizSync 31.5, 35.2 # multiple fixed sync frequencies # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies # VertRefresh is in Hz unless units are specified. # VertRefresh may be a comma separated list of discrete values, or a # comma separated list of ranges of values. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S # USER MANUAL FOR THE CORRECT NUMBERS. VertRefresh 50-70 Option "DPMS" EndSection Section "Monitor" Identifier "externalTFT" VendorName "LG" ModelName "L196WTQ" ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934 Option "DPMS" EndSection # ********************************************************************** # Graphics device section # ********************************************************************** # Any number of graphics device sections may be present # Standard VGA Device: Section "Device" Identifier "Standard VGA" VendorName "Unknown" BoardName "Unknown" # The chipset line is optional in most cases. It can be used to override # the driver's chipset detection, and should not normally be specified. # Chipset "generic" # The Driver line must be present. When using run-time loadable driver # modules, this line instructs the server to load the specified driver # module. Even when not using loadable driver modules, this line # indicates which driver should interpret the information in this section. Driver "vga" # The BusID line is used to specify which of possibly multiple devices # this section is intended for. When this line isn't present, a device # section can only match up with the primary video device. For PCI # devices a line like the following could be used. This line should not # normally be included unless there is more than one video device # intalled. # BusID "PCI:0:10:0" # VideoRam 256 # Clocks 25.2 28.3 EndSection # Device configured by xorgconfig: Section "Device" Identifier "ATIX600" Driver "radeon" BusID "PCI:01:00:0" #Option "DynamicClocks" "on" Option "MergedFB" "false" Option "XAANoOffscreenPixmaps" "true" Option "MonitorLayout" "LVDS" Option "PanelSize" "1400x1050" EndSection Section "Device" Identifier "NoMergedFB" Driver "radeon" BusID "PCI:01:00:0" #Option "DynamicClocks" "on" Option "MergedFB" "false" Option "XAANoOffscreenPixmaps" "true" Option "MonitorLayout" "CRT" EndSection Section "Device" Identifier "device1" Driver "radeon" BusID "PCI:01:00:0" #Option "DynamicClocks" "on" Option "MonitorLayout" "LVDS, CRT" Option "MergedFB" "true" Option "MergedXinerama" "true" Option "MergedXineramaCRT2IsScreen1" "true" Option "MergedNonRectangular" "true" Option "CRT2Position" "RightOf" #Option "CRT2HSync" "30-83" #Option "CRT2VRefresh" "56-75" #Option "MetaModes" "1400x1050-1440x900" #Option "MergedDPI" "100 100 #Option "PanelSize" "1400x1050" #Option "NoAccel" "true" #Option "MetaModes" "1440x900-1400x1050" #Option "RenderAccel" "false" #Option "XAANoOffscreenPixmaps" "true" #Screen 0 EndSection Section "Device" Identifier "device2" Driver "radeon" #Option "DynamicClocks" "on" BusID "PCI:01:00:0" Option "MonitorLayout" "CRT" #Option "MergedFB" "true" #Option "MergedXinerama" "true" #Option "MergedXineramaCRT2IsScreen0" "true" #Option "MergedNonRectangular" "true" #Option "CRT2Position" "RightOf" #Option "CRT2HSync" "30-83" #Option "CRT2VRefresh" "56-75" #Screen 1 #Option "XAANoOffscreenPixmaps" "true" #Option "MetaModes" "1440x900-1400x1050" #Option "PanelSize" "1440x900" EndSection # ********************************************************************** # Screen sections # ********************************************************************** # Any number of screen sections may be present. Each describes # the configuration of a single screen. A single specific screen section # may be specified from the X server command line with the "-screen" # option. Section "Screen" Identifier "Screen0" Device "ATIX600" Monitor "lcd" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1400x1050" ViewPort 0 0 EndSubsection EndSection # The Custom-made modes using the new bespoke devices Section "Screen" Identifier "LCDScreen" Device "device1" Monitor "lcd" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1400x1050" ViewPort 0 0 EndSubsection EndSection Section "Screen" Identifier "WideScreenOnly" Device "NoMergedFB" Monitor "externalTFT" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1440x900" ViewPort 0 0 EndSubsection EndSection Section "Screen" Identifier "WideScreen" Device "device2" Monitor "externalTFT" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1440x900" ViewPort 0 0 EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** # Any number of ServerLayout sections may be present. Each describes # the way multiple screens are organised. A specific ServerLayout # section may be specified from the X server command line with the # "-layout" option. In the absence of this, the first section is used. # When now ServerLayout section is present, the first Screen section # is used alone. Section "ServerLayout" # The Identifier line must be present Identifier "LCD" # Each Screen line specifies a Screen section name, and optionally # the relative position of other screens. The four names after # primary screen name are the screens to the top, bottom, left and right # of the primary screen. In this example, screen 2 is located to the # right of screen 1. Screen "Screen0" # Each InputDevice line specifies an InputDevice section name and # optionally some options to specify the way the device is to be # used. Those options include "CorePointer", "CoreKeyboard" and # "SendCoreEvents". InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection # Use just the external wide TFT Section "ServerLayout" Identifier "Wide" Screen "WideScreenOnly" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection # Use both?? Section "ServerLayout" Identifier "Dual" Screen 0 "LCDScreen" 0 0 Screen 1 "WideScreen" LeftOf "LCDScreen" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection #Section "DRI" # Mode 0666 #EndSection --4Ckj6UjgE2iN1+kY--