View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 20 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Apr 12, 2005 10:04 am 
Offline
Joined: Sat Apr 09, 2005 2:37 pm
Posts: 10
I've searched a number of topics and tried a number of things now to try to get R5A12 work with my TV. The best I've managed is to get Myth playing in a small 4:3 rectangle within my larger 16:9 HDTV.

I am unable to install with the TV attached (even typing TV at the boot prompt - difficult as that is with no visible prompt). I am forced to install with a VGA display attached t the VGA-out of the nVidia 5200 card.

This is the first time I've tried to install Myth for HD. FWIW, I have generally had success with R5A12 with only a few exceptions - this being one of them of course.

After installation I pull the VGA display off, attach the TV via DVI and reboot. Sadly I see nothing during the wntire boot process - the MythTV UI comes up eventually however, but as I descibe: 4:3 and in a smaller area than the entire display.

Months back, from a Mac (Powerbook) I probed the EDID data from my TV and I believe it reported the usual suspects: suchnsuch x 480 (or was it 540?), suchnsuch x 720 and suchnsuch x 1080.

Perhaps the nVidia card has chosen a mode that is not the maximum? Still, I would expect the TV to scale then....

I edited /etc/X11/XF86Config-4 all night last night (I am new at this) to no visible effect. Specifically, although I added a parallel "Device", "Screen" and "Monitor" (one that I hope has characterisitics that reflect my TV) it is not obvious to me how you specify in the config file which of the many modes for which of the two "Screen"s etc. to use. The card has two "outs", so how is it to know which mode list is associated with which "out"?

Any experts on this?

I tried running mkxf86config (hoping it would return the EDID data from my TV in a XF86Config-4-friendly manner) but I appear not to know how to use this tool.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 4:55 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
I wasn't aware that you could have two screen sections I believe you have just made a jumbled mess of the config file and it's just using the first thing it comes to.

You will need to find an appropriate modeline for your tv. Another problem is that many tv's use hdvi or dvih or something like that which is not particularly compatible with computer dvi.

important parts of my XF86Config-4 file (note do not use this directly on as a guide. I'm using vga->component converter, but concept should be similar)

Code:
Section "Monitor"
        Identifier      "Monitor0"
        Option  "DPMS"  "false"
        DisplaySize  534 300
        HorizSync    30 - 50 # Warning: This may fry old Monitors
        VertRefresh  60 # Very conservative. May flicker.
        # hdtv modelines
        ModeLine "960x540p" 37.26 960 976 1008 1104 540 542 548 563 +hsync +vsync
        ModeLine "ATSC-720-59.94p" 74.086 1280 1320 1376 1648 720 722 728 750
        ModeLine "ATSC-720-60p" 74.16 1280 1320 1376 1648 720 722 728 750
        ModeLine "ATSC-1080-59.94i" 74.176 1920 1960 2016 2200 1080 1082 1088 1125 Interlace
        ModeLine "ATSC-1080-60i" 75 1920 1960 2016 2200 1080 1082 1088 1125 Interlace
        ModeLine "1920x1080" 77.686 1920 2080 2120 2312 1080 1112 1117 1120 interlace +hsync +vsync

EndSection

Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     24
#               Modes "ATSC-720-59.94p"
#               Modes "ATSC-720-60p"
#               Modes "960x540p"
                Modes "ATSC-1080-59.94i" "ATSC-720-59.94p" "640x480"
#               Modes "ATSC-1080-60i"
#               Modes "1024x768@60"
#               Modes "640x480"
        EndSubSection
EndSection

note here only one of the lines is uncommented, but it has a few resolutions I can change to.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 5:40 pm 
Offline
Joined: Fri Feb 13, 2004 10:14 am
Posts: 13
Quote:
I wasn't aware that you could have two screen sections


Someone had a sample config file that illustrated as much. I think it was for running "dual headed" though - who knows how MythTV would handle this scenario. I did not add the second screen to the "ServerLayout" section though (as I had seen done for dual-headed config).

So in your "Screen" section above, you list:

Code:
Modes "ATSC-1080-59.94i" "ATSC-720-59.94p" "640x480"


Fine. So which one does MythTV pick up? There are three listed there. Anyway to cycle through these in MythTV/Linux? (Sorry, I have a Mac background.)

And should I need to go back to using my VGA display for maintnence or whatever, I guess I have to restore my config file again? (Keep two copies?) This is why I was hoping to have parallel screen/monitor/card.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 5:41 pm 
Offline
Joined: Fri Feb 13, 2004 10:14 am
Posts: 13
(John Calhoun == Astera, depends on whether I post from work or home.)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 6:19 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
it always uses the first one if it is valid. to switch between them you use ctrl+alt+"+" however that leaves the virtual screen size the same the best way to change between them is to use xrandr.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 11:17 pm 
Offline
Joined: Sat Apr 09, 2005 2:37 pm
Posts: 10
Thanks for pointing me to xrandr. When I ssh in and try xrandr it did nothing ("Can't open display (null)").

I went to my Myth box, exited MythTV, opened an XTerm and tried xrandr. Illuminating....

It says:

Code:
SZ:    Pixels      Physical     Refresh
#0   640 x 480  (163mm x 122mm)  *60
 1   320 x 240  (163mm x 122mm)   60
Current.... (etc.)


It seems to have pulled these modes from thin air. I was wondering why I could edit and edit and edit my XF86Config-4 and see no effect. There is nowhere in my config file these resolutions/timings ... it seems my box is in another reality.

Could my box be using one of the other config files? Like XF86Config?

Or could it relate to having no display attached to the VGA port of the nVidia 5200 (only a TV on the DVI port)?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 11:36 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
You need to examine the log file produced by XFree86 when it starts up. It tells you in great detail which modelines it is using and which were discarded. It's in the directory /var/log and is called XFree86.0.log.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 11:38 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
I think the important thing here is to notice that both modes are 60hz refresh. I'll bet if you get some modelines at higher resolutions but keeping the same vertical refresh rate they will work. All of the modelines in my example have a 60hz (or close enough) vertical refresh rate. you could try them, but make sure that your set can accept those resolutions, and be ready to turn the tv off if you get wacked out stuff instead of a good picture.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 13, 2005 10:14 am 
Offline
Joined: Sat Apr 09, 2005 2:37 pm
Posts: 10
Thanks fopr pointing me to XFree86.0.log. THat log is amazing. I think I might see what is going on:

Code:
(WW) NVIDIA(0): Not using mode "1160x680" (height 680 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 540)


So since the HDTV returns EDID data, this is referecned and the modelines I've been entering have been rejected - why? Because they specify vertical resultions > 540. Likelt 640 x 480 is the only mode allowable.

I'm assuming now that the 540 limitation is a reference to 1080i. Since it is interlaced, I think TV's often threat the resolution as half of 1080. I just need to enter a modeline that represents something like 1920 x 540 with the proper interlaced flag set, etc.

I'll post if I get something to work.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 13, 2005 10:37 am 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
The nvidia driver also allows you to configure X to tell it to ignore EDIDs:

Option "IgnoreEDID" "boolean"
Disable probing of EDID (Extended Display Identification
Data) from your monitor. Requested modes are compared
against values gotten from your monitor EDIDs (if any)
during mode validation. Some monitors are known to lie
about their own capabilities. Ignoring the values that
the monitor gives may help get a certain mode validated.
On the other hand, this may be dangerous if you do not
know what you are doing. Default: Use EDIDs.

(from the /usr/share/doc/NVIDIA_GLX-1.0/README file)

Depending on the device, this might allow you a stopgap solution for the time being until you put together the correct modelines. However, it may also be possible to overdrive your device if the original modelines weren't conservative. On CRTs, this was bad, not sure what it entails for flat panels.

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 13, 2005 6:56 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
I would suggest you try one of the 1080i modelines that I have posted earlier, or find a 540p modeline.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 13, 2005 8:53 pm 
Offline
Joined: Tue Feb 08, 2005 5:18 pm
Posts: 70
Here is the setup I use for 540p using DVI on my sony grand wega. I can't guarantee it'll work for you but I've been using it for several months with no problems. I'm using 540 because I don't (yet) have an HD card so 540 is plenty.

I can't remember off hand what DisplaySize is there for. I think it may be to render fonts at a reasonable size. I'm sure a google search will show something.

Code:
Section "Monitor"
        Identifier           "MonitorDVI"
        VendorName    "Sony"
        ModelName      "KF-60WE610"
        DisplaySize       320 180             # 16:9 aspect ratio
        Option              "ConnectedMonitor" "DFP"
        Option              "IgnoreDisplayDevices" "CRT,TV"
        Option              "NoLogo" "1"
        Modeline          "960x540" 41.71 960 992 1192 1224 540 542 543 568
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "MonitorDVI"
        DefaultColorDepth 24
        SubSection "Display"                 
                Depth   24
                Modes   "960x540"         
        EndSubSection
EndSection


Hope that helps. Good luck!

rich


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 13, 2005 9:23 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
yes the displaysize setting affects the font size. I didn't include it in my snippets, but I had to adjust mine too.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 13, 2005 11:39 pm 
Offline
Joined: Sat Apr 09, 2005 2:37 pm
Posts: 10
As I mentioned, any modeline with a height >540 will prompt the EDID threat and will be rejected (I'm not going to override the EDID yet).

These sort of worked:

Code:
ModeLine "960x540 60Hz" 37.293 960 976 1008 1104 540 542 548 563 +hsync +vsync
ModeLine "960x540 60Hz" 42.187 960 1056 1104 1248 540 547 548 563 +hsync +vsync
ModeLine "960x540 59.6Hz" 37.286 960 960 992 1112 540 544 550 563 +hsync +vsync
ModeLine "960x540" 41.71 960 992 1192 1224 540 542 543 568


... but the image was unstable — would blank out from time to time (with the latter mode this happened every half second or so). Also, much too much overscan....

Otherwise, the image looked good (HD), the UI was centered and visible (though cropped due to overscan).... I'm going to keep plugging away.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 14, 2005 10:02 pm 
Offline
Joined: Sat Apr 09, 2005 2:37 pm
Posts: 10
Success! Here is the modeLine that worked:

Modeline for a Toshiba 30HF84 30" TheaterWide HD-Ready Flat-Screen TV (DVI in):

Code:
 Modeline "1280x720" 74.160 1280 1352 1392 1648 720 725 730 750 -hsync -vsync


It was not arrived at by accident either. Specifically this is a modeline that is nearly dead-on spec.

For ATSC HD, 720p is defined to have a pixel frequency of 74.250 MHz (for 60Hz V frequency) — this one is within 0.1% of that frequency (74.160).

To compute the vertical refresh of theis modeLine:
74.160 / 1648 / 750 * 1000000 = 60.000 Hz
Dead on.

Since computer display cards like the number 8, those requirements are met as well (1648 - 1280 is a multiple of 8, etc.).

(I'm learning a lot about modeLines and display timing characteristics.)

This did require (thank you) setting the "IgnoreEDID" option since the TV was specifiying 540 as the maximum height.

BTW, this model TV is going for $700 at Amazon. I think I paid double that a year ago....


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 24 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