Page 2 of 3
Re: [App] Movie Player Seek Patch
Posted: Sun Feb 16, 2014 2:45 pm
by sectroyer
It looks like this but after this anti-debug fix (and turning off watchdog) everything should work fine... One more think could you post full output of the command that crashes your TV. I want to see what are the values of the registers. And btw how often does the crash happen ?
EDIT:
Just checked the you exeDSP it's "the same" as mine. Patch should work fine for you

Re: [App] Movie Player Seek Patch
Posted: Sun Feb 16, 2014 3:11 pm
by zoelechat
The problem is that, as usual, I can't reproduce crash as I wish but let's say an average of 1 crash on 5 tries and 1 on 2 if for example I try to change channel while TV is "held". It seems that TV doesn't like to be asked to do something while it is held
I repeat it, it holds only on first launch of patch after TV start. Never if I patch again.
I've pasted whole command/debug output in my post above:
viewtopic.php?f=49&t=7311#p55544
Re: [App] Movie Player Seek Patch
Posted: Sun Feb 16, 2014 3:18 pm
by sectroyer
zoelechat wrote:The problem is that, as usual, I can't reproduce crash as I wish but let's say an average of 1 crash on 5 tries and 1 on 2 if for example I try to change channel while TV is "held". It seems that TV doesn't like to be asked to do something while it is held
I repeat it, it holds only on first launch of patch after TV start. Never if I patch again.
I've pasted whole command/debug output in my post above:
viewtopic.php?f=49&t=7311#p55544
It this is the output for the "crash scenario" than it is nothing to do with what the patch is doing. And if it works fine latter even if you run it multiple times maybe something is interfering with the patch? Maybe you tried running the patch (manually) to early and it was fighting over exeDSP with some other (probably bugficks') patch that was running (automatically) at the same time ?

Re: [App] Movie Player Seek Patch
Posted: Sun Feb 16, 2014 3:33 pm
by zoelechat
As I expected this supposition, I was already trying to disable all other scripts/modules

. Sorry no change, even patching alone and looong time after turning on TV.
I always found my TV a bit special, so it may be needed that other ES owners give also feedback.
Anyway, I'm here firstly to test and no matter if that doesn't work on my TV
It this is the output for the "crash scenario" than it is nothing to do with what the patch is doing
No patch=no crash

. It is always crashing while patch is running/holding though. So, it is related to it.
Re: [App] Movie Player Seek Patch
Posted: Sun Feb 16, 2014 3:38 pm
by sectroyer
zoelechat wrote:
No patch=no crash

. It is always crashing while patch is running/holding though. So, it is related to it.
Yeah that's expectable

The only question is why is it holding.

If there would be some difference in the output (hold, no hold) than we could work on it

Re: [App] Movie Player Seek Patch
Posted: Thu Feb 20, 2014 2:11 pm
by sectroyer
New version uploaded. Please test

Re: [App] Movie Player Seek Patch
Posted: Thu Feb 20, 2014 2:21 pm
by zoelechat
As expected, perfect!
No more crash/hold, even on first launch...
Code: Select all
./seekpatch -p `pidof exeDSP` --left -60 --right 60 --down -300 --up 300 -d
pc=428234dc lr=428234c8 sp=beaf4ef8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
symbol: valloc -> @0x423244c0
symbol: mprotect -> @0x42379c80
Stack: @0xbead8000 - @0xbeaf9000
pc=428234dc lr=428234c8 sp=beaf4ef8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
Executing injection code at 0xbeaf4e64
Allocated new memory with size 0x00001000 at address: @0x090be000
symbol: _ZN18CMMPEventProcVideo17t_ProcessKeyEventEPK7PTEvent -> @0x024ce4a8
symbol: _ZN19CMMPPlayEngineVideo4SkipEi -> @0x024dacdc
First patch location found at: @0x024ce5a4
Second patch location found at: @0x024cf284
Third patch location found at: @0x024cf880
Patching completed!
Re: [App] Movie Player Seek Patch
Posted: Thu Feb 20, 2014 9:50 pm
by zoelechat
Here's also a friendly startup script for this patch
-Args/path to be defined on top of script
-USB STOP protection
-stdout/stderr sent to /dtv/logfile and script status)
99_99_SeekPatch.zip
Re: [App] Movie Player Seek Patch
Posted: Thu Feb 20, 2014 9:54 pm
by juusso
Maybe it is worth to use not 99... number of exeDSP patch scripts? I used 99 while i was not sure they aren`t stable enough? We`ll save some extra seconds if change number before samba/nfs/apache start... Just a suggestion.
Re: [App] Movie Player Seek Patch
Posted: Thu Feb 20, 2014 10:02 pm
by zoelechat
You're right, i used 99 when there were "sleep 100" at the top of scripts and before introducing USB STOP protection.
But I don't totally agree for a number before samba/nfs (because it is needed to access files before seeking them

)
Let's say... around 90?
