From owner-freebsd-x11@FreeBSD.ORG Sun Nov 18 15:00:04 2007 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C724B16A417 for ; Sun, 18 Nov 2007 15:00:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE9A13C474 for ; Sun, 18 Nov 2007 15:00:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.1/8.14.1) with ESMTP id lAIExfdE028084; Sun, 18 Nov 2007 07:59:41 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.1/8.14.1/Submit) with ESMTP id lAIExfcM028081; Sun, 18 Nov 2007 07:59:41 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 18 Nov 2007 07:59:41 -0700 (MST) From: Warren Block To: Ihsan Dogan In-Reply-To: Message-ID: <20071118072717.T27933@wonkity.com> References: <20071117091903.B23268@wonkity.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Sun, 18 Nov 2007 07:59:41 -0700 (MST) Cc: freebsd-x11@freebsd.org Subject: Re: 7.3 ignores xorg.conf 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: Sun, 18 Nov 2007 15:00:04 -0000 On Sun, 18 Nov 2007, Ihsan Dogan wrote: > on 17.11.2007 17:39 Warren Block said the following: > >>> My xorg.conf: >>> http://ihsan.dogan.ch/files/Xorg-7.3/xorg.conf >> That's an old-style xorg.conf, but both the mga and radeon drivers are >> xrandr-1.2. Some of the changes needing to be made are described here: > > I've created with Xorg -configure a new configuration and placed it in > /etc/X11. --> http://ihsan.dogan.ch/files/Xorg-7.3/xorg.conf Still has lots of old stuff in it. Xorg -configure doesn't produce xrandr-1.2 configurations. You can use them for a starting point, but much has to be deleted or changed. >> http://wiki.debian.org/XStrikeForce/HowToRandR12 > > Thank you. That was really helpful. I'm wondering why there is no good > documentation at x.org. Probably because there are more programmers than writers, and much of this stuff is brand new and still changing. >> Note particularly the suggestions on removing HorizSync, VertRefresh, >> and ModeLines from the Monitor section. >> >> For a single monitor, I'd set the virtual screen size to the same size >> as the monitor: >> >> Section "Screen" >> Identifier "Screen0" >> Device "Card0" >> Monitor "Monitor0" >> SubSection "Display" >> Virtual 1280 1024 >> EndSubSection >> EndSection > > With the new configuration, Which new configuration? The file you show has still has an incorrect Screen section. > With the HorizSync and the the VerRefresh options in the xorg.conf, I > was able to change to 1280x1024 with xrandr. Maybe a very old monitor that doesn't do DDC? No monitor vendor or name was detected, either. See the man page for xorg.conf for the PreferredMode option, too. > I've added then the Virtual option to the Screen section: You should also remove everything except what has been suggested. The additional Viewport and Depth lines could cause problems (Depth certainly might, if DefaultDepth doesn't default to 24). > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > SubSection "Display" > Viewport 0 0 > Depth 24 > Virtual 1280 1024 > EndSubSection > EndSection > > Unfortunately, that doesn't work. If that would work, I would be totally > happy. What follows is my suggestion for xorg.conf, all of it. If it still doesn't want to start at 1280x1024, you could remove the HorizSync/VertRefresh from the Monitor section and enable the PreferredMode option. Or try them together. Section "ServerLayout" Identifier "xrandr" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" EndSection Section "DRI" Mode 0666 EndSection Section "Extensions" Option "Composite" "Disable" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 31.5 - 92.0 VertRefresh 50.0 - 100.0 # Option "PreferredMode" "1280x1024" EndSection Section "Device" Identifier "Card0" Driver "ati" VendorName "ATI Technologies Inc" BoardName "RV280 [Radeon 9200 PRO]" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Virtual 1280 1024 EndSubSection EndSection -Warren Block * Rapid City, South Dakota USA