PDA

View Full Version : NMT reboot & incremental updates not working



Jaggy
2011-03-14, 06:42 AM
It seems there may be a new problem with the way the panel works under 2.0.3 as there have been a number of reports of the NMT rebooting like in these threads
http://forums.nextpvr.com/showthread.php?49578-nPVR-Recordings-failing & I also had the same thing happen today with the exact same message in the log.

I am also having major problem with the screen not updating when using TV Recording, it is almost unusable now the way it is, it will either have four or five highlighted boxes all on screen at once or not highlight the selected box at all until I go to the buttons then the right box highlights.

alibert
2011-03-14, 09:27 AM
Hi,

I had a look into the logfiles attached to the posts you were referring to.

Regarding http://forums.nextpvr.com/showthread.php?49578-nPVR-Recordings-failing :
It seems that the mvp looses connection, so that the mvp application on the server shuts down, notifying the tv recordings plugin with the EXITING event. Now, the tv recordings panel tries to clear the now playing area by setting an empty text, which obviously not works at this stage, resulting in the error message. I'm going to change the panel for the next replease of the plugin so that it no longer tries to update the screen after the application is about to exit.

Regarding http://forums.nextpvr.com/showthread.php?49544-Spontaneous-reboot-of-mvpmcX2o :
Most likely the same as above.

Regarding http://forums.nextpvr.com/showthread.php?49181-Problem-with-recordings :
From the logfiles, there's no TV Listings plugin installed.

Generally, you can always disable the tv recordings panel or remove the whole plugin to see if it fixes the problem.

Regarding the tv recordings screen not updating correctly, I'm not able to reproduce it here, sorry. Does it happen always, i.e. right after activating the plugin? Does it happen for all recordings in all views or only specific ones, e.g. with the same title? And, if you're talking about incremental updates, is the problem fixed when you disable them for your mvp?

-alibert

mvallevand
2011-03-14, 11:53 AM
Regarding http://forums.nextpvr.com/showthread.php?49578-nPVR-Recordings-failing :
It seems that the mvp looses connection, so that the mvp application on the server shuts down, notifying the tv recordings plugin with the EXITING event. Now, the tv recordings panel tries to clear the now playing area by setting an empty text, which obviously not works at this stage, resulting in the error message. I'm going to change the panel for the next replease of the plugin so that it no longer tries to update the screen after the application is about to exit.

The MVP connection shuts down typically because of crash caused by multiple threads writing to the screen. It was a regular occurrence in GBPVR up to about 0.98. I had to add lots of code to mvpmc to avoid this but sub avoided it by using on thread for GUI writes. This code was not added to the NMT code.

The network collision is difficult to watch for without a sniffer. You probably could reduce the risks by not forcing the screen to render.


And, if you're talking about incremental updates, is the problem fixed when you disable them for your mvp?

On an HD monitor the performance would be so bad this is not an option.

Martin

Jaggy
2011-03-14, 09:17 PM
Hi,
Regarding http://forums.nextpvr.com/showthread.php?49181-Problem-with-recordings :
From the logfiles, there's no TV Listings plugin installed.

I know that link in that other thread I linked was for a totally different problem that appears to now be fixed & had nothing to do with TV Listings


Generally, you can always disable the tv recordings panel or remove the whole plugin to see if it fixes the problem.

I have only had the problem once since before 2.0.3 was released & I have it running everyday for over eight hours a day so it isn't easy for me to test, but I did think you needed to be informed as it seemed others were also having this crash more often than me.


Regarding the tv recordings screen not updating correctly, I'm not able to reproduce it here, sorry. Does it happen always, i.e. right after activating the plugin? Does it happen for all recordings in all views or only specific ones, e.g. with the same title? And, if you're talking about incremental updates, is the problem fixed when you disable them for your mvp? -alibert

It happens at all times, makes no difference if I go down/up the list one key at a time or if I page down/up & it happens to so many programs it is hard to say if it is only specific ones or not, it also seems MUCH MUCH worse now but I don't know if it was updating NextPVR or TV Listing that made it worse.

I have just seen another really weird thing I recorded a program yesterday specifically to get a recording with a star rating for testing my skin & it recorded & showed the star rating fine but today the rating no longer shows huh??

alibert
2011-03-15, 02:36 PM
Hi,


The MVP connection shuts down typically because of crash caused by multiple threads writing to the screen. It was a regular occurrence in GBPVR up to about 0.98. I had to add lots of code to mvpmc to avoid this but sub avoided it by using on thread for GUI writes. This code was not added to the NMT code.
thanks for the background information, I'll try to make the calls through the main thread exclusively then.


On an HD monitor the performance would be so bad this is not an option.
yes, but for a test, it would help me identifying the problem. I have the feeling that there's some additional caching performed in the "UiList", independantly of the mvp incremental updates.


I have just seen another really weird thing I recorded a program yesterday specifically to get a recording with a star rating for testing my skin & it recorded & showed the star rating fine but today the rating no longer shows huh??
this one is caused by npvr not saving the "Rating" information inside in the event details information of scheduled recordings, so there's nothing the plugin can do after the epg event is removed from the database.

-alibert

Jaggy
2011-03-15, 11:11 PM
Hi,
yes, but for a test, it would help me identifying the problem. I have the feeling that there's some additional caching performed in the "UiList", independantly of the mvp incremental updates.

I trued it with incremental updates set to false in config & while it was better (I think) it wasn't really usable for everyday use.


this one is caused by npvr not saving the "Rating" information inside in the event details information of scheduled recordings, so there's nothing the plugin can do after the epg event is removed from the database. -alibert

Thanks for the explanation bit of a PITA really