Mon 3 Mar 2003
Found a real cool project on the web, www.mythtv.org
Here is some documentation on what I did.
Myth TV Project
Hardware
AMD XP1800+
K7VMM+ Micro Socket A board with Lan/Sound/Video
512MB Ram
Win Go TV Tuner
GeForce 4 64MB with TV out (Did not use built in Video)
Sound Blaster Live (built in sound did, disabled)
80 GB Hard Drive (Maxtor with 8MB buffer)
Installed a fresh copy of Mandrake 9.0, and then because I knew I would be reinstalling many times, ghosted the drive.
I followed the instructions at Myth TV Documentation. These step by step instructions, with specific notes on Mandrake 9.0 lead me through the compiling and installation. Below are some of the things I ran into.
I can not say this enough, sign up for the mailing list and check the archives. I found the answer to all of my questions. They are very active!
Myth TV Mailing List Joining
Myth TV Mailing List Archives
I first made sure my TV card and TV-out of my video card were working.
Lame
I had to uninstall libqt3-devel and XFree86-devel and reinstall to get lame to compile properly.
CPAN install LWP
I had to do a ‘force install LWP’ to get it to compile.
Something to do with being behind a firewall.
/var/video
I had to do a
chmod 777 /var/video -R
Make sure you check for the latest version of XMLTV.
You will also need to fix mythtv-0.7/programs/mythfilldatabase/filldata.cpp or you will get segfaults when running mythfilldatabase.
Do this before you make mythtv. You can do it after, then just edit the file and run make, make install
Thanks to Neil McCurdy [nemccurd@cs.ucsd.edu]
To resolve, the following change needs to be made to filldata.cpp:
Line ~ 188
In parseProgram:
if (split.size() > 0)
pginfo->endts = split[0];
else
pginfo->endts = “”;
Change to:
if (split.size() > 0)
pginfo->endts = split[0];
else
pginfo->endts = QString::null;
For some reason “” isn’t treated as null. It looks there are still some null endtimes being generated by xmltv.
My XF86Config-4 settings
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section “Files”
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath “unix/:-1″
EndSection
Section “ServerFlags”
#DontZap # disable
#DontZoom # disable
AllowMouseOpenFail # allows the server to start up even if the mouse doesn’t work
EndSection
Section “Module”
Load “dbe” # Double-Buffering Extension
Load “v4l” # Video for Linux
Load “extmod”
Load “type1″
Load “freetype”
Load “glx” # 3D layer
EndSection
Section “InputDevice”
Identifier “Keyboard1″
Driver “Keyboard”
Option “XkbModel” “pc105″
Option “XkbLayout” “us”
Option “XkbOptions” “”
EndSection
Section “InputDevice”
Identifier “Mouse1″
Driver “mouse”
Option “Protocol” “PS/2″
Option “Device” “/dev/psaux”
Option “Emulate3Buttons”
Option “Emulate3Timeout” “50″
EndSection
Section “Monitor”
Identifier “monitor1″
VendorName “Generic”
ModelName “1024×768 @ 70 Hz”
HorizSync 30-50
VertRefresh 60
# Sony Vaio C1(X,XS,VE,VN)?
# 1024×480 @ 85.6 Hz, 48 kHz hsync
ModeLine “1024×480″ 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768×576 @ 79 Hz, 50 kHz hsync
ModeLine “768×576″ 50.00 768 832 846 1000 576 590 595 630
# 768×576 @ 100 Hz, 61.6 kHz hsync
ModeLine “768×576″ 63.07 768 800 960 1024 576 578 590 616
EndSection
Section “Device”
Identifier “device1″
VendorName “nVidia Corporation”
BoardName “NVIDIA GeForce2 DDR (generic)”
Driver “nvidia”
#Option “DPMS”
#Option “MetaModes” “800×600,800×600″
#Option “SecondMonitorVertRefresh” “60″
Option “CursorShadow” “true”
Option “ConnectedMonitor” “TV”
#Option “ConnectedMonitor” “CRT,TV”
#Option “TwinViewOrientation” “Clone”
#Option “SecondMonitorHorizSync” “30-50″
#Option “TwinView”
Option “NoLogo” “on”
Option “CursorShadowAlpha” “80″
Option “TVOutFormat” “SVIDEO”
EndSection
Section “Screen”
Identifier “screen1″
Device “device1″
Monitor “monitor1″
DefaultColorDepth 24
Subsection “Display”
Depth 8
Modes “640×480″
EndSubsection
Subsection “Display”
Depth 15
Modes “640×480″
EndSubsection
Subsection “Display”
Depth 16
Modes “640×480″
EndSubsection
Subsection “Display”
Depth 24
Modes “640×480″
EndSubsection
EndSection
Section “ServerLayout”
Identifier “layout1″
InputDevice “Keyboard1″ “CoreKeyboard”
InputDevice “Mouse1″ “CorePointer”
Screen “screen1″
EndSection
Next onto the latest CVS verson.
Leave a Reply
You must be logged in to post a comment.
