LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-28-2007, 10:28 PM   #1
BigVig
Member
 
Registered: Feb 2006
Location: Chi-town
Distribution: Debian Sid Amd64
Posts: 108

Rep: Reputation: 15
Question Question regarding Nvidia driver and Gnome Screen resolution


I am using an Nvidia G70 7600 GT card and the Nvidia drivers for etch (1.0.8776-4). I am using the 2.6.18-5 AMD64 kernel.

I have four screen resolutions available: 640x480, 800x600, 1024x768 and 1280x1024.

When I attempt to change the screen resolution to something other than 1280x1024 (which has a refresh rate of 75Hz), the refresh rate jumps to 85Hz. And my monitor promptly displays an "out of range" message slowly dancing around a blank screen.

I first noticed this problem when I attempted to run RTCW: Enemy Territory this evening. Instead of grey thunder and lightning, I got an out of range message.

I am using a 19" Vison V1922DB LCD monitor (otherwise known as generic).

My xorg.conf is as follows:
Code:
Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc101"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"nVidia Corporation G70 [GeForce 7600 GT]"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Vison V1922DB"
	Option		"DPMS"
	HorizSync	32-79
	VertRefresh	60-75
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation G70 [GeForce 7600 GT]"
	Monitor		"Vison V1922DB"
	DefaultDepth	24
	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		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection
 
Old 11-29-2007, 05:59 AM   #2
restless
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
have a look at the below configuration file, mind that it's only a part of the config file, the part that I had to change

Important is to disable UseEdidFreqs

after that you can specify what refresh rate to use with a specific resolution rate:

Code:
 DefaultDepth	24
 SubSection "Display"
  Depth		24
   Modes		"1440x900_60"
 EndSubSection
The below config is for a nvidia 7800gs on a samsung 940BW with a resolution of 1440*900 at 60Hz
Have a look and adapt your own xorg.conf file according to your needs

Code:
Section "Module"
 Load	 "bitmap"
 Load	 "dbe"
 Load	 "ddc"
#Load	 "dri"
 Load	 "extmod"
 Load	 "freetype"
 Load	 "glx"
 Load	 "int10"
 Load	 "vbe"
EndSection

Section "Device"
 Identifier	"Generic Video Card"
 Driver		"nvidia"
 BusID		"PCI:1:0:0"
 Option		"UseEdidFreqs"		"False"
EndSection

Section "Monitor"
 Identifier	"Generic Monitor"
 Option		"DPMS"
 HorizSync	30-81
 VertRefresh	56-75
EndSection

Section "Screen"
 Identifier	"Default Screen"
 Device		"Generic Video Card"
 Monitor		"Generic Monitor"
 DefaultDepth	24
 SubSection "Display"
  Depth		24
   Modes		"1440x900_60"
 EndSubSection
EndSection
 
#Section "DRI"
#	Mode	0666
#EndSection

Last edited by restless; 11-29-2007 at 06:01 AM.
 
Old 11-30-2007, 02:37 PM   #3
BigVig
Member
 
Registered: Feb 2006
Location: Chi-town
Distribution: Debian Sid Amd64
Posts: 108

Original Poster
Rep: Reputation: 15
Thanks! Tried it, maybe I did something else wrong

Quote:
Originally Posted by restless View Post
have a look at the below configuration file, mind that it's only a part of the config file, the part that I had to change

Important is to disable UseEdidFreqs

after that you can specify what refresh rate to use with a specific resolution rate:

Code:
 DefaultDepth	24
 SubSection "Display"
  Depth		24
   Modes		"1440x900_60"
 EndSubSection
The below config is for a nvidia 7800gs on a samsung 940BW with a resolution of 1440*900 at 60Hz
Have a look and adapt your own xorg.conf file according to your needs...
Thanks for advice. I altered my xorg.conf as minimally as possible. I set UseEdidFreqs to false and included the following the following change:
Code:
 SubSection "Display"
  Depth		24
   Modes		"1280x1024_75" "1024x768_75" "800x600" "640x480"
 EndSubSection
And, now, it will display in 1024x768, but not 1280x1024. I'm going to continue messing around, since I only seem to learn by using trial and error. If I am successful in simply making it do what I what, which is 1280x1024 at 75Hz and 1024x768 at 75Hz, I will post here saying how.

Thank you again for the advice. It pointed me in a new direction.
 
Old 12-07-2007, 02:05 PM   #4
knobby67
Member
 
Registered: Mar 2006
Posts: 536

Rep: Reputation: 42
Have you installed the Nvidia drivers/SDK off their site? Then try changing the resolution throught the Nvidia programme/SDK, you can try custom resolutions and frequencies. It will change xorg for you without you having to change by hand.
 
  


Reply

Tags
driver, nvidia, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Screen resolution in AMD64+Nvidia 6100 pramodmudrakarta Linux - Desktop 9 07-03-2007 04:35 AM
Screen Resolution with Nvidia GeForce Card MidnightExpress Linux - Hardware 3 05-07-2007 09:59 PM
Determining screen resolution to use in a script,NVIDIA cmetelko Linux - Desktop 2 02-07-2007 10:31 AM
Weird with screen resolution using NVIDIA javb Linux - Laptop and Netbook 1 02-06-2005 06:43 PM
NVidia driver problem with screen resolution dabump Mandriva 3 12-20-2004 08:32 AM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration