LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-10-2007, 07:47 PM   #1
groundstate
LQ Newbie
 
Registered: Nov 2003
Location: Toronto
Distribution: Mandriva
Posts: 3

Rep: Reputation: 0
nvidia driver chooses wrong native resolution


I have a GeForce 6600 on an x86_64 Mandriva Linux box, and a Hyundai 32" monitor.
The native resolution is 1360x768. The open-source nv driver works fine at this resolution. However, the nvidia driver ignores my modelines and resolution lines, and defaults to 1280x1024, which is not only wrong, but the wrong aspect ratio, so everything is stretched. 1360x768 is listed in the EDID, so I'm not sure why it's ignoring it. I've also tried deleting the vert/horiz lines, the modelines, and the resolution lines allowing everything to go automatic, with the same result.

This is with 100.14.09 and 9755 builds. Something makes me thing it used to work on an older distro with 8774, but I don't have it anymore.

Any help would be appreciated.

Interesting Xorg logs:

(--) NVIDIA(0): --- EDID for HIQ Q320WD DVI (DFP-0) ---
(--) NVIDIA(0): EDID Version : 1.3
(--) NVIDIA(0): Manufacturer : HIQ
(--) NVIDIA(0): Monitor Name : HIQ Q320WD DVI
(--) NVIDIA(0): Product ID : 23820
(--) NVIDIA(0): 32-bit Serial Number : 20050823
(--) NVIDIA(0): Serial Number String :
(--) NVIDIA(0): Manufacture Date : 2005, week 34
(--) NVIDIA(0): DPMS Capabilities :
(--) NVIDIA(0): Prefer first detailed timing : No
(--) NVIDIA(0): Supports GTF : No
(--) NVIDIA(0): Maximum Image Size : 700mm x 390mm
(--) NVIDIA(0): Valid HSync Range : 31.0 kHz - 83.0 kHz
(--) NVIDIA(0): Valid VRefresh Range : 56 Hz - 85 Hz
(--) NVIDIA(0): EDID maximum pixel clock : 140.0 MHz
(--) NVIDIA(0):
(--) NVIDIA(0): Established Timings:
(--) NVIDIA(0): 640 x 480 @ 60 Hz
(--) NVIDIA(0): 640 x 480 @ 75 Hz
(--) NVIDIA(0): 800 x 600 @ 60 Hz
(--) NVIDIA(0): 800 x 600 @ 75 Hz
(--) NVIDIA(0): 1024 x 768 @ 60 Hz
(--) NVIDIA(0): 1024 x 768 @ 75 Hz
(--) NVIDIA(0): 1280 x 1024 @ 75 Hz
(--) NVIDIA(0):
(--) NVIDIA(0): Standard Timings:
(--) NVIDIA(0): 640 x 480 @ 85 Hz
(--) NVIDIA(0): 720 x 405 @ 85 Hz
(--) NVIDIA(0): 800 x 600 @ 85 Hz
(--) NVIDIA(0): 1024 x 768 @ 85 Hz
(--) NVIDIA(0): 1280 x 1024 @ 60 Hz
(--) NVIDIA(0): 1280 x 720 @ 60 Hz
(--) NVIDIA(0):
(--) NVIDIA(0): Detailed Timings:
(--) NVIDIA(0): 1360 x 768 @ 60 Hz
(--) NVIDIA(0): Pixel Clock : 86.96 MHz
(--) NVIDIA(0): HRes, HSyncStart : 1360, 1480
(--) NVIDIA(0): HSyncEnd, HTotal : 1528, 1774
(--) NVIDIA(0): VRes, VSyncStart : 768, 778
(--) NVIDIA(0): VSyncEnd, VTotal : 783, 817
(--) NVIDIA(0): H/V Polarity : -/-
(--) NVIDIA(0): 1280 x 768 @ 60 Hz
(--) NVIDIA(0): Pixel Clock : 81.00 MHz
(--) NVIDIA(0): HRes, HSyncStart : 1280, 1328
(--) NVIDIA(0): HSyncEnd, HTotal : 1440, 1688
(--) NVIDIA(0): VRes, VSyncStart : 768, 769
(--) NVIDIA(0): VSyncEnd, VTotal : 772, 802
(--) NVIDIA(0): H/V Polarity : +/+
(--) NVIDIA(0):
(--) NVIDIA(0): --- End of EDID for HIQ Q320WD DVI (DFP-0) ---

(II) NVIDIA(0): Frequency information for HIQ Q320WD DVI (DFP-0):
(II) NVIDIA(0): HorizSync : 31.000-83.000 kHz
(II) NVIDIA(0): VertRefresh : 56.000-85.000 Hz
(II) NVIDIA(0): (HorizSync from EDID)
(II) NVIDIA(0): (VertRefresh from EDID)
(II) NVIDIA(0):
(II) NVIDIA(0): Native backend timings for HIQ Q320WD DVI (DFP-0):
(II) NVIDIA(0): 1280 x 1024 @ 60 Hz
(II) NVIDIA(0): Pixel Clock : 108.00 MHz
(II) NVIDIA(0): HRes, HSyncStart : 1280, 1328
(II) NVIDIA(0): HSyncEnd, HTotal : 1440, 1688
(II) NVIDIA(0): VRes, VSyncStart : 1024, 1025
(II) NVIDIA(0): VSyncEnd, VTotal : 1028, 1066
(II) NVIDIA(0): H/V Polarity : +/+
(II) NVIDIA(0): Assigned Display Device: DFP-0
(II) NVIDIA(0): Requested modes:
(II) NVIDIA(0): "1360x768"
(WW) NVIDIA(0): No valid modes for "1360x768"; removing.
(WW) NVIDIA(0):
(WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
(WW) NVIDIA(0): "nvidia-auto-select".
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): MetaMode "nvidia-auto-select":
(II) NVIDIA(0): Bounding Box: [0, 0, 1280, 1024]
(II) NVIDIA(0): HIQ Q320WD DVI (DFP-0): "nvidia-auto-select"
(II) NVIDIA(0): Size : 1280 x 1024
(II) NVIDIA(0): Offset : +0 +0
(II) NVIDIA(0): Panning Domain: @ 1280 x 1024
(II) NVIDIA(0): Position : [0, 0, 1280, 1024]
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
 
Old 06-10-2007, 07:50 PM   #2
groundstate
LQ Newbie
 
Registered: Nov 2003
Location: Toronto
Distribution: Mandriva
Posts: 3

Original Poster
Rep: Reputation: 0
xorg.conf

Here's the juicy parts of my xorg.conf.
(Why don't these forums support attachments?)

Section "Monitor"
Identifier "monitor1"
VendorName "Hyundai Electronics Industries Co., Ltd."
ModelName "Hyundai Image Quest Q320"
HorizSync 31-83
VertRefresh 56-85

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1360x768_120" 183.30 1360 1456 1608 1856 768 769 772 823 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1360x768_100" 149.78 1360 1456 1600 1840 768 769 772 814 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1360x768_85" 125.12 1360 1448 1592 1824 768 769 772 807 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1360x768_75" 108.75 1360 1440 1584 1808 768 769 772 802 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1360x768_60" 84.72 1360 1424 1568 1776 768 769 772 795 -HSync +Vsync

# modeline generated by gtf(1) [handled by XFdrake]
ModeLine "1360x768_50" 69.61 1360 1416 1560 1760 768 769 772 791 -HSync +Vsync
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX - GeForce 7950"
Driver "nvidia"
Option "DPMS"
Option "AddARGBGLXVisuals"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1360x768"
EndSubsection

Subsection "Display"
Depth 15
Modes "1360x768"
EndSubsection

Subsection "Display"
Depth 16
Modes "1360x768"
EndSubsection

Subsection "Display"
Depth 24
Modes "1360x768"
EndSubsection
EndSection

Thanks again!
 
Old 06-10-2007, 08:00 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The modes line in the display section have to match the modelines names in the monitor section or else X Window System will fine out the modelines for 1360x768.
 
Old 06-10-2007, 08:15 PM   #4
groundstate
LQ Newbie
 
Registered: Nov 2003
Location: Toronto
Distribution: Mandriva
Posts: 3

Original Poster
Rep: Reputation: 0
more modelines

Well, I think they match enough already. This was generated by XFdrake, and works fine with the nv driver.

If you're implying that I need this line:
ModeLine "1360x768" 84.72 1360 1424 1568 1776 768 769 772 795 -HSync +Vsync
I tried adding it and I still get "no valid modelines".
 
  


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
FC7 installation / Nvidia display problem - ?installed wrong driver? redfinger Linux - Newbie 3 07-02-2007 04:40 PM
Cant get Resolution higher than 1024x768 with NVIDIA driver AntWarrior Ubuntu 3 03-17-2007 09:30 PM
Resolution problem with nVidia driver only SlackTux Slackware 4 08-29-2006 09:04 AM
NVIDIA 7174 Driver - Wrong kernel sources error dezza Linux - Hardware 6 05-06-2005 01:34 PM
no X server due to wrong Nvidia driver Bruce Hill Linux - Newbie 14 10-24-2003 10:59 AM

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

All times are GMT -5. The time now is 09:34 AM.

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