Difference between revisions of "User:Bill"

From MythTV Official Wiki
Jump to: navigation, search
(Australian TV Guide)
(MythTV for my brother: new setup)
Line 2: Line 2:
  
 
== MythTV for my brother ==
 
== MythTV for my brother ==
 +
I was not happy with the noise from the original system and so I bid on a couple of ex-Commonwealth Games Dell machines, with warrentee, and at a reasonable price.  They are BTX form factor and the BIOS does a great job at controlling the Fan speed to keep the box quiet.  Having two of them means that I can support my brothers STB and push any tweaks or fixes back remotely.
 +
 +
=== Hardware ===
 +
* Dell Optiplex GX280
 +
* [[Twinhan MiniTer DVT PCI]] DVB Card
 +
* [[Twinhan MiniTer DVT PCI]] DVB Card
 +
* Sony DWG-120A10 DVD-RW
 +
* Seagate HDD 16M SATA 320GB
 +
* Microsoft [[MCE Remote]] Control
 +
* Extra Fan to cool PCI cards
 +
 +
The Dell has a built in graphics adapter, but came with an ATI Radeon with svideo [[TV Out]] as well.
 +
(--) Chipset ATI Radeon X300 (RV370) 5B60 (PCIE) found
 +
 +
=== Software ===
 +
* [[Ubuntu]] Dapper Server  (see [[Ubuntu Dapper Installation]])
 +
* Ratpoison Window Manager
 +
* MythTV [[Subversion|SVN]]
 +
 +
==== Specific Details from /etc/X11/xorg.conf ====
 +
Section "Device"
 +
        Identifier      "ATI Technologies, Inc. RV370 5B60 [Radeon X300 (PCIE)]"
 +
        Driver          "ati"
 +
        BusID          "PCI:1:0:0"
 +
        Option          "UseFBDev"              "true"
 +
EndSection
 +
Section "Monitor"
 +
        Identifier      "Samsung LCD"
 +
        Option          "DPMS"
 +
        HorizSync      30-61
 +
        VertRefresh    60-75
 +
        # Samsung LCD TV LA32R51B  1360x768  Hsync=47.712kHz Vsync=60.015Hz Pixel_Clock=85.800MHz
 +
        Modeline        "1360x768" 85.500 1360 1424 1536 1792 768 771 777 795 +Hsync +Vsync
 +
EndSection
 +
Section "Screen"
 +
        Identifier      "Default Screen"
 +
        Device          "ATI Technologies, Inc. RV370 5B60 [Radeon X300 (PCIE)]"
 +
        Monitor        "Samsung LCD"
 +
        DefaultDepth    24
 +
        SubSection "Display"
 +
                Depth          24
 +
                Modes          "1360x768"
 +
        EndSubSection
 +
EndSection
 +
 +
== Old MythTV system ==
 
[[Image:Bill_Example_TV_Setup.jpg|frame|MythTV Setup with LCD TV]]
 
[[Image:Bill_Example_TV_Setup.jpg|frame|MythTV Setup with LCD TV]]
* Hardware
+
=== Hardware ===
 
** [[Twinhan MiniTer DVT PCI]] DVB Card
 
** [[Twinhan MiniTer DVT PCI]] DVB Card
 
** [[Twinhan MiniTer DVT PCI]] DVB Card
 
** [[Twinhan MiniTer DVT PCI]] DVB Card
** ASUS K8V-X Motherboard
+
** ASUS K8V-X Motherboard (Cool'n Quiet does not work, can't control CPU Fan speed)
 
** AMD 754 Sempron 3000+ CPU
 
** AMD 754 Sempron 3000+ CPU
 
** ASUS 5200 AGP Graphics with TV-out
 
** ASUS 5200 AGP Graphics with TV-out
 
** Seagate HDD 8M IDE 250GB
 
** Seagate HDD 8M IDE 250GB
** [[PC Case | Antec Overture II Case]]
+
** [[PC Case | Antec Overture II Case]] (Too large, ventilation issues)
 
** RAM 512GB Generic
 
** RAM 512GB Generic
** Pioneer 109 Black DVD-WR x16
+
** Pioneer 109 Black DVD-WR x16 (Very noisy, can't make it run at a slower speed)
 
** Microsoft [[MCE Remote]] Control
 
** Microsoft [[MCE Remote]] Control
 
** [[MSI Wireless54G]] PCI Card
 
** [[MSI Wireless54G]] PCI Card

Revision as of 12:02, 13 September 2006

Bill lives in Melbourne Australia and works as a Software Engineer for a bio-medical company. At home he likes to tinker with Linux, electronics, and spends way too much time doing Medieval Stuff with the SCA.

MythTV for my brother

I was not happy with the noise from the original system and so I bid on a couple of ex-Commonwealth Games Dell machines, with warrentee, and at a reasonable price. They are BTX form factor and the BIOS does a great job at controlling the Fan speed to keep the box quiet. Having two of them means that I can support my brothers STB and push any tweaks or fixes back remotely.

Hardware

The Dell has a built in graphics adapter, but came with an ATI Radeon with svideo TV Out as well.

(--) Chipset ATI Radeon X300 (RV370) 5B60 (PCIE) found

Software

Specific Details from /etc/X11/xorg.conf

Section "Device"
       Identifier      "ATI Technologies, Inc. RV370 5B60 [Radeon X300 (PCIE)]"
       Driver          "ati"
       BusID           "PCI:1:0:0"
       Option          "UseFBDev"              "true"
EndSection
Section "Monitor"
       Identifier      "Samsung LCD"
       Option          "DPMS"
       HorizSync       30-61
       VertRefresh     60-75
       # Samsung LCD TV LA32R51B  1360x768  Hsync=47.712kHz Vsync=60.015Hz Pixel_Clock=85.800MHz
       Modeline        "1360x768" 85.500 1360 1424 1536 1792 768 771 777 795 +Hsync +Vsync
EndSection
Section "Screen"
       Identifier      "Default Screen"
       Device          "ATI Technologies, Inc. RV370 5B60 [Radeon X300 (PCIE)]"
       Monitor         "Samsung LCD"
       DefaultDepth    24
       SubSection "Display"
               Depth           24
               Modes           "1360x768"
       EndSubSection
EndSection

Old MythTV system

MythTV Setup with LCD TV

Hardware

  • Total Cost is around AU$1000
  • Partitioned with LVM so that extra disks are easy to add
  • Running Debian Sarge (would use Ubuntu next time)

Specific Details from /etc/X11/XF86Config-4

  • Using the binary driver from NVIDIA in an attempt to utilise XvMC acceleration
Section "Device"
       Identifier      "NVIDIA Corporation NV34 [GeForce FX 5200]"
       Driver          "nvidia"
       Option          "NoLogo" "True"
       Option          "RenderAccel" "True"
       Option          "XvmcUsesTextures" "false"
EndSection
  • Use the Monitor refresh rates as specified in the Samsung LCD TV User Manual
Section "Monitor"
       Identifier      "Generic Monitor"
       HorizSync       31-60
       VertRefresh     50-75
EndSection
  • The Samsung LCD TV User Manual specifies the VGA resolution as 1280x?? so we use a customised Modes line.
Section "Screen"
       Identifier      "Default Screen"
       Device          "NVIDIA Corporation NV34 [GeForce FX 5200]"
       Monitor         "Generic Monitor"
       DefaultDepth    24
      SubSection "Display"
               Depth           24
               Modes           "1280" "1024x768" "800x600" "640x480"
       EndSubSection
EndSection
  • This section makes sure that XWindows can start up even if there is no mouse or keyboard connected, which is really important for a true Set Top Box.
Section "ServerFlags"
       Option "AllowKeyboardOpenFail" "true"
       Option "AllowMouseOpenFail" "true"
EndSection

XWindows startup script for Frontend from /home/mythtv/.xinitrc file

  • Fix the Blue Line that is shown on the screen using xvattr command
  • Turn off the auto screen blanking using xset
  • Start the FVWM window manager, myth transcode daemon, and the frontend
xvattr -a XV_COLORKEY -v 66048
/usr/bin/X11/xset s noblank
/usr/bin/X11/xset s off
/usr/bin/X11/xset dpms off
/usr/bin/fvwm&
/usr/bin/mtd -d &
/usr/bin/mythfrontend --logfile /var/log/mythtv/mythfrontend.log

MythTV for myself

Specific Configuration Required

  • The Bttv module configuration had to be specified because of the stupid Generic Analog capture card doesn't have a PCI EEPROM which means it can't be auto recognised and configured. Luckily you can specify multiple [Bttv]] card types as module options, like so:

/etc/modprobe.d/bttv

 options bttv radio=0,0,1 pll=0,0,1 card=113,113,0x25 tuner=4,4,5

The order of the card paramters is probably the PCI device order, and I have 2 TwinHan cards (Card ID 113 or 0x71) followed by the Generic card (Card ID 37 or 0x25), hense the comma seperated list of card parameters. I discovered the required order by inspecting dmesg with all the cards in the system.

Australian TV Guide

There is a list of Australian EPG TV Guides XMLTV#Australia and I think the [tvguide.org.au] source.

 sudo -i
 wget http://www.cse.unsw.edu.au/~willu/xmltv/tv_grab_au_reg
 chmod +x tv_grab_au_reg
 mv tv_grab_au_reg /usr/bin/.
 mv /usr/bin/tv_grab_au /usr/bin/tv_grab_au.orig
 ln -s /usr/bin/tv_grab_au_reg /usr/bin/tv_grab_au

Running mythtv-setup and selecting the Australian source. This will run the grabber in configuration mode which creates a config file in /home/mythtv/.mythtv/tvguide.org.au

MythTV XBox Frontend

  • Hardware
    • XBox v1.6 (bought 2005)
    • Homebrew modchip (AU$20) from Jaycar
  • Software