Source of the 3d drivers of the i5700 spica, samsung moment, etc - Android Software Development

mediafire.com/?kjznywwidqw
This is the source code of the linux 3d driver the s3c6410 which power the samsung i5700, the samsung moment m900 (and also the omnia - but it's windows mobile based)
AFAIK the s3c6410's 3d accelerator is not being used and everything is software rendered - and this makes the phones run slowly a lot of 3d games.
it would be great if anybody knew something about opengl implementation and wanna improve these drivers.
forum.sdx-developers.com/android-2-1-development/get-samsung-to-open-source-the-opengl-drivers/15/
forum.samdroid.net/f9/3d-driver-spica-1224/index5.html

Related

Sony Ericsson SDK for Windows Mobile adds OpenGL ES support to Xperia™ Panels

http://developer.sonyericsson.com/s...ws/newsfeb09/p_xperia_sdk_opengles_update.jsp
The SDK v1.0.5 release adds Xperia Panels with OpenGL ES support, allowing developers to incorporate a broad set of redering, texture mapping, special effects and other powerful visualization functions and provides a graphics pipeline that allows free access to graphics hardware acceleration on the Xperia X1 phone through the Xperia Panels interface.
Click to expand...
Click to collapse
So can everybody now finally admit/accept that the drivers are already included in the HTC HD/Diamond/Pro/eXperia etc...
The only problem is that no software so far has ever been coded to work with the MSM7XXX on WinMo (besides TouchFlo 3D and SPB Mobile Shell 3). Every past stuff has been compiled to run on ARMv4/v5 CPUs (MSM7XXX is a v6) and SGX/PowerVR 3D HW (intel2700G)...
Now it's time for HTC to release the SDK they "promised" a lil while ago during the Diamond launch.
yes it was posted earlier..
there's a gl demo inside..
anyone want to play?
it's a real pity that Visual studio is so expensive, would be good to see if it's possible to compile the libgles files.
MAK11 said:
http://developer.sonyericsson.com/s...ws/newsfeb09/p_xperia_sdk_opengles_update.jsp
So can everybody now finally admit/accept that the drivers are already included in the HTC HD/Diamond/Pro/eXperia etc...
The only problem is that no software so far has ever been coded to work with the MSM7XXX on WinMo (besides TouchFlo 3D and SPB Mobile Shell 3). Every past stuff has been compiled to run on ARMv4/v5 CPUs (MSM7XXX is a v6) and SGX/PowerVR 3D HW (intel2700G)...
Now it's time for HTC to release the SDK they "promised" a lil while ago during the Diamond launch.
Click to expand...
Click to collapse
Huh, sounds you mix stuff up. Graphics acceleration has nothing to do with the processor and its instruction set. The Qualcomm chip is a chipset, which includes, among much other stuff, an ARM CPU but also a graphics chip (an ATI Imageon i think). The graphics hardware could already be accessed by some 3D games - just have a look here in the forum, it's nothing new. The panel SDK now only allows to use 3D acceleration also for the panels, even though I think you could have achieved this before already by acessing the graphics lib directly. So I'd say it's just more convenient for the programmer now and officially supported.

Chainfire's Snapdragon Drivers?

http://forum.xda-developers.com/showthread.php?t=592663
do you guys think something similar will be necessary/possible for the nexus?
May or may not be necessary. I had an HTC TyTN II when HTC was refusing to put out a real gpu driver for windows mobile. It was a pain. But this being Android, I do not think that will be necessary. We will need to do some benchmarks and compare it to Windows Mobile and see if they are ballpark close. If not then we got a problem
https://www.codeaurora.org/index.php?qhep
might have some interesting stuff. They have an X driver that I havn't been able to get to build yet
The Nexus One, as shipped, includes OpenGL ES drivers that take good advantage of the GPU. Features such as the active wallpapers, homescreen app picker, Navigation in Maps, and so on make heavy use of the GPU, and the GPU is also used by SurfaceFlinger (Android's compositing engine).
Enjoy!
swetland said:
The Nexus One, as shipped, includes OpenGL ES drivers that take good advantage of the GPU. Features such as the active wallpapers, homescreen app picker, Navigation in Maps, and so on make heavy use of the GPU, and the GPU is also used by SurfaceFlinger (Android's compositing engine).
Enjoy!
Click to expand...
Click to collapse
are you suggesting that there is no need to improve the drivers like there was in the wm phones?
I can't speak for WM phones, but the state of the QSD8250 GPU driver for Linux/Android is quite good. We're working with Qualcomm to continue to improve it in future updates (software's never done), but I'm not aware of any horrible performance limitations.

Finally figured it out

Are you trying to run good 3d games like NOVA, NFS Shift, Gameloft HD games on your galaxy 3 and when you ran them you only saw beatiful white textures on the screen and then started to abuse your phone's GPU. Actually you are there isnt any problem with galaxy 3's hardware it can run all the gameloft HD titles without any lag.
You can see on the youtube that a phone (crap) like LG GT540 Optimus can run gameloft HD games. It has only 600mhz processor and 156 mb RAM and not a very powerful GPU.
The actual problem with galaxy 3 is that its opengl drivers cant render 32-bit graphics and are replaced by white ones. It is probably possible it get its opengl drivers get updated after it gets official froyo update or it also possible if some developers finds way to put drivers in the phone.
I would be very grateful to the man who develops the drivers for this....eagerly waiting 2 play 3d games on my phone !!...
Since we have no one who could even build a AOSP build for our phone (Well, i'm personally trying, but it's quite hard to find doc), i don't think it will come..
But ask samsung on their open source website
apoorv28 said:
The actual problem with galaxy 3 is that its opengl drivers cant render 32-bit graphics and are replaced by white ones.
Click to expand...
Click to collapse
Are you sure? I think it's because of OpenGL ES2.0, but I don't know too much about rendering system in android...
Yes 100% sure.
I am 100% sure. If anyone wants a proof then could check out youtube with Samsung GT-I5510 running NFS SHIFT smoothly. It has the same hardware as g3 the only difference is a QWERTY keypad. Also must be already knowing that LG GT540 and ATE blade dont have a powerful GPU. On youtube you would find former running BIA2 HD, NOVA HD etc and latter running Asphalt 5 smoothly.
I myself dont way to fix this problem so try to contact samsung or find a way to fix this.
apoorv28 said:
Are you trying to run good 3d games like NOVA, NFS Shift, Gameloft HD games on your galaxy 3 and when you ran them you only saw beatiful white textures on the screen and then started to abuse your phone's GPU. Actually you are there isnt any problem with galaxy 3's hardware it can run all the gameloft HD titles without any lag.
You can see on the youtube that a phone (crap) like LG GT540 Optimus can run gameloft HD games. It has only 600mhz processor and 156 mb RAM and not a very powerful GPU.
The actual problem with galaxy 3 is that its opengl drivers cant render 32-bit graphics and are replaced by white ones. It is probably possible it get its opengl drivers get updated after it gets official froyo update or it also possible if some developers finds way to put drivers in the phone.
Click to expand...
Click to collapse
is there a way to check the opengl version?
(or Glide as they called it back in the voodoo days
Just a note for 3d games i would love to see half life 1 ported to android how awesome would that be!
I5500 and LG phone CPU HAS 3D ACCELARATOR!
If you carefully saw my post it is GT-I5510 not GT-I5500. I dont much about the LG phone but GT-I5510 has the same hardware as g3.
i5510 has the same processor as Spica.
I5800 DOESN'T have 3D HW accelarator.
Szaby59 said:
i5510 has the same processor as Spica.
I5800 DOESN'T have 3D HW accelarator.
Click to expand...
Click to collapse
.
.
I already know that g3 hasnt got a 3d hardware accelerator. Why arent you ready to accept the truth. G3 is not that crap as you think. Want this link out this video shows GT-I5510 running NFS SHIFT super smooth!!!!!!!
Link- http://www.youtube.com/watch?v=Wjd5X9pe5aA&feature=youtube_gdata_player
But without 3D accelarator is crap for games.
I5510 has, that's why can run NFS Shift.
Man it wud b damn awesum if iv can play dem on our G3....
-Devilgod (United Devils)
i5510 have a Samsung S3C6410(Spica's) CPU with 667MHz clock, and 512MB RAM
i5800 have a Samsung S5P6422 with 667MHz clock, 256MB RAM
The CPU itself is the same(ARM1176JZF-S). Only differences at tech - our's is 45nm, Spica is 65nm.
And at all - our processor is cutted version(DMA channels, GPU, etc) of Spica's.
6410 have a dedicated graphics unit, with OpenGL ES 2.0 support. That's why games are running at 5501
Technically, the Spica does not have a GPU either.. Just have a look at it's perf on benchmark on 2D/3D.. Pretty much the same as the i5800.
JoHnNy08PL said:
i5510 have a Samsung S3C6410(Spica's) CPU with 667MHz clock, and 512MB RAM
i5800 have a Samsung S5P6422 with 667MHz clock, 256MB RAM
The CPU itself is the same(ARM1176JZF-S). Only differences at tech - our's is 45nm, Spica is 65nm.
And at all - our processor is cutted version(DMA channels, GPU, etc) of Spica's.
6410 have a dedicated graphics unit, with OpenGL ES 2.0 support. That's why games are running at 5501
Click to expand...
Click to collapse
The specs that the mentioned about I5510 is totally wrong. You must have saw them link- onpdadb.net/index.php?m=specs&id=2582&c=samsung_gt-i5510
It neither has i5700 cpu (if you know i5700 wasnt able to run proper 3d games even worse than i5800 although it had better gpu) nor any 512 mb RAM. The origional specs are found on link- gsmarena.com/samsung_galaxy_551-3515.php
I dont blame you though cause many people know the wrong. This message is also for Szaby59.
"The specs that the mentioned about I5510 is totally wrong."
No, you can see here the complete spec, not just MHz: http://pdadb.net/index.php?m=specs&id=2582&view=1&c=samsung_gt-i5510
CPU: Samsung S3C6410 downclocked to 667, then "Browse devices based on S3C6410" or http://pdadb.net/index.php?m=pdamaster&posted=1&cpu=a6410
And see devices...
"It neither has i5700 cpu (if you know i5700 wasnt able to run proper 3d games even worse than i5800 "
No it's the i5700 CPU, and can run 3D games with PROPER DRIVERS, which in Spica's case missing that's why i5700 can't run 3D games.
I5800 will never run any 3D game, because doesn't have the hardware to render it (ok you can play laggy white textures if it's enough for you).
I thank Szaby59 for taking interest in the thread. Now lets just gets rid off that i5510 (I have already tried my hands on it it has a slower UI than g3 and it has only 256 mb RAM not 512 mb as listed in your link but I am not sure about its CPU) topic it has gpu or not it dosent matters to us. We should think about galaxy 3. I actually a very big gamer yet I am in 9th grade only and have more than five years of extreme gaming experience. I am one of those guys who cant live without gaming even for 3 hrs. When I saw gameloft launching HD games for android I thought they would be supported on all android phones and resulted buying this crap. I already knew g3 had a bad gpu but my parents wont buy me a better phone.
Lets get down to the topic - Although g3 had problems with gpu I tried running some real 3d games on it and some of them even worked like raging thunder 2. Many people have problem running it on g3 and phones better than it. People usually see white textures on it but it ran it with full speed without any texture problem ( I going to upload its gameplay on youtube and paste its link here by tomorrow). Fifa 10 also worked on phone with only the texture of the field missing and rest of the details were ossom and the gameplay didnt lag. So after a plenty of research concluded that maybe the opengl drivers have problem rendering 32 bit textures just like spica. If there would have been a gpu problem rt2 wouldnt have ran so beautifully. So according to many people if its the gpu is weak then why does rt2 works on the phone? Please answer it.
What does it mean 'working' for you?
For me: good framerate, minimally 25 FPS, and correct textures.
In RG2 the whole car is a big white texture and lags.
If you wan't play some good game download angry birds or Sega Genesis Emulator and play old classics.
HD games maybe work, if the game doesn't require 3D accelarator.
Gsam101 said:
Since we have no one who could even build a AOSP build for our phone (Well, i'm personally trying, but it's quite hard to find doc), i don't think it will come..
But ask samsung on their open source website
Click to expand...
Click to collapse
I Found this link of 3d drivers for the Spica, can it be modded on our G3.
http://forum.samdroid.net/f55/3d-driver-spica-1224/
http://forum.samdroid.net/f55/graphic-drivers-mix-3574/
For what?
Spica's CPU contains an OpenGL 2.0 ES 3D accelarator.
I5800 CPU only OpenVG and 2D.

galaxy 3 true development

Akll the people think that getting a custom rom or kernel is development for their device but it would m make some sense if someone develops or modifies its 3d drivers. that is where real devekopment is needed.please someobe help i am regretting my decision to take this phone over lg optimus one.shet man
.sorry for my english there was some problem with opera due to which i was not able to see what i am writing
yes you are right..... developing 3d drivers is the real challenge for the developers.......
santhosh5639 said:
yes you are right..... developing 3d drivers is the real challenge for the developers.......
Click to expand...
Click to collapse
But the real problem its not development, its hardware related, whe dont have a dedicated gpu so theres no use to make 3d drivers, frist of all it would be very difficult to program processor functions cuz when you dont have gpu you have to use the processor's computing power to render the 3d graphics making the 3d games slower.
I know that you would say "but Galaxy Spica (I5700) had its 3d drivers updated" That's right but dont forget that its processor is way different from ours and has a gpu, and obviously the SO had 3d drivers, the developers just updated and changed the stock 3d drivers in order to improve speed and compability, its harder when you have to rewrite entirely.
Maybe some day we can get our Apollo drivers updated but dont expect too much

[Q] Adreno 130 GPU driver for WM 6

Helo,
recently I've started to think how can I improve my Toshiba G910. I've read that it is almost impossible to cook new ROM so I thought that maybe new graphic driver would help. I found out that this phone is on Qualcomm msm7200 and Adreno 130.
In specification that GPU supports hardware acceleration for 2D and 3D, is it possible to rewrite opensource drivers for snapdragon so it would work on WM 6 based devices?
Thanks for replays
ZawadaZSE
I think it maybe more complicated than that. The Snapdragon CPU's utilize newer hardware, which the GPU is Adreno 200/205 models. They have OpenGL 2.0 mobile drivers and such. The drivers, i believe, are written for them.
That being said, I do not think that writing open source drivers written for snapdragon will not work on the processor you currently have. I am using a Touch Pro and it has the same CPU as your device (mine has a higher clockspeed). They are completely different drivers, snapdragon's core is different, and do not forget these are "system on a chip (SoC)" cpu's.
There maybe drivers floating around to utilize the full power of the snapdragon on a WM6.x device because the Toshiba TG01, HTC HD2, and LG eXpo all have the same 1Ghz Snapdragon Processor. Again, these drivers would be not compatible with your device seeing you have a different chip.
I would say to try and install the touch diamond 3D drivers. The hardware/software set in our processors used to be ATI Imageon. I have the drivers installed on my device and the 3D games do run at full FPS. Before installing the driver, the 3D games (Xtrakt and Experiment 13) ran at 2 FPS. with the drivers, i get about 23 FPS. maybe its worth looking at these drivers that already exist. Can not tell you how to cook a ROM because i am not a chef but for drivers to try out i would say the touch diamond 3D drivers maybe a good starting place.

Categories

Resources