![]() |
|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
![]()
Upgraded SageTV from 9.0.13.536_R1.011 to 9.1.1.651 and now when I go to Guide, choose a channel, 1 of 2 things happen. (using HD200)
Either it shows the channel briefly then kicks me back to the Guide or it stays there with black screen. Switching TV Source to check the signal from the DirecTV box, it does change the channel Sagetv log files attached If I uninstall 9.1.1.651 (via the SageTVSetup_9.1.1.651.exe file), then run SageTVSetup_9.0.13.536_R1.011.exe to install it then it is working again as normal. Had problems when migrating to Schedules Direct for EPG and was suggested I upgrade. |
#2
|
||||
|
||||
You're not the first person to report this issue, but I'm struggling to see a connection between the most recent changes and this new problem. Is this happening only in the full clients?
__________________
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 |
#3
|
||||
|
||||
I reverted so will have to try next weekend.
Only checked using HD200 box |
#4
|
||||
|
||||
Sorry, I somehow missed that detail in your post. The other user had problems whether they used a network encoder or the built in support for the HDHomeRun. The issue appears to be format detection never happens. In their case 9.14.0 worked fine, just not 9.1.1. I've been running 9.1.1 myself and use the same network encoder for many tuners and do not have any of the described issues.
My mind is drifting towards some specific configuration that causes this or we would all see this fairly consistently. One thing that's consistent is that the people that have this issue always have it. It doesn't work all of the time; not just sometimes. So far I've mostly been try to see if this issue somehow has anything to do with a lack of EPG data, but I can't find any problems there on my test setups. It's important to note that Carny has nothing to do with your ability to tune into a live channel. That's all done within Seeker (it effectively bypasses Scheduler).
__________________
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 |
#5
|
||||
|
||||
Not using network encoder. Using 1 hvr-1600 s-video on the PC with Sage installed. As you recall from other thread, I tried latest build because had issue with Scedules Direct switchover.
Probably won't have time during week to mess with it but will see about trying again during weekend. Anything I can do to help collect more data/info to troubleshoot? Any Windows version between 9.0.13 and current that might not have the tuner issue but works for SD? Btw. Existing recordings did play. Only happened when going live tv from guide |
#6
|
||||
|
||||
9.14.0 was reported to be ok. I'll try to get you a jar file with more logging where I think the problem is happening sometime this week. It's just so strange because where I'm going to insert logging was not actually changed, in any meaningful way (a comment was added), but it almost has to be where things are breaking down because the issue so far has been common to 3 different capture device interfaces that are all very different in how they communicate. My only thoughts on how this is possible is maybe the new Carny might have removed/moved synchronization that was allowing something to work that actually shouldn't have worked (happens-before relationship) and might be the source of something that was more sporadic before.
I looked at your logs from 9.1.1 again today and I couldn't find any lines that actually showed a tuning attempt had been made. That kind of data is what I need most in tracking this down.
__________________
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 |
#7
|
||||
|
||||
Ok. So I would upgrade to 651. Stop sage. Copy jar file from you. Start sage. Try live tv and wait 10+ secs before hitting stop. Then post sagetv_0 log file.
|
#8
|
||||
|
||||
Correct.
__________________
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 |
#9
|
||||
|
||||
This looks like an issue with the changes to Carny. I'm fairly sure Carny is not setting 'prepped' to be true, which then causes the Scheduler to never be true for isPrepped() which means Seeker never sets canRecord to true...so it thinks it can't record anything. LiveTV subverts this by running in it's own thread and executing Seeker logic for grabbing a tuner...but then the Scheduler gets kicked, Seeker gets kicked and Seeker ends all encoding because it's not supposed to be recording yet.
If you look at the Carny output in the first log file he posted you can see it's not logging things you'd expect Carny to be logging.
__________________
Jeffrey Kardatzke Founder of SageTV |
#10
|
||||
|
||||
I can see where it is likely that is happening (no agents returns without setting this value), but what I don't understand is that I tested what happens when wiz.bin is completely empty with no agents and it didn't have this result. I was still able to tune in a channel. Maybe it also has some to do with the speed of the computer?
Edit: Actually, no I can't see where this is happening because when stdProcessing() returns, it always sets doneInit true. The only other possibility I can think of is that it's throwing an exception that nothing is catching.
__________________
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-30-2017 at 11:35 AM. |
#11
|
||||
|
||||
Here are my thoughts:
I see: Code:
Mon 5/29 15:19:43.669 [SageTV@a08072] Splash: Profiler is initializing... 0% done Mon 5/29 15:19:43.724 [SageTV@a08072] CARNY building airing maps... Mon 5/29 15:19:43.911 [SageTV@a08072] CARNY Processing 1000 Agents & 57908 Airs Mon 5/29 15:19:43.958 [SageTV@a08072] Splash: Waiting for SageTV to finish initialization... Then the EPG thread kicks Carny again: Code:
Mon 5/29 15:19:43.960 [Carny@125df72] CARNY building airing maps... Mon 5/29 15:19:44.084 [Carny@125df72] CARNY Processing 1000 Agents & 57908 Airs Mon 5/29 15:19:44.085 [Carny@125df72] Carny waiting for awhile... Other than we could maybe use a little better logging to clear up what is happening, I don't actually see any serious issues here.
__________________
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-30-2017 at 11:53 AM. Reason: Clarified intention about Seeker thread. |
#12
|
||||
|
||||
I was finally able to re-produce the issue. I'll have a fix submitted today. (It's more subtle than just doneInit being set to true.)
Edit: It's basically what Narflex suggested. Because it returns immediately when there are no agents, prepped doesn't get set true and that causes this cascade of issues that generally only effects new installs. Edit 2: As a fun fact, just setting a show to watched or creating a favorite would actually "fix" this too.
__________________
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-30-2017 at 12:29 PM. |
#13
|
||||
|
||||
Thanks for finding this so quickly.
Quote:
|
#14
|
||||
|
||||
I put in the fix, but Narflex found the real cause. I was way off base in what I was thinking might be happening.
That's a one and done. You can still wait of course for the next release. The reason this works is because it generally creates at least one new agent for intelligent recordings.
__________________
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 |
#15
|
|||
|
|||
I have a 1600 and am planning to update to Sage9 today or tomorrow. Is the fixed version available for download, and if so, could a link be posted?
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit. |
#16
|
||||
|
||||
No, I don't believe the fix is compiled/distributed yet. The workaround EnE is discussing should work fine though.. essentially, once you get sage up and running, and get the EPG downloaded, simply go to the guide, and either mark a recording as watched, or create your first favorite. Once that is done, this bug will be avoided. That, or download the last version before this one, and get up and going on that, and then update when the new build is out in the wild.
__________________
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 |
#17
|
|||
|
|||
Quote:
Should be there in a few hours or at least by morning k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#18
|
|||
|
|||
So, to make sure I understand, setting any old show to watched or setting up any show as a favorite, whether or not it would use the affected tuner, wouldfix the problem for good? Can I then un-set the favorite or watched status or do they have to stay set? May be worth waiting til tomorrow to do the update.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit. |
#19
|
||||
|
||||
The server executable installer is available right now. If you need anything else, I would just wait until tomorrow unless you're just dying to try it out tonight.
I believe that unwatching the show could end up removing the agent(s) because it will then be seen as a "traitor," so if you marked it watched, then unwatch it, you might have the same problem again if you restart SageTV. The best way to approach this if you cannot live with a recording marked watched that you didn't actually watch ![]()
__________________
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 |
#20
|
|||
|
|||
That's all I need at the moment, since I understand PlaceShifter and extenders don't need to match versions. I saw the server & client files 9.1.2.662, which I just downloaded. If those are the right ones, I may yet do the update tonight, since I have only one more day off this week, and I want to get at least the open source installed this week, and maybe the SD EPG the upcoming weekend.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java broke SageTV | dvd_maniac | SageTV Software | 6 | 06-14-2014 07:02 PM |
Broke my SageTV STV | KryptoNyte | SageTV Software | 2 | 07-16-2009 10:18 PM |
SageTV won't start, and broke my HVR-1600 | danimal99 | SageTV Software | 2 | 05-30-2007 09:17 AM |
Help SageTV broke, several problems | carlgar | SageTV Software | 3 | 01-04-2004 02:22 PM |
Just registered and SageTV has broke | jimbobuk | SageTV Beta Test Software | 2 | 05-21-2003 04:02 AM |