SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

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 02-11-2017, 07:40 AM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 406
Anyone have HD PVR 2 working in a VM on unraid

I have an HD PVR 2 which works well in windows but I'm trying to get unraid running with sagetv docker. After a lot of trial and errors on my part I have the docker working great. I was finally able to get a vm of windows 8 running on unraid and I activated the proper usb pass through and got the HD PVR 2 installed in the VM last night. But when I try to use it as a network encoder it seems to studder. I'm thinking its the usb is not keeping up in the vm. Does this make sense? Does anyone else have it working on a vm and I'm just missing something, I'm new to unraid and vms.
Reply With Quote
  #2  
Old 02-11-2017, 08:01 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
There is no V4L driver for it. There is source code on Hauppauge's website to access it using libusb, but I have found the solution to be less tolerant of my HDMI splitter than the Windows driver and after looking at the code for a few hours it was still very unclear how to get 5.1 audio which is the only reason I would even care to go through this kind of hassle.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #3  
Old 02-11-2017, 08:12 AM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 406
I know about the driver for the linux issue that is why the windows vm. I'm trying to run the the hd pvr 2 in in a windows vm so I can share it as a network encoder. I'm able to see it and it installs, but there is studdering in the vm sagetv and the docker sagetv. That is what led me to think it was the usb ports not having enough through put to keep up with the amount of data being passed to from the hd pvr 2 unit. Just a guess wanted second opinions on this or if someone else had it working. I tried reading through the unraid forums but nothing I can find on this type of problem. Thought it made more sense to ask here.
Reply With Quote
  #4  
Old 02-11-2017, 08:29 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Depending on the how the network encoder works... it could be an IO issue... ie, if it's reading the USB and writing to a drive and then sagetv is reading from that drive, and then rewriting to the actual file, etc, then it could be an IO issue. Also depending on the how the network encoder is working it could be blocking there... ie, read data write data in a loop vs a thread to read and the thread to write so that one doesn't block the other.
Reply With Quote
  #5  
Old 02-11-2017, 01:26 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Did you try passing through a WHOLE USB controller to the VM?
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #6  
Old 02-11-2017, 02:49 PM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 406
I tried finding what you said and did not see it so I switched on advanced view and I believe found the answer. At the very bottom is not a setting to pass through the whole usb bus but a setting to turn on usb 3 instead of 2 and that seemed to fix it. The version for usb 2 does not seen to allow enough band width for the HD PVR but usb 3 emulation seems to too. So all seems to be working as of right now a few days of testing before I try using it as a production machine. Thanks for the replies and help as always
Reply With Quote
  #7  
Old 02-11-2017, 03:59 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by mechling-burgh View Post
I tried finding what you said and did not see it so I switched on advanced view and I believe found the answer. At the very bottom is not a setting to pass through the whole usb bus but a setting to turn on usb 3 instead of 2 and that seemed to fix it. The version for usb 2 does not seen to allow enough band width for the HD PVR but usb 3 emulation seems to too. So all seems to be working as of right now a few days of testing before I try using it as a production machine. Thanks for the replies and help as always
That's not entirely what BobPhoenix was asking about. You are passing through an individual USB device. This means that The USB drivers in the linux kernel is filtering out all traffic to and from that specific device and passing it to a virtual USB controller in the virtual machine. What BobPhoenix was discussing, was taking an entire USB controller in on your motherboard (or easier with an add-in card) and passing that to the VM at the PCI level. This requires virtualization capabilities in the CPU and motherboard to do (IOMMU), but performance will be much better, as the windows VM will have that USB controller to itself and talk to it just the same as if it was installed on bare metal.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
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
unRAID 6.3 is out wayner SageTV for unRAID/Docker 11 02-21-2017 07:32 AM
unRAID 6.3.0-rc9 EnterNoEscape SageTV for unRAID/Docker 5 02-05-2017 07:23 AM
WHS to W7 and Unraid - Have some ???s icon123 Hardware Support 25 01-19-2011 05:50 PM
whs or unraid? rwc SageTV Software 28 09-18-2010 10:16 AM
WORKING-Sage, VMware Server 2, UNraid, Hauppauge PCI Nova T500, USB passthrough al_uk Hardware Support 7 09-24-2009 01:01 PM


All times are GMT -6. The time now is 12:36 PM.


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