Just don't brick it
OpenGL ES 3 Guide
|
08-15-2013, 05:31 AM
(08-15-2013, 05:25 AM)Sonicadvance1 Wrote: I'm working on putting an unofficial Android 4.3 rom on my Galaxy S4 to be able to reproduce the issues.From the OGL ES3 spec and its header file (http://www.khronos.org/registry/gles/api/3.0/gl3.h) and, the glMapBuffer is not supported. Instead, the glMapBufferRange is supported. It seems that the OGL ES3 driver used by Nexus 7 (Adreno 320, OpenGL ES 3.0 V@14.0) follows the latest OGL ES spec so there is no glMapBuffer. Does Galaxy S4 I9505 use a different (old?) Adreno 320 driver which can still support glMapBuffer? I tried to hack locally to implement glMapBuffer using glMapBufferRange: GLvoid* myGlMapBuffer (GLenum target, GLenum access) { GLint64 size64; GLsizeiptr size; myGlGetBufferParameteri64v (target, GL_BUFFER_SIZE, &size64); size = size64; return glMapBufferRange (target, 0, size, access); } And now Dolphin can run on my Nexus 7, but I just get black screen. I can see many logcat lines: I/Dolphinemu( 3104): Dolphin [] | JITARM DC | OGL | HLE | FPS: 0 - VPS: 11 - 23 And soon, the Nexus reboots automatically... 08-20-2013, 08:20 AM
Nemesis2k: The access hint in glMapBuffer and the usage flag in glMapBufferRange differs, so you aren't allowed to pass it directly. But on current master, glMapBuffer is completely removed :-)
08-20-2013, 12:17 PM
Adreno drivers are still buggy garbage. I still haven't figured out the black screen garbage that it does. The Nexus 10 works flawlessly.
08-21-2013, 01:18 AM
But it seems that I9505 which uses the same Adreno driver has better result than Nexus 7.
My Nexus 7 always quickly reboots using OGL ES backend for super mario sunshine. What's the best device to run the Android Dolphin now? The nexus 10? And what's the best device to run it in the near future? SnapDragon 800? Or Tegra 5? 08-21-2013, 11:05 PM
(08-20-2013, 12:17 PM)Sonicadvance1 Wrote: Adreno drivers are still buggy garbage. I still haven't figured out the black screen garbage that it does. The Nexus 10 works flawlessly.I have noticed Adreno 320 and Adreno 305 are both using v14 drivers in latest versions, however Adreno 330 devices like the LG G2 and Xperia Z Ultra are using v45 (4.2.2) You there is a chance to use those drivers? i have looked in the lib and seems to me Qualcomm changed the fil structure for its A330 drivers would you like to have a look? you can find a dump form LG G2 here (lib.zip) http://storagecow.eu/index.php?dir=Xda%2...em+Dump%2F 09-02-2013, 06:37 AM
(This post was last modified: 09-02-2013, 11:45 AM by cloud1250000.)
Got a black screen on sonic advance 2 and luigi mansion
htc one, need to run the command in the fist post.. otherwise, my device is rebooting. here's a logcat: https://gist.github.com/cloud1250000/63b...9cbf8c3eee edit Just updated with the leaked 4.3 for my device and now the emulator just crash. Code: I/Dolphinemu(12194): 32:30:495 /home/sonicadvance1/dolphin-emu/Source/Core/Core/Src/CoreParameter.cpp:319 W[BOOT]: Bootrom file /sdcard/dolphin-emu/GC/USA/IPL.bin not found - using HLE. So.. the previous blackscreen and this current crash must be related to "Couldn't load function glMapBuffer"? Edit 2... nvm about that, it seems you've already fixed those crash ahah but couldn't fix the black screen... Edit 3: is there anything we can do to help you? gltrace file or something? 09-13-2013, 01:31 AM
The HTC One (Sense 5) upcoming 3.17 OTA include the Adreno 320 v45 drivers
http://forum.xda-developers.com/showpost...stcount=54 09-13-2013, 08:19 AM
(This post was last modified: 09-13-2013, 10:59 AM by cloud1250000.)
Perfect, I'll test this now!
Edit: Same result, except we don't need to disable the kernel function in order to use the gles backend now 09-16-2013, 10:39 AM
(09-13-2013, 01:31 AM)Hamdir Wrote: The HTC One (Sense 5) upcoming 3.17 OTA include the Adreno 320 v45 driversI should hope the 2013 Nexus 7 gets these soon... |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)