From owner-freebsd-questions@FreeBSD.ORG Tue Jan 1 15:57:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E67EA16A420 for ; Tue, 1 Jan 2008 15:57:36 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: from web36314.mail.mud.yahoo.com (web36314.mail.mud.yahoo.com [209.191.91.191]) by mx1.freebsd.org (Postfix) with SMTP id 9829013C457 for ; Tue, 1 Jan 2008 15:57:36 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: (qmail 32798 invoked by uid 60001); 1 Jan 2008 15:30:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=SdTLP0Gm5ooYVAAr9uVuEgF3LLo53OkXzNgusynaVxe6p1bmby3mUItyo32HDHo+uEqgtIR0C1CfVlVVIUHht+xJvdBJkxctPBeu6teLzZm1oQP7r+p+kL7Alk3e5SBy+qOJ596cpmCe2NbltoZ0JtDnbkY6MfnGrBXeO4pdIeI=; X-YMail-OSG: qwngBe8VM1kEotzXKKb1lj.erTH4LyTeJYN_65yyjJ8O.0mpRDpTaEAs9mifHA7jKOOjAu0519bFHvjpg6Hp51Hh8Lth8ejeWKc6lLgBi5rGE7wfTnw- Received: from [82.144.207.13] by web36314.mail.mud.yahoo.com via HTTP; Tue, 01 Jan 2008 07:30:54 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Tue, 1 Jan 2008 07:30:54 -0800 (PST) From: Nash Nipples To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <934816.30473.qm@web36314.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Resolution too high with 7-RC1, nVidia, xorg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2008 15:57:37 -0000 Dear Xn Nooby, Im not sure if there is such a tool to edit xorg.conf file and limit the maximum resolution. In gnome desktop there is a graphical tool to switch resolution (System -> Preferences -> Screen Resolution) To make things obvious you will have to take a look at your xorg.conf file Please do change dir to its parent folder (cd /etx/X11/) and run cat xorg.conf | tr -s "\n" | grep -v "#" that should make your xorg.conf look simple and clear. There is a sample output below. It is a working xorg.conf Take a look at the section "Screen" It has Identifier, Device, Monitor, DefaultDepth options and 3 Subsections named "Display" for each depth where the screen resolution modes are listed: 1024 x 7 6 8 <- 800 x 600 640x480 Hint: One of the following key sequence switches modes on a running server. CTRL+ALT+KP_- or CTRL+ALT+KP_+ KP_-, KP_+ (those are keypad minus or keypad plus, or gray -/+) Sincerely, Nash Section "Module" SubSection "extmod" EndSubSection Load "type1" Load "freetype" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/local/" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "False" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Device" "/dev/ums1" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Philips105B" HorizSync 31.5 - 57.0 VertRefresh 50-100 EndSection Section "Device" Identifier "Standard VGA" VendorName "Unknown" BoardName "Unknown" Driver "vga" EndSection Section "Device" Identifier "S3G IGP PRO" Driver "vesa" EndSection Section "Screen" Identifier "Screen 1" Device "S3G IGP PRO" Monitor "Philips105B" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection ----- Original Message ---- From: Xn Nooby To: freebsd-questions@freebsd.org Sent: Tuesday, January 1, 2008 2:01:47 PM Subject: Resolution too high with 7-RC1, nVidia, xorg I am having trouble getting X to use a screen resolution that is less than the maximum. When I edit my xorg.conf to add a DefaultDepth and a Mode of "1024x768", it still comes up at 1280x1024. I did not create any modeline entries yet, since I'm not sure how to do that. My GUI (icewm) works, but browsing the web creates enormous eye-strain from the high-resolution letters. My hardware is a Dell Inspiron 530 Desktop with an nVidia Card. It comes with SATA CD's, so I have to install with FreeBSD 7-RC1. I started by running "xorg -configure", and used the xorg.conf that it generated. I looked at /var/log/Xorg.0.log, and it had many entries from probing my hardware. It appears there is some kind of dynamic configuration going on, but I know its using the xorg.conf, because it got an error when I changed the adapter entry from "nv" to "vga". I actually had a similar problem on Ubuntu, and they had some "xorg-reconfigure" program that would let you use less than maximum values. I was wondering if FreeBSD had something similar. The "DefaultDepth 24" and "Modes "1024x786"" entries are from the online FreeBSD Handbook, I believe I followed the Handbook instructions properly. Am I missing something obvious? From using Linux, I was expecting the "Modes" values to work. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs