|
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 |
#261
|
||||
|
||||
Quote:
__________________
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 |
#262
|
||||
|
||||
Quote:
Thanks very much!
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT |
#263
|
|||
|
|||
Quote:
Quote:
1) My Windows 7 test environment was indeed dropping some packets and the VMware performance monitors confirmed it. The OpenDCT logs for this issue looked like this: Code:
WARN RTPPacketProcessor - Expected frame number xxxx, received frame number yyyy DEBUG ffmpeg - Continuity check failed for pid xxxx expected y got z WARN ffmpeg - PES packet size mismatch 2) After fixing the above issue I was still seeing occasional corruption in the streams when the CPU spiked. But there were no dropped packets per VMware statistics, and the logs looked similar to the first issue but without any RTP warnings: Code:
DEBUG ffmpeg - Continuity check failed for pid xxxx expected y got z WARN ffmpeg - PES packet size mismatch Since there were no dropped packets at the network level, I started thinking it was some issue in the application and maybe the app was not able to keep up with the data stream. After some experimenting, I figured out that increasing the consumer.ffmpeg.rw_buffer_size to 262144 completely eliminated the errors/warnings when I spiked the CPU. 32K and 128K helped slightly but 256K seems to have fixed it. So I'm wondering are there any negative effects to increasing this parameter and does this solution seem reasonable? And should it be a multiple of something (188?) or is 262144 OK? I will continue testing to see if everything remains stable.
__________________
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 |
#264
|
||||
|
||||
It's good to see that you appear to have figured some of these issues out. This may help someone else in a similar situation.
If OpenDCT was having issues keeping up, you would see buffer full errors and I haven't been seeing any of those. I haven't seen any of those either in any of the logs I've seen so far. The primary buffer is 7MB. I've only seen it get choked up when I was trying make it happen. That being said adjusting the rw buffer does help in some cases which means of course that something doesn't like delays, just not the primary buffer. Your logic is fine with the rw buffer adjustments. The original default well before the first public release was around 10k and it gave me issues in my VM on occasion, so I bumped it up to 20k-ish and the problems went away. I don't know if there are any benefits to this being a multiple of 188, but it doesn't hurt since that's the kind of data we're working with. I was never able to conclusively determine what's the best practice; there may not really be one since this buffer technically could be reading from any video format. I'll just say that if it's working, use it. There are only two downsides to increasing the rw buffer size. The first is the time until you start streaming live can be negatively impacted. That's because when FFmpeg is reading that's the number of bytes it will always read from the buffer before processing the new data. The other downside is the increased memory usage. At around 256k you're actually using a little over 512k of RAM for the secondary buffers. This is because the read and write buffers are not shared and have additional padding for various reasons added regardless of this value. We aren't talking about anything crazy here, but depending on how many tuners you load it can add up. Update: I take it back about slower time to live streaming. Your setting actually dropped 100ms off my average detection time. I think its because it reduces the number of times the FFmpeg native process needs to return to the JVM for data. 256k looks like a good compromise since it's a little over 1/3 the size of the smallest amount of data allowed for detection. I tried larger sizes, but the results got a lot worse, so I think you unintentionally found a gem. The only down side that I was able to find with such a large size is if a channel requires more data because we are still missing audio or video it appears to take a little longer than it did before. For that reason I'm going to say this is a very good tweak, but I don't think I'll change the default for future releases.
__________________
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; 01-09-2016 at 09:00 AM. |
#265
|
|||
|
|||
Quote:
Quote:
I'm guessing that when the CPU gets busy, a larger buffer size helps because the data can be processed more efficiently by reducing the number of read operations (similar to using a larger block size on disk to reduce IOPS). With the smaller buffer, I don't see any buffer full errors but obviously something is struggling to process the stream correctly (or fast enough) and ffmpeg becomes unhappy. FYI, I also tried increasing the circular_buffer_size but that only delayed the time between CPU busy (my regedit test) and the start of the ffmpeg warnings. To summarize, this is everything I've changed so far, and I'm back to using only 2 CPU cores in the VM: Code:
opendct: consumer.ffmpeg.upload_id_enabled=false opendct: consumer.ffmpeg.rw_buffer_size=262144 opendct: consumer.ffmpeg.min_upload_id_transfer_size=262144 (probably not needed) Windows: NIC buffer size -> for E1000, set "Receive Buffers"=2048 -> for VMXNET3, set "Small Rx Buffers"=8192
__________________
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 |
#266
|
||||
|
||||
Quote:
I was in the room where the HDHRPrime is when the test was run and I noticed that the tuner 0 & 2 leds went out each time an OTA recording stared (14:05, 14:06, 14:07 & 14:08) and came back on a few seconds later.
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT |
#267
|
||||
|
||||
Quote:
You are correct. The minimum transfer size parameter will have no effect since you're not using upload id. Quote:
This line makes me think the BDA driver is present. Code:
Sat 1/9 13:51:38.393 [main@541b02] Capture device 'HDHomeRun Prime Tuner 13221B33-0' is found in BDA_NETWORK_TUNER, but don't have a BDA_MPEG2_TRANSPORT pin, drop it!
__________________
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 |
#268
|
||||
|
||||
Quote:
EDIT: When I check device manager the HDHRPrime shows up twice under other devices & says no drivers are installed for both.
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT Last edited by HelenWeathers; 01-10-2016 at 11:36 AM. |
#269
|
||||
|
||||
Quote:
Last edited by Telecore; 09-30-2017 at 09:35 AM. |
#270
|
|||
|
|||
Thanks for looking into this. I'll be happy to test any fixes when you are ready.
__________________
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 |
#271
|
||||
|
||||
Quote:
Quote:
__________________
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 |
#272
|
||||
|
||||
The OpenDCT standby (functioning=FALSE) problem happens on my Win7 x64 Pro machine running SageTV v7. The other machine, Windows10/SageTV V9 never sleeps for some reason.
|
#273
|
||||
|
||||
Sorry if I make people repeat themselves about configuration information. My memory can be less than reliable at times and I do actually make an effort to double-check things before I ask questions, but it's still going to happen.
I think Windows 7 x64 is the most tested platform right now, so I'm extra surprised that it's the one with problems with standby. Anyway, hopefully the latest beta will get you working. I'm not too surprised about Windows 10 with the constant updates. Microsoft has pretty much put everyone on a perpetual beta.
__________________
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 |
#274
|
||||
|
||||
Not a problem. I tried 0.4.11 late last night, same issue - hopefully there's something useful in the attached log files. Thanks again for working on openDCT!
Last edited by Telecore; 09-30-2017 at 09:35 AM. |
#275
|
||||
|
||||
In the same folder that you retrieved opendct.log, there's another folder called archive. Can you get me all of the .gz files dated yesterday (1/10/2016)?
__________________
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 |
#276
|
||||
|
||||
No problem - attached.
Last edited by Telecore; 09-30-2017 at 09:34 AM. |
#277
|
||||
|
||||
I think I see the problem now and I'm very certain I can fix it.
__________________
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 |
#278
|
||||
|
||||
PROBLEM RESOLVED:
Quote:
Stopped SageTV and OpenDCT services. Uninstalled OpenDCT. Disabled HDHRTuners in device manager that were showing up under "Other Devices" and were generating errors at startup of drivers not found. (why they were there or how they got there is a mystery) Went thru registry and located/removed everything related to HDHRPrimes, OpenDCT, SageDCT, Silicondust etc. Discovered that Windows Media Center was activated so deactivated it under programs & features. Restarted server, installed OpenDCT, restarted again and let it go thru normal startup and loading of OpenDCT and SageTV services. Repeated my test recordings twice and everything now works beautifully. Not sure what the issue was, but am leaning to WMC as the culprit. I usually remove WMC from my Sage servers but somehow this time it got by me. Thanks for everyone's time & help!!!
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT Last edited by HelenWeathers; 01-11-2016 at 04:18 PM. |
#279
|
||||
|
||||
Wow. You were motivated. Good for you!
Did you go back to the 0.3 or are you still using 0.4? I'm just curious if you're using 0.4 how things are going since you fixed 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 |
#280
|
||||
|
||||
I'm now running 4.11. So far so good. I'll keep running the latest releases to help with testing.
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT |
Currently Active Users Viewing This Thread: 7 (0 members and 7 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 |