LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2006, 05:34 PM   #1
debuser123
Member
 
Registered: Nov 2006
Distribution: Ubuntu Hardy
Posts: 69

Rep: Reputation: 15
Question Can't get higher than 1024x768 in Linux, but can in Windows


Distribution: Debian Sarge 3.1
Card: Nvidia GeForce 256
XF86 Driver: nvidia (NVIDIA-Linux-x86-1.0-7182-pkg1.run)
Monitor: pcmall.com/pcmall/shop/detail~dpno~633245.asp
x2gen lcd 19" -> up to 1280x1024[/url]

Relevant XF86Config-4 file sections:
Code:
Section "Module"
	Load  "bitmap"
	Load  "dbe"
	Load  "ddc"
	Load  "extmod"
	Load  "freetype"
	Load  "glx"
	Load  "int10"
	Load  "record"
	Load  "speedo"
	Load  "type1"
	Load  "vbe"
EndSection

Section "Monitor"
	Identifier   "___:ffff"
	VendorName   "x2gen"
	HorizSync    30.0 - 60.0
	VertRefresh  50.0 - 75.0
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "Generic Video Card"
	Driver      "nvidia"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device     "Generic Video Card"
	Monitor    "___:ffff"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection
log file bad modes output:
Code:
(II) NVIDIA(0): ___:ffff: Using hsync range of 30.00-60.00 kHz
(II) NVIDIA(0): ___:ffff: Using vrefresh range of 50.00-75.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 300.00 MHz
(II) NVIDIA(0): Not using default mode "1152x864" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using mode "1280x1024" (no mode of this name)
(II) NVIDIA(0): Not using default mode "1280x960" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1152x768" (width too large for virtual size)
(WW) NVIDIA(0): Not using mode "576x384":

log file valid modes
Code:
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0):      Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(**) NVIDIA(0):      Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(**) NVIDIA(0):      Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(**) NVIDIA(0):      Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(**) NVIDIA(0):      Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(**) NVIDIA(0):      Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(**) NVIDIA(0):      Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(**) NVIDIA(0):      Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 39.4 MHz, 60.1 kHz, 75.1 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(**) NVIDIA(0):      Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) NVIDIA(0):      Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) NVIDIA(0):      Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(**) NVIDIA(0):      Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
I know this card/monitor combination can do 1280x1024 (because it does in Windows ). I made sure the v & h refresh rates match my monitor (which seemed to be the main problem with other threads that I've searched with similar problmes), but what am I missing? Linux has always looked "bad" for me (mainly fonts and low resolution). I don't play any games before you insult my lowly video card.

Last edited by debuser123; 11-19-2006 at 11:20 PM.
 
Old 11-19-2006, 06:21 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Use gtf to help you make modelines and copy the output to the monitor section of /etc/X11/xorg.conf or /etc/X11/XF86Config-4. Also you may have to add Option "UseEDID" "false" to the same section where you specify nvidia as the driver. You can literally destroy your CRT monitor if you use the wrong setting, so be careful what settings you give it.

If you have nVidia GeForce 256, you will have to use the old nVidia software. The nVidia version 7182 is for GeForce2 Go and up.
 
Old 11-19-2006, 09:41 PM   #3
debuser123
Member
 
Registered: Nov 2006
Distribution: Ubuntu Hardy
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Electro
Use gtf to help you make modelines and copy the output to the monitor section of /etc/X11/xorg.conf or /etc/X11/XF86Config-4. Also you may have to add Option "UseEDID" "false" to the same section where you specify nvidia as the driver. You can literally destroy your CRT monitor if you use the wrong setting, so be careful what settings you give it.

If you have nVidia GeForce 256, you will have to use the old nVidia software. The nVidia version 7182 is for GeForce2 Go and up.
Thank you for replying. I actually tried drivers 9629, 8776, which both failed saying there was no card found that it supported. 7182 did succeed (which ultimately resulted in me having to mess with building the kernel...which was good times back in the day) but 7182 worked. In the readme file it lists the GeForce 256 as a supported card (with a PCI ID of 0x0100)...lspci confirms that (10de:0100 as I think 0x10de is nVidia's vendor ID). What version drivers should I be looking for? I thought there was going to be "nvidia-legacy" type driver based on what nvidia's web site says but it isn't clear what exactly is the legacy nvidia driver.

I added that modeline and that option in, but it still didn't work.
This was the modeline I used:
Code:
  # 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz
  Modeline "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028 1069
...which you can see specifies a hsync of 80.17 kHz when the monitor only goes from 30 - 60.

(log file of course says not using mode 1280x1024_75.00 due to hsync out of range).

If I supplied gtf with a 56Hz refresh rate, this is the highest rate that gives an hsync <60 (59.25KHz). I'm not going to try it though cause I don't want to mess my monitor up. Or will it matter since this is an LCD and not a CRT?

Last edited by debuser123; 11-19-2006 at 10:03 PM.
 
Old 11-19-2006, 10:52 PM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
It's unlikely that you will blow a modern monitor up. You will more than likely get an out-of-range message on the screen if the input signal would possibly damage the monitor.

Your monitor probably has an OSD where you might be able to find which frequencies it uses at 1280x1024 in windows. Check that if you want to feel more secure.

So I would give it a go with a vertical refresh of 56Hz or lower
 
Old 11-19-2006, 11:16 PM   #5
debuser123
Member
 
Registered: Nov 2006
Distribution: Ubuntu Hardy
Posts: 69

Original Poster
Rep: Reputation: 15
Well I got it to work, but it's very weird.

#1) have to specify a fake hsync range (I just guessed something like 50-80)
#2) have to have a modeline in for 1280x1024 @ 75hz
#3) have that mode listed under the Screen/Display subsection
This is using the nvidia driver (7182)

and now linux actually looks "right"!

The funny thing is is that it doesn't use the mode I specify and then the log displays "default" 1280x1024 modes:
Code:
(**) NVIDIA(0):      Mode "1280x1024_75.00": 138.5 MHz, 80.2 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
It seems the active mode is the 1280x1024 60hz refresh rate (the 3rd one listed, and which is also verified by my monitors OSD [thanks Wim]). If I do try and use 1280x1024@75Hz, the screen just looks messed up and sometimes goes all-black.

So I really don't know how to describe why it works but....it works.

Regarding #2...I tried a modeline of 60hz, which always resorted in a black non-responsive screen.

Last edited by debuser123; 11-19-2006 at 11:23 PM.
 
Old 11-20-2006, 12:12 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Debian provides old software. I suggest using latest version if possible from the desire Linux distribution.

For nVidia lagency software, you have to look in their archive servers.

If you do not care for 3D rendering, use nv or vesa driver.

Try using Knoppix or Powerstrip in Windows to create modelines.

Quote:
Originally Posted by Wim Sturkenboom
It's unlikely that you will blow a modern monitor up. You will more than likely get an out-of-range message on the screen if the input signal would possibly damage the monitor.

Your monitor probably has an OSD where you might be able to find which frequencies it uses at 1280x1024 in windows. Check that if you want to feel more secure.

So I would give it a go with a vertical refresh of 56Hz or lower
Why is everybody think that electronic devices that get damage, blows up. CRT monitors are the only piece of hardware that can be damaged by software. In Windows, it always states "Do you want to stay with these settings" after you change the resolution or refresh rate. Windows will not know the safest setting. It just reads either EDID, DDC, or guess. In Linux, only two things that is stopping X Window System the vertical and horizontal values. If these are not set, any modeline you add will work. There is no way of X Window System to stop what it is about to do. The latest XFree86 or Xorg, tries to access EDID, DDC, or guess the values, but usually it is half right. It is better to read the monitor's manual, use FCC or UL site to gather the information.
 
Old 11-20-2006, 03:19 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
@debuser123
Your screen can NOT handle 1280x1024 @ 75 Hz . Specs are not (good) enough for that !! It's either lower resolution at higher refresh or higher resolution at lower refresh.
This applies to any monitor, not only yours.

@Electro
Talking to me? Maybe my phrasing was not properly choosen. I know that it will not always say 'boom' or that the screen will not explode when it gets damaged.
 
Old 11-20-2006, 07:37 AM   #8
debuser123
Member
 
Registered: Nov 2006
Distribution: Ubuntu Hardy
Posts: 69

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Wim Sturkenboom
@debuser123
Your screen can NOT handle 1280x1024 @ 75 Hz . Specs are not (good) enough for that !! It's either lower resolution at higher refresh or higher resolution at lower refresh.
This applies to any monitor, not only yours.
Actually I looked at the OSD (which displays hsync & vrefresh) while in 1280x1024 in windows; 80Khz & 75hz respectively. This stuff is weird or I just don't get it.
 
Old 11-21-2006, 05:11 PM   #9
debuser123
Member
 
Registered: Nov 2006
Distribution: Ubuntu Hardy
Posts: 69

Original Poster
Rep: Reputation: 15
With further inspection it seems all I need to do at minimum is:
1) change the hsync range to something "usable"
2) add "1280x1024" to the Screen/Display/Modes option

Even though the official specs say 30-60Khz hsync, the monitor can do up to 80Khz (as it does in Windows verified with the OSD).
 
  


Reply

Tags
driver, legacy, nvidia, resolution, x11, xfree86



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
1024x768 Console!! (higher available!) halo14 *BSD 12 08-25-2008 01:47 PM
Cant get Resolution higher than 1024x768 with NVIDIA driver AntWarrior Ubuntu 3 03-17-2007 09:30 PM
I can't set higher resolution than 1024x768 3x3cut0r SUSE / openSUSE 11 08-30-2006 05:51 PM
So why can't I get Debian (2.6.x kernel) to go any higher than 1024x768 res.? dhatcher Debian 15 07-22-2005 12:27 PM
I can't set the resolution higher than 1024x768 Prism Slackware 5 08-27-2004 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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