|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
SageTV 5 for Linux Beta is now available - with Placeshifting & wireless MVP!!
Howdy all!
We've finally got that Linux V5 beta ready. And as promised, it includes support for Placeshifting. It also includes support for the new wired AND wireless MVP (Windows version will be out later today....Linux is first this time ) This version has a new architecture where the backend runs like a service and the front end is another application. There are no longer any dependencies on NVidia graphics cards. All graphics cards should function as long as they have an overlay. This version also has the ability to be much more easily installed on another distribution instead of using the default Gentoo install (check out the advanced section at the end of the instructions). REMEMBER: This requires a valid SageTV for Linux license to function. Please submit any bugs here: http://sagetv.com/bugs.html Anyways....without any more fussing. Here's what you need to know to install SageTV for Linux Version 5 Beta: SageTV 5 for Linux OEM Edition Installation Information The default installation is divided into 4 steps: - Download and burn the Gentoo Installer CD. - Install the Gentoo base system - Install the SageTV packages - Configuring SageTV Please note that you need internet access to complete the install. It is VERY important to follow the directions, doing so will prevent you from having problems. * Download and burn the Gentoo Installer CD. You first need to obtain the Gentoo livecd installer 2006.0. You can download it from one of the mirrors at http://www.gentoo.org/main/en/mirrors.xml. It is found in the release/x86/2006.0/livecd directory of the mirrors as livecd-i686-installer-2006.0.iso. This is an example link to one of the mirrors: http://distro.ibiblio.org/pub/linux/...ler-2006.0.iso Once you have obtained the file you need to burn it to a CD and boot from it on the system on which you wish to install SageTV 5. You might need to enable boot from cd in your system BIOS. * Install the Gentoo base system Restart your system with the cd in the drive and wait for the desktop menu to appear. When the system asks for a login simply wait 10 seconds. Once you see the desktop you must go to a terminal to download the install profile. To do so press Ctrl-Alt-F1 to switch terminal then type the following command: wget download.sagetv.com/linuxweb/installprofile.xml [ *** If you are updating from a previous version you should make a copy of your old Wiz.bin in /opt/sagetv/usr to /var/media if you wish to keep your recordings. This can be done with the following commands assuming a default install of the previous version : mount /dev/hda1 /mnt/gentoo cp /mnt/gentoo/opt/sagetv/usr/Wiz.bin . umount /mnt/gentoo mount /dev/hda3 /mnt/gentoo cp Wiz.bin /mnt/gentoo umount /dev/hda3 ] This will download the installprofile to the temporary /root directory of the install CD. After the download has completed return to the graphical desktop by pressing Ctrl-Alt-F7. You can now start the installer graphical interface by clicking on the Gentoo Linux Installer icon. From the first screen you need to load the installprofile.xml that was downloaded previously by clicking on the load button then going up the file tree to /root to select installprofile.xml. After the installprofile is loaded you need to press forward up to the Partitioning screen. The default values entered in this screen are for an update from the previous version. If you are installing to a new system select the third partition, click the properties button and select that it should format the partition. Even if you are not updating you should verify the partitioning so that the first partition contains the main system in /, the second one the swap and the third one the media files in /var/media. After that you can press forward up to the Timezone screen to select your timezone. Once that's completed you can press forward up to the end and finally press install. The install process can take 1 hour or more depending on the computer speed. You can ignore the errors at the end of the process when it is installing services. When the install is completed a message will appear on the bottom. At that point you can reboot the system by clicking on Desktop on the top of the screen, selecting Log out then restart the system. * Install the SageTV packages When the system is restarting you need to remove the installer CD to boot from the hard drive. You will be presented with a login screen. The username is root and the password is sage (you will be asked to set another password later) Once you are at the command line you need to download the package install script by typing the command: wget download.sagetv.com/linuxweb/sagesetup.sh then execute it with the command sh sagesetup.sh This will start the install script on which you simply need to follow the on screen instructions. You might notice some warnings but you can safely ignore them. At one point in the setup you will be asked to set the sound card configuration with alsamixer. In that screen you can use the left and right arrows to select the channels then press up/down to increase or decrease the volume. If a channel is muted you will see M at the base of the lines. You can unmute it by pressing M on the keyboard. Once you are done configuring the sound card you can press Escape to exit and save the configuration. You should not set the volumes too high if you want to avoid distortion problems. The values depend on the sound card so we can't give the appropriate values. You should try to look for channels called Master and PCM as they are usually the important ones. You will be asked for your activation keys near the end of the package setup and the password you would like to set for the system. Once the setup is completed you will be asked to press enter to reboot the system. * Configuring SageTV After the system reboots you should see the SageTV wizard to configure your system settings and capture cards. * Advanced setup - Installing SageTV on a non-Gentoo distribution Installing Linux SageTV on existing systems SageTV for linux is divided in two programs, the server and the client. You can install them independently for different purposes such as having a server for extenders or to run only the client to use as a placeshifter client that connects over the internet or a lan. Before installing either of those you must accept the EULA by downloading it from http://download.sagetv.com/linuxweb/EULA.txt - Server setup The server depends on a capture source as well as some dependencies to support placeshifting clients. First you must create the directory for the server files : /opt/sagetv/server Then download the server package from http://download.sagetv.com/linuxweb/server.tar.gz and extract them with tar -xzf server.tar.gz -C /opt/sagetv/server The server has a few dependencies to run on the system : - Java runtime 1.5 : http://java.sun.com/j2se/1.5.0/download.jsp - mad library : http://www.underbit.com/products/mad/ - lame library : http://lame.sourceforge.net/download/download.html - faad2 library : http://www.audiocoding.com/modules/mydownloads/ You can install those using the packaging system of your distribution or by downloading them from their respective websites. To record video using a capture card you also need to install the ivtv drivers. Depending on the kernel version you should install the appropriate version. You can find more information at http://www.ivtvdriver.org/index.php/Main_Page If you need the ivtv firmware files you can download the one we are using at : http://download.sagetv.com/linuxweb/ivtvfirmware.tar.gz You will need to extract them in the hotplug firmware directory of your distribution. (/lib/firmware for example) You can verify the output of dmesg to see if the ivtv driver has loaded properly and found the right card model and firmware. As new revisions of the card appear it's possible for the tuner or other module of the cards not to be supported, they are usually added in the next revision of the drivers. The default path for media files is /var/media you need to create this directory as well as the various subdirectories: mkdir /var/media mkdir /var/media/tv mkdir /var/media/videos mkdir /var/media/pictures mkdir /var/media/music You can also configure the server to use other directories when it is running. Before starting the server initially you must enter your key by running the keygen script : cd /opt/sagetv/server ./keygen.sh Afer that you are ready to start the server process by executing the startsage script : /opt/sagetv/server/startsage You might want to add it so that it is automatically started on the system boot for example in the init scripts or your desktop startup programs. The stopsage script can also be run before shutdown to stop the server. - Client setup The client has the same dependencies as the server except the ivtv driver. It is also able to use lirc for IR input. - Java runtime 1.5 : http://java.sun.com/j2se/1.5.0/download.jsp - mad library : http://www.underbit.com/products/mad/ You can download lirc from http://www.lirc.org. If you are running the latest kernel you might need to apply an additional patch for compatibility. You can download the client package from http://download.sagetv.com/linuxweb/miniclient.tar.gz and extract it in a new directory (/opt/sagetv/client for example) then run it by starting the sageclient.sh script.
__________________
Jeffrey Kardatzke Founder of SageTV |
#2
|
||||
|
||||
thanks jeff, upgrading now...
|
#3
|
||||
|
||||
This should be fun
Given the comments on the Windows version about backing down to Java 1.5.0-05, should we be doing the same for the linux version?
__________________
Sage Server: HP ProLiant N40L MicroServer, AMD Turion II Neo N40L 1.5GHz Dual Core, 8GB Ram, WHS2011 64bit, Sage 7.1.9 WHS, HDHR (1 QAM, 1 OTA), HDHR Prime 3CC, HD-PVR for copy-once movie channels HTPC Client:Intel DH61AG, Intel G620 cpu, 8GB ram, Intel 80GB SSD, 4GB RamDisk holding Sage/Java/TMT5 Sage Client:Sage HD-200 Extender Last edited by Kirby; 05-23-2006 at 01:58 PM. |
#4
|
|||
|
|||
I believe the java issue is windows specific.
_Demo_ |
#5
|
||||
|
||||
Quote:
So using the latest version of Java on Linux should present no problems.
__________________
Jeffrey Kardatzke Founder of SageTV |
#6
|
|||
|
|||
I'm wondering if the install behaviour is different on VMWare (4.5.3). I boot the LiveCD which logs into the desktop as 'gentoo', with a home directory of /home/gentoo and not (of course) /root (which user gentoo doesn't have access to). The Ctrl-Alt-F1 trick doesn't work (VMWare again?) so I manually open a terminal session and do the wget into /home/gentoo. However when I run the graphical installer and attempt to load the install profile it errors out with "An error occurred loading the install profile". I did a chmod to 777 on the file and the directory, and did the wget again into a new directory but nothing seems to help.
Anyone have any ideas? FYI, I'm using VMWare because I want to eventually dd the filesystem to an NFS server so that I can do a diskless boot, and I don't have a spare disk-based system for the initial install. Andy. |
#7
|
||||
|
||||
Jeff Placeshifting by it self?
|
#8
|
|||
|
|||
Quote:
Quote:
|
#9
|
|||
|
|||
Quote:
_Demo_ |
#10
|
|||
|
|||
Quote:
Andy. |
#11
|
|||
|
|||
Quote:
I'll work on building a standard Gentoo diskless machine and then I'll NFS-mount the 'sage' mountpoints before doing the install. As you say, that should work. Thanks again. Andy. |
#12
|
||||
|
||||
Dran I didn't see that one ke6guj thanks
I was kind hoping for a a rpm install any tips for installl on Suse 10.1 NEVER MIND works good so far Last edited by SHS; 05-23-2006 at 06:57 PM. |
#13
|
|||
|
|||
Well i was successful in getting the new version to work with ubuntu - dapper drake beta. Just installed the libraries needed and then the server/client, and it seems to be working so far. Just trying to get remote placeshifting working (Its being jumpy). Where do I put in my placeshifter license number? (It seemed to work without me entering in this license).
The only problem i had was that the default java program on ubuntu was an earlier version, and it worked fine after making the java version 1.5 the default. |
#14
|
||||
|
||||
Quote:
|
#15
|
|||
|
|||
Quote:
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#16
|
||||
|
||||
Quote:
18c, CurSTV=\}] map=null] map={UseLocalFilePaths=false, FileBrowserTitle=Select an STV for testuser , CurrentFilePath=null, FileBrowseFunction=XLoadSTV, SelectedFilePath=null, FileBrowseStyle=XSTV}] as you can see, SelectedFilePath=null appears to be what is causing me the issue... thx /jer |
#17
|
||||
|
||||
Quote:
thx /jer |
#18
|
||||
|
||||
i am having trouble with v5 on linux... i am experiencing "freezing" issues with the server, where after about an hour of uptime it will stop recording new shows and when i try to enter various menus (setup, system information, recording schedule) the client freezes, apparantly waiting for an answer from the server. additionally i am seeing "no signal" on my pvr-250 when this occurs (never had an issue with the previous version of sage4linux). should i submit a bug report with logs?
anyone else having trouble with sage5? thx /jer |
#19
|
|||
|
|||
I am have a problem with ver. 5. I can't get installprofile.xml to load
it just keeps failing! brain187 |
#20
|
|||
|
|||
Quote:
Andy. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|