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

Desktop on VGA and Mythtv on PVR350 TV Out
http://forum.linhes.org/viewtopic.php?f=11&t=10594
Page 1 of 1

Author:  myth@chakobsa.net [ Fri Jun 23, 2006 5:15 pm ]
Post subject:  Desktop on VGA and Mythtv on PVR350 TV Out

I've been searching the forum and finding tantalizing hints but can't locate a solid howto. If the following is possible, can someone point me to the necessary setup steps? I've seen a lot of fragments of howtos and comments that seem to indicate varying levels of success and failure. I doubt my Linux skills are sufficient for me to become the first person to ever accomplish this. Has anybody got a working setup like this or am I aiming my expectations too high?

I have a small Dell server with onboard Intel video and a PVR 350. I want to use the box as a video archive. I'm looking for long term storage of TV shows in divx or other highly compressed format and DVDs either in ISO or preferably a highly compressed format.

I'd like to have the Mythtv interface entirely on the PVR350 TV Out while simultaneously having a Linux X11 desktop on the on board Intel VGA output. I'd like the Mythtv interface on the PVR350 handle divx/xvid and DVD (from hard disc or LAN, no DVD drive in the KnoppMyth server) on the TV.

I'd like to be able to use this machine as a Linux desktop (mostly for lightweight non-compute-intensive tasks) while someone else is simultaneously using it to watch TV/Movies. The computer and monitor are in a different room than the TV.

I just installed R5C7. I had tried this unsuccessfully with earlier versions some time in the past, but reverted to Tivo and an Ubuntu (non-Mythtv) desktop so it's been a while since I've tried anything Myth of Knoppmyth related.

Hardware
Dell SC420
2GB RAM
SATA Root Disk
PATA Disk for /myth (planning to add another SATA and try to software RAID them)
PVR350
CD-ROM (no DVD, DVD playback will have to be via DVD's ripped on a separate machine and transfered as files over the network)

Author:  mjl [ Fri Jun 23, 2006 9:44 pm ]
Post subject: 

Hi,

I don't know about videos, been awhile since I used the split mode however worked fine for tv / tv recordings.

The key area is the XF86Config-4 setup. I also have not set it up on R5C7

Here is my Xf86Config-4
#6June2005
Section "ServerLayout"
Identifier "XFree86 Configured"
# Screen 0 "TV Screen" ##on/off switch
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
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

Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
# HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
VertRefresh 50.0 - 76.0 # Very conservative. May flicker.
# These are some Modelines that happen to work on many systems
# Especially the "1024x768" has been thoroughly tested, even on Laptops
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525 #6
0Hz
Modeline "800x600" 40.12 800 848 968 1056 600 601 605 628 #6
0Hz
Modeline "1024x768" 85 1024 1056 1152 1360 768 784 787 823
Modeline "1152x864" 92 1152 1208 1368 1474 864 865 875 895
Modeline "1152x864" 110 1152 1240 1324 1552 864 864 876 908
Modeline "1152x864" 135 1152 1464 1592 1776 864 864 876 908
Modeline "1152x864" 137.65 1152 1184 1312 1536 864 866 885 902 -H
Sync -VSync
Modeline "1280x1024" 80 1280 1296 1512 1568 1024 1025 1037 1165 In
terlace
Modeline "1280x1024" 110 1280 1328 1512 1712 1024 1025 1028 1054
Modeline "1280x1024" 126.5 1280 1312 1472 1696 1024 1032 1040 1068 -H
Sync -VSync
Modeline "1280x1024" 135 1280 1312 1456 1712 1024 1027 1030 1064
Modeline "1280x1024" 135 1280 1312 1416 1664 1024 1027 1030 1064
Modeline "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +H
Sync +VSync
Modeline "1280x1024" 181.75 1280 1312 1440 1696 1024 1031 1046 1072 -H
Sync -VSync
Modeline "1600x1200" 162 1600 1664 1856 2160 1200 1201 1204 1250 +H
Sync +VSync
Modeline "1600x1200" 189 1600 1664 1856 2160 1200 1201 1204 1250 -H
Sync -VSync
Modeline "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +H
Sync +VSync
Modeline "1600x1200" 220 1600 1616 1808 2080 1200 1204 1207 1244 +H
Sync +VSync
ModeLine "1800x1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +H
Sync +VSync
ModeLine "1800x1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +H
Sync +VSync
EndSection
Section "Monitor"
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
# D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode
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 "savage" #use your card, check value in current file
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"

### change fb1 to whatever number you got in the previous section
Option "fbdev" "/dev/fb0" #no boot splash
Option "ivtv" "/dev/fb0" #no boot splash
#change fb0 to be fb1 if using boot splash
### change the busid to whatever is reported by lspci. Note that
### output of lspci is hex, so convert to base 10 for the BusID --Hint 0A =10
BusID "0:9:0"

EndSection
Section "Screen"
Identifier "TV Screen"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x480"
EndSubsection
EndSection


Section "DRI"
Mode 0666
EndSection

There is a bunch of trash in the file that isn't used, but I never bothered to clean it out. Partly I am not sure of all that is trash and didn't feel it was of value to do that at this time.

Your mileage may vary however just recently a gentleman said he was successful using this information.
Mike

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