SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker

Notices

SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-21-2022, 03:25 PM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 387
Hauppauge pci cards passthru to docker/unraid

Hi,

I may actually make the switch to a docker. I need to know if it is possible to get dvd drivers for my docker. I previously have been using a straight install on Mx Linux. Is this possible? I know nothing about card pass-through. Is this possible? I have WinTV Quad & 2250 & 2255 cards I want to switch over. I am looking for a free option at this point & dont want to use unraid since I wouldn't be creating a standalone dedicated media server. In the future that may change if I purchase a server for uses as a NAS.

Galaxysurfer
Reply With Quote
  #2  
Old 07-21-2022, 10:13 PM
Striker:WG Striker:WG is offline
Sage Aficionado
 
Join Date: Oct 2008
Posts: 450
I can say that on Unraid it is possible to pass through cards to virtual machines.

As long as the drivers are loaded in the Unraid OS I am able to access devices like Hauppage HD-PVR and my FireWire PCI card within the SageTV docker with no additional effort required to passthrough the hardware.

As far as I am aware, it should work the same if you are running a docker on a different host OS but I don't have any real experience with it. I dabbled with docker in Linux briefly but it was just so much easier to manage via Unraid.
Reply With Quote
  #3  
Old 07-22-2022, 07:50 AM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 387
I don't understand how Docker works. Wont be using Unraid.

Will the docker see my Hauppauge pci card drivers on the host? or do I need to import drivers or create a mock network driver like Unraid uses?

I am using Debian based OS not Ubuntu. Will I have dependency issues due to differences between Ubuntu & my Debian OS? Any help with this would be appreciated with this basic linux user.

Worst case scenario is that am stuck with my non docker install. I was hoping to be able to use commercial skip etc that haven't used in many version changes.

Galaxysurfer
Reply With Quote
  #4  
Old 07-22-2022, 11:52 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,413
Docker creates kind of mini Virtual Machines that are walled off from the rest of your system. This would allow you to run multiple versions of SageTV if you wanted. I went from using Windows to using unRAID several years ago and it is great as unRAID is a Linux distro designed to primarily be a network file server. I run SageTV and a bunch of other apps in a docker.

There are some people using other flavours of Linux, but unRAID probably has a lot more users. It also is what is being used by some of the devs, although some of those are no longer using SageTV.

edit - Ubuntu is actually Debian based.
__________________
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

Last edited by wayner; 07-22-2022 at 11:56 AM.
Reply With Quote
  #5  
Old 07-22-2022, 03:42 PM
emveepee emveepee is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 408
Docker is quite different from a VM. Devices like tuners would need to be created on the host abnd then the /dev/dvb devices would need to passed to the Docker just like directories and other devices would be passed.

The SageTV Linux Docker instance would then have to read this device and be able to scan it like it would on bare metal Linux.

Martin
Reply With Quote
  #6  
Old 07-24-2022, 05:53 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
When you `docker run --privileged` (ie, use --privileged) the container has access to all the devices on the system. For the initial testing (or general ease of use) this is ideal, since, if the device is present and working on the host system, then it can be accessed inside the container.
Reply With Quote
  #7  
Old 07-27-2022, 12:48 AM
Galaxysurfer Galaxysurfer is offline
Sage Aficionado
 
Join Date: Jun 2009
Location: Calgary, AB CANADA
Posts: 387
Okay good to know. I figured it was a matter of getting tuners into docker. Any leads or instructions on how to steer host pci cards into docker instance?
I would love to get this working so can get the commercial skipping feature working again. ( I know it wasn't perfect, often cutting off bits of show) Docker is a whole new learning curve to tackle. heck If I can get Linux working this should be not too bad to add to the toolbox.

Found this under Add host device to container (--device)

https://docs.docker.com/engine/refer...mmandline/run/

Any special instructions for use in SageTV?
PS I dont use Ubuntu. I use MxLinux which uses systVinit. Dont know how Docker could affect that.

Any way to get both client & server working on same linux PC in this scenario?

Galaxysurfer

Last edited by Galaxysurfer; 07-27-2022 at 12:58 AM.
Reply With Quote
Reply


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

Advanced Search
Display Modes

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
Native support for hauppauge cards in UNRAID? btrcp2000 SageTV for unRAID/Docker 4 05-20-2019 09:55 PM
HDHR OTA in unraid/docker lewispm SageTV for unRAID/Docker 3 07-05-2018 11:33 AM
Unraid/Docker UNC rerooks SageTV for unRAID/Docker 2 12-09-2017 12:17 PM
Pegged CPU for unRaid docker MacDaddy SageTV for unRAID/Docker 4 08-22-2017 12:39 PM
Is unRAID/Docker the right OS for me? wayner SageTV for unRAID/Docker 32 01-12-2017 03:08 PM


All times are GMT -6. The time now is 10:40 PM.


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