LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-29-2008, 01:06 PM   #1
debian.user
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Exclamation Debian - NVidia - Resolution


Hi, I'm new on Debian. I'm using Debian GNU/Linux 04.r3 amd64 (kernel 2.6.18-6-amd64). I have a GeForce 6100 on board and a LG L1920P Monitor (LCD).

I've installed the nvidia driver (NVIDIA-Linux-x86_64-173.14.12-kg2.run) downloaded from www.nvidia.com and I've used nvidia-xconfig to config the /etc/X11/xorg.conf file.

My problem is with the 1280x1024 resolution.

When I use the generic drive (nv) with this resolution it runs well. But when I use the nvidia driver (nvidia) I can't use it. The screen is black with a blue line on the top. I move the mouse to the top and I can see a part of it. I press Ctrl + Alt + + or - to change the resolution and I found the problem is the resolution because with 1024x768, 800x600 ... it runs correctly.

I try with resolutions such as 1280x960, 1024x768... and I can see it fails when I use ...x1024 resolution.

Can someone help me?

Here is my xorg.conf file:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Thu Jul 17 18:39:00 PDT 2008

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"

# path to defoma fonts
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"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
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" "pc105"
Option "XkbLayout" "es"
EndSection

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

Section "Monitor"
Identifier "L1920P"
VendorName "LG Corporation"
ModelName "L1920P"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "nVidia Corporation C51G [GeForce 6100]"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation C51G [GeForce 6100]"
Monitor "L1920P"
DefaultDepth 24
Option "HWCursor" "off"
Option "SWCursor" "on"
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
# Modes "1280x1024" "1024x768" "800x600"
Modes "1280x960" "1024x768" "800x600"
EndSubSection
EndSection


Thanks.
 
Old 09-29-2008, 01:57 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
are there any errors in the xorg log when you try and run at 1280x1024 ?

cat /var/log/Xorg.0.log | grep EE

You could try using a modeline for that resolution.

Horizontal Resolution: 1280
Vertical Resolution: 1024
Vertical Refresh Rate: 75.00 Hz
Horizontal Refresh Rate: 80.42 KHz
Dot Clock Frequency: 151.83 MHz

# V-freq: 75.00 Hz // h-freq: 80.42 KHz
Modeline "1280x1024_75" 151.83 1280 1360 1544 1888 1024 1024 1027 1072


You would insert it like this..


Code:
Section "Monitor"
     Identifier "L1920P"
     VendorName "LG Corporation"
     ModelName "L1920P"
     HorizSync 30.0 - 83.0
     VertRefresh 56.0 - 75.0
     Modeline "1280x1024_75" 151.83  1280 1360 1544 1888  1024 1024 1027 1072
     Option "DPMS"
EndSection

Section "Device"
     Identifier "nVidia Corporation C51G [GeForce 6100]"
     Driver "nvidia"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia Corporation C51G [GeForce 6100]"
	Monitor		"L1920P"
	DefaultDepth	24	
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "800x600"
		visual	"GrayScale"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024_75" "1024x768" "800x600"
	EndSubSection
EndSection
 
Old 09-30-2008, 08:20 AM   #3
debian.user
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I'm afraid about Dot Clock Frequency: 151.83 MHz. What does it mean? Can it damage my PC?

I posted my problem here too:

http://www.linuxforums.org/forum/deb...tml#post629822

But I can't resolve the problem :-S Do you have an idea about it?
 
Old 09-30-2008, 08:51 AM   #4
debian.user
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
And... sorry I forgot to ask you about this values:

Modeline "1280x1024_75" 151.83 1280 1360 1544 1888 1024 1024 1027 1072

Why did you choose this values 151.83 1280 1360 1544 1888 1024 1024 1027 1072?

Thank you.
 
Old 09-30-2008, 09:00 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
the modeline generation script http://www.bohne-lang.de/spec/linux/modeline/ I used chose that dot clock frequency based on the resolution and refresh rate specified.

Ahh I see in the other thread, DPMS (that's your video card querying the monitor for supported modes) says 1280x1024 @ 60Hz not 75..
Use the following modeline instead..


Horizontal Resolution: 1280
Vertical Resolution: 1024
Vertical Refresh Rate: 60.00 Hz
Horizontal Refresh Rate: 63.73 KHz
Dot Clock Frequence: 109.62 MHz

# V-freq: 60.00 Hz // h-freq: 63.73 KHz
Modeline "1280x1024_60" 109.62 1280 1336 1472 1720 1024 1024 1026 1062



for more info on modelines, and to answer your other question, you could start here:
Dot Clock
http://en.wikipedia.org/wiki/XFree86_Modeline
 
  


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
[SOLVED] Debian testing display resolution - nvidia littlejoe5 Linux - Hardware 1 07-04-2008 02:20 PM
Resolution problem on Debian 3.1 with Nvidia GeForce FX5200. CrownAmbassador Linux - Hardware 52 09-27-2006 05:47 PM
Can't build nvidia.ko on MEPIS3.3. Read /usr.../nvidia-kernelsource/README.debian digorykirke Linux - Software 0 03-16-2005 02:10 AM
Nvidia Resolution mrsolo Linux - Software 10 08-14-2003 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:21 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