|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
So, after a day with my AKU3.3 equipped 8525, Platform Builder, IDA Pro and HexCmp, I believe I've finally gotten to the bottom of the ATI ImageON acceleration bug. This is the bug that causes the screen to "tear" during accelerated video playback using CorePlayer, TCPMP or other players that take advantage of the ImageON hardware acceleration. Once this bug is occuring, the entire screen is unreadable until you somehow exit from the video player.
Note that even after this patch is applied there will still remain some "pixelation" artifacts. However, there's a great thread on CoreCodec.com that can be found here. The thread explains how to resolve most of these. Consider that thread "extra credit" though since all in all, this patch alone resolved about 90% of the ATI issues with my AKU2.3 test device (running the South African 1.35 TyTN ROM). ![]() It was a buffer problem you see.... I've attached a cab which modifies the ATI DDI setup file to the AKU3.3 parameters. I've experienced great results with CorePlayer when using this on an AKU2.3 hermes. I only had to check all the boxes in CorePlayer's ATI IMAGEON setup page. By Default, 2 aren't checked: "Green Tint" bug compensation Keep ATI driver active (just test) I believe it is the second parameter that corrects an out of memory crash when a clip is played in full screen mode the second time. The above settings are workarounds however since the full benefits of this fix will only be available if the setup file is used in conjunction with the latest versions of the ATI drivers. Unfortunately, these drivers must be "baked" into a ROM. Do not try to install these drivers! You will brick your device if you do and a hard reset will be necessary to fix. Install the attached cab file instead and wait for the chefs here to build the new drivers into their next ROM release. ROM Chefs: you can find the files that make up the release here Delete the old versions and bake all three files in the zip into the /windows directory. Now to the Technical. ATI released 3 files as part of their DDI update: ace_ddi.dll, ahioem.dll and a hidden little configuration file named atihwtbl0.txt. It's this little text file that contains the magic since ace_ddi.dll uses it to configure several settings at startup. I haven't fully analyzed the changes yet and am in the process of doing this now but at first glance they appear to either move or increase the size of several video buffers in memory. It almost looks like there was an overlap issue with audio buffers ![]() Anyway, enjoy this little patch! As always, while I'm pretty sure that this patch will rock your ATI world, I take no responsibility for any "undocumented features" that may crop up. I've only done minimal testing on the TyTN 1.35 ROM so far. It must be right though... there weren't any syntax errors. Installation instructions: Download the attached CAB file tap to install (it will ask to reset your device) note: you must install this to your device. The patch won't work if you install it to a storage card. If you experience side effects, removal is simple. From Settings->System->Remove Programs just remove "Sleuth's ATIFix". Be sure to reset your device after the uninstall finishes. edit: It's important to read the TyTN thread located on the CoreCodec forum. Here is the link to that thread. There's a lot of good information concerning the scope of this patch (which takes the form of AKU3.3 experiences) and what still remains to be done. In this thread, schriss does a good job benchmarking the ATI playback and also has some good suggestions, some of which I'm hoping will be implemented in future versions of CorePlayer (such as allowing a YV12 option for the ATI decoder). Also, as the thread points out, DivX decoding using the ImageON remains a challenge (like I said, my patch alone solves about 90% of the issues). Hopefully more will now be able to focus on this once the Hermes DDI setting modifications encompassed by my patch become ubiquitous.
__________________
AT&T Tilt 2 ROM: Stock AT&T derivative Radio: v4.48.25.20 My apps/patches (click them!) All: SIPChange , UC v2.0 Hermes: PTTFix, ATI ImageON Fix, v3.2 Sleuth Kaiser: v3.0 Sleuth Last edited by Sleuth255; 15th March 2007 at 03:02 PM.. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
i see you been busy to! thanks man.
__________________
CURRENT DEVICE HTC TOUCH-PRO 2 RETIRED DEVICES BLUEANGEL HTC WIZARD HTC HERMES BACKUP DEVICE SIEMENS S55 ![]() rhodium rom dev stage @ testing... |
|
#3
|
||||
|
||||
|
Thanks Sleuth,
WMXL v0.30 will incorporate this fix.
__________________
iPhone (3G *2, 2G *1) - USA - at&t - After 2 Fuzes let me down! Tilt (2) - USA - at&t - At&t Stock WM 6.1/SPL 3.28.Hard Don't like my reply? read this What is XDA-Devs XDA-Devs Posting Rules Donate to XDA-Developers |
|
#4
|
|||
|
|||
|
Just tried, works perfectly! thanks!
(installed on WMXL.1) |
|
#5
|
||||
|
||||
|
Nice to hear
Your post reminds me of something else:Those of you running WMXL .2 already have the driver portion of the fix baked in. Installing this patch will give you full functionality.
__________________
AT&T Tilt 2 ROM: Stock AT&T derivative Radio: v4.48.25.20 My apps/patches (click them!) All: SIPChange , UC v2.0 Hermes: PTTFix, ATI ImageON Fix, v3.2 Sleuth Kaiser: v3.0 Sleuth |
|
#6
|
|||
|
|||
|
since this patch also appears to be working with the older set of ATI DLL's, what's the "full functionality" what you're talking about? what functions are missing now? I didn't really see any differences playing with TCPMP with AKU3.3 and now with this patch on WM6.......
|
|
#7
|
||||
|
||||
|
I experienced intermittent crashes on AKU2.3 when running full screen video if the driver wasn't set to remain active. This problem didn't crop up in my WM6 build that had the new drivers.
The problem appeared to be completely resolved in TCPMP/CorePlayer by simply checking all the boxes in the ATI IMAGEON setup screen however. However, being a purist, I like to see the config file along with its matching driver running. ![]()
__________________
AT&T Tilt 2 ROM: Stock AT&T derivative Radio: v4.48.25.20 My apps/patches (click them!) All: SIPChange , UC v2.0 Hermes: PTTFix, ATI ImageON Fix, v3.2 Sleuth Kaiser: v3.0 Sleuth |
|
#8
|
||||
|
||||
|
Lovely Jubbly!
and Sleuth, thank you for all your time and hard work with this Mike
__________________
Craigellachie Aberlour Dufftown Speyside Mike Channon
|
|
#9
|
||||
|
||||
|
WMXL extras updated sir. Bloody brilliant work!!
![]()
__________________
HTC Touch Pro (Raphael) HT832xxx HTC__001 - Radio: 1.12.25.19 | ROM: elite RC5 α (eliteII) | SPL: 1.90.OliNex HTC Tytn (Hermes) HT628xxx SuperCID - Radio: 1.56.70.10 | ROM: Testing Various | SPL: 2.10.Olipro |
|
#10
|
||||
|
||||
|
Quote:
My softbank tytn running xdalive .20 runs good as well as before my device froze at times when using ati video with and without acceleration enabled playing fullscreen. I get a good 20% increase now being able to use it compared to DirectDraw. Thanks for the fix Last edited by puerrican85; 14th March 2007 at 09:10 PM.. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|