Fedora Linux Support Community & Resources Center
  #1  
Old 8th May 2011, 11:02 PM
robjohnson Offline
Registered User
 
Join Date: May 2011
Posts: 2
linuxfedorafirefox
Thumbs up Getting native resolution over DVI using nouveau under Fedora 13

Hardware:
Nvidia GeForce 5900 Ultra NV35
Coby TFTV1923 1440x900 LCD flat panel

Driver:
nouveau

System:
F13 Fedora Core 13

Problem:
When switching over from VGA to DVI connection, native resolution is not available.

Details:
From what I've read on the web, there seem to be a lot of folks having problems with DFP screens and nouveau/nvidia drivers. Here's a summary of how I got 1440x900@60 reduced blanking mode to work on my screen.

The root cause of all these problems seems to be the loss of the Option for DFP scaling mode previously implemented as:
Option "FlatPanelProperties" "Scaling = Native"

The modeline for DVI is easily generated with cvt:
[rob@GW710X X11]$ cvt 1440 900 60
# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
[rob@GW710X X11]$ cvt -r 1440 900 60
# 1440x900 59.90 Hz (CVT 1.30MA-R) hsync: 55.47 kHz; pclk: 88.75 MHz
Modeline "1440x900R" 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync
whereas the modeline for VGA came from an online calculator:
Modeline "1440x900@60" 108.84 1440 1472 1880 1912 900 918 927 946 -HSync +Vsync

The problem is that EDID over the DVI has no 1440x900 mode defined. After specifying:
Option "monitor-VGA-1" "MonitorVGA"
Option "monitor-DVI-I-1" "MonitorDVI"
in the Device section of xorg.conf I was able to get a dual head cloned screen:
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 0 0
but the DFP had only 1280 by 720 resolution, the "preferred" mode over the DVI EDID. (I've left out digging through Xorg.0.log and temporarily switching to the nvidia closed source driver--good thing I paid attention to the installation procedure and was able to successfully back out without too much difficulty, with only an hour or so of no X at all.) (That almost sounds dirty...)

After much gnashing of options without success:
Option "UseEDID" "FALSE"
Option "ExactModeTimingsDVI" "TRUE"
Option "ModeValidation" "NoMaxPClkCheck"
Option "ModeValidation" "NoEdidMaxPClkCheck"
Option "ModeValidation" "NoDFPNativeResolutionCheck"
to fix the stuttering picture over the DVI when
Option "PreferredMode" "1440x900_60.00"
I finally found the xrandr command to jiggle the DFP scaling mode:
xrandr --output DVI-I-1 --set "scaling mode" "None"
followed by
xrandr --output DVI-I-1 --mode "1440x900_60.00"
to set the resolution. Yea--success! Keeping with the timeline, the next step was to find where in the boot process to insert those commands. After trying rc.local, which does not work because it is too early in the sequence, I got it working post login by putting them (with sleep1; preceding) in .xinitrc but that wasn't what I wanted, as the gdm login screen was only the 1280x720 upper left corner, and the useful buttons are in the lower right. Finally I found the /etc/gdm/Init/Default script (after playing with PostLogin and the others) to which I added:
# INSERTED TO SET DFP SCALING MODE AND RESOLUTION
sleep 1; /usr/bin/xrandr --output DVI-I-1 --set "scaling mode" "None"
sleep 1; /usr/bin/xrandr --output DVI-I-1 --mode "1440x900_60.00"
right after the environment variables and before the gdmwhich command. (George left some entertaining comments in that script--it's always fun digging through linux code.) Yea--now it boots to 1440x900 without a hitch! (As long as some boot flickering is not bothersome.) Last step was to get the reduced blanking working, which kept showing up offset left (or was it right?) by some amount. Enabling that mode through xrandr then using xvidtune got me the modeline that I finally am using:
Modeline "1440x900R" 88.75 1440 1468 1500 1600 900 903 909 926 +hsync -vsync
which shifts the screen right (or maybe left). For some widget reason xvidtune wouldn't apply the changes live, but it is easy to see the effect on the modeline values when the buttons are clicked. I guessed correctly that four clicks gave me a root window aligned with my screen.

Before divulging my working xorg.conf I would like to suggest to the nouveau and nvidia linux driver developers that Option "FlatPanelProperties" be reinstated with support for at least "Scaling = <value>" if nothing else. All the other options one can handle with xrandr after booting , but being able to set
scaling mode: None
supported: None Full Center Full aspect
through the driver would alleviate many users woes. Having both VGA and DVI connections between the box and the monitor really helped with the troubleshooting. Without further adieu here is my current xorg.conf file (note I've got VGA setup for an alternate dual head screen)--use at your own risk, YMMV, but you gotta learn somehow:
[rob@GW710X X11]$ cat xorg.conf
Code:
# Xorg configuration created by hand

Section "ServerLayout"
	Identifier     "current configuration"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" LeftOf "Screen0"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "nouveau"
	VendorName  "nVidia Corporation"
	BoardName   "NV35 [GeForce FX 5900 Ultra]"
	BusID       "PCI:1:0:0"
	Option	    "monitor-VGA-1" "MonitorVGA" 
	Option      "monitor-DVI-I-1" "MonitorDVI" 
EndSection

# disable TV-1 by default
Section "Monitor"
    Identifier      "TV-1"
    Option "Ignore" "true"
EndSection

Section "Monitor"
	Identifier   "MonitorVGA"
	VendorName   "Coby TFTV1923"
	ModelName "LCD Panel 1440x900"
	Option "dpms"
#	DisplaySize  408 255 # in mm
#	#	From online modeline calculator -- works great over VGA
#	Modeline "1440x900@60" 108.84 1440 1472 1880 1912 900 918 927 946 -HSync +Vsync
#	Option	 "PreferredMode" "1440x900@60"
EndSection
	
Section "Monitor"
	Identifier   "MonitorDVI"
	VendorName   "Coby TFTV1923"
	ModelName "LCD Panel 1440x900"
	Option "dpms"
#	DisplaySize  408 255 # in mm
#	Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
	Modeline "1440x900R"   88.75  1440 1468 1500 1600  900 903 909 926 +hsync -vsync
	Option   "PreferredMode" "1280x720"
	Option "ReducedBlanking" "TRUE"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "MonitorDVI"
	DefaultDepth     24
	SubSection "Display"
		Depth      24
		Virtual 2880 900
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card0"
	Monitor    "MonitorVGA"
	DefaultDepth     24
	SubSection "Display"
		Depth      24
	EndSubSection
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "catalogue:/etc/X11/fontpath.d"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "dri2"
	Load  "extmod"
	Load  "glx"
	Load  "dbe"
	Load  "record"
	Load  "dri"
EndSection
After the inordinate amount of time I spent losing sleep over this issue, I thought I'd share with the forums how I finally got it to work.
Reply With Quote
  #2  
Old 6th June 2012, 05:37 PM
ozgur221 Offline
Registered User
 
Join Date: Jun 2012
Location: ist
Posts: 3
linuxchrome
Re: Getting native resolution over DVI using nouveau under Fedora 13

Abi sen süpersin ya. Allah senden razı olsun.
You are PERFECT man ! God bless you. These are what exactly i have searched about my resolution problem.
Reply With Quote
  #3  
Old 12th June 2012, 04:19 PM
robjohnson Offline
Registered User
 
Join Date: May 2011
Posts: 2
linuxfedorafirefox
Re: Getting native resolution over DVI using nouveau under Fedora 13

Glad you found this post useful. I've referred back to it myself on a couple of occasions now during updates. The "Files" section in the xorg.conf above is unnecessary, and in fact the screen fonts look better without it, so I suggest removing it.
Reply With Quote
  #4  
Old 22nd July 2012, 11:42 AM
ozgur221 Offline
Registered User
 
Join Date: Jun 2012
Location: ist
Posts: 3
linuxchrome
Re: Getting native resolution over DVI using nouveau under Fedora 13

Quote:
Originally Posted by robjohnson View Post
Glad you found this post useful. I've referred back to it myself on a couple of occasions now during updates. The "Files" section in the xorg.conf above is unnecessary, and in fact the screen fonts look better without it, so I suggest removing it.
Thanks for your advice.
Reply With Quote
Reply

Tags
native resolution, nouveau dvi port, xorg.conf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Screen Resolution Using Nouveau. Debroyston Hardware & Laptops 4 13th September 2009 04:48 PM
ATI hd2600 using fglrx from livna native resolution. Any chance? sam09 Hardware & Laptops 3 3rd February 2008 04:45 AM
Native screen resolution? frsswdn Hardware & Laptops 3 27th January 2008 07:07 PM
Can not set widescreen monitor to its native resolution. sweetrain Using Fedora 9 18th May 2007 06:06 PM
1400x1050 Native Resolution CheezyArmpit Hardware & Laptops 0 24th June 2005 05:18 PM


Current GMT-time: 10:03 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat