Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPSSPP:- Read Framebuffers to Memory (CPU) option is broken since v0.9.8-777 for all games. (OpenGL 3.x and below, Windows) #6137

Closed
solarmystic opened this issue May 25, 2014 · 7 comments

Comments

@solarmystic
Copy link
Contributor

(Edited to reflect proper first responsible commit)

Issue is as stated in the title. First responsible commit is 6854885 (v0.9.8-777) by @raven02 which was part of the #6049 pull request recently merged to master.

capture

776

Last unaffected build is v0.9.8-776 cf7229e

776

Issue reproduction:-

  1. Load up any game which requires Read Framebuffers to Memory for proper functionality like Ys Seven (minimap) or Danganronpa (door and object scanning) or Trails in the Sky (status menu transparency) using any build from v0.9.8-777 onwards. The buildbot is broken, so self-compiling is necessary for the reproduction.
  2. Ensure that the rendering mode is set to Read Framebuffers to Memory beforehand.
  3. The change in rendering mode fails to produce the desired results in the selected game. In Danganronpa, that means that door and object scanning is broken. In Ys Seven, the minimap fails to display correctly.

System used for testing:-

sysspec

Note:-

Will most likely affect users with cards that only support up to Open GL 3.x. Users with OpenGL 4.x cards and above will not be affected by this issue.

@solarmystic solarmystic changed the title PPSSPP:- Read Frambuffers to CPU option is broken since v0.9.8-773-g05be56a for all games. (Windows) PPSSPP:- Read Framebuffers to CPU option is broken since v0.9.8-773-g05be56a for all games. (Windows) May 25, 2014
@solarmystic solarmystic changed the title PPSSPP:- Read Framebuffers to CPU option is broken since v0.9.8-773-g05be56a for all games. (Windows) PPSSPP:- Read Framebuffers to Memory (CPU) option is broken since v0.9.8-773-g05be56a for all games. (Windows) May 25, 2014
@solarmystic
Copy link
Contributor Author

Urgh, I got mislead by a red herring during the bisecting. The actual first responsible commit is 6854885 also by @raven02

777

777

It turns out that it was the GLES3 lines causing the issue after all. Edited the issue report to reflect that.

@solarmystic solarmystic changed the title PPSSPP:- Read Framebuffers to Memory (CPU) option is broken since v0.9.8-773-g05be56a for all games. (Windows) PPSSPP:- Read Framebuffers to Memory (CPU) option is broken since v0.9.8-777 for all games. (Windows) May 25, 2014
@solarmystic
Copy link
Contributor Author

Okay, so commenting out the GLES3 line for 6854885 at lines 1277 and 1280 in Framebuffer.cpp resolved the issue for me. No other side effects too, afaict.

capture

That could be resolution to this issue. The MAY_HAVE_GLES3 line is already sufficient to properly limit the function to the appropriate cards. One could just open a pull request to remove those lines, I don't think they're supposed to be there after all.

@solarmystic solarmystic changed the title PPSSPP:- Read Framebuffers to Memory (CPU) option is broken since v0.9.8-777 for all games. (Windows) PPSSPP:- Read Framebuffers to Memory (CPU) option is broken since v0.9.8-777 for all games. (OpenGL 3.x,Windows) May 25, 2014
@solarmystic solarmystic changed the title PPSSPP:- Read Framebuffers to Memory (CPU) option is broken since v0.9.8-777 for all games. (OpenGL 3.x,Windows) PPSSPP:- Read Framebuffers to Memory (CPU) option is broken since v0.9.8-777 for all games. (OpenGL 3.x and below, Windows) May 25, 2014
@dbz400
Copy link
Contributor

dbz400 commented May 25, 2014

Yep , i done it in framebuffer-clut branch .Probably need to do one here?

@solarmystic
Copy link
Contributor Author

@raven02 Yes, please. Do open the pull request, it should be a simple fix. Thanks in advance.

@solarmystic
Copy link
Contributor Author

Nevermind that, it's fixed by #6140. Thanks @unknownbrackets !

Closed.

@solarmystic
Copy link
Contributor Author

@unknownbrackets
Looks like i spoke to soon, with regards to #6137 being completely fixed for OpenGL 3.x and below.

Danganronpa is fixed for Read Framebuffers to Memory (CPU) [RFB2M] mode functionality wise but a few other games like Ys Seven fail to work properly in the aforementioned mode.

Ys Seven (minimap fails to display properly in RFB2M mode)

ys7

Additionally, there is a strange new bug introduced in Danganronpa, the background screen is flipped upside down in the load screen dialogue and other places:-

dang

Ys Seven (backround of the big map is also flipped upside down)

ys1

In Trails in the Sky, entering the status menu flips the transparent background upside down too:-

tits

Tests were done with Simulate Block Transfer option disabled and Read Framebuffers to Mem (CPU) enabled.

Reopening.

@solarmystic
Copy link
Contributor Author

Additional bugs resolved by #6141.

Closed, will reopen if new ones arise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants