|
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 |
#41
|
|||
|
|||
Quote:
Drew |
#42
|
|||
|
|||
Quote:
question on liblame0 though - on 32 bit it worked to just apt-get it but it bawks that it is now libmp3lame on 64 bit - did you have to do any additional linking to get it working? |
#43
|
|||
|
|||
Quote:
I do have a problem playing a x264 dvd rip, it crashes the HD200. I'm not sure if this is related or not. I'm going to report it to beta tech support. |
#44
|
|||
|
|||
Well I tried ubuntu 64 bit 8.10 everything seemed to go well until I got to the java install - (amd64). That plus the horrors of NetworkManager under ubuntu (god it's aweful rewritting /etc/resolv.conf and interfaces on reboot finally did a purge of it and edited rc.local).
I downloaded the i586.bin from Sun, extracting it would fail - I tried to do the fakeroot/pkg trick to turn it into a .deb but that also failed. I have a feeling that there is some code within the .bin that is causing the fail. I am going to try centos 64 bit tonight as well as debian 64 tonight. They really do not make it simple to install 32 bit java under the 64 bit platforms, unless I'm doing something wrong. I'm hoping that I can either just regular install it on debian 64 with the i586.bin, fakeroot/jkpg it to trick it into a pkg, or pray that my install with Centos I can do it with either a rpm or the .bin I like centos, but unfortunately no XFS out of the box - I run a personal server in a datacenter with Centos 5.2. |
#45
|
|||
|
|||
Have hope. My install seems to work fine.
- Ubnutu 8.10 64-bit. I'm using the HDHomeRun, so no kernel issues. - SageTV tar package put in /opt/sagetv/server/ - installed ia32-libs and ia32-sun-java6-bin. These are the 32-bit packages built to be installed on a 64-bit Ubuntu install. - I installed (with aptitude) 64-bit versions of lame, mad, faac, faad. I still don't quite see how these can be used by the 32-bit Java process, but everything seems to work. I do have problems playing a single mkv file, but I also had trouble playing it in a 32-bit chroot with Sage and the right libs. I've filed a bug report. I really wish Narflex or someone close to the code at Sage could tell us what the modern (6.5.6) Linux version actually needs for dependencies and why and whether they're libs or apps or whatever. When I do an ldd on the sage server directory, I get a few things like libTSnative missing, but nothing like mad or lame or anything. |
#46
|
|||
|
|||
libTS is included in the server directory. you'll find the other missing libs there too
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#47
|
|||
|
|||
Quote:
I would still like to know under what conditions Sage 6.5.6 needs mad, faac, fad, and lame and whether it needs the lib or the binary. I've been using 64-bit Ubuntu with ia32-libs and ia32-sun-java6-bin, plus 64-bit packages (from the repository) of those dependencies and it seems to be working great. The one mkv file that I'm having trouble with has played at least once, I'm working through it with Sage tech support. But at least I know it's possible. Last edited by kbyrd; 01-13-2009 at 10:09 AM. |
#48
|
|||
|
|||
well I think I am close to get it working on debian 64, if it does work I'll be making a readme on it -
I'm having a couple issues 1. I am failing on the keygen.sh, but I've emailed sage - I think I might be locked out due to more than 4 times installing License Key File: activkey Public/Private Key Generation Directory: . Loaded SageTV's global public RSA key. Establishing network connection to the SageTV License Activation Server... Error with license activation: java.net.UnknownHostException: download.sage.tv 2. I can't for the life of me get my kworld 115 and my avermedia a180 to work in my machine though - I've got the firmware - but for those cards you need to place the .fw file in either /lib/firmware/(kernel) or /lib64/firmware/(kernel) sudo apt-get install linux-doc-(kernel version) cd /(kernel source directory)/Documentation/dvb/ sudo gzip -d get_dvb_firmware.gz sudo chmod +x get_dvb_firmware sudo perl get_dvb_firmware nxt2004 sudo cp /dvb-fe-nxt2004.fw /lib/firmware/(kernel version) I don't have the "kernel version" directory under 64 bit debian Unfortunately both those directories are completely blank for me. There also was not a modprobe.conf file to add the special bit of code so that the cards can both be in there at the same time. I created one but it's not working in /etc/modprobe.conf or /etc/modprobe.d/modprobe.conf The line for those who want to know is the following options saa7134 card=90,90 disable_ir=1 This allows both card to work at the same time - I know it works on 32bit, as I've done it (there was also a modprobe.conf file already there) 3. My ldd doesn't seem to be working which I find odd as I'm running it as root - and those files are in the directory, also owned by root alfonz:/opt/sagetv/server# ldd /opt/sagetv/server/* | grep not\ found ldd: warning: you do not have execution permission for `/opt/sagetv/server/activkey' ldd: /opt/sagetv/server/ChannelLogos: No such file or directory ldd: /opt/sagetv/server/clients: No such file or directory ldd: /opt/sagetv/server/irtunerplugins: No such file or directory ldd: /opt/sagetv/server/JARs: No such file or directory ldd: warning: you do not have execution permission for `/opt/sagetv/server/key' libavutil-minimal.so.49 => not found libavcodec-minimal.so.52 => not found libavutil-minimal.so.49 => not found libTSnative.so => not found libiec61883.so.0 => not found libraw1394.so.8 => not found libavc1394.so.0 => not found librom1394.so.0 => not found libTSnative.so => not found libavformat-minimal.so.52 => not found libavcodec-minimal.so.52 => not found libavutil-minimal.so.49 => not found libTSnative.so => not found ldd: /opt/sagetv/server/remotes: No such file or directory ldd: warning: you do not have execution permission for `/opt/sagetv/server/Sage.jar' ldd: warning: you do not have execution permission for `/opt/sagetv/server/Sage.properties' ldd: warning: you do not have execution permission for `/opt/sagetv/server/Sage.properties.autobackup' ldd: warning: you do not have execution permission for `/opt/sagetv/server/sagetv_0.txt' ldd: warning: you do not have execution permission for `/opt/sagetv/server/SageTVLocator.private.key' ldd: warning: you do not have execution permission for `/opt/sagetv/server/SageTVLocator.public.key' ldd: warning: you do not have execution permission for `/opt/sagetv/server/SageTV.private.key' ldd: warning: you do not have execution permission for `/opt/sagetv/server/SageTV.public.key' ldd: /opt/sagetv/server/STVs: No such file or directory ldd: warning: you do not have execution permission for `/opt/sagetv/server/tv.sage.mod.0.log' ldd: warning: you do not have execution permission for `/opt/sagetv/server/tv.sage.mod.0.log.lck' ldd: warning: you do not have execution permission for `/opt/sagetv/server/Wiz.bak' ldd: warning: you do not have execution permission for `/opt/sagetv/server/Wiz.bin' ldd: warning: you do not have execution permission for `/opt/sagetv/server/Wiz.bin.corrupt0' |
#49
|
|||
|
|||
Actually I did ldd *.so and it looks normal within the directory not sure why the other command was not working
|
#50
|
|||
|
|||
Just an opinion...
Unless you're using Debian unstable, the stability of Debian comes with a cost of older software. I use Debian for my mail/web/svn/wiki server, but not my home Sage box. My instinct is that the media stuff you want is likely to be in the latest and greatest kernels and userspace, not Debian 4.0. But, unstable is pretty up-to-date if you're using that. |
#51
|
|||
|
|||
Quote:
I've gotten all this to work perfectly under 32bit debian (with upgraded kernel) - I just can't seem to get it working on 64 bit. Honestly at this point I'm almost ready to go back to Centos, but it doesn't offer XFS on a base install easily |
#52
|
|||
|
|||
I know some people bag on Ubuntu for stability, but if you want to play with .deb based distros but get newer kernels and userlevel binaries, pick Ubuntu 8.10. Sage is working fine for me on 64-bit 8.10 , and I can walk you through what I did over email or PM. You're on your own for driver support in the kernel, I use an HDHR which Sage supports by itself. But, if Myth supports your cards, you should be fine.
|
#53
|
|||
|
|||
Driver support is ok in 8.10 because it is fresh enough. However, the best stuff is at linux-dvb and is fairly simple to compile yourself from source.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#54
|
|||
|
|||
Quote:
__________________
<============= Jim White Treasure Island, FL |
#55
|
|||
|
|||
How I got sage working on Ubuntu 8.10 64-bit.
UPDATE: I rewrote this to put the step-by-step up front, with details below:
Well, I didn't plan to document it so this may not work for everyone. I may have done something here or there that I forgot to mention. If I reinstall from scratch, I'll keep better notes. To get Sage running: 0) See my rambling system details below. It's a 64-bit Ubuntu 8.10 Server install. No GUI or desktop of any sort. 1) Install 32-bit Java 6 jre: 'aptitude install ia32-sun-java6-bin' 2) Do 'aptitude install faad libfaad2-0 lame liblame0 mad libmad0'. Accept whatever dependencies aptitude wants on top of those files. Notice I installed the libs and the apps. I still don't know if the libs or apps are required. If the libs are, I don't know how this works from a 32-bit java process. I suspect the libs are required and they are only used for transcoding content when the HD200 needs it. I'm probably lucky enough that I haven't actually needed transcoding yet. 3) mkdir /var/media/tv,video,pictures,music. These are just to get started, later I changed Sage's settings to not use these directories. 4) Starting from the system above, the tar.gz package. 5) Download and untar the Sage server download tar.gz package into /opt/sagetv/server. 5) cd /opt/sagetv/server, run ./keygen.sh 6) run /opt/sagetv/server/startsage 7) Connect from the HD200 and start configuring. 8) Add '/opt/sagetv/server/startsage' to /etc/rc.local So far, everything works. I watch QAM output from an HDHR, and also h.264, xvid, dvix, other mpeg4 videos as well. It just occurred to me that I haven't tried playing mp3 files or looking at my image library. ------- Some details about my setup. I don't think they matter, but it might to someone. The server is Linux doing NAS/SageTV duties. I use an HD200 extender for the client. I'm using the HDHomerun for a tuner. Using the HDHR means I don't have to mess with 64-bit drivers for tuner cards working from 32-bit Sage. I've got an AMD BE-2400 with 2GB or RAM. I'm running a fairly stock 64-bit 8.10 install. I've got no GUI, no X, no Gnome, or anything. I did the Ubuntu server installer, but it doesn't matter much. IIRC, you can make the desktop installer give you a pretty stripped down installation. I boot from a USB stick. My entire root file system is ext3 and is on the USB stick. When I built the box, drive bays and sata ports were at a premium and I didn't want to waste a disk on root. I've mounted things like /var/log and /tmp in tmpfs so I won't wear out the USB stick as fast. For lots of storage I've got 7 500GB SATA drives in a Linux md RAID5 (128k chunks) array formatted with XFS. I run Samba to share things to the other boxes in the house.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM Last edited by kbyrd; 01-19-2009 at 10:32 AM. |
#56
|
|||
|
|||
kbyrd: are you basically ignoring programming on standard-def-only channels?
|
#57
|
|||
|
|||
Yes, I'm using only a Silicon Dust HDHomerun as my tuner, and it's pulling in QAM signals from Comcast Cable.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM |
#58
|
|||
|
|||
Well, I gave up on amd64 bit debian -
I tried the exact steps above, except on debian java --version shows the correct 32 bit java isis:/opt/sagetv/server# java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) when doing ./keygen.sh it pops an error License Key File: activkey Public/Private Key Generation Directory: . Loaded SageTV's global public RSA key. Establishing network connection to the SageTV License Activation Server... Error with license activation: java.net.UnknownHostException: download.sage.tv alfonz:/opt/sagetv/server# I can ping download.sage.tv just fine - With the 32 bit identical install on debian it works - if someone is bored and has the time and has a amd64 machine I would love to see someone try it to make sure I'm not insane |
#59
|
|||
|
|||
You might try submitting a bug report, being sure to mention you know it's not a supported OS and such, but maybe they are interested.
__________________
Current Server: Sage v7.1.9.1 beta w/ Diamond UI on Ubuntu 11.10 x86_64 | Storage: Linux md's raid10,f2 | Client: HD300 extender | Tuner: HDHomeRun for QAM |
#60
|
|||
|
|||
I already did, haven't heard anything back
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Login into linux running on HD Media Extender + GPL | bastafidli | SageTV Media Extender | 10 | 12-15-2007 05:49 PM |
HD on Linux | paulbeers | SageTV Linux | 1 | 03-26-2007 09:01 AM |
Linux Fan | oddjob | SageTV Linux | 1 | 02-07-2007 12:20 PM |
Can Sage Linux 'really' run as a client...? | PGPfan | SageTV Linux | 5 | 02-04-2007 10:00 PM |
SageTV for Linux version 5 or version 6? | ataren | SageTV Linux | 1 | 12-28-2006 04:04 PM |