Aspect ratio fix for SH4

Information, questions and any other thing related with A series.

tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: Aspect ratio fix for SH4

Post by tom_van »

You've already helped, Jerome!
The code of exeDSP? You should ask at Samsung ;) I have just a couple of scripts to enhance disassembler output. If you really want read more than 300MB disassembled code, start compiling arris69's svn branch https://samygo.svn.sourceforge.net/svnr ... anch-0-0-1 for sh4.
Don't ask for details here, use http://forum.samygo.tv/viewtopic.php?f=8&t=49&start=0
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: Aspect ratio fix for SH4

Post by tom_van »

Edit: Call for testers temporary canceled

A remark to arfix 1.1 reboots:
I have the patch permanently applied in my LE46A956 for more than a year and never experienced any reboot.
I mainly use WiseLink player for playing DVB-T recordings streamed from MythTV.
These are in formats: MPEG2/TS in PAL resolution and H264/TS in Full HD 1080i
I seldom use other video formats. So the status is "works for me perfectly".

I'm sorry I read complaints that arfix 1.1 reboots the tv. But until I'm able to reproduce the problem
I can't help you. That's why I don't like such messages
I tested on several films in various formats: Divx Mpeg
Don't expect that all DVD and BD rips are compatible with WiseLink player,
I bet that most of them will not play even on unpatched firmware.

If you encounter problems with arfix_1.2test2 please do this:
- extract short example of video material, 1 MByte will be sufficient
or use a publicly available video (movie trailer, teaser)
- try playing this example from USB flash stick with original and patched tv firmware
- if you use a DLNA server with on-the fly format conversion, play the example
from the server with original and patched tv firmware.

Include in report:
- tv set type, elfpatcher and patch versions
- if used, report exact version of DLNA server and operating system it runs on.
- link to video example (upload the example somewhere if not available on net)
- what does original firmware do?
- what does patched firmware do?
- If you really want to make me happy, upload debugging log from the service serial line
(Ex-link, details here http://wiki.samygo.tv/index.php?title=E ... 2B_Devices )
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: Aspect ratio fix for SH4

Post by tom_van »

I've finally replicated the reboot: I'm working on the fix, stay tuned.
marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

Re: Aspect ratio fix for SH4

Post by marcjero »

Great news :) When crash occurs I noticed there is coredump generated on the USB stick.
Thanks Tom for your hard work.
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: Aspect ratio fix for SH4

Post by tom_van »

I believe the problem with arfix 1.2 reboots is finally fixed.
The bug was actually in elfpatcher.
Until I make "official" versions (and upload them to file area and svn),
experienced hackers can try:

Edit: no more test versions, use released 1.2

marcjero: I hope that you are not getting core dumps from fixed version I mailed you couple of minutes ago...
And thank you for cooperation.
Last edited by tom_van on Sun Mar 27, 2011 5:32 pm, edited 1 time in total.
marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

Re: Aspect ratio fix for SH4

Post by marcjero »

Just tested your patch and it works fine with mpegts h264. The coredump happened with test2 version don't worry.
I will test with more movies. Just a question is there a simple way to apply the fix automatically at boot from usb.sh for instance ?
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: Aspect ratio fix for SH4

Post by tom_van »

As I stated in the first message of thread
tom_van wrote:You can also apply patch directly to exeDSP file. See elfpatcher -h and DIY.
I might try to integrate arfix to arris69's SamyGO Extension. But now this is not at the top of priority list...
marcjero
Posts: 51
Joined: Sun Mar 06, 2011 8:40 pm

Re: Aspect ratio fix for SH4

Post by marcjero »

Yes I read that. I just want to be sure to understand fine. You mean that we just can patch the /exe/exeDSP file directly without having to patch the firmware upgrade files ?

so command should be : ./elfpatcher.sh4 -e /exe/exeDSP ./arfix_1.2test9.elfpatch

Is it correct ?
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: Aspect ratio fix for SH4

Post by tom_van »

Yet another patch to test. Please prefer this one over test9, as this one can autodetect
aspect for streamed MPEG2.
Fall back to test9 only if you encounter problems playing DLNA streamed videos
and report if test9 and test10 behave different way.
New elfpatcher is a must.

Edit: no more test versions, use released 1.2
Last edited by tom_van on Sun Mar 27, 2011 5:33 pm, edited 1 time in total.
tom_van
Official SamyGO Developer
Posts: 147
Joined: Tue Jan 19, 2010 10:44 am

Re: Aspect ratio fix for SH4

Post by tom_van »

marcjero wrote:Yes I read that. I just want to be sure to understand fine. You mean that we just can patch the /exe/exeDSP file directly without having to patch the firmware upgrade files ?

so command should be : ./elfpatcher.sh4 -e /exe/exeDSP ./arfix_1.2test9.elfpatch

Is it correct ?
I'm afraid that exeDSP file is busy and thus refuses write. You can try on your own risk.
If you kill exeDSP before patching, watchdog will reboot and you can eventually end up with bricked tv.

I recommend temporary in-memory patching (elfpatcher -p pid) - this I mean to integrate to Extensions.
For permanent change use erdem's python patcher and firmware upgrade - you have to wait till a new version is available.

Post Reply

Return to “A Series”