NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 2 3 4 5 6 … 9 Next »
TrueNAS Scale - NextPVR

 
  • 0 Vote(s) - 0 Average
TrueNAS Scale - NextPVR
asw2012
Offline

Junior Member

United States
Posts: 24
Threads: 4
Joined: Nov 2021
#1
2022-08-31, 03:44 PM
Hello,

I have been trying to use the NextPVR app/docker in TrueNAS Scale so I can ditch the install on a separate PC I use just for NextPVR.

I've been able to create a VM, install win10, install NextPVR - and install the Hauppauge PCI tuner by using the pci passthrough to the VM.  The NextPVR install can find the tuner, and can find the local channels.

Now, pertaining to the app / docker install directly on TrueNAS Scale, NextPVR can't seem to find the tuner.  I would like some insight to get this to work.

thanks.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#2
2022-08-31, 03:48 PM (This post was last modified: 2022-08-31, 03:49 PM by mvallevand.)
Docker instances don't use virtualized PCI you need to pass through the /dev/dvb device from the host and the Docker uses it directly. Once you have the host working update the command line with

--device /dev/dvb:/dev/dvb

Martin
asw2012
Offline

Junior Member

United States
Posts: 24
Threads: 4
Joined: Nov 2021
#3
2022-08-31, 03:53 PM
Ok, thanks for the reply! Same situation as the VM, needs to be passed through to the Docker.

Now, about passing it through to the Docker, that's one thing I do not know how to do. The VM, it's pretty easy to find and choose the proper PCI device to pass through in the GUI.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#4
2022-08-31, 03:58 PM
I would just pass the whole /dev/dvb folder, all adapters will be there. You may need to use udev_rules to make sure your devices get the same id.

Martin
asw2012
Offline

Junior Member

United States
Posts: 24
Threads: 4
Joined: Nov 2021
#5
2022-08-31, 04:14 PM
Hi again thanks for the help, I do not use command lines but once every 5-6 months.  Can you please spell out exactly what I am needing to do....

I have the PCI ID as pci_0000_06_00_0 (as I see in the TrueNAS GUI)

Below is what I see after I use the lspci -v command in the TrueNAS Scale shell.

06:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
        Subsystem: Hauppauge computer works Inc. WinTV HVR-1250
        Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 3
        Memory at fe600000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [80] Power Management version 3
        Capabilities: [90] Vital Product Data
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [200] Virtual Channel
        Kernel driver in use: cx23885
        Kernel modules: cx23885
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#6
2022-08-31, 04:26 PM (This post was last modified: 2022-08-31, 04:26 PM by mvallevand.)
What you want to check on the host is if it installed that device

ls /dev/dvb

If you see adapter0 etc then all is good and you just need to add the command I gave you to your Docker startup. It looks like your kernel is supporting it.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2022-08-31, 04:58 PM
(2022-08-31, 04:14 PM)asw2012 Wrote: Hi again thanks for the help, I do not use command lines but once every 5-6 months.  Can you please spell out exactly what I am needing to do....
You'd typically do something like the following. From a shell on your TrueNAS, check it can see your device:

ls -l /dev/dvb

If it can, then you can share device with your NextPVR docker instance, by adding the following docker command line parameter when starting the NextPVR container:

--device /dev/dvb:/dev/dvb

(ie, this is saying share /dev/dvb from the host, as /dev/dvb within the container)
asw2012
Offline

Junior Member

United States
Posts: 24
Threads: 4
Joined: Nov 2021
#8
2022-08-31, 05:26 PM
You'd typically do something like the following. From a shell on your TrueNAS, check it can see your device:

ls -l /dev/dvb

If it can, then you can share device with your NextPVR docker instance, by adding the following docker command line parameter when starting the NextPVR container:

--device /dev/dvb:/dev/dvb

(ie, this is saying share /dev/dvb from the host, as /dev/dvb within the container)

Hi, yep i can see:

Code:
# ls -l /dev/dvb
total 0
drwxr-xr-x 2 root root 120 Aug 31 08:47 adapter0


Now, I am trying to figure out how to insert into the docker startup.  There's no clear "startup parameters" (see picture ... it is "Extra Args?"

Code:
--device /dev/dvb:/dev/dvb


Attached Files Thumbnail(s)
   
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,163
Threads: 958
Joined: May 2006
#9
2022-08-31, 05:38 PM
I would click it and if a text edit box opens up enter it.

Martin
asw2012
Offline

Junior Member

United States
Posts: 24
Threads: 4
Joined: Nov 2021
#10
2022-08-31, 05:43 PM (This post was last modified: 2022-08-31, 05:44 PM by asw2012.)
Well, I've entered under extra args, and stopped and started the docker, still cannot see the card in the docker app.

+ I've gone to the TrueNAS Forums, seeing if i can get some help there as this is more of a TrueNAS Scale issue then NextPVR. But, of course thank you much for the help so far.


Attached Files Thumbnail(s)
   
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPvr Instance Unresponsive itsnotjeff 8 570 2025-05-29, 10:58 PM
Last Post: mvallevand
  Error detecting HDHR devices with marklambert/nextpvr-ccextractor SickBoy 16 1,412 2025-03-23, 08:52 PM
Last Post: sub
  Current guide for NextPVR docker on Unraid? wapkaplet 1 998 2024-12-20, 02:40 AM
Last Post: wapkaplet
  Modification to the NextPVR Image DockerFile thelanofvilles 5 751 2024-12-15, 07:30 PM
Last Post: thelanofvilles
  NextPVR with Docker and Fritzbox icompas 9 895 2024-12-12, 02:50 PM
Last Post: icompas
  Add Intel iHD Driver to Docker Image for NextPVR thelanofvilles 8 1,512 2024-06-16, 08:10 PM
Last Post: thelanofvilles
  nextpvr video file help on nas Houghton19@gmail.com 4 1,166 2023-11-23, 09:34 PM
Last Post: Houghton19@gmail.com
  nextpvr Import failed. Not logged in. XM55 4 3,159 2023-08-08, 08:35 PM
Last Post: XM55
  Getting guide data for Kodi and NextPVR on Synology NAS NewUser 2 1,444 2023-01-02, 04:42 PM
Last Post: sub
  NextPVR in Unraid Docker is writing recordings with 755 permissions antenna 4 2,010 2022-09-24, 12:20 AM
Last Post: greg in kansas

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode