Author Topic: Gles2glide64 plugin orientation issue  (Read 32622 times)

Offline neopoya

  • bit
  • Posts: 1
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #30 on: January 12, 2014, 01:16:50 PM »
I have a Nexus 5 and i am really looking forward for a fix on this. Sadly i have no idea about developing/android/open GL or emulation  :(

I really hope you guys manage to fix this somehow and i wish you the best luck on it. I really love your work and i wish there was a way i could help you with this matter, the only thing i can do is say THANK YOU for everything and throwing my support with this comment  ;)

Offline Mikhail

  • long
  • ***
  • Posts: 127
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #31 on: January 12, 2014, 02:20:59 PM »
I think it might already be fixed, Qualcomm have updated to the v66 driver now, a few Samsung devices have it already and the Asus PadFone X just showed up with it on GFXbench reading the forum their was supposed be an update on the 18 dec that has been delayed for us Nexus users, it'll more than likely showup in the next ota update.

Offline Dragoth

  • byte
  • *
  • Posts: 10
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #32 on: January 13, 2014, 01:27:23 AM »
I think it might already be fixed, Qualcomm have updated to the v66 driver now, a few Samsung devices have it already and the Asus PadFone X just showed up with it on GFXbench reading the forum their was supposed be an update on the 18 dec that has been delayed for us Nexus users, it'll more than likely showup in the next ota update.

That's some awesome news! I'll spam F5 on XDA hoping on a new ROM Version. Thanks :)
In the meantime i'll keep looking through the code...  :-\

Offline Dragoth

  • byte
  • *
  • Posts: 10
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #33 on: January 15, 2014, 01:50:36 AM »
I pretty much give up at this point. I've tried everything to my knowledge. I barely know about framebuffers, glscissor and the sorts with opengl... but not enough to fix this problem. I have absolutely no clue, how to rotate the framebuffer. I'm not even sure where excatly the problem arises. It could be when copying to the hardware buffer or when reading from it. I couldn't find out. Logically, changing the viewport or glscissor dimensions does nothing to the video output when the problem exists in the framebuffer...

I somehow managed to manipulate the framebuffer by switching width/height variables in the glitch64 source, but thats it.



I need to first read up on OpenGL and understand more about framebuffers and how to rotate them (if even possible).

I just hope that the coming update from Qualcomm will fix this issue (and that it doesn't take too long to arrive as an OTA update).  :(

edit: I also have not found another app with this problem but the dolphin emulator. And they seem to have fixed it with some help from the Freedreno developer http://bloggingthemonkey.blogspot.co.uk/2012/04/fighting-back-against-binary-blobs.html. I'm not sure if it worked. I didn't contact any of the developers.
« Last Edit: February 26, 2014, 01:15:01 AM by Dragoth »

Offline Mikhail

  • long
  • ***
  • Posts: 127
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #34 on: January 15, 2014, 03:09:46 AM »
Check the code commit here from 6 weeks ago, then the 336947580d6644de82cd692675175feb8a77ca7b - diff https://android.googlesource.com/platform/hardware/qcom/display/

http://www.youtube.com/watch?v=v9BJZLquL-4
irc when you booted Android 4.3 in landscape it produced a bug on bootup where it'd flicker black before correcting it's orientaion for the lock screen, the bug didn't happen in portrait.
This probably explains why they simplified the boot animation also for 4.4 to mask the X placement being in the wrong spot.

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #35 on: January 15, 2014, 07:19:12 AM »
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #36 on: February 03, 2014, 07:52:27 PM »
For anyone who has the 90-degree screen rotation in glide, would you mind testing the version below?  It's a bit of a long shot, but one of the upstream devs made some changes to some of the blitting code, and blitting is the only thing I've heard as possibly associated with the issue.

https://dl.dropboxusercontent.com/u/3899306/Mupen/mupen64plus-ae-299a9c4.apk
« Last Edit: February 04, 2014, 08:25:14 AM by littleguy »
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline Dragoth

  • byte
  • *
  • Posts: 10
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #37 on: February 04, 2014, 05:06:35 AM »
For anyone who has the 90-degree screen rotation in glide, would you mind testing the version below?  It's a bit of a long shot, but one of the upstream devs made some changes to some of the blitting code, and blitting is the only thing I've heard as possibly associated with the issue.

https://dl.dropboxusercontent.com/u/3899306/Mupen/mupen64plus-ae.apk

Sadly no... same issue  :'(

Offline Dragoth

  • byte
  • *
  • Posts: 10
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #38 on: February 11, 2014, 07:52:30 AM »
Anyone here with a Nexus 5 that has had this orientation problem?

If yes, could you test out the new qualcomm driver? (Flash .zip through recovery [TWRP/Clockwork])

Download:
http://d-h.st/f47


More Info: https://developer.qualcomm.com/mobile-development/maximize-hardware/mobile-gaming-graphics-adreno/mobile-gaming-graphics-optimization-tools


I just tried it with my Nexus 4 (Adreno 320). But it didn't fix the problem. The driver is most likely not compatible with the Adreno 320 since it's made for the Adreno 330.

The driver didn't break anything, but make a Backup beforehand, just in case.

« Last Edit: February 11, 2014, 08:44:53 AM by Dragoth »

Offline puppy

  • bit
  • Posts: 3
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #39 on: February 11, 2014, 10:31:28 PM »
Anyone here with a Nexus 5 that has had this orientation problem?

If yes, could you test out the new qualcomm driver? (Flash .zip through recovery [TWRP/Clockwork])

Download:
newbielink:http://d-h.st/f47 [nonactive]


More Info: newbielink:https://developer.qualcomm.com/mobile-development/maximize-hardware/mobile-gaming-graphics-adreno/mobile-gaming-graphics-optimization-tools [nonactive]


I just tried it with my Nexus 4 (Adreno 320). But it didn't fix the problem. The driver is most likely not compatible with the Adreno 320 since it's made for the Adreno 330.

The driver didn't break anything, but make a Backup beforehand, just in case.

Just flashed my Nexus 5 with the new driver linked in your post, still has the same issue, sadly.

Offline Dragoth

  • byte
  • *
  • Posts: 10
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #40 on: February 12, 2014, 01:09:56 AM »
Just flashed my Nexus 5 with the new driver linked in your post, still has the same issue, sadly.



That means, we can't really hope that qualcomm will fix this issue. Maybe with an official OTA update... which could take months because there are no signs of an update. Damn, this makes me sad  :'(

Thank you for trying it out!

Here is the thread from the person who made the flashable zip: http://forum.xda-developers.com/showthread.php?t=2629123
Credits to Aiko0923.

I guess i'll revert to Android 4.3 now...

Offline Mikhail

  • long
  • ***
  • Posts: 127
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #41 on: February 16, 2014, 03:30:32 PM »
4.4.2 r2 KVT49L is out now for Nexus 7 2013 deb / lte verizon
https://dl.google.com/dl/android/aosp/qcom-deb-kvt49l-a9b89301.tgz
possibly contains a newer Adreno320 driver.

Offline littleguy

  • Moderator
  • double
  • *****
  • Posts: 1945
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #42 on: February 16, 2014, 06:07:00 PM »
Also, could someone test to see if either of these fixes the rotation bug?

 - In Android, go to Settings -> Developer options and check "Force GPU rendering (Force use of GPU for 2d drawing)"

 - While in game with the rotated screen, press the recent apps key (or long-click home) on your device, then return to the game.
2012 Nexus 7, rooted stock Lollipop
Samsung Galaxy Victory, rooted stock Jelly Bean
Xperia PLAY, stock Gingerbread
OUYA, retail version

Offline Grantious

  • bit
  • Posts: 8
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #43 on: February 16, 2014, 08:55:10 PM »
Unfortunately both of those fixes don't work :/

Offline Mikhail

  • long
  • ***
  • Posts: 127
    • View Profile
Re: Gles2glide64 plugin orientation issue
« Reply #44 on: February 28, 2014, 09:09:46 PM »
It received another update on the 28th, Nexus 7 2013 Adreno 320 driver included in this release also
https://developer.qualcomm.com/mobile-development/maximize-hardware/mobile-gaming-graphics-adreno/mobile-gaming-graphics-optimization-tools