[GH-ISSUE #3058] (Android) Depth glitch in KHBBS when Buffered rendering #1260

Closed
opened 2026-03-17 21:20:53 +03:00 by kerem · 35 comments
Owner

Originally created by @Fei-Lix on GitHub (Aug 5, 2013).
Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/3058

This depth issue was already old and i just got to report it now because I got no time to post it. Anyway, this issue only occurs in Android. My android smartphone is Xperia S and its specifications: Adreno 220 GPU and 1.5GHz Dual core "Scorpion".

Non-buffered rendering shows a correct depth:
screenshot_2013-08-05-14-18-10

Buffered Rendering shows an incorrect depth:
screenshot_2013-08-05-14-17-55

Originally created by @Fei-Lix on GitHub (Aug 5, 2013). Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/3058 This depth issue was already old and i just got to report it now because I got no time to post it. Anyway, this issue only occurs in Android. My android smartphone is Xperia S and its specifications: Adreno 220 GPU and 1.5GHz Dual core "Scorpion". Non-buffered rendering shows a correct depth: ![screenshot_2013-08-05-14-18-10](https://f.cloud.github.com/assets/4035774/908737/3d24ed1a-fda5-11e2-9625-610a81f0f96b.png) Buffered Rendering shows an incorrect depth: ![screenshot_2013-08-05-14-17-55](https://f.cloud.github.com/assets/4035774/908750/8add3e22-fda5-11e2-866b-da3d8f54c12a.png)
Author
Owner

@dbz400 commented on GitHub (Aug 5, 2013):

Does it mean PC one renders perfectly fine ?

<!-- gh-comment-id:22092408 --> @dbz400 commented on GitHub (Aug 5, 2013): Does it mean PC one renders perfectly fine ?
Author
Owner

@Fei-Lix commented on GitHub (Aug 5, 2013):

yea

<!-- gh-comment-id:22093410 --> @Fei-Lix commented on GitHub (Aug 5, 2013): yea
Author
Owner

@dbz400 commented on GitHub (Aug 5, 2013):

I see. Wondering if it is depth issue or just missing texture rendering

<!-- gh-comment-id:22094565 --> @dbz400 commented on GitHub (Aug 5, 2013): I see. Wondering if it is depth issue or just missing texture rendering
Author
Owner

@Fei-Lix commented on GitHub (Aug 5, 2013):

well, i think its a depth, because polygons/objects were only visible when the character is near around it. correct me if im wrong

<!-- gh-comment-id:22094803 --> @Fei-Lix commented on GitHub (Aug 5, 2013): well, i think its a depth, because polygons/objects were only visible when the character is near around it. correct me if im wrong
Author
Owner

@dbz400 commented on GitHub (Aug 5, 2013):

I see. Humm , bit strange .I'll take a look tonight.

<!-- gh-comment-id:22095314 --> @dbz400 commented on GitHub (Aug 5, 2013): I see. Humm , bit strange .I'll take a look tonight.
Author
Owner

@Fei-Lix commented on GitHub (Aug 5, 2013):

sure, take your time :)

<!-- gh-comment-id:22095782 --> @Fei-Lix commented on GitHub (Aug 5, 2013): sure, take your time :)
Author
Owner

@adriandennis17 commented on GitHub (Aug 5, 2013):

For me on my DROID 3 playing DBZ shin budokai

i had missing objects from the background stage, but disabling mipmapping

Fix the missing background objects,

@RinkuFo if you disable mipmapping, what changes do you get

<!-- gh-comment-id:22103814 --> @adriandennis17 commented on GitHub (Aug 5, 2013): For me on my DROID 3 playing DBZ shin budokai i had missing objects from the background stage, but disabling mipmapping Fix the missing background objects, @RinkuFo if you disable mipmapping, what changes do you get
Author
Owner

@Fei-Lix commented on GitHub (Aug 6, 2013):

@adriandennis17 nah it didn't change any

<!-- gh-comment-id:22158593 --> @Fei-Lix commented on GitHub (Aug 6, 2013): @adriandennis17 nah it didn't change any
Author
Owner

@dbz400 commented on GitHub (Jan 5, 2014):

Is this issue still happen ?

<!-- gh-comment-id:31604551 --> @dbz400 commented on GitHub (Jan 5, 2014): Is this issue still happen ?
Author
Owner

@Fei-Lix commented on GitHub (Jan 8, 2014):

@raven02 indeed yes

<!-- gh-comment-id:31818647 --> @Fei-Lix commented on GitHub (Jan 8, 2014): @raven02 indeed yes
Author
Owner

@dbz400 commented on GitHub (Jan 12, 2014):

@RinkuFO , can you share a savestate here ?

<!-- gh-comment-id:32113467 --> @dbz400 commented on GitHub (Jan 12, 2014): @RinkuFO , can you share a savestate here ?
Author
Owner

@Fei-Lix commented on GitHub (Jan 12, 2014):

@raven02 sure, i brb

EDIT: about that.. is ur KHBBS is a USA or JPN?

EDIT2: Well here's the savestate of USA version, ask me if u need JPN version.
http://www8.zippyshare.com/v/26860787/file.html

<!-- gh-comment-id:32114807 --> @Fei-Lix commented on GitHub (Jan 12, 2014): @raven02 sure, i brb EDIT: about that.. is ur KHBBS is a USA or JPN? EDIT2: Well here's the savestate of USA version, ask me if u need JPN version. _http://www8.zippyshare.com/v/26860787/file.html_
Author
Owner

@VIRGINKLM commented on GitHub (Jan 13, 2014):

All versions get affected by it btw, US/EU/JP/FM+. If you want any savestate from any of those, just tell me.

<!-- gh-comment-id:32150522 --> @VIRGINKLM commented on GitHub (Jan 13, 2014): All versions get affected by it btw, US/EU/JP/FM+. If you want any savestate from any of those, just tell me.
Author
Owner

@dbz400 commented on GitHub (Jan 13, 2014):

Thanks @RinkuFO .Will test it out

<!-- gh-comment-id:32150900 --> @dbz400 commented on GitHub (Jan 13, 2014): Thanks @RinkuFO .Will test it out
Author
Owner

@Fei-Lix commented on GitHub (Jan 13, 2014):

@raven02 you're welcome, take your time and hoping that you'll discover something interesting :)

<!-- gh-comment-id:32156250 --> @Fei-Lix commented on GitHub (Jan 13, 2014): @raven02 you're welcome, take your time and hoping that you'll discover something interesting :)
Author
Owner

@dbz400 commented on GitHub (Jan 13, 2014):

Humm i got an error loading it up . @RinkuFO , can you take one from latest build ?

1

<!-- gh-comment-id:32162253 --> @dbz400 commented on GitHub (Jan 13, 2014): Humm i got an error loading it up . @RinkuFO , can you take one from latest build ? ![1](https://f.cloud.github.com/assets/3000282/1900018/a44cf052-7c47-11e3-80f1-ad2edf5cf290.jpg)
Author
Owner

@Fei-Lix commented on GitHub (Jan 15, 2014):

@raven02 sorry for a long time no response..
this time i used build v0.9.6-442
here you go! and good luck ;)
http://www8.zippyshare.com/v/58028286/file.html

<!-- gh-comment-id:32345862 --> @Fei-Lix commented on GitHub (Jan 15, 2014): @raven02 sorry for a long time no response.. this time i used build v0.9.6-442 here you go! and good luck ;) http://www8.zippyshare.com/v/58028286/file.html
Author
Owner

@dbz400 commented on GitHub (Jan 15, 2014):

Thanks .let me test it out again

<!-- gh-comment-id:32369661 --> @dbz400 commented on GitHub (Jan 15, 2014): Thanks .let me test it out again
Author
Owner

@dbz400 commented on GitHub (Jan 15, 2014):

Humm same error message ......strange.

<!-- gh-comment-id:32370227 --> @dbz400 commented on GitHub (Jan 15, 2014): Humm same error message ......strange.
Author
Owner

@Fei-Lix commented on GitHub (Jan 16, 2014):

@raven02 must be because of the savestate saved by Android and you'll get an error (which it does not recognize it) if you used the savestate by android using windows?

<!-- gh-comment-id:32456499 --> @Fei-Lix commented on GitHub (Jan 16, 2014): @raven02 must be because of the savestate saved by Android and you'll get an error (which it does not recognize it) if you used the savestate by android using windows?
Author
Owner

@dbz400 commented on GitHub (Jan 16, 2014):

I uses it on windows .I will try it on android

<!-- gh-comment-id:32457429 --> @dbz400 commented on GitHub (Jan 16, 2014): I uses it on windows .I will try it on android
Author
Owner

@Fei-Lix commented on GitHub (Jan 16, 2014):

okay take your time ^_^
also just incase you get an error again, might be your settings didnt satisfied due to my settings are different as urs?
here's the significant settings on my android.....

Graphics:
Mode = Buffered
Mipmapping = On

=Performance=
ENABLED: Hardware Transform, Software Skinning, Vertex Cache, Lazy texture caching, Retain changed textures

=Hack settings=
Texture coord speedhack = On
...................................................
System:
=Emulation=
Fastmem = On
CPU clock = 333

...the other option that i have not mentioned means it is not rly a significant effect and others are unchecked.

<!-- gh-comment-id:32458243 --> @Fei-Lix commented on GitHub (Jan 16, 2014): okay take your time ^_^ also just incase you get an error again, might be your settings didnt satisfied due to my settings are different as urs? here's the significant settings on my android..... Graphics: Mode = Buffered Mipmapping = On =Performance= ENABLED: Hardware Transform, Software Skinning, Vertex Cache, Lazy texture caching, Retain changed textures =Hack settings= Texture coord speedhack = On ................................................... System: =Emulation= Fastmem = On CPU clock = 333 ...the other option that i have not mentioned means it is not rly a significant effect and others are unchecked.
Author
Owner

@thedax commented on GitHub (Jul 31, 2014):

Is this still happening in the newest builds?

<!-- gh-comment-id:50738290 --> @thedax commented on GitHub (Jul 31, 2014): Is this still happening in the newest builds?
Author
Owner

@Fei-Lix commented on GitHub (Aug 1, 2014):

@thedax I will test it out for a sec.

<!-- gh-comment-id:50853111 --> @Fei-Lix commented on GitHub (Aug 1, 2014): @thedax I will test it out for a sec.
Author
Owner

@Fei-Lix commented on GitHub (Aug 1, 2014):

screenshot_2014-08-01-14-56-41
It seems still happening in the newest build

<!-- gh-comment-id:50853901 --> @Fei-Lix commented on GitHub (Aug 1, 2014): ![screenshot_2014-08-01-14-56-41](https://cloud.githubusercontent.com/assets/4035774/3775555/05d6e124-1947-11e4-9382-275c667d27b8.png) It seems still happening in the newest build
Author
Owner

@unknownbrackets commented on GitHub (Mar 2, 2015):

Just to be clear, this doesn't happen with buffers disabled, right?

Does this also happen with completely default settings - no speedhacks or etc.?

It may be a situation where it's relying on depth being copied between buffers. Does this also happen on any GLES3 device?

-[Unknown]

<!-- gh-comment-id:76654844 --> @unknownbrackets commented on GitHub (Mar 2, 2015): Just to be clear, this doesn't happen with buffers disabled, right? Does this also happen with completely default settings - no speedhacks or etc.? It may be a situation where it's relying on depth being copied between buffers. Does this also happen on any GLES3 device? -[Unknown]
Author
Owner

@Fei-Lix commented on GitHub (Mar 31, 2015):

@unknownbrackets
sorry late response. I was busy from few months ago.
Wait, I'll try it again... I think I remember that I already tested it w/o any hack options.. but I'll retest again today.

<!-- gh-comment-id:88051070 --> @Fei-Lix commented on GitHub (Mar 31, 2015): @unknownbrackets sorry late response. I was busy from few months ago. Wait, I'll try it again... I think I remember that I already tested it w/o any hack options.. but I'll retest again today.
Author
Owner

@Fei-Lix commented on GitHub (Mar 31, 2015):

Back..
I reinstalled with the newest build and it seems the problem was still occuring. Even though I already turn-off the speedup options such as Lazy textures, Retain changed, coord speedhack, etc

<!-- gh-comment-id:88069937 --> @Fei-Lix commented on GitHub (Mar 31, 2015): Back.. I reinstalled with the newest build and it seems the problem was still occuring. Even though I already turn-off the speedup options such as Lazy textures, Retain changed, coord speedhack, etc
Author
Owner

@ofry commented on GitHub (May 2, 2015):

Just for comment. I have same troubles even in start game Kingdom Hearts: Birth by Sleep Final Mix (ULJM05775).

Screen:
glitch in start game

UPD: I think it was fixed, because I started new game and watched all videos. But other bugs still remain.

<!-- gh-comment-id:98398841 --> @ofry commented on GitHub (May 2, 2015): Just for comment. I have same troubles even in start game Kingdom Hearts: Birth by Sleep Final Mix (ULJM05775). Screen: ![glitch in start game](https://cloud.githubusercontent.com/assets/11790863/7442745/8111b06e-f126-11e4-99c3-4942a4d749bf.jpg) UPD: I think it was fixed, because I started new game and watched all videos. But other bugs still remain.
Author
Owner

@ofry commented on GitHub (Jul 6, 2015):

After all videos in starting game I will see black screen if I switch to unbuffered rendering and turn back to buffered rendering.

This is unbuffered rendering:
2015-07-06 07 17 11

<!-- gh-comment-id:118709022 --> @ofry commented on GitHub (Jul 6, 2015): After all videos in starting game I will see black screen if I switch to unbuffered rendering and turn back to buffered rendering. This is unbuffered rendering: ![2015-07-06 07 17 11](https://cloud.githubusercontent.com/assets/11790863/8515640/425b4afe-23af-11e5-8d2a-880df304123f.png)
Author
Owner

@ofry commented on GitHub (Jul 17, 2015):

Now my issue with buffered rendering has solved after v1.0.1-769-gc4ea4e3

Please test it on Android smartphones...

<!-- gh-comment-id:122436452 --> @ofry commented on GitHub (Jul 17, 2015): Now my issue with buffered rendering has solved after v1.0.1-769-gc4ea4e3 Please test it on Android smartphones...
Author
Owner

@thedax commented on GitHub (Sep 17, 2015):

@LinkEP or anyone else experiencing the depth issues: does this still happen in the latest git builds from the buildbot?

<!-- gh-comment-id:140989981 --> @thedax commented on GitHub (Sep 17, 2015): @LinkEP or anyone else experiencing the depth issues: does this still happen in the latest git builds from the buildbot?
Author
Owner

@unknownbrackets commented on GitHub (Jan 18, 2016):

I wonder if this could even be the lack of depth blitting?

-[Unknown]

<!-- gh-comment-id:172421879 --> @unknownbrackets commented on GitHub (Jan 18, 2016): I wonder if this could even be the lack of depth blitting? -[Unknown]
Author
Owner

@ppmeis commented on GitHub (Feb 3, 2016):

Tested with latest build. It works fine on my OnePlus Two:
screenshot_2016-02-03-13-02-35

<!-- gh-comment-id:179189465 --> @ppmeis commented on GitHub (Feb 3, 2016): Tested with latest build. It works fine on my OnePlus Two: ![screenshot_2016-02-03-13-02-35](https://cloud.githubusercontent.com/assets/4381277/12781805/01570556-ca77-11e5-8e14-127faf90a341.png)
Author
Owner

@unknownbrackets commented on GitHub (Feb 4, 2016):

Okay, will close. Can reopen if anyone who was previously experiencing the issue says it's still not working on GLES2 devices.

-[Unknown]

<!-- gh-comment-id:179664605 --> @unknownbrackets commented on GitHub (Feb 4, 2016): Okay, will close. Can reopen if anyone who was previously experiencing the issue says it's still not working on GLES2 devices. -[Unknown]
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ppsspp#1260
No description provided.