View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Feb 12, 2007 4:00 pm 
Offline
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location: IN
I recently upgraded my Myth hardware and went from a VGA output to a DVI to HDMI output. For some reason the custom 1368x768 modeline that worked fine over VGA didn't work at all with the DVI to HDMI output. Here is how I fixed it.

Note: I am using the 91.xx series Nvidia drivers which are NOT the stock drivers in R5E50 so there is a chance not all of these settings will work for you!

First off I'm using the exact same modeline that I was before, it didn't change at all. I simply added additional options to xorg.

Here is the "Monitor" section of my xorg.conf
Code:
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "MA-32EF1AC"
        HorizSync    28.0 - 96.0
        VertRefresh  50.0 - 75.0
        ModeLine     "1368x768" 85.9 1368 1440 1584 1800 768 769 772 795 -hsync +vsync
        Option      "DPMS" "FALSE"
        Option      "IgnoreEDID"
        Option      "DPI" "100x100"
EndSection

The only line of great importance to our cause here is Option "IgnoreEDID". This tells Xorg to ignore anything your TV tells it (via EDID) and do what YOU tell it to do - Very important!

Here is my "Device" section. This is where it gets exciting!
Code:
Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "nVidia Corporation [GeForce 6150]"
        Option      "UseEvents" "True"
        Option      "RenderAccel" "1"
        Option      "ConnectedMonitor" "DFP"
        Option      "UseDisplayDevice" "DFP-0"
        Option      "ExactModeTimingsDVI" "true"
        Option      "IgnoreDisplayDevices" "TV"
EndSection

[DFP stands for Digital Flat Panel in case anyone is wondering.]

I have added the Option "UseEvents" "True" because I am using the 91.xx series drivers and it greatly reduces xorg CPU usage. If you aren't using 91.xx drivers this should be removed. [more info here: http://www.mysettopbox.tv/phpBB2/viewto ... t=xorg+cpu]

I added the last four lines which seem to make the difference in getting Xorg to output my 1368x768 modeline instead of always being 800x600 no matter what I do.

I'm not 100% sure how or why it works but it does. I think the real magic is the "UseDisplayDevice" "DFP-0" and the "ExactModeTimingsDVI" "true" lines.

I haven't had time to mess with commenting and uncommenting each line to see the effect. I plan to test that later and report back. I just wanted to get something posted as there seems to be others having similar problems.

I hope this information helps somebody else out!

Martian

_________________
ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote

Vizio 37" LCD HDTV (1080p)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 15, 2007 4:25 pm 
Offline
Joined: Tue Feb 22, 2005 2:38 pm
Posts: 10
Thanks for doing this, and please do keep us updated on whether or not you figure out which line permanently fixed things up for you. I'm on the verge of picking up an LCD HDTV and am going to have to do some hardware shopping in order to play HD on MythTV. I was planning on using something very close to what you're using (including the case you picked out and the HDHomeRun), so I'll definitely be keeping tabs on the hurdles in your way and what you ended up doing to make it work.

Thanks and best of luck getting it working 100%.

Doug


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2007 5:53 pm 
Offline
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location: Central NJ
I tried this and I was getting a signal out of my DVI, but for some reason, no matter what I did...it would come out as 480p.

_________________
Currently running: R5.5, HD5000 x 2, PVR150, Athlon 64 3000+, Chaintech VNF4, 1GB RAM, 2 x 250GB in LVM, MSI NX6200TC -> AA 9A60 -> HDTV


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 10, 2007 11:32 am 
Offline
Joined: Tue Jan 30, 2007 1:27 am
Posts: 299
ed3120 wrote:
I tried this and I was getting a signal out of my DVI, but for some reason, no matter what I did...it would come out as 480p.


Ed, I'm having similar problems. I have a Vizio 37" LCD from Sam's club. What is the make, model, type (LCD, plasma, etc) and size of your TV?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 15, 2007 10:44 am 
Offline
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location: IN
You guys that can't seem to change resolutions I'm thinking it might be a twinview issue. I just looked in my xorg.conf and found a couple different places where I had to comment out a line that said " Viewport 0 0 " in my Display subsections which seemed to get things back to normal.

I think my xorg.conf might be a carryover from a different distribution so I don't know if this will help you guys or not but I thought I would throw it out there.

As for trying to figure out what specific line actually got my DVI to HDMI output working I never did go back and try. I kinda went with the "if it ain't broke don't fix it" method.

Martian

_________________
ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote

Vizio 37" LCD HDTV (1080p)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 30, 2007 6:18 am 
Offline
Joined: Thu Feb 24, 2005 2:50 am
Posts: 60
FYI, in case it may help anyone, here's the xorg.conf that I've come up with so far to get both XGA and DVI->HDMI output to work at 1080p resolution (in clone mode) on an Nvidia FX5200 with the "9755" driver connected to a Sony XBR2 flat-panel LCD TV. (The 9755 driver is not the driver that originally comes with R5F1; updated it first per instructions in the KnoppMyth wiki.)
Code:
# custom xorg.conf for 1920x1080p via both RGB & DVI outputs; assumes 9755 driver
# (some lines may not be required)
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "SONY TV"
    HorizSync       30.0 - 80.0
    VertRefresh     59.0 - 61.0
    Option         "DPMS" "False"
    Modeline       "1920x1080p_old" 148.5 1920 2008 2052 2200 1080 1084 1094 1124 -hsync -vsync
    Modeline       "1920x1080p_edid" 148.5 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Modeline       "1920x1080p_edid2" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Modeline       "1920x1080i_edid" 74.18 1920 2008 2052 2200 540 542 547 562 +hsync +vsync interlace
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
    Option         "UseEvents" "TRUE"
    Option         "UseEDID" "FALSE"
#    Option         "UseEDIDFreqs" "FALSE"
    Option      "ConnectedMonitor" "CRT-0, DFP-0"
    Option         "UseDisplayDevice" "CRT-0, DFP-0"
#    Option         "CustomEDID" "DFP-0:/etc/X11/edid-dfp.bin"
#    Option         "CustomEDID" "CRT-0:/etc/X11/edid-crt.bin"
    Option         "DPI" "100x100"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "SecondMonitorHorizSync" "30.0-80.0"
    Option         "SecondMonitorVertRefresh" "59.0-120.0"
    Option         "NoLogo" "1"
    Option         "TwinView" "1"
    Option         "TwinViewOrientation" "Clone"
    Option         "MetaModes" "CRT: 1920x1080p_old +0+0, DFP: 1920x1080p_old +0+0"
    Option         "AllowDFPStereo" "True"
    Option         "ExactModeTimingsDVI" "True"
    Option         "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck, NoDFPNativeResolutionCheck"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

* I'm still seeing periodic video blanking out via the DVI->HDMI input though (could be a 9755 driver bug, or maybe this particular TV doesn't like that there's no HDCP, but I haven't seen these glitches under Winderz). The mode lines with "edid" in their name came from the TV. (The reason I'm fooling with HDMI at all is because the TV doesn't allow picture settings to be adjusted via the PC input.)

It probably hasn't been reiterated enough that if you have problems with your X settings in xorg.conf, you can do the following to restart X in verbose logging mode and view the log file. The following sequence assumes you're using KnoppMyth R5F1:
Code:
Ctrl-Alt-F1 (to get to command prompt)
   telinit 1
   pkill xinit
   startx -- -logverbose 6
Ctrl-Alt-F1 (assuming X started at all)
Ctrl-C
   less /var/log/Xorg.0.log


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

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