SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #901  
Old 04-30-2016, 04:42 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by nyplayer View Post
What does this do.??
upload_id_enabled=true


Setting it to true improved the response of my Android miniclient... Also improved my livetv channel changes on the miniclient.
It uses the Media Server built into SageTV instead of writing the file directly. I may now have too many checks in the direct file writing which are slowing it down. They were pretty much a reaction to someone having unexplained issues.


Edit: If you want to confirm that's the all of the checking that's causing the issue, try changing consumer.ffmpeg.min_direct_flush_size to -1.
__________________
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; 04-30-2016 at 04:50 PM.
Reply With Quote
  #902  
Old 04-30-2016, 06:10 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by EnterNoEscape View Post
It uses the Media Server built into SageTV instead of writing the file directly. I may now have too many checks in the direct file writing which are slowing it down. They were pretty much a reaction to someone having unexplained issues.


Edit: If you want to confirm that's the all of the checking that's causing the issue, try changing consumer.ffmpeg.min_direct_flush_size to -1.
Much better does this disable all the extra checks I never really needed them.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #903  
Old 04-30-2016, 06:47 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by nyplayer View Post
Much better does this disable all the extra checks I never really needed them.
Yes. That disabled all of the checks. I might just remove them completely since they have yet to show anything interesting for anyone.
__________________
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
  #904  
Old 05-01-2016, 07:31 AM
mwittl mwittl is offline
Sage User
 
Join Date: Dec 2005
Posts: 48
Error with OpenDCT on Separate PC

I installed the 4.48 version on a separate PC from my Sage box. Got everything running OK from the DCT box and Sage. Tuners added, working but trying to view anything produces a java write error. I have networking permissions set from the DCT box to Sage and mapped drives from the DCT box to the Sage box. I can manually write files from the DCT box to the Sage box; however, I get the following error when I try to watch or record anything:

Code:
INFO   | jvm 1    | 2016/05/01 07:25:29.252 | 07:25:29.252 [SageTVRequestHandler-94:DCT-HDHomeRun Prime Tuner 13215AFE-1] INFO  HDHRNativeCaptureDevice - Configuring and starting the new SageTV consumer...
INFO   | jvm 1    | 2016/05/01 07:25:29.252 | 07:25:29.252 [SageTVRequestHandler-94:DCT-HDHomeRun Prime Tuner 13215AFE-1] ERROR FFmpegTransSageTVConsumerImpl - Unable to open 'I:\SageTV\SesameStreet-BabyBearisAfraidofBees-11161189-0.ts' for writing => java.nio.file.NoSuchFileException: I:\SageTV\SesameStreet-BabyBearisAfraidofBees-11161189-0.ts
INFO   | jvm 1    | 2016/05/01 07:25:29.252 |   at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at java.nio.channels.FileChannel.open(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at java.nio.channels.FileChannel.open(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at opendct.consumer.FFmpegTransSageTVConsumerImpl$FFmpegDirectWriter.<init>(FFmpegTransSageTVConsumerImpl.java:479)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at opendct.consumer.FFmpegTransSageTVConsumerImpl.consumeToFilename(FFmpegTransSageTVConsumerImpl.java:236)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at opendct.capture.HDHRNativeCaptureDevice.startEncodingSync(HDHRNativeCaptureDevice.java:971)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at opendct.capture.HDHRNativeCaptureDevice.startEncoding(HDHRNativeCaptureDevice.java:510)
INFO   | jvm 1    | 2016/05/01 07:25:29.283 |   at opendct.capture.HDHRNativeCaptureDevice.startEncoding(HDHRNativeCaptureDevice.java:461)
INFO   | jvm 1    | 2016/05/01 07:25:29.283 |   at opendct.sagetv.SageTVRequestHandler.run(SageTVRequestHandler.java:230)
INFO   | jvm 1    | 2016/05/01 07:25:29.283 |   at java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.283 |
INFO   | jvm 1    | 2016/05/01 07:25:29.283 | 07:25:29.252 [SageTVRequestHandler-94:DCT-HDHomeRun Prime Tuner 13215AFE-1] ERROR SageTVRequestHandler - SageTV sent: 'START DCT-HDHomeRun Prime Tuner 13215AFE-1 Digital TV Tuner|1206294943|004|2924203866806|I:\SageTV\SesameStreet-BabyBearisAfraidofBees-11161189-0.ts|Great', Replied: 'ERROR Device Start Failed'
INFO   | jvm 1    | 2016/05/01 07:25:29.283 | 07:25:29.252 [SageTVRequestHandler-94:DCT-HDHomeRun Prime Tuner 13215AFE-1] ERROR SageTVRequestHandler - Encoder device is unable to start.
INFO   | jvm 1    | 2016/05/01 07:25:35.205 | 07:25:35.158 [PacketsMonitor-102:NIORTPProducerImpl-99:DCT-HDHomeRun Prime Tuner 13215AFE-1] INFO  NIORTPProducerImpl - Received first 1761 datagram packets. Missed RTP packets 0. Bad RTP packets 0.
Anybody have any thoughts?
Reply With Quote
  #905  
Old 05-01-2016, 08:13 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by mwittl View Post
I installed the 4.48 version on a separate PC from my Sage box. Got everything running OK from the DCT box and Sage. Tuners added, working but trying to view anything produces a java write error. I have networking permissions set from the DCT box to Sage and mapped drives from the DCT box to the Sage box. I can manually write files from the DCT box to the Sage box; however, I get the following error when I try to watch or record anything:

Code:
INFO   | jvm 1    | 2016/05/01 07:25:29.252 | 07:25:29.252 [SageTVRequestHandler-94:DCT-HDHomeRun Prime Tuner 13215AFE-1] INFO  HDHRNativeCaptureDevice - Configuring and starting the new SageTV consumer...
INFO   | jvm 1    | 2016/05/01 07:25:29.252 | 07:25:29.252 [SageTVRequestHandler-94:DCT-HDHomeRun Prime Tuner 13215AFE-1] ERROR FFmpegTransSageTVConsumerImpl - Unable to open 'I:\SageTV\SesameStreet-BabyBearisAfraidofBees-11161189-0.ts' for writing => java.nio.file.NoSuchFileException: I:\SageTV\SesameStreet-BabyBearisAfraidofBees-11161189-0.ts
INFO   | jvm 1    | 2016/05/01 07:25:29.252 |   at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at java.nio.channels.FileChannel.open(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at java.nio.channels.FileChannel.open(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at opendct.consumer.FFmpegTransSageTVConsumerImpl$FFmpegDirectWriter.<init>(FFmpegTransSageTVConsumerImpl.java:479)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at opendct.consumer.FFmpegTransSageTVConsumerImpl.consumeToFilename(FFmpegTransSageTVConsumerImpl.java:236)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at opendct.capture.HDHRNativeCaptureDevice.startEncodingSync(HDHRNativeCaptureDevice.java:971)
INFO   | jvm 1    | 2016/05/01 07:25:29.267 |   at opendct.capture.HDHRNativeCaptureDevice.startEncoding(HDHRNativeCaptureDevice.java:510)
INFO   | jvm 1    | 2016/05/01 07:25:29.283 |   at opendct.capture.HDHRNativeCaptureDevice.startEncoding(HDHRNativeCaptureDevice.java:461)
INFO   | jvm 1    | 2016/05/01 07:25:29.283 |   at opendct.sagetv.SageTVRequestHandler.run(SageTVRequestHandler.java:230)
INFO   | jvm 1    | 2016/05/01 07:25:29.283 |   at java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2016/05/01 07:25:29.283 |
INFO   | jvm 1    | 2016/05/01 07:25:29.283 | 07:25:29.252 [SageTVRequestHandler-94:DCT-HDHomeRun Prime Tuner 13215AFE-1] ERROR SageTVRequestHandler - SageTV sent: 'START DCT-HDHomeRun Prime Tuner 13215AFE-1 Digital TV Tuner|1206294943|004|2924203866806|I:\SageTV\SesameStreet-BabyBearisAfraidofBees-11161189-0.ts|Great', Replied: 'ERROR Device Start Failed'
INFO   | jvm 1    | 2016/05/01 07:25:29.283 | 07:25:29.252 [SageTVRequestHandler-94:DCT-HDHomeRun Prime Tuner 13215AFE-1] ERROR SageTVRequestHandler - Encoder device is unable to start.
INFO   | jvm 1    | 2016/05/01 07:25:35.205 | 07:25:35.158 [PacketsMonitor-102:NIORTPProducerImpl-99:DCT-HDHomeRun Prime Tuner 13215AFE-1] INFO  NIORTPProducerImpl - Received first 1761 datagram packets. Missed RTP packets 0. Bad RTP packets 0.
Anybody have any thoughts?
If the I: drive is a mapped drive, it may be a lot of hassle to get it working like that. Mapped drives are per user and even per context. The OpenDCT service by default uses the local system account which will definitely not see your mapped drive. You will have a far easier time using the UNC path instead. (Ex. \\servername\share)

You can try the advice from this post, but since it will be running as administrator, it likely will still not see your mapped drive.

To demonstrate what I'm talking about click on Start, then type cmd. Right-click on cmd.exe, then click Run as Administrator. Now type in "I:" without the quotes and press Enter. If you don't see a message like "The system cannot find the drive specified.," Then you likely have disabled UAC, but also that means that if you follow the directions in the post mentioned in the previous paragraph, it should work.

At that elevated command prompt, you can still map your I: drive if you want with the following command:
Code:
NET USE /PERSISTENT:YES I: \\servername\share
If at some point you want to remove that share, you'll need to run the following also on an elevated command prompt:
Code:
NET USE /DELETE I:
If the I: drive is not being shared at the root of the hard drive you're using for recording you will also have issues recording. If all else fails or you don't want to deal with paths and permission issues, you can also do the following:

1) Stop the OpenDCT service.
2) Open C:\ProgramData\OpenDCT\config\opendct.properties
3) Change the values of consumer.ffmpeg.upload_id_enabled and
consumer.raw.upload_id_enabled to true.
4) Start the OpenDCT service.

Those steps will enable to use of the Media Server built into SageTV which basically will completely bypass any security/mapping related issues. The only downside is that it adds to the load on your SageTV server which may or may not be a problem.
__________________
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; 05-01-2016 at 08:42 AM. Reason: incomplete sentence
Reply With Quote
  #906  
Old 05-02-2016, 10:32 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
Was gone this weekend. Came back to an unhappy wife

Had quite a few 'Halt Detected in Recording' messages. Looking at the logs seems like there were some on 4/25. Then a bunch on 4/30, 5/1 and 5/2.

I've attached all the logs. Maybe they can help.

Would changing over to Beta 0.5.x help at all?

Thanks
Attached Files
File Type: zip KJ0502.zip (620.4 KB, 148 views)
__________________
SageTV running on: Win10 21H2
SageTV 9.2.6.976 (64 bit)
Java 1.8.0 311 (64 bit)
OpenDCT 0.5.32 (64 bit)
Clients: HD300 (x2)
HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners
HDFX-4K Flex 20220822 (OTA) - 4 Tuners
Reply With Quote
  #907  
Old 05-02-2016, 02:15 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by CptKirk View Post
Was gone this weekend. Came back to an unhappy wife

Had quite a few 'Halt Detected in Recording' messages. Looking at the logs seems like there were some on 4/25. Then a bunch on 4/30, 5/1 and 5/2.

I've attached all the logs. Maybe they can help.

Would changing over to Beta 0.5.x help at all?

Thanks
It might, but based on what appears to be the root cause of your issues (networking), I doubt it. That being said, it won't hurt.
__________________
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
  #908  
Old 05-03-2016, 11:22 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
I'll change some easy things before I go start buying new hardware.

1. Moved the HDHR from my upstairs work area switch downstairs to the switch that the SageTV server is connected to.
2. Replaced the SiliconDust supplied Cat 5e cable with a Cat 6 cable.

If I still see problems I'll then change out the network card and/or the switch.
__________________
SageTV running on: Win10 21H2
SageTV 9.2.6.976 (64 bit)
Java 1.8.0 311 (64 bit)
OpenDCT 0.5.32 (64 bit)
Clients: HD300 (x2)
HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners
HDFX-4K Flex 20220822 (OTA) - 4 Tuners
Reply With Quote
  #909  
Old 05-03-2016, 11:36 AM
jgsouthard jgsouthard is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 143
Quote:
Originally Posted by CptKirk View Post
I'll change some easy things before I go start buying new hardware.

1. Moved the HDHR from my upstairs work area switch downstairs to the switch that the SageTV server is connected to.
2. Replaced the SiliconDust supplied Cat 5e cable with a Cat 6 cable.

If I still see problems I'll then change out the network card and/or the switch.
You might try running the network packet loss test that is built into the HDHomeRun products. Instructions are at https://www.silicondust.com/forum/viewtopic.php?t=5877, along with some other things to check regarding network issues.

At the beginning of my nightmare period with SageTV halt errors (which ultimately led me to switch to OpenDCT), I found that I was getting some packet loss from the Motherboard NIC in my SageTV PC (switched to a discrete Intel NIC).
__________________

Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's
SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121
Server operating headless with 3 HD300 extenders as clients
Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware
Comcast cable TV, two cablecards in HDHRP's
OpenDCT 0.5.28 network encoder
Reply With Quote
  #910  
Old 05-03-2016, 11:36 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by CptKirk View Post
I'll change some easy things before I go start buying new hardware.

1. Moved the HDHR from my upstairs work area switch downstairs to the switch that the SageTV server is connected to.
2. Replaced the SiliconDust supplied Cat 5e cable with a Cat 6 cable.

If I still see problems I'll then change out the network card and/or the switch.
Sounds like a good plan. I hate networking issues; I hate spending money on them blindly even more. Last year I bought two 48 port gigabit, 2 port 10 gigabit enterprise class switches to replace two 8 port D-Link switches and I have to say the difference is more dramatic than I expected. I was blaming a lot of things on my NIC, but it turns out that wasn't the real issue.
__________________
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
  #911  
Old 05-03-2016, 12:16 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
This is a great tool to check the speed to your network when writing files.

http://totusoft.com/lanspeed/


I also disabled all offloads on my NIC and reran the lanspeed test and it increased dramatically.... also disable Interrupt Moderation.

I simply used a pc client that is on the same switch as my Sage Server and wrote large files .... before disabling the above and after disabling the above. Also I set my nic to the correct speed(100 full duplex) and do not use Auto Negotiate on my server.
__________________
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; 05-03-2016 at 12:21 PM.
Reply With Quote
  #912  
Old 05-03-2016, 03:09 PM
Toddly Toddly is offline
Sage Advanced User
 
Join Date: Nov 2004
Posts: 100
Intermittent Playback

Open DCT has solved a number of problems for me vs. SageDCT yet I am having small pauses/halts regularly when viewing live tv or a recording. They occur roughly every 8-10 minutes. Anyone have a possible solution? I am not sure where to start. Running version 4.48.

Your help is appreciated.
Reply With Quote
  #913  
Old 05-03-2016, 04:00 PM
jgsouthard jgsouthard is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 143
Quote:
Originally Posted by Toddly View Post
Open DCT has solved a number of problems for me vs. SageDCT yet I am having small pauses/halts regularly when viewing live tv or a recording. They occur roughly every 8-10 minutes. Anyone have a possible solution? I am not sure where to start. Running version 4.48.

Your help is appreciated.
EnterNoEscape may be able to look at your logs and see what is going on, but based on some of the experiences I've had I can think of a few things it MIGHT be OTHER than OpenDCT:
  • Network issues (e.g. packet loss).
  • Weak incoming TV cable signal (e.g. too many splitters in the line, bad cable, etc.).
  • Computer resources (e.g. CPU utilization, disk performance).

If you are using HDHomeRun or HDHomeRun Prime tuners, I'd start by running the network packet loss test I referred to a few posts up. Or run some other network quality test, if you are using other tuners.

If your network is clean, then you can start looking into other possible issues. But if you are dropping a lot of packets due to a bad NIC/switch/cable, you could pull your hair out for a long time trying to fix other issues (voice of experience).
__________________

Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's
SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121
Server operating headless with 3 HD300 extenders as clients
Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware
Comcast cable TV, two cablecards in HDHRP's
OpenDCT 0.5.28 network encoder
Reply With Quote
  #914  
Old 05-03-2016, 04:13 PM
Toddly Toddly is offline
Sage Advanced User
 
Join Date: Nov 2004
Posts: 100
Quote:
Originally Posted by jgsouthard View Post
EnterNoEscape may be able to look at your logs and see what is going on, but based on some of the experiences I've had I can think of a few things it MIGHT be OTHER than OpenDCT:
  • Network issues (e.g. packet loss).
  • Weak incoming TV cable signal (e.g. too many splitters in the line, bad cable, etc.).
  • Computer resources (e.g. CPU utilization, disk performance).

If you are using HDHomeRun or HDHomeRun Prime tuners, I'd start by running the network packet loss test I referred to a few posts up. Or run some other network quality test, if you are using other tuners.

If your network is clean, then you can start looking into other possible issues. But if you are dropping a lot of packets due to a bad NIC/switch/cable, you could pull your hair out for a long time trying to fix other issues (voice of experience).
Thanks for the help. I will look into those issues but HDhomerun QuickTV runs smoothly. Is the packet loss test from Silicon Dust? I use the HDHomerun Prime.Gonna check the built in NIC first.
Reply With Quote
  #915  
Old 05-03-2016, 04:17 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Toddly View Post
Thanks for the help. I will look into those issues but HDhomerun QuickTV runs smoothly. Is the packet loss test from Silicon Dust? I use the HDHomerun Prime.Gonna check the built in NIC first.
If you can post your log, that will probably give me a hint about what's going on.
__________________
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
  #916  
Old 05-03-2016, 05:48 PM
jgsouthard jgsouthard is offline
Sage Advanced User
 
Join Date: Jul 2004
Posts: 143
Quote:
Originally Posted by Toddly View Post
Thanks for the help. I will look into those issues but HDhomerun QuickTV runs smoothly. Is the packet loss test from Silicon Dust? I use the HDHomerun Prime.Gonna check the built in NIC first.
If QuickTV works well, then it probably isn't a signal strength issue. But it could still be a network issue in the path between the HDHRP's and SageTV, for example the NIC in SageTV or a switch between the tuners and SageTV.

The packet loss test is part of the SiliconDust software provided with the HDHomeRun tuners as an option on the hdhomerun_config command. While it isn't a general purpose utility and can't tell you anything about network speed, it tests packet transfers directly to/from the tuners themselves, and I don't know any other easy way to do that. (Just be sure to run hdhomerun_config on the SageTV PC, and not from some other PC where you may have loaded the SiliconDust software.)

Your network hardware is probably fine, but in the couple of cases where I had issues (both of them marginal NIC's), I spent untold hours troubleshooting the wrong problems. So in cases like this where the whole setup depends so heavily on clean network traffic, I've learned the hard way to START the troubleshooting there.

By the way, I'd recommend heavily loading the HDHR tuners and the SageTV NIC before running the network packet loss test. Pick a period (several hours if possible) where you don't need to make recordings, load up the NIC with other network traffic, set SageTV to record on all except one of your available tuners, then start the packet test on the one remaining tuner and let it run for several hours.

To generate other network traffic on the NIC, you can copy a set of large files (e.g. your SageTV recordings) from the SageTV PC to another device on the network. Ideally you want traffic in both directions, so if possible copy large files both TO and FROM the SageTV PC at the same time.

I did that one my motherboard NIC and found problems, switched to a discrete Intel NIC and ran the tests again and confirmed the problems were gone; and that got rid of most of the ongoing halts, pixelation, and pauses I was getting.
__________________

Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's
SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121
Server operating headless with 3 HD300 extenders as clients
Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware
Comcast cable TV, two cablecards in HDHRP's
OpenDCT 0.5.28 network encoder
Reply With Quote
  #917  
Old 05-03-2016, 06:28 PM
Toddly Toddly is offline
Sage Advanced User
 
Join Date: Nov 2004
Posts: 100
Quote:
Originally Posted by jgsouthard View Post
If QuickTV works well, then it probably isn't a signal strength issue. But it could still be a network issue in the path between the HDHRP's and SageTV, for example the NIC in SageTV or a switch between the tuners and SageTV.

The packet loss test is part of the SiliconDust software provided with the HDHomeRun tuners as an option on the hdhomerun_config command. While it isn't a general purpose utility and can't tell you anything about network speed, it tests packet transfers directly to/from the tuners themselves, and I don't know any other easy way to do that. (Just be sure to run hdhomerun_config on the SageTV PC, and not from some other PC where you may have loaded the SiliconDust software.)

Your network hardware is probably fine, but in the couple of cases where I had issues (both of them marginal NIC's), I spent untold hours troubleshooting the wrong problems. So in cases like this where the whole setup depends so heavily on clean network traffic, I've learned the hard way to START the troubleshooting there.

By the way, I'd recommend heavily loading the HDHR tuners and the SageTV NIC before running the network packet loss test. Pick a period (several hours if possible) where you don't need to make recordings, load up the NIC with other network traffic, set SageTV to record on all except one of your available tuners, then start the packet test on the one remaining tuner and let it run for several hours.

To generate other network traffic on the NIC, you can copy a set of large files (e.g. your SageTV recordings) from the SageTV PC to another device on the network. Ideally you want traffic in both directions, so if possible copy large files both TO and FROM the SageTV PC at the same time.

I did that one my motherboard NIC and found problems, switched to a discrete Intel NIC and ran the tests again and confirmed the problems were gone; and that got rid of most of the ongoing halts, pixelation, and pauses I was getting.
Sounds good. I will test this tomorrow. Not much recording during the day. Its the Warriors tonight.

Thank You
Reply With Quote
  #918  
Old 05-03-2016, 06:46 PM
Daweeze Daweeze is offline
Sage User
 
Join Date: Aug 2010
Location: CA
Posts: 39
Quote:
Originally Posted by Toddly View Post
........Its the Warriors tonight.
Yes it is.....go Dubs!!!

-Travis
Reply With Quote
  #919  
Old 05-03-2016, 08:15 PM
troll5501 troll5501 is offline
Sage Advanced User
 
Join Date: Jun 2006
Posts: 136
Still running 0.4.48 and tonight the entire JVM crashed with a segmentation fault in avformat...this is the first I ever saw this with OpenDCT. Below is the wrapper.log output at the time of the crash and I am attaching the JVM error file with the stack trace. EnterNoEscape, let me know if you have any thoughts or if you need any additional information or logs.

Code:
INFO   | jvm 1    | 2016/05/03 20:00:07.369 | 20:00:07.296 [FFmpegTransSageTVConsumerImpl-65493:DCT-HDHomeRun Prime Tuner 13191941-0] INFO  FFmpegStreamDetection - Before avformat_find_stream_info() pos=167132 bytes_read=167132 seek_count=0. probesize: 165440 analyzeduration: 0.
INFO   | jvm 1    | 2016/05/03 20:00:07.570 | 20:00:07.556 [FFmpegTransSageTVConsumerImpl-65493:DCT-HDHomeRun Prime Tuner 13191941-0] ERROR mpeg2video - Repeated 37 times: [0x7fcd08caa2c0] Invalid frame dimensions -1834274656x0..
INFO   | jvm 1    | 2016/05/03 20:00:07.570 | 20:00:07.556 [FFmpegTransSageTVConsumerImpl-65493:DCT-HDHomeRun Prime Tuner 13191941-0] ERROR mpeg2video - [0x7fcd08533320] Invalid frame dimensions -1834274656x0.
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | 20:00:07.685 [FFmpegTransSageTVConsumerImpl-65493:DCT-HDHomeRun Prime Tuner 13191941-0] INFO  FFmpegStreamDetection - After avformat_find_stream_info() pos=0 bytes_read=1169883 seek_count=2. probesize: 165440 analyzeduration: 0.
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # A fatal error has been detected by the Java Runtime Environment:
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | #  SIGSEGV (0xb) at pc=0x00007fcd30dd3527, pid=17236, tid=140519625467648
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # JRE version: Java(TM) SE Runtime Environment (8.0_72-b15) (build 1.8.0_72-b15)
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.72-b15 mixed mode linux-amd64 compressed oops)
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # Problematic frame:
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # C
INFO   | jvm 1    | 2016/05/03 20:00:07.870 |   [libjniavformat.so+0x31527]  Java_org_bytedeco_javacpp_avformat_00024AVStream_codec__+0x47
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | # An error report file with more information is saved as:
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | # /var/log/opendct/hs_err_pid17236.log
ERROR  | wrapper  | 2016/05/03 20:00:07.922 | JVM exited unexpectedly.
STATUS | wrapper  | 2016/05/03 20:00:07.922 | JVM exited in response to signal UNKNOWN (6).
INFO   | jvm 1    | 2016/05/03 20:00:07.922 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.922 | # If you would like to submit a bug report, please visit:
INFO   | jvm 1    | 2016/05/03 20:00:07.922 | #   http://bugreport.java.com/bugreport/crash.jsp
INFO   | jvm 1    | 2016/05/03 20:00:07.922 | #
Attached Files
File Type: txt hs_err_pid17236.log.txt (79.2 KB, 206 views)
__________________
Server: HP DL380 G6, VMware ESXi 5.0 with HW passthrough for USB and Firewire, 4 x HD-PVR, ZFS storage
SageTV: Production: 7.1.9+Java 1.6.0_32 on XP, Test: 9.0.4.291+Java 1.8.0_72 on Linux 64-bit
Clients: 2 x Sage HD200 Extender, 1 x Sage HD100 Extender
Sources: 4 x Motorola DCH-3200 (firewire channel changing), HD Homerun Prime, OpenDCT 0.5.7
Reply With Quote
  #920  
Old 05-03-2016, 09:07 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by troll5501 View Post
Still running 0.4.48 and tonight the entire JVM crashed with a segmentation fault in avformat...this is the first I ever saw this with OpenDCT. Below is the wrapper.log output at the time of the crash and I am attaching the JVM error file with the stack trace. EnterNoEscape, let me know if you have any thoughts or if you need any additional information or logs.

Code:
INFO   | jvm 1    | 2016/05/03 20:00:07.369 | 20:00:07.296 [FFmpegTransSageTVConsumerImpl-65493:DCT-HDHomeRun Prime Tuner 13191941-0] INFO  FFmpegStreamDetection - Before avformat_find_stream_info() pos=167132 bytes_read=167132 seek_count=0. probesize: 165440 analyzeduration: 0.
INFO   | jvm 1    | 2016/05/03 20:00:07.570 | 20:00:07.556 [FFmpegTransSageTVConsumerImpl-65493:DCT-HDHomeRun Prime Tuner 13191941-0] ERROR mpeg2video - Repeated 37 times: [0x7fcd08caa2c0] Invalid frame dimensions -1834274656x0..
INFO   | jvm 1    | 2016/05/03 20:00:07.570 | 20:00:07.556 [FFmpegTransSageTVConsumerImpl-65493:DCT-HDHomeRun Prime Tuner 13191941-0] ERROR mpeg2video - [0x7fcd08533320] Invalid frame dimensions -1834274656x0.
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | 20:00:07.685 [FFmpegTransSageTVConsumerImpl-65493:DCT-HDHomeRun Prime Tuner 13191941-0] INFO  FFmpegStreamDetection - After avformat_find_stream_info() pos=0 bytes_read=1169883 seek_count=2. probesize: 165440 analyzeduration: 0.
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # A fatal error has been detected by the Java Runtime Environment:
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | #  SIGSEGV (0xb) at pc=0x00007fcd30dd3527, pid=17236, tid=140519625467648
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # JRE version: Java(TM) SE Runtime Environment (8.0_72-b15) (build 1.8.0_72-b15)
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.72-b15 mixed mode linux-amd64 compressed oops)
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # Problematic frame:
INFO   | jvm 1    | 2016/05/03 20:00:07.770 | # C
INFO   | jvm 1    | 2016/05/03 20:00:07.870 |   [libjniavformat.so+0x31527]  Java_org_bytedeco_javacpp_avformat_00024AVStream_codec__+0x47
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | # An error report file with more information is saved as:
INFO   | jvm 1    | 2016/05/03 20:00:07.870 | # /var/log/opendct/hs_err_pid17236.log
ERROR  | wrapper  | 2016/05/03 20:00:07.922 | JVM exited unexpectedly.
STATUS | wrapper  | 2016/05/03 20:00:07.922 | JVM exited in response to signal UNKNOWN (6).
INFO   | jvm 1    | 2016/05/03 20:00:07.922 | #
INFO   | jvm 1    | 2016/05/03 20:00:07.922 | # If you would like to submit a bug report, please visit:
INFO   | jvm 1    | 2016/05/03 20:00:07.922 | #   http://bugreport.java.com/bugreport/crash.jsp
INFO   | jvm 1    | 2016/05/03 20:00:07.922 | #
The code behind this is actually very simple and does almost everything possible to prevent this from happening. Every single step is checked to make sure it points to an actual object. It's almost safe to say this is a bug in FFmpeg, but there is one more thing that can be checked and I'll make sure it makes it into 0.5 (probably not 0.4), because I think this particular bug is very rare.
__________________
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; 05-03-2016 at 09:18 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 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
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


All times are GMT -6. The time now is 08:47 PM.


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