SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 08-14-2020, 05:27 PM
Striker:WG Striker:WG is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 472
I don't have a lot of Linux experience, but I have setup an Unraid box. Unraid is based on Linux so I know just enough to navigate the command line and edit in VI when I have to.

Setting up Unraid was super easy and they have a great community over on their forums. Between them and the folks here on the Sage forums I got my Unraid system up and running with Sage with minimal headaches. I would certainly recommend it! One of the great benefits being 64bit based Linux with support for Firewire based channel changing in Sage

I run my server on an old i7 3820 /w 36GB DDR3. I went on ebay and picked up some used 2TB data center SAS drives, a SAS controller, and a Firewire card for under $300 CAD. Threw another ~$100 at the UNRAID license and I was up and running. I now have a 14TB data array for all my media and other assorted files and a collection of docker containers that serve all the various needs on my network.
Reply With Quote
  #22  
Old 08-14-2020, 07:35 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by tvmaster2 View Post
Cool. Your four years have been productive. So let's say I wanted to do what you've done - what's your advice? aka what version of Ubuntu does one install to run a SageTV server? How much horsepower, boot drive space etc.
Seems like a plan.
The most supported Linux distro for SageTV would be unRAID, running SageTV in a docker. And this is very useful for other things as unRAID was created to be a file server. Plus you can run other useful dockers like Plex, AirVideo, OpenVPN server, Bittorrent software, etc.

If you still want a regular Linux distro you can run Ubuntu in a VM. You can also run Windows 10, or other Linux distros in VMs as well.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #23  
Old 08-14-2020, 09:11 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by wayner View Post
The most supported Linux distro for SageTV would be unRAID, running SageTV in a docker. And this is very useful for other things as unRAID was created to be a file server. Plus you can run other useful dockers like Plex, AirVideo, OpenVPN server, Bittorrent software, etc.

If you still want a regular Linux distro you can run Ubuntu in a VM. You can also run Windows 10, or other Linux distros in VMs as well.
Sounds complicated. What is the main OS in what you just said, the one which the others piggyback on, or does it not work like that?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #24  
Old 08-15-2020, 07:14 AM
Striker:WG Striker:WG is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 472
Unraid is Linux based.

Unraid can run full virtual machines with other operating systems on top of Unraid. This is very useful if you want to test something out in a controlled environment, but it is not necessary for running Sage.

Unraid also runs docker containers, if you aren't familiar with what a docker container is, they're worth reading up on. The basic idea is that they are a mini virtual machine with just enough infrastructure to run a specific application. The advantage to this is a separation of concerns. Each application has its own infrastructure of supporting programs (eg. Java) so an update to the Sage docker will not impact a Plex docker or a Bittorrent docker. The downside to a docker is that you are reliant upon someone else to maintain the docker container. They are made available through an interface kind of like the Sage plugins. You can create your own dockers and you can make modifications to existing ones, but that's not for beginners.

Unraid has a free 30 day trial (and I think you can get them to extend it once or twice before you need to pay). If you want 64bit and Firewire channel changing, it's definitely worth trying out.

I did have to buy a PCI Firewire card to get proper driver support, so depending on your hardware, it may take some investment to get it going (see my previous post).
Reply With Quote
  #25  
Old 08-15-2020, 11:52 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
I'm running sage in a Ubuntu server vm on an unRaid box. I have two stbs connected to two HD PVRs and a quad tuner for ota. And, of course, firewire channel changing for the stbs. I know many are running Sage in an unRaid docker but for me setting it up in the vm was easier.

Last edited by gdippel; 08-15-2020 at 11:59 AM.
Reply With Quote
  #26  
Old 08-15-2020, 03:20 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by gdippel View Post
I'm running sage in a Ubuntu server vm on an unRaid box. I have two stbs connected to two HD PVRs and a quad tuner for ota. And, of course, firewire channel changing for the stbs. I know many are running Sage in an unRaid docker but for me setting it up in the vm was easier.
The VM? Sorry, I know nearly nothing about Linux and it’s subsideries. On the Ubuntu website there are various versions available. Which would work for a Sage server?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #27  
Old 08-16-2020, 09:18 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
Quote:
Originally Posted by tvmaster2 View Post
The VM? Sorry, I know nearly nothing about Linux and it’s subsideries. On the Ubuntu website there are various versions available. Which would work for a Sage server?
I'm running Ubuntu Server 18.04.5 LTS as a virtual machine (vm) in unRaid. I'm also running Windows 10 as a vm in unRaid. I imagine the desktop version of Ubuntu on a stand alone machine (bare metal) would work just as well.
Reply With Quote
  #28  
Old 08-16-2020, 01:16 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by gdippel View Post
I'm running Ubuntu Server 18.04.5 LTS as a virtual machine (vm) in unRaid. I'm also running Windows 10 as a vm in unRaid. I imagine the desktop version of Ubuntu on a stand alone machine (bare metal) would work just as well.
I assume Hauppauge devices (HDPVR / Colossus) have Linux drivers/support? All I could find on their site was this, which referenced the HDPVR 2 and Colossus 2, neither of which I use - version 1 in both cases for me:
https://hauppauge.com/pages/support/...html#colossus2
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #29  
Old 08-16-2020, 07:27 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Yes, I have two HD-PVRs running with unRAID. You do have to get a specific version with the correct drivers.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #30  
Old 08-16-2020, 10:43 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by wayner View Post
Yes, I have two HD-PVRs running with unRAID. You do have to get a specific version with the correct drivers.
A odd question: where is the Linux version of Sage downloaded from. Haven't found it yet. Anything tricky to installing it to a USB bootable Ubuntu flash drive?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #31  
Old 08-17-2020, 07:12 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by tvmaster2 View Post
Sounds complicated. What is the main OS in what you just said, the one which the others piggyback on, or does it not work like that?
It does sound complicated but it isn't too bad. gdippel gave a great explanation. Striker:WG gave a great explanation. Adding onto what he said - unRAID is a version of Linux specially designed to run as a NAS. It uses an additional hard drive as a parity drive which gives you redundancy. The parity drive has to be the largest (or equal largest) hard drive in your array. And you can keep adding additional hard drives as needed. You can also use SSDs as cache drives to cache data in the short term and as a place to store applications/dockers like SageTV

There is no graphical UI for unRAID, you use a web page to control everything but you can SSH into it and run a command line interface, but you pretty much never need to do this. Each docker is completely independent but they can all access the file storage. I have media hard drive partition will all of my data. SageTV can access this, as can Plex and AirVideoHD (which I use for streaming media files to iOS devices). And there are unRAID docker versions for lots of other applications - I also run the Ubiquiti Unifi controller to control my networking, and PiHole which is a really good adblocker. It is great for "server" types of applications like that.

I also run an Ubuntu virtual machine so that I can play around in a "normal" Linux distro. You can also run pretty much any OS in a virtual machine, Win 10, Win7, WinXP, other Linux distros, etc.

unRAID also seems to be the platform used by many of the SageTV developers, like Narflex and Stuckless, although many of them are dropping SageTV altogether.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #32  
Old 08-17-2020, 07:14 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by tvmaster2 View Post
A odd question: where is the Linux version of Sage downloaded from. Haven't found it yet. Anything tricky to installing it to a USB bootable Ubuntu flash drive?
I haven't installed it on Ubuntu but on unRAID you just search for SageTV in the list of Dockers and it takes care of most things, although you do have to do a bit of config. It is similar to installing an app on your phone.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #33  
Old 08-17-2020, 09:56 AM
Zogg's Avatar
Zogg Zogg is offline
Sage Aficionado
 
Join Date: May 2011
Location: Frisco, TX
Posts: 428
Quote:
Originally Posted by tvmaster2 View Post
I assume Hauppauge devices (HDPVR / Colossus) have Linux drivers/support? All I could find on their site was this, which referenced the HDPVR 2 and Colossus 2, neither of which I use - version 1 in both cases for me:
https://hauppauge.com/pages/support/...html#colossus2
The HDPVR (and Colossus I guess) are supported in Linux and you can use them in SageTV just like in Windows. I have two HDPVR2's that I prefer because the HDMI capture is a bit better in quality, but as you found they don't have native support. It might be possible to use the app that you found and get SageTV to work with it but I didn't try.

I wound up using a Windows VM with a PCIe USB card passed through and using the HDPVR2's as network tuners back to the Linux SageTV instance, or Unraid docker in my case. I needed a Windows VM anyway so this works well.
__________________
-----
AMD Ryzen 5 3600, B450 m/b, 32Gig, lots of disks, Unraid, 2x HDPVR2 tuners, HDHomeRun Prime, HDHomeRun HDHR4 OTA, Windows Live Tuner, SageTV docker, OpenDCT docker, Win8.1 VM, EventGhost
Reply With Quote
  #34  
Old 08-19-2020, 08:44 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by tvmaster2 View Post
The VM? Sorry, I know nearly nothing about Linux and it’s subsideries. On the Ubuntu website there are various versions available. Which would work for a Sage server?
If you are installing direct on Ubuntu (and not on Unraid), any of the recent versions should work. I've run Sage under 12.04, 14.04, 16.04, and am now working on getting a new machine built with 20.04.

--John
Reply With Quote
  #35  
Old 08-19-2020, 08:51 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by tvmaster2 View Post
I assume Hauppauge devices (HDPVR / Colossus) have Linux drivers/support? All I could find on their site was this, which referenced the HDPVR 2 and Colossus 2, neither of which I use - version 1 in both cases for me:
https://hauppauge.com/pages/support/...html#colossus2
Most Linux distros should have HDPVR1 support build into the kernel and Sage should just detect the device.

There is no direct kernel support for the HDPVR2s in the Linux kernel, but there is a modified version of the Hauppauge capture program that works fine. See: https://github.com/jpoet/HauppaugeUSB

In fact, I just noticed that Hauppauge now links to jpoet's modifications of the Hauppauge code.

I recommend NOT following the directions on the Hauppauge page itself, they don't work. You need jpoet's modification to get it working.

I've been using this for several years with my two HDPVR2s and it's pretty solid.

--John

Last edited by jpwegas; 08-19-2020 at 09:02 AM.
Reply With Quote
  #36  
Old 08-19-2020, 08:58 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by jpwegas View Post
Most Linux distros should have HDPVR1 support build into the kernel and Sage should just detect the device.

There is no direct kernel support for the HDPVR2s in the Linux kernel, but there is a modified version of the Hauppauge capture program that works fine. See: https://github.com/jpoet/HauppaugeUSB

In fact, I just noticed that Hauppauge now simply links to jpoet's modifications of the Hauppauge code instead of publishing their own.

I've been using this for several years with my two HDPVR2s and it's pretty solid.

--John
thanks!
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #37  
Old 08-19-2020, 09:09 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
I can post a copy of the executable if you want to test it without having to set up a build environment.

--John

Edit: Nevermind, it looks like you are using HDPVR1s only.
Reply With Quote
  #38  
Old 08-19-2020, 11:12 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by jpwegas View Post
I can post a copy of the executable if you want to test it without having to set up a build environment.

--John

Edit: Nevermind, it looks like you are using HDPVR1s only.
yup, but thanks for the offer
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson
Reply With Quote
  #39  
Old 08-19-2020, 12:55 PM
Zogg's Avatar
Zogg Zogg is offline
Sage Aficionado
 
Join Date: May 2011
Location: Frisco, TX
Posts: 428
Quote:
Originally Posted by jpwegas View Post
I can post a copy of the executable if you want to test it without having to set up a build environment.

--John

Edit: Nevermind, it looks like you are using HDPVR1s only.
Would this need to be recompiled to run on unraid?

I was initially thinking that I wouldn't mess with my working setup (two HDPVR2s running on a Win8.1 VM) but it would actually let me simplify my setup to use this method.
__________________
-----
AMD Ryzen 5 3600, B450 m/b, 32Gig, lots of disks, Unraid, 2x HDPVR2 tuners, HDHomeRun Prime, HDHomeRun HDHR4 OTA, Windows Live Tuner, SageTV docker, OpenDCT docker, Win8.1 VM, EventGhost
Reply With Quote
  #40  
Old 08-19-2020, 02:32 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Zogg View Post
Would this need to be recompiled to run on unraid?

I was initially thinking that I wouldn't mess with my working setup (two HDPVR2s running on a Win8.1 VM) but it would actually let me simplify my setup to use this method.
I don't think it would need to be recompiled, but I can't verify as I'm not using unRaid. Let me get a write up together on using it with OpenDCT.

--John
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewire channel changing derfel Hardware Support 1 01-29-2011 09:32 AM
Possible to use STB Firewire for channel changing only? rob.sfo Hardware Support 30 12-15-2009 09:25 PM
Channel changing via Firewire showson1 Hardware Support 1 10-15-2008 02:08 PM
Firewire channel changing gjvrieze Hardware Support 4 07-07-2008 03:05 PM
HD-PVR: Firewire channel changing? deria Hardware Support 5 06-03-2008 12:22 PM


All times are GMT -6. The time now is 08:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.