LinHES Forums
http://forum.linhes.org/

Help get custom modeline working in XF86Config-4 file
http://forum.linhes.org/viewtopic.php?f=15&t=8818
Page 1 of 1

Author:  jmhunt [ Sat Mar 04, 2006 9:29 pm ]
Post subject:  Help get custom modeline working in XF86Config-4 file

I'm sure this is written up somewhere, but I can't seem to figure this out.

I've gone the PowerStrip route and gotten the following 3 modelines that work well on my HDTV, but I cannot seem to make my myth box display at anything other than 640x480 on the TV.

I'm using the DVI input.

Code:
   # Powerstrip timing: 1920x1080=1920,88,44,148,1080,4,10,30,74250,9
   ModeLine "1920x1080" 74.250 1920 2008 2052 2200 1080 1084 1094 1124 interlace +hsync +vsync
   # Powerstrip timing: 1280x720=1280,110,40,220,720,5,5,20,74250,1
   ModeLine "1280x720" 74.250 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
   # Powerstrip timing: 720x480=720,16,62,60,480,9,6,30,27000,7
   ModeLine "720x480" 27.000 720 736 798 858 480 489 495 525 -hsync -vsync


Here is the various sections of my XF86Config-4, but don't know why it won't take.

Code:
Section "Monitor"
   Identifier   "SonyKV30XBR910"
   # Option   "DPMS"   "true"
   VendorName   "PNR"
   ModelName   "PNR9890"
   HorizSync 31 - 80
   VertRefresh 24 - 75


snip lots of other modelines (the defaults)
Code:
Section "Device"
   ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
   #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
   Identifier  "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
   Driver      "nvidia"
   VendorName  "All"
   BoardName   "All"
#   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "SonyKV30XBR910"
   DefaultColorDepth 24
   SubSection "Display"
      Depth     1
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     4
      Modes "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     8
      Modes "1920x1080" "1280x720" "720x480" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     15
      Modes "1920x1080" "1280x720" "720x480" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     16
      Modes "1920x1080" "1280x720" "720x480" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     24
      Modes "1920x1080" "1280x720" "720x480"
   EndSubSection
   SubSection "Display"
      Depth     32
      Modes "1920x1080" "1280x720" "720x480" "640x480"
   EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection



the errors in my /var/log/XFree86.0.log

are

Code:
(WW) NVIDIA(0): Not using mode "1920x1080" (height 1080 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 540)
(WW) NVIDIA(0): Not using mode "1280x720" (height 720 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 540)
(WW) NVIDIA(0): Not using mode "800x600" (height 600 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 540)
(WW) NVIDIA(0): Not using mode "768x576" (height 576 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 540)
(WW) NVIDIA(0): Not using mode "400x300" (height 600 is larger than
(WW) NVIDIA(0):      EDID-specified maximum 540)
(WW) NVIDIA(0): Not using mode "720x480":
(WW) NVIDIA(0):   horizontal blanking width ((max(858,798) - min(720,736) =
(WW) NVIDIA(0):      138) not a multiple of 8
(WW) NVIDIA(0):   horizontal sync width (798 - 736 = 62) not a multiple of 8
(WW) NVIDIA(0):   horizontal frame length (858) not a multiple of 8



suggestions, ideas?

Author:  marc.aronson [ Sun Mar 05, 2006 1:19 pm ]
Post subject: 

Some HDTV's report back incorrect information in response to the "EDID" query, so you will need to disable EDID. Try searching fourm on "EDID" and "false"; if that doesn't work try "EDID" and "disable". Also, looks like your 720x480 modeline violates one of the "multiple of 8" rules for the Nvidia driver -- you'll need to adjust it, but since I haven't had to do this before, I can't give you detailed instructions on that.

marc

Author:  marc.aronson [ Sun Mar 05, 2006 1:21 pm ]
Post subject: 

Here's how my XF86Config-4 is setup to supress EDID:

Code:
Section "Monitor"
        Identifier      "Monitor0"
        Option  "DPMS"  "false"
        Option  "IgnoreEDID"    "True"
        Option "XvmcUsesTextures" "False"
        VendorName      "SAM"
        ModelName       "SAM015d"

Author:  jmhunt [ Sun Mar 05, 2006 7:14 pm ]
Post subject: 

That works! :D


Code:
Section "Monitor"
        Identifier      "Monitor0"
        Option  "DPMS"  "false"
        Option  "IgnoreEDID"    "True"


I think the IgnoreEDID is the key.

I've now got the 1920x1080i going. The interlacing is a bit annoying and the overscan cutoffs around the edges still needs tweeking, but it works and I didn't have to load a new kernel to get it to work.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/