![]() |
Re: Need files to trace OpenGl
maybe this is a dumb question, but is there anywhere exactly we can see exactly what haret does? perhaps there isnt a problem with the builds per-say, but something haret does that the TP2 doesnt like. such as with sound, since its calling the asdp and its replaying already functioning, or already operating, i forget which, maybe haret needs to be modified. does hw3d give an error or does it just show that it doesnt exist to call?
|
Re: Need files to trace OpenGl
Quote:
On wince the gpu runs when we tell it to. It doesnt run all the time. So the wince kernel or maybe one of the dlls makes a call that activate the gpu. Once its all done, the gpu goes down again. So we are missing that call to activate. I do know that harent isnt the issue. |
Re: Need files to trace OpenGl
Quote:
post one has all of the files that make a call to the gpu, or just the ones you think? feel free to ignore me if i am making you lower your brain capacity at any rate, but what exactly are you trying to factor out? the exact call to the gpu? or the location of that call? or what chip(s) activate the gpu? |
Re: Need files to trace OpenGl
Quote:
ahi2dati uses all of those dlls. a while back i made a small app to load ahi dll directly to display stuff on screen. It worked and i also noticed all these other dlls loading. So i wanted them to see what kinda calls ahi makes. Since we dont know whats missing, i kinda have to look all over the place. I was busy for father's day so i didnt get a chance to do anything. Hopefully this week i can dive back in. |
Re: Need files to trace OpenGl
If anyone wants to help figuring this out. Feel free to jump in.
So thanks to fathers day i didn't get a chance to dig deep. But i did dump some information before and during 3d operation. http://pastebin.com/btqgbBgH Both top chunks are made with the command below on haret console. I'm looking for "..000030 " or all rpc related info. od -A x -t x4 -w16 mysmem | grep "..000030 " One of them is with no 3d, the other is with 3d running. There are few differences. The last part is the wince dmesg right after 3d is activated again. Note there are some rpc calls as well. Anyone want to help there? |
Re: Need files to trace OpenGl
Don't know if this helps, but I was looking through DDI.dll in IDA, and it has
Code:
.text:1000C6F8 aDrvescapeHtc_s unicode 0, <DrvEscape::HTC_SET_3D_LAUNCHING_FLAG.>Code:
IMPORT __imp_gles_init ; DATA XREF: .text:off_1003A990oCode:
.idata:10043210 IMPORT __imp_gles_init ; DATA XREF: .text:off_1003A990oA lot of things seem to be printing to the NKDebugconsole (my interpretation of ASM,which I know very little about). Hope this helps a little, if not ignore please. Edit: I'm looking through the nk.exe and there's a SPYapi and a GuardDog. Could this effect how haret boots at all? |
Re: Need files to trace OpenGl
Quote:
http://pastebin.com/M1Ad4YMv I'm no asm dev, so its hard for me to make out that output. How well do you understand it? can you at least help me reverse engineer some of the functions? I've been able to call gles_oem_eglInitialize before assuming it just takes an int as a parameter, but i havent done gles_init yet because i dont know what parameters it takes. |
Re: Need files to trace OpenGl
Quote:
ive been decompiling all of the .dll files you referenced. im not an asm dev, but I have been noticing that almost all of them all refer back to the clkregim. the clkregim makes several calls that register usb, uart, etc, but there are a few calls im not sure what they do. it seems like the clkregim does alot of clk switching, registering for cpu recources, and switch adsp_clk, etc. what i dont understand is this dll references another resource, remote_apis_cInt. using that remote_ it makes a call clk_regime_sec_sel_icodec_clk. dont know if this is any help, but im going to keep looking for anything suspicious. keep us posted on anything you find! |
Re: Need files to trace OpenGl
Quote:
clk_regime_deregister_for_cpu_resource clk_regime_msm_disable clk_regime_msm_enable Do you see others? Check this out. may help you understand those calls http://htc-linux.org/wiki/index.php?title=MSM_RPC |
Re: Need files to trace OpenGl
Quote:
im not sure. there might have been more. id have to look when i get off of work. |
| All times are GMT -4. The time now is 09:38 AM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com