LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-10-2008, 11:22 PM   #1
Jugmun
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
Having a miserable time configuring 1680x1050 resolution for monitor


I have a 22" Westinghouse LCM-22w3 monitor. I'm running Fedora 8 x86_64. I'm trying to configure the monitor to its proper resolution of 1680x1050. When I attempt to go through System/Admin/Display and I choose the generic LCD 1680x1050 monitor, it tells me its being written to my xorg.conf file but after I restart X, it's back to unknown monitor and the maximum resolution in the selection box is 1024x768. I installed nvidia drivers, and after that my monitor said "out of range" and wouldn't work until I did a CTRL+ALT+F1 and adjusted my horizontal and vertical refreshes in the xorg.conf file. I've tinkered with the xorg.conf file several times and I am a Linux novice. Here's the current output:
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"

    # generated from default
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "Emulate3Buttons" "no"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us+inet"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Unknown"
	ModelName    "Unknown"
	HorizSync    30.0 - 82.0
	VertRefresh  56.0 - 76.0
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24	
	EndSubSection
EndSection
If anyone could help me, I'd greatly appreciate it. I've reinstalled Fedora 3 times already. Thanks!
 
Old 03-11-2008, 12:38 AM   #2
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
Try this.

Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "gb"
EndSection

Section "InputDevice"
 	Identifier  "Mouse1"
	Driver      "mouse"
  	Option      "Protocol" "IMPS/2"
  	Option      "Device" "/dev/input/mice"
  	Option      "ZAxisMapping" "4 5"
  	Option      "Buttons" "9"
  	Option      "ButtonMapping" "1 2 3 6 7 8 9"
  	Option      "Resolution" "2000"
  	Option      "Emulate3Buttons" "false"
EndSection

Section "Monitor"
	Identifier   	"Monitor0"
	VendorName   	"Monitor Vendor"
	ModelName    	"Monitor 1680x1050"
	HorizSync    	31.5 - 79.0
	VertRefresh  	60.0 - 75.0
	Option	    	"dpms"
EndSection

Section "Device"
	Identifier  	"Videocard0"
	Driver      	"nvidia"
	VendorName  	"Videocard vendor"
	BoardName   	"nVidia Corporation Unknown device 01df"
	Option		"NoLogo"	"True"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Modes    "1680x1050_60" "1280x1024_75" "1024x768_75"
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1680x1050_60" "1280x1024_75" "1024x768_75"
	EndSubSection
EndSection
The monitor section is for a 21" Acer, but the settings for yours should be somewhere around that. Try it, what do you have to lose. The mouse section is for a MS Habu mouse and its extra buttons.
 
Old 03-11-2008, 01:44 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
LCM-22w3 is an LCD monitor - comment out the refresh and sync values (these are usually dummy values anyway).
You also don't have any modelines - the ones given by V00d00100 should be fine, but leave the refresh off. eg:

Code:
Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Modes    "1680x1050" "1024x768"
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1680x1050" "1024x768"
	EndSubSection
EndSection
Edit this manually, in a text editor. Save it, and restart X.

If, on reboot, you have still lost your resolution, do a dmesg | tail immediately, and check the xorg log as well.
 
Old 03-11-2008, 07:32 AM   #4
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
I should have asked if you are using the Livna Nvidia driver. As the livna-config-display program mangles the xorg.conf on quite a regular basis, deleting custom content, and making everything not work. Unfortunately i could never work out how to get rid of the annoyance so i just use the original driver from Nvidia, now.

As a workaround you can make xorg.conf immutable once you have a working configuration, which will stop other apps screwing it up again. The command is:

Code:
chattr +i /etc/X11/xorg.conf
To make it editable again, do the same, but use '-r' instead of '+r'.

Also on the question of refresh rates. If your monitor supports a refresh higher than 60, specify it, or 60 is all you will probably get. Want to know the difference? Open up an xterm and you should see the scrollbar flicker at 60Hz, up it to 70+ and the flicker disappears. 60Hz is fine of course, unless you are going to spend 8+ hrs a day in front of the screen, but i prefer it higher (which unfortunately it wont do at 1680x1050).

Last edited by v00d00101; 03-11-2008 at 07:36 AM.
 
Old 03-11-2008, 12:05 PM   #5
Jugmun
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I tried commenting out the sync and refresh as suggested, but it dropped me to 800x600 resolution when I rebooted. I'm still at 1280x1024 resolution and my xorg.conf file currently is:
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us+inet"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	ModelName    "LCD Panel 1680x1050"
	HorizSync    30.0 - 82.0
	VertRefresh  56.0 - 76.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nv"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Modes    "1680x1050" "1024x768"
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1680x1050" "1024x768"
	EndSubSection
EndSection
If you have any more suggestions, I'd greatly appreciate them. I'm thinking I might just scrap Fedora and switch to Ubuntu. Would that solve anything? Thanks!
 
Old 03-11-2008, 12:14 PM   #6
Jugmun
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Oddly enough this xorg.conf put me up to 1600x1200 resolution, but I'm still shooting for 1680x1050:
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us+inet"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	ModelName    "LCD Panel 1680x1050"
	HorizSync    30.0 - 82.0
	VertRefresh  56.0 - 76.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nv"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1680x1050" "1024x768"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
 
Old 03-12-2008, 10:35 PM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I believe this is the definitive fedora+nvidia thread.

It appears there are still other problems with the nvidia installer on some systems. You'll only really run into it if you upgrade the distro, then change video cards. Seems that with fedora-nvidia, you get a choice of ways to mess up.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can Linux RHEL4 recognize 1680x1050 monitor resolution? sokol23 Linux - Hardware 1 08-05-2007 05:34 AM
Can't get 1680x1050 resolution on Ubuntu 7.04 dsuratman Linux - Hardware 3 06-12-2007 02:11 PM
1680x1050 screen resolution under sarge lixy Linux - Laptop and Netbook 3 04-26-2006 01:00 AM
framebuffer + 1680x1050 resolution SVN Linux - General 5 04-01-2005 08:09 AM
Configuring monitor resolution pen^2 Linux - General 1 02-08-2004 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration