View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 19 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Feb 06, 2007 8:10 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
I just found a gold nugget in my Xorg.0.log file (after I enabled the -logverbose 6 option). It seems that the new NVIDIA drivers are automaticly scaling video to the closest EDID mode your monitor reports to the NVIDIA driver. In the (very) detailed Xorg.0.log, you'll see that some modes have verbage about a "BestFit."
Code:
root@mythbox:/home/mythtv# cat /var/log/Xorg.0.log | grep BestFit
(II) NVIDIA(0):     BestFit Backend for "800x600@60": 800x600
(II) NVIDIA(0):     BestFit Backend for "640x480@60": 1920x1080
(II) NVIDIA(0):     BestFit Backend for "ATSC-720-60p": 1920x1080
(II) NVIDIA(0):     BestFit Backend for "ATSC-1080-59.94i": 1920x1080

A quick google search (What did we ever do without google?) I found this post from the MythTV.org mailinglist. In my case, MythTV/X is outputting my 720p video to conform to my ATSC-720-60p modeline. Then, the NVIDIA driver takes the 720p video and rescales it to match what it perceives to be the "BestFit" for my monitor (1920x1080). So it appears in my Xorg.0.log file that Xorg is changing resolutions properly, but the NVIDIA driver is rescaling to 1920x1080, so my monitor continues to report a 1920x1080 resolution thus faking me into thinking MythTV is not changing modes based on the video resolution. Man, oh man... I'll try some EDID related options to see if I can get this working the way I want it to. At least I know what's happening behind the scenes now...

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 06, 2007 10:33 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
That may be the most spectacularly obscure thing I've heard in a long day full of battling with obscure software behavior... :shock: Congratulations... ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 07, 2007 10:31 am 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
NVIDIA: We like to make our software do obscure things. (TM)

Since NVIDIA has introduced this new Native Resolution/Backend Resolution/Frontend Resolution stuff in the new 9746 driver (I'm guessing in all the 9xxx series drivers), I can no longer get a true 1080i or 720p image. My monitor's EDID feeds the NVIDIA driver the following resolutions:
Quote:
(II) NVIDIA(0): --- Modes in ModePool for WDE LVM-37w1 (DFP-0) ---
(II) NVIDIA(0): "nvidia-auto-select" : 1920 x 1080 @ 59.9 Hz (from: EDID)
(II) NVIDIA(0): "1920x1080" : 1920 x 1080 @ 59.9 Hz (from: EDID)
(II) NVIDIA(0): "1920x1080_60" : 1920 x 1080 @ 59.9 Hz (from: EDID)
(II) NVIDIA(0): "1280x1024" : 1280 x 1024 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "1280x1024_75" : 1280 x 1024 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "1280x1024_60" : 1280 x 1024 @ 60.0 Hz (from: EDID)
(II) NVIDIA(0): "1152x864" : 1152 x 864 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "1152x864_75" : 1152 x 864 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "1024x768" : 1024 x 768 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "1024x768_75" : 1024 x 768 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "1024x768_70" : 1024 x 768 @ 70.1 Hz (from: EDID)
(II) NVIDIA(0): "1024x768_60" : 1024 x 768 @ 60.0 Hz (from: EDID)
(II) NVIDIA(0): "800x600" : 800 x 600 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "800x600_75" : 800 x 600 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "800x600_72" : 800 x 600 @ 72.2 Hz (from: EDID)
(II) NVIDIA(0): "800x600_60" : 800 x 600 @ 60.3 Hz (from: EDID)
(II) NVIDIA(0): "800x600_56" : 800 x 600 @ 56.2 Hz (from: EDID)
(II) NVIDIA(0): "640x480" : 640 x 480 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "640x480_75" : 640 x 480 @ 75.0 Hz (from: EDID)
(II) NVIDIA(0): "640x480_73" : 640 x 480 @ 72.8 Hz (from: EDID)
(II) NVIDIA(0): "640x480_60" : 640 x 480 @ 60.0 Hz (from: EDID)
(II) NVIDIA(0): --- End of ModePool for WDE LVM-37w1 (DFP-0): ---

Because there is no true 1080i or 720p mode programmed into the EDID, the NVIDIA driver will scale 1080i or 720p to what it determines will be a "BestFit" for my monitor. When I select "Separate Video Modes for GUI and Playback" within MythTV I can get a little control back. As it stands now, I have 1920x1080i video being output to 1920x1080p; 1280x720p video being output to 1280x1024p and 720x480i video output to 800x600. All these at 60Hz. I tried using the EDID options in my xorg.conf file, but they are not able to get me where I want to be. If I disable EDID modes, my monitor will only start in NVIDIA's "mode of last resort," which is 800x600. Disabling the EDID all together results in the same behavior. I hope in the future NVIDIA will include options for override the Native Resolution/Backend Resolution/Frontend Resolution stuff. I'll look into bringing that up on the NVNews forum.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 07, 2007 6:41 pm 
Offline
Joined: Wed Jan 07, 2004 12:14 pm
Posts: 434
Location: Charlotte, NC
Good job Mike... As you noticed, I am running 5200 cards in my frontend machines so all my timings are calculated for those cards. On one of my front end machines I am using am using a KDS video adapter to a HDTV while on another I am native DVI to an HD LCD panel. I agree with you re: DVI seetings - I am not clear why it matters but without the Option "ExactModeTimingsDVI" "true" statement I have trouble rendering properly on both machines.

Another odd difference apparently between our setups - I am running on both frontend machines full 1080i. The only difference I see at the moment is that my modeline is actually 540p (that, of course, should make no difference). You see there are several modelines for each resolution in my xorg.conf file. They allow me to step my screen right or left to fit my monitors precisely. These are now working again so I know the resolutions are working correctly.

I will have more time this weekend to test some more and will report back the specific findings - I will put the machines back in verbose mode and report my logs.

Thanks for all the hard work.

_________________
nbdwt73


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu