From owner-freebsd-multimedia@FreeBSD.ORG Sat May 10 13:19:34 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 710321065679 for ; Sat, 10 May 2008 13:19:34 +0000 (UTC) (envelope-from zb@ispid.com.pl) Received: from v005705.home.net.pl (v005705.home.net.pl [212.85.118.117]) by mx1.freebsd.org (Postfix) with SMTP id D1B518FC14 for ; Sat, 10 May 2008 13:19:33 +0000 (UTC) (envelope-from zb@ispid.com.pl) Received: from 444.net.autocom.pl (HELO localhost) (zb.ispid@onet@77.236.6.157) by m022.home.net.pl with SMTP; Sat, 10 May 2008 13:19:31 -0000 Date: Sat, 10 May 2008 15:19:32 +0200 From: Zbigniew Baniewski To: freebsd-multimedia@freebsd.org Message-ID: <20080510131932.GA5444@sarge.my.own.domain.no-net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Subject: FreeBSD7/xorg/radeon: Section "Screen" totally ignored X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2008 13:19:34 -0000 I've got a problem while replacing NVidia GeForce4 with Radeon 9000Pro: it seems, that xorg totally ignores either entire `Section "Screen"' paragraph, or at least every single `SubSection "Display"' entry inside that paragaraph. As a result, I'm unable to have desired resolution at desired bpp, when starting X-server, it always chooses on its own. The second consequence is, that there's no possibility to switch resolutions using --<+ -> anymore. Below a copy of my xorg.conf. I'm using the same config under Linux (got dual-boot install) - with just slight differences (mouse, /dev/* etc. - you know; nothing screen-related) - without any problems. So, it must be a bug in FreeBSD's port of radeon driver, most probably. Does there exist any workaround? Or perhaps there's missing something FreeBSD specific? ========================================================================= # xorg.conf (Xorg X Window System server configuration file) # Transparency on Section "Extensions" Option "Composite" "Enable" EndSection Section "ServerLayout" Identifier "Default Layout" 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" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/webfonts/" FontPath "/usr/local/lib/X11/fonts/freefont-ttf/" FontPath "/usr/local/lib/X11/fonts/terminus-font/" FontPath "/usr/local/lib/X11/fonts/freefont/" FontPath "/usr/local/lib/X11/fonts/sharefont/" 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/" EndSection Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc101" Option "XkbLayout" "pl" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Device" "/dev/sysmouse" Option "Protocol" "Auto" Option "Buttons" "5" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "Card0" Driver "radeon" VendorName "ATI" BoardName "ATI Radeon 9000 Pro" Option "AccelMethod" "XAA" Option "AGPMode" "1" Option "EnablePageFlip" "1" Option "ColorTiling" "1" BusID "PCI:1:0:0" Option "backingstore" "true" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Proview" ModelName "900 P" Option "DPMS" HorizSync 30.0 - 80.0 VertRefresh 60.0 - 85.0 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 16 # SubSection "Display" # Viewport 0 0 # Depth 16 # Virtual 1280 1024 # EndSubSection SubSection "Display" Depth 1 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "800x600" "1024x768" "1280x1024" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "DRI" Group 0 Mode 0666 EndSection -- pozdrawiam / regards Zbigniew Baniewski