[EXPERIMENT] Using SG2 drivers on Sensation - HTC Sensation

I tried to using the Adreno drivers from the SGS2 onto the sensation. With 2.3.5 build BP (Stock Kernel) I am getting about 38 on nenamark and 15.0 on glbenchmark egypt high. This doesn't seem differ much from the stock scores.
I diffed the two sets of files between the SGS2 and the sensation and they are quite different.
Attached are the files from sgs2:
http://www.mediafire.com/?8critvp25azpoi9
If you know how to use adb and recovery you most likely can't do any harm.
First Pull the files:
make a directory called egl_old
adb.exe pull /system/lib/egl egl_old
Unzip the files from above download and push them onto the device:
adb.exe push egl /system/lib/egl
Please report what you get on the any benchmarks.

magic_man said:
I tried to using the Adreno drivers from the SGS2 onto the sensation. With 2.3.5 build BP (Stock Kernel) I am getting about 38 on nenamark and 15.0 on glbenchmark egypt high. This doesn't seem differ much from the stock scores.
I diffed the two sets of files between the SGS2 and the sensation and they are quite different.
Attached are the files from sgs2:
http://www.mediafire.com/?8critvp25azpoi9
If you know how to use adb and recovery you most likely can't do any harm.
First Pull the files:
make a directory called egl_old
adb.exe pull /system/lib/egl egl_old
Unzip the files from above download and push them onto the device:
adb.exe push egl /system/lib/egl
Please report what you get on the any benchmarks.
Click to expand...
Click to collapse
That's really interesting. I wouldn't ever have though drivers from the SGS would work on our device. Can't wait to see how devs use this.

<Noobmode>
Call me crazy, but what's the use of using SG2 drivers on my Sensation? Just to improve benchmarkscores or will it really be assisting in overall performance?
</Noobmode>

this is not real guys .. come on Use and ATI Driver on an Nvidia Graficcard

xtcislove said:
this is not real guys .. come on Use and ATI Driver on an Nvidia Graficcard
Click to expand...
Click to collapse
I thought there is a variant of SGS2 using the same(or identical) CPU and chipset as our sensation, probably op is using the driver from it. Correct me if I'm wrong.

mczhu said:
I thought there is a variant of SGS2 using the same(or identical) CPU and chipset as our sensation, probably op is using the driver from it. Correct me if I'm wrong.
Click to expand...
Click to collapse
I think there is in the states, I'm sure its the tmo one,could be wrong
sent from Christ All Mighty II

xtcislove said:
this is not real guys .. come on Use and ATI Driver on an Nvidia Graficcard
Click to expand...
Click to collapse
same as I thought - different hardware = different drivers. no adreno on SGS2 afaik.

cr1960 said:
same as I thought - different hardware = different drivers. no adreno on SGS2 afaik.
Click to expand...
Click to collapse
TMOUS SGS2 have the same hardware as Sensation.

krogoth said:
TMOUS SGS2 have the same hardware as Sensation.
Click to expand...
Click to collapse
you learn something new all the time....

So there yould be improvments and rom ports of fully working aosp (touchwiz)

correct, they couldnt use the Exynos cpu on the T-Mobile version so had to use the msm8260 due to the exynos not being compatible with T-Mobile's 42 Mbit/s HSPA+ network..
The drivers shouldn't make much of a difference...

anarchyuk said:
correct, they couldnt use the Exynos cpu on the T-Mobile version so had to use the msm8260 due to the exynos not being compatible with T-Mobile's 42 Mbit/s HSPA+ network..
The drivers shouldn't make much of a difference...
Click to expand...
Click to collapse
Drivers can make a huge difference. Look at NVDIA and ATI cards were graphics updates greatly increased performance.
http://www.anandtech.com/show/4940/qualcomm-new-snapdragon-s4-msm8960-krait-architecture/3
According to Anand the Adreno 220 should have as much raw compute power as sgx543mp2. However we see that clearly is not the case.
When I have more time I will try to do more benchmarks to quantify the differences.
I do feel like scrolling has gotten smoother, but that could be a placebo affect. If more more people could try it and post some benchmarks it would be useful in figuring out if these drivers are better.

I agree with you on the ati and nvidia argument.. but we are not talking 2 different gpu's.. they are both adreno and they should have the same drivers if written correctly from the white paper when Samsung and HTC bought the SOC chips..
test away and see how you go...

i open up the egl.zip and compare the one that is in my phone. found most of the drivers are the same one in my phone except for eglSub.so and out.txt

utg on our beloved sensation would be awesome!

Freezes at boot on cm
Sent from my Sensation 4g using XDA App

I'm using RCMix 3.5 v08 it loads but there is no data on my phone I did notice a little change or maybe it was in my head. I will try again.

The real test would be to improve the Adreno drivers, i have looked into newer drivers on other devices but the Amaze only had an Adreno 205 where as i think we and the Evo 3d have Adreno 225..I recall on the hero someone found a matching Adreno driver that was newer and it gave one hell of a boost!

bonesy said:
The real test would be to improve the Adreno drivers, i have looked into newer drivers on other devices but the Amaze only had an Adreno 205 where as i think we and the Evo 3d have Adreno 220..I recall on the hero someone found a matching Adreno driver that was newer and it gave one hell of a boost!
Click to expand...
Click to collapse
10000chars

this experimental mod is spectacular. But just asking, why I could use s2' drivers if adredno 220 is more power of mali400?

Related

[dev] kingdom lockscreen port

thanks to seo we have kingdom nice lockscreen
http://forum.xda-developers.com/showthread.php?t=1062962
problem is that if it's used with default bravo adreno libs we have no icons and no caller picture.
Logcat says
18:39:47.211 Debug mode10 1887 [mode10] Maximum number of texture units exceeded!
If you replace adreno libs with the ones from ace the is somehow working (after alot of errors and other problems - expected since is for ace not for bravo)
So best solution would be for us to patch lockscreen not to use other gpu libs
now the libs responsible for that error message are libmode10GLES20_ml.so libmode10Graphics.so
The reason for ace adreno libs *working* is because of the more OPEN GL extension supported ( i don't know if is only in driver or also in gpu )
Call 911 (snq)
sry for the OT.
What with overclocking the gpu, i men we can overclock cpu, maybe that would help make things faster, i mean so we can't raise the available texture channels, but it would be faster.
JeckyllHavok said:
What with overclocking the gpu, i men we can overclock cpu, maybe that would help make things faster, i mean so we can't raise the available texture channels, but it would be faster.
Click to expand...
Click to collapse
Useless imho to overclock gpu... Will result in more battery drain only without significant boost... I think the easier solution is to port or create the right drivers that can handle allctextures.or, if possible, to reduce them maybe with lower resolution...
That probably means that the driver can't handle that much textures, but if the Ace driver works, then it's not a hardware limitation, but rather a software one. So IMO something should be done not with the lockscreen but with the drivers to remove that software cap.
UPD: I wonder if the same limit is present in all drivers... More texture units unlocked => more general graphics performance...
Sent from my HTC Desire using XDA Premium App
well its impsossible to add more texture units to the desire so that wont be possible so only way is to create some hacked libs but snq can help but sadly he aint been working on these ports atm
JeckyllHavok said:
What with overclocking the gpu, i men we can overclock cpu, maybe that would help make things faster, i mean so we can't raise the available texture channels, but it would be faster.
Click to expand...
Click to collapse
Oc'ing the GPU will not give you the texture power that is required.
K900 said:
That probably means that the driver can't handle that much textures, but if the Ace driver works, then it's not a hardware limitation, but rather a software one. So IMO something should be done not with the lockscreen but with the drivers to remove that software cap...
Click to expand...
Click to collapse
This has to be the way forward, if this works with the ACE drivers then it is the case that the Adreno 200 driver software is saying 'no way' to the requests when the actual hardware can handle it.
The other idea I had is whether we can bundle the ACE drivers and edit/hack the lockscreen to use them only whereas everything else can use the standard Desire Adreno 200 drivers.
whats with reducing the animation to a desire handable level?
sry for bad english
revthanki said:
The other idea I had is whether we can bundle the ACE drivers and edit/hack the lockscreen to use them only whereas everything else can use the standard Desire Adreno 200 drivers.
Click to expand...
Click to collapse
I'm not a Java guru, but it seems to me that the libs are actually called by the VM itself and applications interact with the public API through Dalvik. So it's not like lockscreen - hack - libs, but more of lockscreen - hack? - dalvik - hack? - libs
Sent from my HTC Desire using XDA Premium App
K900 said:
I'm not a Java guru, but it seems to me that the libs are actually called by the VM itself and applications interact with the public API through Dalvik. So it's not like lockscreen - hack - libs, but more of lockscreen - hack? - dalvik - hack? - libs
Click to expand...
Click to collapse
Got it. Therefore, to run both drivers concurrently you'd need to hack the VM to provide a different API just for the lockscreen to call. That sounds intuitively messy and complex.
I think your idea, to hack the Adreno 200 drivers and raise the
limit on the shaders sounds like a good way. Especially because of two facts:
1) That the ACE (Adreno 205) drivers do work in this regard, there's no graphical corruption to suggest that the Adreno 200 cannot handle the called number of shader units.
2) Backed up by the fact that v26 of Baad's InsertCoin Rom, in which he bundled the ACE drivers did seem to have incredible general graphical performance (apart from the maps/music/games force closes) ---> so maybe the Desire hardware is capable of more than the software drivers limits it to...
Edit: lol I didn't read !!!!!!!!!!!
NeoPhyTe.x360 said:
Try this. It works, not too fine, but works.
Click to expand...
Click to collapse
We already know about that, this thread is about finding a better solution...
HTC Swyped from my Sense 3 Desire using XDA Premium
K900 said:
That probably means that the driver can't handle that much textures, but if the Ace driver works, then it's not a hardware limitation, but rather a software one. So IMO something should be done not with the lockscreen but with the drivers to remove that software cap.
Click to expand...
Click to collapse
Some more evidence that the drivers on the Adreno 200 might be the limiting facor, from http://www.mobiletechworld.com/2011/03/31/first-adreno-220-benchmarks-show-that-it-is-a-beast/
"Qualcomm’s Adreno GPU’s have always been seen as being a sub-par graphics compared to competing offerings from Imagination (PowerVR) and others like NVIDIA’s Tegra. This was essentially true with the Adreno 200 on Windows Mobile and Android mainly because of poor driver quality. Things are a bit different on Windows Phone 7 where the Adreno 200 is the only currently supported GPU, thanks to the tight integration with the OS and relatively good support provided by Microsoft. You can check out my recent Fable Coin Golf video to see that some pretty nice things can be done with it."
Hey baadnewz, the line "Maximum number of texture units exceeded" your searching is stored inside of libmode10GLES20_ml.so.
Code:
StartFrameControllereglCreateImageKHReglDestroyImageKHRexternal/MagicLab-mode10/mode10_trunk_2821_20110218/trunk/graphics/mode10GLES20/src/GraphicsDeviceGL2.cppm_eglDisplay != ((EGLDisplay)0)[mode10] Maximum number of texture units exceeded!
Problem is that contains spaces in original file, so you cant find string, try opening file and try searching it with spaces like below:
Code:
M a x i m u m n u m b e r o f t e x t u r e u n i t s e x c e e d e d !
Hope it helps.
I was thinking about a thing. The problem is that if screen is locked it cant handle textures to show caller image and icons right? But thinking about the significate of texture, we know that they are images that "wear" tridimensional or 2d object, right?
So if it is right, they must be stored in some files that the lockscreen try to recognize but is blocked by the amount of these and give error... If is all corrent, can't be easier to find these texture and remove some or resize? Is a textures number or space (mb)probem?
I dont know if is all correct or not, sorry if not..
ivicask said:
Hey baadnewz, the line "Maximum number of texture units exceeded" your searching is stored inside of libmode10GLES20_ml.so.
Code:
StartFrameControllereglCreateImageKHReglDestroyImageKHRexternal/MagicLab-mode10/mode10_trunk_2821_20110218/trunk/graphics/mode10GLES20/src/GraphicsDeviceGL2.cppm_eglDisplay != ((EGLDisplay)0)[mode10] Maximum number of texture units exceeded!
Problem is that contains spaces in original file, so you cant find string, try opening file and try searching it with spaces like below:
Code:
M a x i m u m n u m b e r o f t e x t u r e u n i t s e x c e e d e d !
Hope it helps.
Click to expand...
Click to collapse
thanks alot mate ,now i feel like an idiot
revthanki said:
Some more evidence that the drivers on the Adreno 200 might be the limiting facor, from http://www.mobiletechworld.com/2011/03/31/first-adreno-220-benchmarks-show-that-it-is-a-beast/
"Qualcomm’s Adreno GPU’s have always been seen as being a sub-par graphics compared to competing offerings from Imagination (PowerVR) and others like NVIDIA’s Tegra. This was essentially true with the Adreno 200 on Windows Mobile and Android mainly because of poor driver quality. Things are a bit different on Windows Phone 7 where the Adreno 200 is the only currently supported GPU, thanks to the tight integration with the OS and relatively good support provided by Microsoft. You can check out my recent Fable Coin Golf video to see that some pretty nice things can be done with it."
Click to expand...
Click to collapse
read the line after your highlighted line. i watched the video of the fabile golf running on adreno 200 on WP7 phone and it looks pretty good! so the adreno 200 should be able to run Sense 3 as sense 3 does not contain as much 3D calculations as a game. Our issue is poor drives for adreno on android.
Nekromantik said:
read the line after your highlighted line. i watched the video of the fabile golf running on adreno 200 on WP7 phone and it looks pretty good! so the adreno 200 should be able to run Sense 3 as sense 3 does not contain as much 3D calculations as a game. Our issue is poor drives for adreno on android.
Click to expand...
Click to collapse
Hopefully... Though the worst case scenario (which I don't believe - as the ACE drivers do work) is that HTC have built the lockscreen and other elements of Sense 3.0 using some kind of GPU trickery that just cannot be supported by the Adreno 200.
Question: might it be worth looking at how the Adreno drivers are different for WP7? Of course there will be much OS related difference but could some binary hacking reveal anything of use to us?
baadnewz said:
thanks alot mate ,now i feel like an idiot
Click to expand...
Click to collapse
And i forgot also inside of file libmode10Graphics.so, same line.
BTW i use FileSeek, you can search entire rom and all the libs and stuff he can search for text, and it doesnt have prob's with spaces in names.
I dont know what you use, but if you wana try it, its free.
http://www.fileseek.ca/

Adreo 220 vs Mali-400..which one is faster and more powerful ??

guys..which one is faster and more powerful..Mali-400 or Adreno220 ??
my sensation running Android Revolution HD.. CPU overclocked to 1.5GHz and GPU overclocked..
i can't get scores like GS2 (stockROM) or better than him !!
If I'm not mistaken, the Areno 220 can push 1080p stereoscopic 3D.
The question is whether the manufacturers wrote drivers to help with the hardware acceleration, which is what Samsung did with the Exynos-Mali400. =)
PoisonWolf said:
If I'm not mistaken, the Areno 220 can push 1080p stereoscopic 3D.
The question is whether the manufacturers wrote drivers to help with the hardware acceleration, which is what Samsung did with the Exynos-Mali400. =)
Click to expand...
Click to collapse
so Adreno 220 have great power ?? but i don't see the improve in games !!
-juanito- said:
so Adreno 220 have great power ?? but i don't see the improve in games !!
Click to expand...
Click to collapse
Drivers. Like I said, drivers.
Read this, pretty informative http://www.anandtech.com/show/4686/samsung-galaxy-s-2-international-review-the-best-redefined
jlevy73 said:
Read this, pretty informative http://www.anandtech.com/show/4686/samsung-galaxy-s-2-international-review-the-best-redefined
Click to expand...
Click to collapse
So Mali-400 better than Adreno 220 ??
Sent from my HTC Sensation Z710e using Tapatalk
This site is also very informative http://www.droidgamers.com/index.ph...1661-dual-core-beasts-the-decision-to-buy-one
Mali-400 MP4 is better.
i have htc Sensation and i think Mali-400 is more powerful and faster
i installed Fruit Ninja HD Crazy (modded version to get alot from fruit in arcade mod) so in htc Sensation even with overclock i get lag..in SGS2 without custom rom it's so smooth
in quadrant i use advanced edition in 2D always i get like 330 and 3D i get from 600 to 1000 with overclock..in SGS2 without anything in 2D get 800 and 3D 1200 !!!

T-Mobile G1 was a dual-core phone ?

Look here : http://mobile.arm.com/markets/mobile/t-mobile-g1.php?setcookie=mobile
Sent from my Galaxy Nexus using XDA App
... wut
holy crap thats insane
are you sure that's not a typo?
http://www.gsmarena.com/t_mobile_g1-2533.php
Even that second specs page is off a little..
The G1 has an ARMv6 cpu, not an ARM 11..
Cant even run Flash on it..
It aint a typo. [21]
"CPU: The MSM7201A is an ARM-based, dual-core [22] CPU/GPU from Qualcomm and contains many built-in features, including 3G and a GPU capable of up to 4 million triangles/sec. It has hardware acceleration for Java, [23] but this does not accelerate execution of Android applications, as they are targeted to the Dalvik VM, not the Java VM" From Wikipedia http://en.m.wikipedia.org/wiki/HTC_Dream
AllGamer said:
are you sure that's not a typo?
http://www.gsmarena.com/t_mobile_g1-2533.php
Click to expand...
Click to collapse
Sent from my Galaxy Nexus using XDA App
It's not a typo,but it's not correct either.It doesn't mean it has two CPU cores,but rather that it has a CPU and a GPU core.I don't remember where,but I've heard this kind of conversation before about the Hero,if I remember correctly.
tolis626 said:
It's not a typo,but it's not correct either.It doesn't mean it has two CPU cores,but rather that it has a CPU and a GPU core.I don't remember where,but I've heard this kind of conversation before about the Hero,if I remember correctly.
Click to expand...
Click to collapse
that makes more sense
most SoC now in days have both CPU+GPU in 1 chip
Sure it's not referred to the ARM9 radio chip as a core, in addition to the ARM11 CPU?
tolis626 said:
It's not a typo,but it's not correct either.It doesn't mean it has two CPU cores,but rather that it has a CPU and a GPU core.I don't remember where,but I've heard this kind of conversation before about the Hero,if I remember correctly.
Click to expand...
Click to collapse
Thats makes so much more sense, when I was reading the specs I was like, this can't be right... hahahaha
How many people just got their G1 from the closet to see if this is true?
All I care about is will affect the use of to me

Sony F800 Maybe?

According to CNET http://reviews.cnet.com/mp3-players/sony-walkman-f800-32gb/4505-6490_7-35396728.html
this is a device that has tegra 2 chip and is running ICS, explain why we can't take the drivers from this device. I understand it is not a phone, but don't we just need drivers for the graphics tegra 2 processor and not the actual phone part of our phone.
P.S. how is it a walkman gets ICS before our phone.
Most likely won't work because we don't need the graphic drivers, but but specific p999 drivers that link tegra 2 soc to the parts of the phone. We have graphics already, but we need the drivers/source that allow the devs to 'connect' individual components together on the main board I believe
We need hardware acceleration drivers and hardware acc. means gpu rendering.
Blazing angel said:
Most likely won't work because we don't need the graphic drivers, but but specific p999 drivers that link tegra 2 soc to the parts of the phone. We have graphics already, but we need the drivers/source that allow the devs to 'connect' individual components together on the main board I believe
Click to expand...
Click to collapse
If that is true how come everyone is saying as long as any phone with tegra 2 gets ICS we can get the drivers? Wouldn't that be the same issue as getting the drivers from this device?
unknownz_1 said:
If that is true how come everyone is saying as long as any phone with tegra 2 gets ICS we can get the drivers? Wouldn't that be the same issue as getting the drivers from this device?
Click to expand...
Click to collapse
My understanding is that they originally thought that, but after the ZTE Grand X (Same SOC running ICS) was released they realized that this would not be so simple to do.
gitanshu said:
We need hardware acceleration drivers and hardware acc. means gpu rendering.
Click to expand...
Click to collapse
Also, I am making assumptions, but I think this device has gpu rendering, which case I think it also needs hardware acceleration.

[q] cpu chipset

does anyone know if setting the CPU SPEED to 1.5 GHz is dangerous while the SENSATION XL has the same chipset as the desire s has (Qualcomm Snapdragon MS8255) and the SENSATION XL's CPU speed is set to 1.5GHz .
sensation has msm8260 (dual core 1.2-1.5 GHz and adreno 220)
Sensation XL indeed has MSM8255.
Just like in PCs, chipsets in phones are binned not only by their type, but also by their target frequency. You don't go overclocking Core2Duo 1.8 GHz to 2.4 GHz because it's "the same CPU", right? Because it isn't the same CPU. The same applies here.
אז זה מסוכן או לא ?
English, please.
Answer - would you run the CPU on your computer at 1.5x the speed it was made to run, because there's CPU with the same name (i3/i5/i7/whatever) that runs at 1.5x the speed?
The same answer applies to your phone.
I expect people to be able to make minimal logic work with their own brains rather than just answering "yes/no". I think that this way people actually understand more than what they've asked for.
i guessed that was the answer but just wanted to be sure...
thanks anyway !
msm8255 should run stable on 1.5GHz (if stock freq is lower)
441Excelsior said:
msm8255 should run stable on 1.5GHz (if stock freq is lower)
Click to expand...
Click to collapse
No it won't. It depends on the specific part, and few parts run stock 1.5 GHz without stability issues surfacing / burning out very fast (if overvolted).
If you really want - you can try it on T-Mobile G2, that has MSM8255 of the earliest bin, with stock at 800MHz. Good luck, don't forget to write how did you like a phone as a toaster.
I suggest refraining from bad advice, especially when it's in the forum and it's not your phone you're talking about. You can burn your phones as much as you like, but don't go around suggesting it to others. Just let me understand something: you have stock non-rooted ICS and have no idea about such basics as which guide to use to downgrade, but you allow yourself posting about chipset frequencies?
so which speed can i overclock to that shouldn't turn my device into a toaster ?
deanshugan said:
so which speed can i overclock to that shouldn't turn my device into a toaster ?
Click to expand...
Click to collapse
1.2 runs most things with no lag.
Sometimes you're the windshield; sometimes you're the bug.
- Mark Knopfler.
The point is each chip is different even if the same model
What works for me on my device won't necessarily work for you
So test and see if your brave enough, but be aware of the consequences
Sent from my Nexus 4 using xda premium
I overclock my ds to1.5 every time I play games and it doesn't even get warm. So I think it's pretty harmless.
Sent from my Desire S using xda premium

Categories

Resources