PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Vogue Development (http://forum.ppcgeeks.com/forumdisplay.php?f=59)
-   -   OpenGL Driver (http://forum.ppcgeeks.com/showthread.php?t=61704)

Whosdaman 03-19-2009 03:53 PM

OpenGL Driver
 
1 Attachment(s)
This is an unfinished project. These have been worked on and found to be the best for the Vogue and closest to OpenGL. I'm wondering if we could put our heads together we could get this thing fixed and be able to use all these OpenGL programs.

Here are some external links to the DLL:

http://www.megaupload.com/?d=DSXUMM2S
ftp://up.ppcgeeks.com/Vogue/Users/Wh...c_software.zip
http://download.ppchaven.com/CDMA%20...c_software.zip
http://rapidshare.com/files/24396365...c_software.zip

All you have to do is put the file into "Windows" folder on your device.

Here is the GLBenchscore:

Code:

OpenGL ES Environment Variables
GL_VENDOR Hybrid Graphics, Ltd.
GL_VERSION OpenGL ES-CM 1.1
GL_RENDERER Gerbera 2.0.6 (non-commercial)
GL_EXTENSIONS GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_query_matrix GL_OES_compressed_paletted_texture GL_OES_matrix_palette GL_OES_point_sprite GL_OES_point_size_array GL_OES_draw_texture GL_OES_matrix_get GL_OES_swap_control GL_OES_render_texture
GL_RED_BITS 8
GL_GREEN_BITS 8
GL_BLUE_BITS 8
GL_ALPHA_BITS 0
GL_DEPTH_BITS 16
GL_STENCIL_BITS 0
GL_SUBPIXEL_BITS 4
GL_MAX_LIGHTS 8
GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 6408
GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 5121
GL_MAX_CLIP_PLANES 6
GL_MAX_MODELVIEW_STACK_DEPTH 16
GL_MAX_TEXTURE_STACK_DEPTH 2
GL_MAX_PROJECTION_STACK_DEPTH 2
GL_MAX_TEXTURE_SIZE 1024
GL_MAX_TEXTURE_UNITS 2
GL_MAX_PALETTE_MATRICES_OES 9
GL_MAX_VERTEX_UNITS_OES 4
GL_MAX_VIEWPORT_WIDTH 2048
GL_MAX_VIEWPORT_HEIGHT 2048
GL_NUM_COMPRESSED_TEXTURE_FORMATS 10
GL_ALIASED_LINE_WIDTH_MIN 1
GL_ALIASED_LINE_WIDTH_MAX 64
GL_ALIASED_POINT_SIZE_MIN 1
GL_ALIASED_POINT_SIZE_MAX 64
GL_SMOOTH_LINE_WIDTH_MIN 1
GL_SMOOTH_LINE_WIDTH_MAX 1
GL_SMOOTH_POINT_SIZE_MIN 1
GL_SMOOTH_POINT_SIZE_MAX 1

EGL Native Platform Graphics Interface
EGL Vendor Hybrid Graphics, Ltd.
EGL Version 1.1
EGL Extensions
EGL Selected Configuration EGL_CONFIG_ID: 53
EGL_BUFFER_SIZE: 32
EGL_ALPHA_SIZE: 0
EGL_BLUE_SIZE: 8
EGL_GREEN_SIZE: 8
EGL_RED_SIZE: 8
EGL_DEPTH_SIZE: 16
EGL_STENCIL_SIZE: 0
EGL_CONFIG_CAVEAT: 0
EGL_LEVEL: 0
EGL_MAX_PBUFFER_HEIGHT: 2048
EGL_MAX_PBUFFER_PIXELS: 4194304
EGL_MAX_PBUFFER_WIDTH: 2048
EGL_NATIVE_RENDERABLE: 0
EGL_NATIVE_VISUAL_ID: 0
EGL_NATIVE_VISUAL_TYPE: 0
EGL_SAMPLES: 1
EGL_SAMPLE_BUFFERS: 0
EGL_SURFACE_TYPE: 7
EGL_TRANSPARENT_TYPE: 12344
EGL_TRANSPARENT_BLUE_VALUE: -1
EGL_TRANSPARENT_GREEN_VALUE: -1
EGL_TRANSPARENT_RED_VALUE: -1

Device Information
Device Name VOGU100
Device ID 413838374631
Platform Name PocketPC
Platform ID 3
OS Windows Mobile
OS Build 20748
OS Version Major 5
OS Version Minor 2
CPU Vendor SAMSUNG
CPU Name
CPU Core MSM7500-400MHz
CPU Instruction Set 0
CPU Type 2577
Reported CPU Architecture 5
Number of CPUs 1
Total Memory 101556224
Memory Page Size 4096
Screen size 240 x 320
System Color Bits 16
System Colors 65536

Original Post: http://forum.xda-developers.com/show...t=opengl+vogue

Soul_Est 03-20-2009 11:17 PM

Re: OpenGL Driver
 
I like projects like these. I'll post a few links to similar threads tomorrow.

Whosdaman 04-25-2009 03:03 PM

Re: OpenGL Driver
 
I recommend everyone use this file in their ROMs to help with performance...

vin255764 04-25-2009 04:23 PM

Re: OpenGL Driver
 
So this driver helps to all applications with the screen view quality?
I run GLBenchmark.exe test,grafic performance amazing!

mr4r4n 04-25-2009 07:29 PM

Re: OpenGL Driver
 
all you have to do is add it? what has been your feel on how it changes performance?

Whosdaman 04-25-2009 07:45 PM

Re: OpenGL Driver
 
It helps with visual performances

mr4r4n 04-25-2009 11:09 PM

Re: OpenGL Driver
 
i installed and ran the benchmark, its definitely interesting stuff, very good find, the web site doesn't have our specific device tho, just the gsm/msm7200 one, any games or programs that anyone knows of to install and try out this?

Whosdaman 04-26-2009 01:00 AM

Re: OpenGL Driver
 
It's not the full OpenGL, thats the thing....just a substitute

h311boy 04-26-2009 09:04 PM

Re: OpenGL Driver
 
am i doing something wrong? i put the ddl into my windows folder, run the test, and the first two animation (the shooter and the dinosaur) run at 2-3fps. im running NFSFAN's 6.5 rom. any guesses on what might be wrong?

vin255764 04-28-2009 02:25 PM

Re: OpenGL Driver
 
As far as I understood,the driver itself is a libGLES_CM.dll
And glbenchmark.exe is just for the demo,so people can see what it does,right?

I was thinking maybe we can assign this dll .-like d3dm samsung driver.I mean to replace a stock driver with this one.
If yes,then which one ?
I can run some tests,just give me an idea



Also have a question.

I have .dll from pocket divx player.Now the divx player plays avi xvid,but the WMP -does not.
Is there any way to use that dll with WMP,so I dont have to install 1 more player?

divxmaster 04-28-2009 06:10 PM

Re: OpenGL Driver
 
Just to confirm, I presume this is a software OpenGL emulation? i.e, no hardware acceleration?
Thats certainly the way it appears. btw, this driver appears already installed in WDM's latest rom? (which is awesome). Unless something else I installed loaded it.

Cheers,
Divxmaster

commandant83 04-29-2009 12:26 PM

Re: OpenGL Driver
 
there seems to be a difference in opinion on this subject both on xda and here in reference to whether we can have hardware acceleration with the vogue. it is my understanding that dzo has made this possible with android, and yes i have tried his build, and its fast. i dont think he's got it taking full advantage of hardware acceleration, however, just some is a start, and is alot farther than what we have now. in light of this, we should be able to extend this to winmo as well.

Whosdaman 04-29-2009 02:50 PM

Re: OpenGL Driver
 
Mine and NFSFAN's ROM already have this dll in our roms...

And no you don't have to change the name of the file or anything, it's good to go as is

divxmaster 04-29-2009 07:10 PM

Re: OpenGL Driver
 
Hi, that is very interesting re the h/w accel on android, but also puzzling as from my brief investigations (I havent read all 88 pages!!), it appears that android is launched via haret.exe, which runs on top of ppc wm6.1. So it would be odd that the base os cant do accel (and CANT being the operative word), but an overlaying program can? Edit: lol, small world - one of the guys working on android is at massey university in NZ, about an hour drive from me. - Also , tried android, yeah opengl es seems accelerated, trying to load neocore.apk now to do a real test... WHOA, thats awesome. If you havent seen it , check it out! 24.2 fps, and its quite a complicated scene. Some guy has posted it on youtube on the vogue: http://www.youtube.com/watch?v=BADoe5WgsgA. wow, never thought I would see accelerated 3d on my okta touch. woohoo. Of course, telecom nz are discontinuing cdma in a couple of years. :(

slightly off topic, I have been playing with java jbed games on my vogue, and have got all the hw keys working remapped via akemap.. Before I post a guide on this, just wanted to check if anyone knows if one has been done already? I have searched forum and found nothing (apart from a complicated java based key remap).

Cheers,
Divxmaster.

deegimus 04-29-2009 07:35 PM

Re: OpenGL Driver
 
Quote:

Originally Posted by mr4r4n (Post 876574)
all you have to do is add it? what has been your feel on how it changes performance?


Where exactly do you add it?

divxmaster 04-29-2009 08:39 PM

Re: OpenGL Driver
 
Quote:

Originally Posted by deegimus (Post 885282)
Where exactly do you add it?

Put libGLES_CM.dll from the package into \windows on your device.

deegimus 04-29-2009 09:22 PM

Re: OpenGL Driver
 
Quote:

Originally Posted by divxmaster (Post 885412)
Put libGLES_CM.dll from the package into \windows on your device.


Thanks. That's what I did. Was hoping it would help the choppiness of my HTC YouTube program. Didn't seem to help. ( I'm using 21501)
Where do you notice the difference?

divxmaster 04-30-2009 05:30 AM

Re: OpenGL Driver
 
Err,I have no idea what it actually does, well apart from being an opengl es software driver, but as to what uses that in the interface, if anything, ask WDM, he may know.

Cheers,
Divxmaster.

Whosdaman 05-01-2009 11:41 AM

Re: OpenGL Driver
 
The only place you will see differences is in anything that uses the videos on your phone, youtube is chopping because the streaming needs a master internet to keep up.....not the video

If you load the whole video then play it, it works perfect (at least for me it does)

vin255764 05-01-2009 07:16 PM

Re: OpenGL Driver
 
1 Attachment(s)
here is a software on .cab-for demo and tests and a driver itself.put dll into windows,then install cab,so you can see what it does

full test may take few min,so do not panic

detroit_doug 05-02-2009 02:23 PM

Re: OpenGL Driver
 
Hey guys, I just found this over on the Android thread regarding the OpenGL files and Android with a link to THIS video of NeoCore on the Vogue

Perhaps stripping down and porting over the Gl Lib and DLL's from that may increase the video performance on a WinMO based application and UI

Just some food for thought

Detroit Doug

divxmaster 05-02-2009 06:24 PM

Re: OpenGL Driver
 
Not sure if that is even doable in WM with h/w accel, as it tends to use direct 3d. btw, this video is already mentioned in the previous page of this thread. Ive been trying out all types of opengl apps on android. Tried doom.apk, which is opengl accelerated, but it wouldnt run, it was trying to get out to a data connection (even though all the files were on sd card).

It would be great if opengl was doable on WM though, as someone is trying to create an opengl wrapper for fpsece 0.10, when it comes out soon. So that would give fully accelerated psx games on the vogue!

btw, Android.. yeech... dont know what ppl see in it, must be MS haters. I bet they havent tried WM under WDM's roms. Its just as fast as android, and has 20x the functionality.

Cheers,
Divxmaster

divxmaster 05-02-2009 07:12 PM

Re: OpenGL Driver
 
Also, as a side note, re Direct 3d:

Do the American vogues ship with touchflo 3D enabled? From what I have read, they dont. Well, the vogue (okta touch) over here in NZ does ship with tf3d. So, I will try to track down ddi.dll from that stock nz image (I no longer have the stock image!).

Im hoping that in some way it might be different. I'm pretty certain it is not, but who knows.

so, if someone could tell me the shipped state of us tf3d, that would be great.

Cheers,
Divxmaster

detroit_doug 05-02-2009 07:28 PM

Re: OpenGL Driver
 
Quote:

Originally Posted by divxmaster (Post 891494)
Also, as a side note, re Direct 3d:

Do the American vogues ship with touchflo 3D enabled? From what I have read, they dont. Well, the vogue (okta touch) over here in NZ does ship with tf3d. So, I will try to track down ddi.dll from that stock nz image (I no longer have the stock image!).

Im hoping that in some way it might be different. I'm pretty certain it is not, but who knows.

so, if someone could tell me the shipped state of us tf3d, that would be great.

Cheers,
Divxmaster

LOL no, over here in the states the HTC Vogue (Touch) ships with WinMO 6.0/6.1 with the standard today screen and such - only after either installing or using a custom ROM does TF2D/M2D or the 6.5 UI come into play

Detroit Doug

ali3nfr3ak 05-02-2009 08:02 PM

Re: OpenGL Driver
 
Quote:

Originally Posted by divxmaster (Post 891494)
Also, as a side note, re Direct 3d:

Do the American vogues ship with touchflo 3D enabled? From what I have read, they dont. Well, the vogue (okta touch) over here in NZ does ship with tf3d. So, I will try to track down ddi.dll from that stock nz image (I no longer have the stock image!).

Im hoping that in some way it might be different. I'm pretty certain it is not, but who knows.

so, if someone could tell me the shipped state of us tf3d, that would be great.

Cheers,
Divxmaster

dude i think you have your wires crossed there the okta touch does not come with tf3d installed, it has touchflo scrolling and the cube , but m2d has to be installed via cab or cooked into rom, and tf3d is diffenently not there

detroit_doug 05-02-2009 08:50 PM

Re: OpenGL Driver
 
Quote:

Originally Posted by ali3nfr3ak (Post 891558)
dude i think you have your wires crossed there the okta touch does not come with tf3d installed, it has touchflo scrolling and the cube , but m2d has to be installed via cab or cooked into rom, and tf3d is diffenently not there

glad someone else said something and it wasnt just me mis-reading that LOL

Detroit Doug

divxmaster 05-02-2009 10:41 PM

Re: OpenGL Driver
 
Hmmm, ok.. I'll rephrase that.. does the US rom come with a touch cube that you can bring up by sliding your finger up the screen and then spin it left and right with gestures?

btw, @doug, I'm glad someone else noticed the GPU was enabled... I dont quite understand that no one seems to be excited about this. Its hardly mentioned in the forums. It is a really big thing, for one, it proves that the Imageon 2300 is actually inside the vogue, and accessible.
Didnt Htc at one stage say it wasnt in there? lol. Also, I just enabled cpu usage monitor when running neocore, and it isnt using 100% cpu, which is nice, so there is some room left over for other processing. I wonder if the phone could be disabled temporarily in games and its ARM9 used for processing?

Cheers,
Divxmaster

detroit_doug 05-02-2009 11:47 PM

Re: OpenGL Driver
 
Quote:

Originally Posted by divxmaster (Post 891789)
Hmmm, ok.. I'll rephrase that.. does the US rom come with a touch cube that you can bring up by sliding your finger up the screen and then spin it left and right with gestures?

btw, @doug, I'm glad someone else noticed the GPU was enabled... I dont quite understand that no one seems to be excited about this. Its hardly mentioned in the forums. It is a really big thing, for one, it proves that the Imageon 2300 is actually inside the vogue, and accessible.
Didnt Htc at one stage say it wasnt in there? lol. Also, I just enabled cpu usage monitor when running neocore, and it isnt using 100% cpu, which is nice, so there is some room left over for other processing. I wonder if the phone could be disabled temporarily in games and its ARM9 used for processing?

Cheers,
Divxmaster

Actually I understood the reference just wasnt sure if you were meaning TF3D directly as in Diamond/Touch Pro?Touch HD or referencing the TF2D port of it as the naming is commonly misused from device to device

And I really didnt even think of the Cube, but yes, the cube in a WinMO 6/6.1 OS is the default on US Vogues

Actually I am very excited about the hardware being enabled and actually being seen used as it should be, the one MAJOR drawback to the vogue is the fact the hardware is there but not enabled (utilized) in common OS/Applications and I do actually think the Android used drivers can indeed be ported over as I believe they came either from HTC/Google originally during development of the Android OS and just found and now being tweaked and shown off and I think as so much is ported from Windows to Linux in day to day PC world, the time to do so with Android (Linux) to WinMO cannot be any more difficult as it really would be just a case of reverse engineering (not directly as tearing something apart and recreating it but in a driver/DLL sense of moving in reverse from Linux to Windows/WinMO)

Of course this is all just speculation and deep hope from me although my immediate concern if and when this does come to fruition is not the ability as much as how much draw on the battery will the 3D increase and how quickly will this kill existing OEM (1100maH) batteries let alone the larger aftermarket batteries

Detroit Doug

divxmaster 05-03-2009 12:37 AM

Re: OpenGL Driver
 
yes, it would be great if opengl es could be ported back, thats what this thread is about of course, but I would like D3D also.
If I can get fpsece working, then this phone will be perfect! Garmin GPS, h.264 movies with coreplayer, 16gb sandisk microsd and fpsece psx games!
Hopefully the battery will be fine, I can play a 2 hr movie no problem.

Cheers,
Divxmaster

Whosdaman 05-03-2009 06:25 PM

Re: OpenGL Driver
 
Ok ok, let's clear up some confusion

HTC Vogue has OpenGL already in it, but it's a premature version for the Cube only....

The OpenGL we want is for TF3D....M3D, that will increase the speed and functionality of our devices

divxmaster 05-03-2009 11:54 PM

Re: OpenGL Driver
 
Ah, ok that is what I was getting at above re TF3d (I thought the cube was tf3d, coz its touchflow and '3d').. the cube appears to be hardware accelerated, so, am I correct that you are saying it is?

Certainly the glbenchmark *doesnt* appear to be running in h/w, it seems to be a software emulation? (compared to android).

Cheers,
Divxmaster

Whosdaman 05-04-2009 10:12 AM

Re: OpenGL Driver
 
The cube is hardware acceerated, but not enough to run TF3D, which is really Manilla 3D...

We have TouchFlo 3, that's used for the touchscreen only

vin255764 05-04-2009 10:42 AM

Re: OpenGL Driver
 
Yeah.......Guys,check that video: email and weather widgets...
http://www.bytetips.com/manila-3d-for-qvga-device/

divxmaster 05-04-2009 05:42 PM

Re: OpenGL Driver
 
Lol, guy flicking ash all over his tytn, no hadnt seen it....

So, what I am trying to get to the bottom of, is libGLES_CM.dll an openGL emulation in software only? No h/w accel?


Also, what does the cube use? is it d3d via ddi.dll?


Cheers,
Divxmaster

Whosdaman 05-04-2009 09:57 PM

Re: OpenGL Driver
 
Idk, cant tell you for sure, idk the tech specs...

But I can tell you that libgles doesnt have hardware acceleration.....not yet ;)

divxmaster 05-05-2009 01:14 AM

Re: OpenGL Driver
 
lol, I like the 'not yet' bit.. hopefully it can be ported back from android, as others have mentioned. Well, at least we know that it can run it in h/w re android.

thanks WDM, you da man! :)

Cheers,
Divxmaster

Whosdaman 05-05-2009 08:01 AM

Re: OpenGL Driver
 
Ugh, I'm only here to help and serve ;)

(Not really so don't get use to it, I'm not your MAID! :D)

I wish I could be interviewed though :'(, You have MightyMike and Juicy getting interviewed and their ROMs are nothing compared what I could make for the Diamond or tPro

...Hint hint, I am getting the tPro2 for the people that want to follow me, and it will be a rough start, but I will have my ROMs the best before you know it :D

detroit_doug 05-05-2009 08:50 AM

Re: OpenGL Driver
 
Quote:

Originally Posted by Whosdaman (Post 896458)
...Hint hint, I am getting the tPro2 for the people that want to follow me, and it will be a rough start, but I will have my ROMs the best before you know it :D

I know when it finally arrives for Sprint Im upgrading to the TP2 as well, unfortunately from all Ive read/followed on it - its a Q2 release in Europe and T-Mo US and Q3 everywhere else (AKA Sprint) which lines up with my contract upgrade timeline perfectly LOL (Obama Money here I go)

And Ive always liked your ROMs it will be nice to see where you take it when you have one

Detroit Doug

Whosdaman 05-05-2009 05:14 PM

Re: OpenGL Driver
 
Yup, I have nothig at all for WVGA, so thats why it will be rough....but as soon as I build my stock of OEMs we'll be bck in business....

But yup, my contract ends in Nov.....so it should work perfect for me as well :D

Bkzn3ne 05-09-2009 01:03 PM

Re: OpenGL Driver
 
I have been hearing for a while. Maybe when the HTC Diamond for Verizon comes out. We well be a step closer to TF3D.. Is this true?


All times are GMT -4. The time now is 12:08 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0