|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#501
|
||||
|
||||
OpenDCT 0.4.28-Beta
Changes:
__________________
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 |
#502
|
|||
|
|||
Quote:
|
#503
|
||||
|
||||
Thanks for the link. I compiled my own copy of FFmpeg 2.8 with QSV about a week after it was announced as an officially supported encoder/decoder last year. I was real-time transcoding 6 streams simultaneously on an Ivy Bridge processor. It's very impressive.
__________________
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 |
#504
|
||||
|
||||
Quote:
Thank You. And do I just follow Daweeze's install instructions for V3 when installing V4? No difference between the installs? .
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. |
#505
|
||||
|
||||
You can follow those directions for either version. Getting the essentials working is the same between 0.3 and 0.4. There is no real difference in installation.
__________________
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 |
#506
|
|||
|
|||
First, a belated thanks for making 0.3.17 available. That seems to have fixed my halted recordings/no signal issue I had with one channel. Thanks!
I ran into another problem where it looks like I'm getting corruption in the stream and the video will pause for a second or two, pixelate then resume. This happens at various times in recordings. The timestamps of entries in the log like the ones below match up with the corruption in the recordings: Code:
PES packet size mismatch Continuity check failed for pid #### expected X got Y Code:
opendct: consumer.ffmpeg.upload_id_enabled=false opendct: consumer.ffmpeg.rw_buffer_size=262144 Just curious, is there a page somewhere that describes what all the settings are in the properties file and what the different values (i.e. false vs. true) will accomplish? Thanks! |
#507
|
||||
|
||||
The very first post describes several of them including that one. For many of them there is no reason to change the default unless you're troubleshooting, so I have not described every one. There are some new ones in 0.4 that are only described in the release notes. I will eventually document them better, but I don't want to document things that could change fairly soon.
Setting the upload_id_enabled property to false just means that OpenDCT will write directly to the file system instead of using the SageTV's upload id feature. The latest 0.4 default is false because some people have been having issues with it. Each stream adds the the overall load and heap size of the SageTV instance, so I suspect the issues they are having are in that realm.
__________________
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 Last edited by EnterNoEscape; 02-27-2016 at 05:00 PM. |
#508
|
||||
|
||||
Can V4.xx be installed over an existing V3.xx? Or should 3 be removed first?
Thanks, Bobby
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. |
#509
|
|||
|
|||
Greetings,
I had everything running great and then broke something. I'm comfortable saying that it was me, but I need help finding it. Specifically, can you provide a list of options to turn on debugging? I have very little output in /var/log/opendct/wrapper.log and almost nothing in opendct.log. Is there a way to enable debugging so that every command is printed/shown as it is executed, and so that data flow from the HDHR is noted. Basically, I want to trace the command going from Sage -> OpenDCT -> HDHR and then the data flow in the reverse direction with the hope that this will allow me to figure out where I have a configuration or other issue. Thank you. |
#510
|
||||
|
||||
Let's start with attaching what you do have in /var/log/opendct/wrapper.log and /var/log/opendct/opendct.log. Also have you already tried disabling ufw just to be sure it's not the firewall?
If you want to turn on TRACE logging, edit /opt/opendct/lib/log4j2.xml and change <Root level="DEBUG"> to <Root level="TRACE"> and if <AppenderRef ref="RollingFile"/> also has a level attribute, change that to TRACE too. You will likely need to edit this file as root. In opendct.properties, change sagetv.log_noop_and_size=false to true if you want to see every single NOOP and GET_FILE_SIZE request from SageTV.
__________________
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 Last edited by EnterNoEscape; 03-01-2016 at 06:10 AM. |
#511
|
||||
|
||||
When upgrading from V3 to V4, should V3 be removed first (including the tuners in Sage), or should it be safe to installl V4 over V3 (both 32bit)? If V3 should be removed, should anything be removed in sage.properties?
Thanks!
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. |
#512
|
|||
|
|||
I just stopped OPenDCT ... Ran the V4 Install started the console it updated the OpenDCT property ... restarted OpenDCT and did not do anything to SageTV properties.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#513
|
||||
|
||||
Quote:
I then enabled the ATSC tuner support and all the other tuners became available in sage. I added one of the Tampa tuners from OpenDCT (actually 2 tuners, but one HDHR Connect), used the same EPG listing from the sage tuners, and then removed original SageTV tuner references. I then did the same for my Orlando tuners. When I went to the guide, it only showed the Prime and Orlando stations. I tried re starting sage, and re installing the original Tampa tuners, but no joy. Any suggestions? . . UPDATE: Fixed. Not sure why, but I had to delete all the tuners (including the Prime tuners) from the source setup and start from scratch, installing the only the OTA OpenDCT tuners first, one city at a time, saving the source setup and checking the guide between each one. This worked. Then I installed the Prime tuners. Success! All the channels are there and in proper order. The only error I made along the way was doing a channel scan on one of the HDHR OTA tuners. Things came up I had never seen before in the channel listing and I could not get rid of them. The fix for this was to select a different zip code (nearby) and then I had a clean listing again. Sage is now using the OpenDCT encoder(s) exclusively, and everything appears to be tuning properly. Tonight Sage should start recording favorites, which will test simultaneous OTA and Prime recordings. Thanks, Bobby
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. Last edited by BobbyDing; 03-01-2016 at 06:06 PM. |
#514
|
|||
|
|||
Quote:
I verified that UFW is inactive. I also validated iptables (iptables -L) and INPUT, OUTPUT, FORWARD are all ACCEPT. Log files are attached. Sorry if there is something obvious in there I'm missing. I would note that I have a opendct_cling.log, opendct_cling.log.1, opendct_cling.log.lck, opendct_cling.log.lck.1 and they are also all 0 bytes. In my /etc/opendct/conf/lineup directory I have no files. In my opendct.properties, I swear I used to have config items for my HDHR, but looking now I dont see them, so not sure if I'm crazy or otherwise broke things. I at one point I completely deleted my Sage and OpenDCT installs (/opt/sagetv, /opt/opendct, /etc/opendct, /var/log/opendct) and reinstalled, but that did not appear to help (trying to add as complete details as I can think of). As this is mostly a test server, I'm happy to erase, reinstall, etc for any trouble shooting / etc that you recommend. Thank you for all of your help. (Side note: I was thinking of starting a specific OpenDCT troubleshooting thread where the first post is all the steps to debug through the streaming video flow. ex. check encoder, check ... etc. Please let me know if you have a preference and/or anything you would specifically want in it.) |
#515
|
|||
|
|||
I should note one other thing. I note that in the /etc/init.d script you chown things to be owned by the opendct user and group, but I dont have an opendct user or group. when opendct runs, I think its running as root.
|
#516
|
||||
|
||||
You should have an opendct user and group. They were created when the package was installed. The original intention was to run OpenDCT as the user opendct, but that doesn't work because it needs to be able to set itself at a higher priority than other threads. I was taking advantage of the fact that that script has root privileges before it would have launched the OpenDCT service with only the opendct user privileges to handle some potential troubleshooting situations.
To verify the group exists: Code:
cat /etc/group | grep opendct Code:
cat /etc/passwd | grep opendct Code:
apt-get remove opendct I saw a few times the HDHomeRun tuners were detected, but it took two minutes. That's probably why every time I see SageTV make a discovery request, the tuners have not already loaded. You'll also want to make sure nothing is using port 8501. Cling UPnP uses that port by default and annoyingly doesn't throw a fit if it's already in use. I had to make it a specific port so the firewall rules would work. You can change the port if you want by changing the value of upnp.service.configuration.http_listen_port in opendct.properties. I should also mention that if it takes two minutes for a device to come in, either your computer is really that slow or you might have some UDP packet loss related issues. It might help to know that Linux will limit Java to 128k on the UDP receive buffer. You can increase this temporarily (in this example to 2MB): Code:
sysctl -w net.core.rmem_max=2097152 Code:
net.core.rmem_max=2097152 As for what to do, I would start the OpenDCT service. Then look for entries like this one in /var/log/opendct/opendct.log to indicate that the capture devices are ready: Code:
INFO SageTVManager - The capture device 'DCT-HDHomeRun Prime Tuner 131F6BC2-0' is ready. I'm not sure what to say about the 0k files. I suspect this has to do with system/network performance. In other words, OpenDCT created the file, but then never had anything to write to it. Any chance you still have logs under /var/log/opendct/archive that might have logging from when you were having tuning issues? Without those, it's hard to tell what you should be looking at. As for a troubleshooting guide; I'll just take a wait and see approach. This project is still very young and taking shape, so things may change, but I am doing my best to make those changes clear in the RELEASE.md file on GitHub. Also if you would like to improve the bash scripts, documentation or anything else about the project that you discover is not working as expected, please create the pull request on GitHub. GitHub also has a wiki, per project, so let me know if that approach interests you and I'll make sure you have appropriate access.
__________________
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 |
#517
|
||||
|
||||
Does this need to be set back to false at any point?
Thanks
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300. |
#518
|
|||
|
|||
Nope no need it is better to keep it on in case you add a new tuner in the future.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#519
|
||||
|
||||
That needs to stay true or the tuners will no longer be discovered. It also allows OpenDCT to monitor for IP address changes which can certainly happen with DHCP.
__________________
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 |
#520
|
|||
|
|||
OpenDCT 0.4.30-Beta
OpenDCT 0.4.30-Beta,
I am getting no Signal see attached file. I think it is treating the Prime as a QAM tuner.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 03-05-2016 at 07:26 PM. |
Currently Active Users Viewing This Thread: 5 (0 members and 5 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATI TV Wonder Digital Cable Tuner & SageTV | nyle | Hardware Support | 4 | 02-17-2009 10:12 PM |
ATI TV Wonder Digital Cable Tuner | rajczi | Hardware Support | 4 | 01-14-2008 08:24 PM |
ATI TV Wonder™ Digital Cable Tuner | dadams | Hardware Support | 4 | 01-09-2007 10:55 AM |
Digital Cable - one guide - need HD on one tuner reg tv on other | Kimper | SageTV Beta Test Software | 14 | 11-27-2006 08:15 PM |
Multi-tuner Digital Cable | mlbdude | SageTV Software | 0 | 06-26-2003 01:08 PM |