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

Switching video modes not working - FIXED
http://forum.linhes.org/viewtopic.php?f=6&t=18677
Page 1 of 1

Author:  nbdwt73 [ Fri Aug 01, 2008 2:11 pm ]
Post subject:  Switching video modes not working - FIXED

This is related to another recent posting by me and supported by several other's postings elsewhere... http://mysettopbox.tv/phpBB2/viewtopic.php?t=18613 , http://www.mythtvtalk.com/forum/viewtop ... video+mode

The automatic switching between video modes (480p to 1080i and back, for example) does not seem to work in 5.5 (or other Myth .21 installs). Even though I have chosen "separate video modes for GUI and Video" (setup exactly as previous releases for several years) the videos (played with Xine or mplayer - doesn't matter) are always in 480p. The xorg log says the modelines are fine, I can manually switch them, but the automatic switch doesn't seem to work.

Since I have a 4:3 HDTV (can render 480p or 1080i) this means that either my GUI looks good and my videos don't or visa versa.

Has anybody gotten this working in 5.5?

Author:  nbdwt73 [ Sat Aug 02, 2008 6:30 am ]
Post subject: 

OK - I have learned a few things... The new Xorg in 5.5 treats certain things in xorg.conf differently than before. In the case of 4:3 HDTV installs where EDID is not available (I don't think any 4:3 older HDTVs will provide EDID) it is imperative that the DisplaySize parameter is accurate. I also found it necessary to use the options below to make this work. Now the system will switch between ModeLines correctly. See my Xorg.conf below (or the important part of it. Hope this helps some folks.

Code:
Section "Monitor"
   Identifier   "Monitor0"
   VendorName     "Unknown"
   ModelName      "CRT-0"
   HorizSync       30.0 - 83.0
   VertRefresh     60.0
   Option   "DPMS"   "true"
   Option "UseEdidDpi" "FALSE"
   Option "DPI" "750 x 562"
   Option "NoLogo" "true"
   Option "NoBandWidthTest" "true"
   Option "NoPredefinedModes"
   VendorName   "all"
   ModelName   "all0"
   UseModes "Modes_jr"
EndSection

Section "Modes"
   Identifier "Modes_jr"
   Modeline  "1920x1080jr" 86.906 1920 2024 2232 2576 1080 1081 1090 1125 interlace +hsync +vsync
   Modeline  "640x480jr" 26.718 640 704 800 848 480 490 492 525 -hsync -vsync
#   ModeLine  "nvidia-auto-select" 26.718 640 704 800 848 480 490 492 525 -hsync -vsync
#   ModeLine  "nvidia-auto-select" 86.906 1920 2024 2232 2576 1080 1081 1090 1125 interlace +hsync +vsync
EndSection           
           
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"
   Option "ModeValidation" "NoVesaModes, NoEdidModes, NoXServerModes, NoPredefinedModes, NoDFPNativeResolutionCheck"
   Option "NvAGP" "0"
   Identifier  "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
   Driver      "nvidia"
   Option "XvmcUsesTextures" "false"
   Option "UseEvents" "true"
   Option "UseEDID" "FALSE"
   VendorName  "All"
   BoardName   "All"
#   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
#   Option     "metamodes" "640x480jr +0+0; nvidia-auto-select +0+0"
   DefaultColorDepth 24
   SubSection "Display"
      Depth     24
      Modes "640x480jr" "1920x1080jr"
   EndSubSection
EndSection

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