SageTV Community  

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

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-06-2016, 10:41 PM
roymcd roymcd is offline
Sage User
 
Join Date: May 2010
Location: Adelaide
Posts: 38
Getting GenericTunerPlugin to work in linux

OS=Ubuntu 10.10
SageTV=V7.1.9.1

I've downloaded, built and followed the instructions for GenericTunerPlugin from https://github.com/jwittkoski/GenericTunerPlugin. I'm trying to debug tuner problems and this seemed like it could be a good solution because it should allow me to use tzap from the dvb-apps package to tune my four tuners. tzap seems to work no problems, but SageTV seems to have problems getting locks once I have more than one tuner defined in Setup Video Sources.

However, I must be missing something. The instructions for GenericTunerPlugin are straightforward, but I was expecting to see new sources appear in Setup Video Sources after installing the plugin in the irtunerplugins directory but I don't see any change. Moreover, it occurs to me that I don't see any reference to the other plugins in that directory either in Setup Video Sources. Is there a switch in Sage.properties I need to set before any of those plugins are loaded? If I turn on debugging in SageTV I don't see any references in sagetv_0.txt to any of the plugins in irtunerplugins.
__________________
--------------------------------------------------
Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2),
MyGica Dual Tuner USB DVB-T,
2 x HD-200 clients
Reply With Quote
  #2  
Old 06-07-2016, 04:31 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
unfortunately it's been a very long time since I set this up But, if I recall, when you are setting up the video source, you choose the "External" tuner plugin. I'm not at home right now, but when I get back (in a week) I can see more definiately as to what I did.

Also be sure that the tuner plugin is compiled the same as sagetv, ie, 32bit or 64bit. If you are using my unraid/docker image, then it downloads the 64bit and installs it.
Reply With Quote
  #3  
Old 06-08-2016, 04:43 PM
roymcd roymcd is offline
Sage User
 
Join Date: May 2010
Location: Adelaide
Posts: 38
Quote:
Originally Posted by stuckless View Post
unfortunately it's been a very long time since I set this up But, if I recall, when you are setting up the video source, you choose the "External" tuner plugin. I'm not at home right now, but when I get back (in a week) I can see more definiately as to what I did.

Also be sure that the tuner plugin is compiled the same as sagetv, ie, 32bit or 64bit. If you are using my unraid/docker image, then it downloads the 64bit and installs it.
Thanks for the reply. I compiled with CFGLAGS=-m32 and with no CFLAGS set. It didn't make any difference. The External tuner plugin doesn't appear. In fact, I don't see any tuner plugins. In what part in the GUI does that option appear? In Setup Video Sources, if I Add New Source, it lists my 4 dvb-t tuners and thats it. The only device option for those is Digital TV Tuner.
__________________
--------------------------------------------------
Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2),
MyGica Dual Tuner USB DVB-T,
2 x HD-200 clients
Reply With Quote
  #4  
Old 06-08-2016, 04:55 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by roymcd View Post
Thanks for the reply. I compiled with CFGLAGS=-m32 and with no CFLAGS set. It didn't make any difference. The External tuner plugin doesn't appear. In fact, I don't see any tuner plugins. In what part in the GUI does that option appear? In Setup Video Sources, if I Add New Source, it lists my 4 dvb-t tuners and thats it. The only device option for those is Digital TV Tuner.
I know this isn't what you want to hear, but the crossbar Digital TV Tuner implies that the source is exactly that and not some kind of analog encoder which means you will not get any options to configure a tuning plugin because the Digital TV Tuner is the tuning and capture device. I would think that DVB-T wouldn't require any tuning plugins.
__________________
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
  #5  
Old 06-08-2016, 06:33 PM
roymcd roymcd is offline
Sage User
 
Join Date: May 2010
Location: Adelaide
Posts: 38
Quote:
Originally Posted by EnterNoEscape View Post
I know this isn't what you want to hear, but the crossbar Digital TV Tuner implies that the source is exactly that and not some kind of analog encoder which means you will not get any options to configure a tuning plugin because the Digital TV Tuner is the tuning and capture device. I would think that DVB-T wouldn't require any tuning plugins.
I don't know what you mean by crossbar Digital TV Tuner. I want to try using tuning outside of SageTV on my DVB-T tuners because tzap (from the linuxtv dvb-apps package) doesn't seem to have a problem tuning the 4 tuners I have, but SageTV does when I add more than one Video Source. Maybe what I'm trying to do won't actually work. I'm making an assumption that the GenericTunerPlugin will allow me to tune the DVB-T tuners using tzap. If that's not a valid assumption then I guess I'm wasting my time.

I've just discovered that the Predefined frequencies in the 7.1.9 sage distribution have got the wrong frequency for one network and missing another for my region. That's been confounding my confusion. After manually editing PredefinedScan.frq and PredefinedDVBT.frq I've got improved tuning within sage on the four tuners, but some delays (many seconds) in getting locks some of the time.

I've spent way too long trying to sort this out and I'm going through another loop of frustration with sage. I need an off-the-shelf solution but I know I've got little chance of finding one that does everything I'd like.
__________________
--------------------------------------------------
Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2),
MyGica Dual Tuner USB DVB-T,
2 x HD-200 clients
Reply With Quote
  #6  
Old 06-08-2016, 07:08 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by roymcd View Post
I don't know what you mean by crossbar Digital TV Tuner. I want to try using tuning outside of SageTV on my DVB-T tuners because tzap (from the linuxtv dvb-apps package) doesn't seem to have a problem tuning the 4 tuners I have, but SageTV does when I add more than one Video Source. Maybe what I'm trying to do won't actually work. I'm making an assumption that the GenericTunerPlugin will allow me to tune the DVB-T tuners using tzap. If that's not a valid assumption then I guess I'm wasting my time.

I've just discovered that the Predefined frequencies in the 7.1.9 sage distribution have got the wrong frequency for one network and missing another for my region. That's been confounding my confusion. After manually editing PredefinedScan.frq and PredefinedDVBT.frq I've got improved tuning within sage on the four tuners, but some delays (many seconds) in getting locks some of the time.

I've spent way too long trying to sort this out and I'm going through another loop of frustration with sage. I need an off-the-shelf solution but I know I've got little chance of finding one that does everything I'd like.
Your situation looks to be a little complex. When a capture device only gives you the option Digital TV Tuner, you will not see any tuner plugins. This behavior can be modified, but I happen to know the source code behind that piece pretty well and SageTV will actually ignore the tuning plugin even if it's defined when the capture device is a Digital TV Tuner.

If you would like to see this behavior changed you can post an issue on GitHub. I would also keep an eye on this thread since it looks like routerunner might be putting something together that would make posting an issue on Github unnecessary.
__________________
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
  #7  
Old 06-08-2016, 07:58 PM
roymcd roymcd is offline
Sage User
 
Join Date: May 2010
Location: Adelaide
Posts: 38
Thanks

Quote:
Originally Posted by EnterNoEscape View Post
Your situation looks to be a little complex. When a capture device only gives you the option Digital TV Tuner, you will not see any tuner plugins. This behavior can be modified, but I happen to know the source code behind that piece pretty well and SageTV will actually ignore the tuning plugin even if it's defined when the capture device is a Digital TV Tuner.

If you would like to see this behavior changed you can post an issue on GitHub. I would also keep an eye on this thread since it looks like routerunner might be putting something together that would make posting an issue on Github unnecessary.
Thanks again for your reply and insight. It looks like the GenericCaptureDevice plugin won't work for me then.

I seem to have made progress after fixing my .frq files. I'll see how that goes for now.

Re the routerunner plugin. It looks like Eddie is doing this using DirectShow which is Windows. I'm using linux.
__________________
--------------------------------------------------
Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2),
MyGica Dual Tuner USB DVB-T,
2 x HD-200 clients
Reply With Quote
  #8  
Old 06-08-2016, 08:09 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by roymcd View Post
Re the routerunner plugin. It looks like Eddie is doing this using DirectShow which is Windows. I'm using linux.
The thread I linked to is actually asking if anyone is interested in a Linux version being written. That's why I said to keep an eye on that thread. Otherwise I would have said try this.
__________________
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
  #9  
Old 06-14-2016, 04:48 PM
roymcd roymcd is offline
Sage User
 
Join Date: May 2010
Location: Adelaide
Posts: 38
For the record

My tuning problems appear to have been caused by the SageTV V7 PredefinedScan.frq and PredefinedDVBT.frq files being out of date for my region (Australia-Adelaide). Channel 9 had the wrong frequency (was 191625, should be 191500) and SBS was missing (should be 184500). I manually updated the two files and successfully scanned channels on one of the DVBT adapters. Now all the tuners seem to be working OK modulo some minor issues on one of them.
__________________
--------------------------------------------------
Intel Atom 510 2x1.6GHz, 2GB, Ubuntu server 10.10, DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2),
MyGica Dual Tuner USB DVB-T,
2 x HD-200 clients
Reply With Quote
  #10  
Old 06-14-2016, 07:26 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by roymcd View Post
My tuning problems appear to have been caused by the SageTV V7 PredefinedScan.frq and PredefinedDVBT.frq files being out of date for my region (Australia-Adelaide). Channel 9 had the wrong frequency (was 191625, should be 191500) and SBS was missing (should be 184500). I manually updated the two files and successfully scanned channels on one of the DVBT adapters. Now all the tuners seem to be working OK modulo some minor issues on one of them.
Blame Austrailia's ridiculously always changing frequency bands for those issues.. ;-) regarding the .FRQ file, though, 191500 kHz should be in your list. The list of all frequencies SageTV will scan through SHOULD include everything under the "Australia" AND the "Australia-Adelaide" group (so it should check 191500 AND 191625) - at least that's how I understand the .FRQ file to work.
__________________
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

Last edited by Fuzzy; 06-14-2016 at 07:45 PM.
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
OSD doesn't work in Linux miniclient 6.6 Grant.Edwards SageTV Linux 1 08-27-2011 04:37 PM
Does the WinTV-HVR-850 work with Linux and SageTV? franco7777 SageTV Linux 6 06-23-2011 09:56 AM
GenericTunerPlugin 1.0 Released jpwegas SageTV Linux 19 08-22-2010 07:24 PM
Getting Hauppauge HVR 1600 to Work in Linux mtolbert Hardware Support 19 07-23-2009 05:14 PM
Getting a Sage Linux client to work?? skeltonl SageTV Linux 2 03-10-2006 11:27 PM


All times are GMT -6. The time now is 05:06 PM.


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