|
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 |
#521
|
|||
|
|||
Quote:
Let me know if there is any information I can share to help with troubleshooting. All of my (other) properties are set to their defaults. -uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro | {Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast | {Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick | Last edited by uberpixel; 10-27-2015 at 05:13 PM. Reason: Clarification |
#522
|
||||
|
||||
The mediaserver is only the very last step of the chain, and is not really the most finicky. The toughest part of the chain is the piping of the data from PNE to ffmpeg, then piping it back to PNE - which is likely where the info is getting lost.
__________________
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 |
#523
|
||||
|
||||
I think I mentioned before that on the Android miniclient, I ran into performance issues piping data between processes in Java. I was using PipedInputStream but the performance was bad. I don't know what you guys are using, but if you are using PipedInputSTream it might be causing some issues. Is the code for this on github? Or is this a closed source application?
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#524
|
||||
|
||||
How is SageDCT doing it?
__________________
Mayamaniac - SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme. - SageTV HD300 - HDMI 1080p Samsung 75" LED. |
#525
|
||||
|
||||
Depends on what method is being used. Dump mode takes the stream direct from the HDHR, and writes it to disk (no piping between processes). ffmpeg mode, I believe, tells ffmpeg to take the stream directly from the HDHR and write it to the disk (no piping either).
__________________
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 |
#526
|
|||
|
|||
Quote:
I've been getting occasionally (but frequent enough to be irritating) "halt detected in recording" errors with PNE 1.0.1, particularly at the beginning of recordings. Most of the time I just lost the first minute or two of the recording, after which it worked OK other than occasional artifacts (also irritatingly frequent). So when 1.2.5 came out, I switched to it in the hope that I could get rid of these errors. I modified the Java batch file with the recommended parameters, removed all of the mmc encoder lines from Sage.properties, and started from scratch with new video source discovery in SageTV. While installation went smoothly, my halt errors increased significantly to the point that SageTV was unusable (losing desired recordings daily). Rather than just at the beginning of recordings, I was getting numerous errors and losing the first 10-15 minutes of recordings, or in some cases the entire recording. Last night, based on these recent comments in the last couple of days, I changed mediaserver.transfer=true to mediaserver.transfer=false in primenetencoder.properties. So far, no halts on about 6-8 recordings. I'll give it another day or two before declaring success, since in the past it has seemed to work well for 24 hours or so and then get worse over time until a restart. But so far I'm encouraged. Bottom line: PNE 1.2.5 as configured did not work for me at all, with a far higher rate of halt errors than I was getting with 1.0.1. So if changing mediaserver.transfer helps, I think that change needs to be set by default. And there may still be something about 1.2.5 that is actually a step backward rather than forward.
__________________
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 |
#527
|
||||
|
||||
Quote:
FYI... Your symptoms sound like you may have network performance issues. You may want to try a packet loss test with the HDHomeRun config app. Version 1.0.1 should have had 0 glitches/hiccups. If you were seeing them then it could be network related. Last edited by jvl711; 10-29-2015 at 05:09 PM. |
#528
|
|||
|
|||
Quote:
Thanks for your development work on PrimeNetEncoder. Even though I may be running into issues, my wife and I are still using SageTV daily thanks to your help. I'm not familiar with how to run a packet loss test with any of the utilities available with HDHomeRun -- Config, Setup, View. Could you point me in the right direction? I do large backups nightly over our LAN without packet loss (according to the stats in my Linux-based file server), so I think the network is solid; but I leave open the possibility that there could be an issue with the NIC in the SageTV box. Here's my PrimeNetEncoder batch file, run at Windows startup from Task Scheduler with priority 4 (Normal): Code:
CD /d "%~dp0" :loop java -XX:-UseBiasedLocking -XX:NewSize=50M -Xms128m -Xmx256m -jar PrimeNetEncoder.jar goto loop Here's my PrimeNetEncoder.properties file: Code:
ffmpeg.delay=1500 <-- Default was 500, also tried 1,000, didn't seem to matter ffmpeg.probesize=5000000 ffmpeg.analyzeduration=5000000 ffmpeg.path=ffmpeg.exe HDHomeRunConfig.path=C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe tuners.count=3 discovery.port=8271 discovery.enabled=true mediaserver.transfer=false <-- LOTS of Halt error with 'true,' none so far with 'false' ffmpeg.outputbuffersize=32768 ffmpeg.inputbuffersize=32768 mediaserver.outputbuffersize=32768 mediaserver.transfer=false tuner0.name=PrimeNetEncoder 1319784E-0 tuner0.id=1319784E tuner0.number=0 tuner0.port=7000 tuner0.transcoder.port=5000 tuner0.enabled=true tuner0.transcode.enabled=false tuner0.transcode.deinterlace=true tuner0.transcode.bitrate=4000 tuner0.transcode.scaling= tuner0.transcode.preset=veryfast tuner0.transcode.codec=libx264 tuner1.name=PrimeNetEncoder 1319784E-1 tuner1.id=1319784E tuner1.number=1 tuner1.port=7001 tuner1.transcoder.port=5001 tuner1.enabled=true tuner1.transcode.enabled=false tuner1.transcode.deinterlace=true tuner1.transcode.bitrate=4000 tuner1.transcode.scaling= tuner1.transcode.preset=veryfast tuner1.transcode.codec=libx264 tuner2.name=PrimeNetEncoder 1319784E-2 tuner2.id=1319784E tuner2.number=2 tuner2.port=7002 tuner2.transcoder.port=5002 tuner2.enabled=true tuner2.transcode.enabled=false tuner2.transcode.deinterlace=true tuner2.transcode.bitrate=4000 tuner2.transcode.scaling= tuner2.transcode.preset=veryfast tuner2.transcode.codec=libx264
__________________
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 |
#529
|
|||
|
|||
OK, I found instructions for running a packet loss test on HDHomeRun Prime at SiliconDust. I ran it for about 10-15 minutes (all the time I had before the next recording) with zero errors in over 500K packets transferred.
__________________
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 |
#530
|
||||
|
||||
Quote:
The reason I am thinking there may be a network issue is that when you use the media server transfer option you are adding extra network overhead. You are technically doubling the amount of network traffic. |
#531
|
|||
|
|||
Quote:
|
#532
|
||||
|
||||
It's not doubling real network throughput, as it should be routing the extra bandwidth through the localhost.
__________________
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 |
#533
|
|||
|
|||
But what are the benefits if enabled???
|
#534
|
||||
|
||||
Quote:
1. Simplification of setup for the end user. If PrimeNetEncoder is on another machine than the server, the user does not have to think about how the machine is going to access the filesystem that Sage is using for recordings. 2. Most of the changes in this version were intended to "hopefully" move us to having Sage do the remuxing instead of ffmpeg. I am attempting to add remuxing support directly into Sage Media Server. I wanted to have media server transfer working well before that potential change. Technically all the code required for doing that is already in PrimeNetEncoder now. I am using this version to test the new functionality in Sage. 3. I think channel changes may be a hair quicker. This is subjective, and I have no evidence to back this. It may make sense to make false the default option if we are getting a lot of people having issues with it. I am not sure how many people are using PrimeNetEncoder to know if it is a large issue or not. So far I think only two users have set it to false. I would like to find out what the issue is with these users, because in the future I am hoping the Sage remuxer will be the better option, and if they are not able to use media server transfer they will not be able to use that feature. Fuzzy is correct, it probably is not doubling network use, but there is additional strain on the network stack, because it is dealing with 2 times the number of packets. There just is not 2 times the packets going over the wire. On the positive side... It is very easy to turn off Last edited by jvl711; 10-30-2015 at 11:02 AM. |
#535
|
|||
|
|||
Quote:
Just to recap, my system was relatively stable with the previous version (occasional halts and artifacts as well as completely losing the tuners from the lineup). After switching to 1.2.5, I noticed worse performance in all of those categories until I switched the mediaserver.transfer to false. With it set to false I still see artifacts and halts under heavy recording scenarios (prime time) and also during middle of the night recording (usually single tuner only) which may coincide with various scheduled backups (WHS client and server backups and Crashplan). The late night issues do not appear to coincide with the scheduled start times of any of the backup operations because the halts typically occur at non-round numbered times (not at the top of the hour or half hour) and most of my scheduled events are set to start at rounded numbers (Crashplan may be more unpredictable). The halts may coincide with the backups, but the start does not seem to trigger an immediate reaction. That said, one would expect that there would be increased demand on the server during these scenarios so it may be worth more investigation. My dual TV recording drives are dedicated for only SageTV use so I doubt that they are getting overwhelmed. My network is gigabit LAN but could be a potential bottleneck I suppose? I have dual onboard NIC's. Would there be any benefit to splitting the traffic somehow? This morning my server could not find the Prime tuners. A system restart resolved the issue. -uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro | {Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast | {Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick | |
#536
|
||||
|
||||
Quote:
Some of this might be greek to you but can you review some of the tips in this link |
#537
|
|||
|
|||
Quote:
http://forums.sagetv.com/forums/showthread.php?t=61875 This also might help. https://social.technet.microsoft.com...inserverhyperv Last edited by nyplayer; 10-30-2015 at 01:40 PM. |
#538
|
|||
|
|||
Quote:
I will explore some of the network related tests this weekend and report back. -uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro | {Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast | {Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick | |
#539
|
|||
|
|||
Quote:
That's between my SageTV server machine and a client. When I go between two clients they both have ~800Mbps for both upload/download. So my assumption was that there is something screwy with the NIC on my server. Here's the wrinkle - I tried the other NIC on my mobo and found the exact same situation. So, it doesn't necessarily seem like the NIC settings are wrong (unless they are wrong on both NIC's which I guess could be the case) - could it be something within WHS 2011 settings? I swapped cables and took a gigabit switch out of the mix and connected directly to my router and saw no improvement... Not sure if that would impact PrimeNetEncoder performance though. What are your thoughts? Either way, I want to resolve this (at the risk of getting off topic) so I can improve my server performance. Any ideas where to look for a setting change to fix this issue. -uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro | {Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast | {Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick | |
#540
|
||||
|
||||
3rd party firewall or virus scanner molesting incoming data to the server?
__________________
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interest in HDHomeRun Prime Network Encoder | jvl711 | Hardware Support | 175 | 04-13-2015 01:11 PM |
Prime Encoder Script | checkbin | SageTV Linux | 14 | 03-22-2015 07:50 AM |
SageTV as a network encoder / recording on network encoder works, not from server | perfessor101 | SageTV Software | 0 | 06-21-2014 05:59 AM |
Ubuntu + HDHomerunPrime + Prime Encoder | matt91 | SageTV Linux | 2 | 03-23-2014 03:46 PM |
HDHomerun Prime? | cenwesi | Hardware Support | 26 | 04-19-2011 05:40 PM |