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
  #41  
Old 04-14-2015, 11:09 AM
rlvogel322's Avatar
rlvogel322 rlvogel322 is offline
Sage Advanced User
 
Join Date: Feb 2007
Location: Wisconsin
Posts: 163
I see few halt detected every day. I'm running in a W7 vm on unRAID 6. I'm doing a few things to get unRAID more stable (converting to xfs from rfs) so I am hoping it clears the halts up.
__________________
Server - unRAID 6.1.3: VM-Windows7 with Sage 7.1.9 - 2xHDHomeRun 1xHDHomeRun Prime - Xeon E3-1230, SUPERMICRO MBD-X9SCM-F MB, RAM 16 GB, HD 14TB
Clients: 2xHD100, 1xHD200 and 1xHD300
Reply With Quote
  #42  
Old 04-14-2015, 11:56 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Are you all on the latest Prime firmware there have been a lot of fixes and improvements? I always keep my system up to date especially firmware upgrades. The only thing i haven't upgraded on my server is Java 7 32 bit.(only Because Sage)
__________________
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; 04-14-2015 at 12:00 PM.
Reply With Quote
  #43  
Old 04-14-2015, 03:59 PM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
Quote:
Originally Posted by nyplayer View Post
Are you all on the latest Prime firmware there have been a lot of fixes and improvements? I always keep my system up to date especially firmware upgrades. The only thing i haven't upgraded on my server is Java 7 32 bit.(only Because Sage)
Well I was going to say that I was running the latest "Production" firmware 20141210 but I just went to the download site and noticed they posted "Production" firmware 20150406 just last week days after I installed the new encoder. I was reluctant to try the beta firmware options not knowing what specific version you guys were using.

I'll upgrade to the 20150406 tonight and see if it helps.

What version are you running?

-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 |
Reply With Quote
  #44  
Old 04-14-2015, 04:22 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by uberpixel View Post
Well I was going to say that I was running the latest "Production" firmware 20141210 but I just went to the download site and noticed they posted "Production" firmware 20150406 just last week days after I installed the new encoder. I was reluctant to try the beta firmware options not knowing what specific version you guys were using.

I'll upgrade to the 20150406 tonight and see if it helps.

What version are you running?

-uberpixel
hdhomerun_windows_20150410beta2
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #45  
Old 04-14-2015, 04:58 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
For the users having halts detected, are you running PrimeNetEncoder from the command line or from Sage. If it is being run from inside of Sage it might be worth trying it from the command line.

If you have any scenarios or logs that might help me look into the issue that would be helpful. I might need to add a configurable delay for how long to wait for ffmpeg to launch fully. When the halt is detected I think I am sending the stream to ffmpeg prior to it listening for the connection. As far as I can tell there is no way for me to know when ffmpeg is ready to accept the stream.

Josh

P.S. It has been really stable on my system, but I did however program it for my system
Reply With Quote
  #46  
Old 04-14-2015, 05:04 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
For the users having halts detected, are you running PrimeNetEncoder from the command line or from Sage. If it is being run from inside of Sage it might be worth trying it from the command line.

If you have any scenarios or logs that might help me look into the issue that would be helpful. I might need to add a configurable delay for how long to wait for ffmpeg to launch fully. When the halt is detected I think I am sending the stream to ffmpeg prior to it listening for the connection. As far as I can tell there is no way for me to know when ffmpeg is ready to accept the stream.

Josh

P.S. It has been really stable on my system, but I did however program it for my system
I run it from the command line and have had no problems.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #47  
Old 04-14-2015, 06:19 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I don't usually have a user logged in on my sage server, so I can't really run the console version, so running it within the sage service is my only real option. That said, I haven't had any problems so far (except when I tried the transcoding without the horsepower to do it).
__________________
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
Reply With Quote
  #48  
Old 04-14-2015, 08:03 PM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
I just upgraded to the latest beta firmware.

I'm running from within Sage.

I'll stick with changing only one variable for now to see if there is any improvement. I'll let it run for a few days.

The capture issues I've seen appear fairly random. Most are at the start of a program and others happen part way through. Sage typically recovers quickly and the recording continues.

-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 |
Reply With Quote
  #49  
Old 04-15-2015, 12:38 AM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
Well that didn't take long. Had another halt tonight.

Tell me more about running this outside of sage. Is it a service I need to restart every time I reboot? I'm not programming friendly so any implied steps or assumptions surrounding some operations are easily lost on me.

What logs could I produce and how would I go about producing them to help you debug?

-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; 04-15-2015 at 08:20 AM.
Reply With Quote
  #50  
Old 04-15-2015, 11:25 AM
rlvogel322's Avatar
rlvogel322 rlvogel322 is offline
Sage Advanced User
 
Join Date: Feb 2007
Location: Wisconsin
Posts: 163
I'm running mine within the sage service. I'll look into the command line option .
__________________
Server - unRAID 6.1.3: VM-Windows7 with Sage 7.1.9 - 2xHDHomeRun 1xHDHomeRun Prime - Xeon E3-1230, SUPERMICRO MBD-X9SCM-F MB, RAM 16 GB, HD 14TB
Clients: 2xHD100, 1xHD200 and 1xHD300
Reply With Quote
  #51  
Old 04-15-2015, 12:24 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by uberpixel View Post
Well that didn't take long. Had another halt tonight.

Tell me more about running this outside of sage. Is it a service I need to restart every time I reboot? I'm not programming friendly so any implied steps or assumptions surrounding some operations are easily lost on me.

What logs could I produce and how would I go about producing them to help you debug?

-uberpixel
Before you run in command line mode wait for the next beta release I am going to put out in the next few days. I think increasing the delay to wait for FFMPEG to fully start might help you. I added a new property item for this. its default is 500 ms. I think increasing to 1000 ms might fix the issue.

In the mean time if you can send me the following logs and config files from the sagetv directory. (tuner0.log, tuner1.log, tuner2.log, primenetencoder.log and primenetencoder.properties)

Josh
Reply With Quote
  #52  
Old 04-15-2015, 12:26 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by rlvogel322 View Post
I'm running mine within the sage service. I'll look into the command line option .
Are you seeing the same issue. Halt detected when starting a recording? If so I would also like you to try the next beta, and to change the ffmpeg delay setting.

Josh
Reply With Quote
  #53  
Old 04-15-2015, 12:32 PM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 406
How fast is your server for the guys not getting halts. I'm wondering if ffmpeg is taking longer to start on slower machines. I know the reinstall of sage helped but I still have one now and then. My server is a old core 2 duo e8400 so that could be my problem. I'm will to try or next beta to see if that fixes the problem.
Reply With Quote
  #54  
Old 04-15-2015, 12:50 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by mechling-burgh View Post
How fast is your server for the guys not getting halts. I'm wondering if ffmpeg is taking longer to start on slower machines. I know the reinstall of sage helped but I still have one now and then. My server is a old core 2 duo e8400 so that could be my problem. I'm will to try or next beta to see if that fixes the problem.
Intel I3 with windows 7.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #55  
Old 04-15-2015, 05:51 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
New beta posted...

Guys that were seeing the halt detected occasionally please add the new property "ffmpeg.delay=500". Change the value from 500 to 1000. Let me know if this reduces the issue. This value controls how long PrimeNetEncoder waits after starting ffmpeg before sending the stream to it.

nyplayer,

I added the scaling and codec for you. You should be able to use that experimental build of ffmpeg, and change the coded to the proper codec for hardware encoding. There was a different codec for the intel and nvidia techology. I did not have either of those, so I was not able to test that. I did test the scaling, and it seemed to work well.

Let me know if you guys see any issues.

Josh
Reply With Quote
  #56  
Old 04-15-2015, 05:58 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
The halts sound similar to some of the issues that I was having the Prime and SageDCT:

http://forums.sagetv.com/forums/show...ust#post567064

I got so frustrated with it that I would bring up the tuner status screen for all 6 tuners (2 primes) and downloaded a program that would take a screenshot every second and then coordinate the halted recordings with the screenshots to try and determine if it was a signal problem and/or a problem with the Prime and not Sage.

At this point, the halts that occur are doing so about once every two weeks, and a reboot of the computer and the Primes seems to resolve it. Research has indicated that I am usually losing one Prime (so 3 of the 6 tuners) and that's when the halts begin, with the reboot resolving.
Reply With Quote
  #57  
Old 04-15-2015, 06:10 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
SageDCT allows for the "dump" method, which basically just brings in the original digital stream and saves it to the hard drive. Sage has problems rendering some of these streams, yet VLC can render them fine.

It seems that the current solution is to use ffmpeg to solve Sage's inability to render. As Sage goes open source, would it be possible to solve Sage's problem with rendering the video, and ditch ffmpeg entirely and just bring down the original stream?
Reply With Quote
  #58  
Old 04-15-2015, 07:29 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
New beta posted...

Guys that were seeing the halt detected occasionally please add the new property "ffmpeg.delay=500". Change the value from 500 to 1000. Let me know if this reduces the issue. This value controls how long PrimeNetEncoder waits after starting ffmpeg before sending the stream to it.

nyplayer,

I added the scaling and codec for you. You should be able to use that experimental build of ffmpeg, and change the coded to the proper codec for hardware encoding. There was a different codec for the intel and nvidia techology. I did not have either of those, so I was not able to test that. I did test the scaling, and it seemed to work well.

Let me know if you guys see any issues.

Josh
Scaling works great ... hardware encoding not so much got no signal. I will do some offline testing of ffmpeg with hardware encoding to see if I can get a commandline to work. Other than that everything works fine with this beta. I even scaled down to 320x240 just to see. and it worked.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #59  
Old 04-15-2015, 08:03 PM
uberpixel uberpixel is offline
Sage Advanced User
 
Join Date: Nov 2008
Posts: 238
Quote:
Originally Posted by jvl711 View Post
New beta posted...

Guys that were seeing the halt detected occasionally please add the new property "ffmpeg.delay=500". Change the value from 500 to 1000. Let me know if this reduces the issue. This value controls how long PrimeNetEncoder waits after starting ffmpeg before sending the stream to it.

Let me know if you guys see any issues.

Josh
Do we need the new .jar too or can I just add the new property with the old .jar? I ask because I tried the new beta .jar with both the old and new properties files and it broke my tuner setup. I updated the tuner ID in the new properties file... Sage said it wasn't able to encode or something. Do I need to remove and add the tuners with the new beta .jar?

-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 |
Reply With Quote
  #60  
Old 04-15-2015, 09:08 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by uberpixel View Post
Do we need the new .jar too or can I just add the new property with the old .jar? I ask because I tried the new beta .jar with both the old and new properties files and it broke my tuner setup. I updated the tuner ID in the new properties file... Sage said it wasn't able to encode or something. Do I need to remove and add the tuners with the new beta .jar?

-uberpixel
The tuners in Sage stay the same you just have to update the new properties file with tuner ids and tuner names from your old property file...copy over ffmpeg and use the new jar.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
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
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


All times are GMT -6. The time now is 03:10 PM.


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