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

edited XF86Config-4 to enable tv, only get background image
http://forum.linhes.org/viewtopic.php?f=5&t=7906
Page 1 of 1

Author:  whosmatt [ Mon Jan 16, 2006 12:08 pm ]
Post subject:  edited XF86Config-4 to enable tv, only get background image

once I got knoppmyth installed and mostly working, i edited my XF86Config-4 to enable tvout:

here's my XF86Config-4

Code:
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "tvout" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse using /dev/input/mice in Kernel 2.6
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"

EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
        FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#       FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
#       FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/usr/X11R6/lib/X11/fonts/defoma/CID"
        FontPath     "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
#       Load  "GLcore"
        Load  "dbe"
#       Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap" # bitmap-fonts
        Load  "speedo"
        Load  "type1"
        Load  "freetype"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xfree86"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"

EndSection

Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option      "Protocol" "Microsoft"
        Option      "Device" "/dev/ttyS0"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "mouse"
        Option      "Protocol" "auto"
Option          "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "SendCoreEvents"        "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by KNOPPIX mkxf86config -NOT!!!

Section "Monitor"
   Identifier "TV"
   HorizSync 30-50
   VertRefresh 60
   VendorName "unknown"
   ModelName "unknown"
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"
        Identifier  "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
        Driver      "nvidia"
        VendorName  "All"
        BoardName   "All"
#       BusID       "PCI:1:0:0"
    Option "TVStandard" "NTSC-M"
    Option "ConnectedMonitor" "dfp,tv"
    Option "TVOutFormat" "COMPOSITE"
    Option "NoLogo" "True"
    Option "RenderAccel" "True"
    Option "TVOverScan" "0.9"
EndSection

Section "Screen"
  Identifier "tvout"
  Device "Card0"
  Monitor "TV"
  DefaultColorDepth 24
  Subsection "Display"
   Depth 24
   Modes "640x480"
   ViewPort 0 0
  EndSubSection
  # Only the official NVIDIA driver supports twinview
  # these setting are an example
  #Option "TwinView" "true"
  #Option "SecondMonitorVendorName" "unknown"
  #Option "SecondMonitorModelName" "unknown"
  #Option "SecondMonitorHorizSync" "30-82"
  #Option "SecondMonitorVertRefresh" "50-75"
  #Option "MetaModes" "1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480"
  #Option "TwinViewOrientation" "Clone"
  #Option "ConnectedMonitor" "dfp,tv"
EndSection

Section "DRI"
        Mode 0666
EndSection


now, on boot, mythtv starts, and i get the "pre-scaling images" progress bars, and then just the background. no menu or anything.

FYI my TV is the only monitor connected. i did the setup with a regular monitor, then switched over to TV

i can ssh into the box to edit config files. what do i need to edit to fix this?

thanks

matt

Author:  Xsecrets [ Mon Jan 16, 2006 12:14 pm ]
Post subject: 

looks like you have edited out all of your metamodes, so you probably need to change this line too.
Code:
Option "ConnectedMonitor" "dfp,tv"


change "dfp,tv" to "tv"

Author:  whosmatt [ Mon Jan 16, 2006 12:29 pm ]
Post subject: 

Xsecrets wrote:
looks like you have edited out all of your metamodes, so you probably need to change this line too.
Code:
Option "ConnectedMonitor" "dfp,tv"


change "dfp,tv" to "tv"


done. however, i get the same result.

when i was running freevo on this box, the above settings worked fine. freevo has a conf file that specifies the display resolution. if the resolution in freevo was set higher than the X resolution, i would only see part of the freevo screen. could this be what's happening?

matt

Author:  cesman [ Mon Jan 16, 2006 12:33 pm ]
Post subject: 

Perhaps give the sample tv file a try?

Author:  whosmatt [ Mon Jan 16, 2006 12:38 pm ]
Post subject: 

cesman wrote:
Perhaps give the sample tv file a try?


where might i find this file?

Author:  cesman [ Mon Jan 16, 2006 12:39 pm ]
Post subject: 

Perhaps doing an ls in /etc/X11?

Author:  Xsecrets [ Mon Jan 16, 2006 12:39 pm ]
Post subject: 

same place you find XF86Config-4

/etc/X11

there are several example XF86Config-4.some.kind.of.sample files in there.

Author:  whosmatt [ Mon Jan 16, 2006 10:00 pm ]
Post subject: 

thanks, got it working fine. anybody know how to make nvtv settings survive a restart? i use nvtv to adjust the geometry.

Author:  Greg Frost [ Mon Jan 16, 2006 10:30 pm ]
Post subject: 

If you can do it from the command line, have a look at the nvtv related changes that the script in this post makes: http://mysettopbox.tv/phpBB2/viewtopic.php?t=6645

If you cant do it from the command line, you need to patch the nvtv source so that you can. There is some info on the wiki about doing this including an example patch. http://knoppmythwiki.org/index.php?page=TVOverScanHowto

Author:  cesman [ Mon Jan 16, 2006 10:33 pm ]
Post subject: 

:x Search! Don't frelling hop to another issue in the same thread.

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