[GH-ISSUE #4199] (Android) Disabling Vertex Cache makes the certain character's textures into Psychedelic in Project DIVA 2nd/extend #1703

Closed
opened 2026-03-18 02:49:52 +03:00 by kerem · 31 comments
Owner

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

UPDATE (10-16-2013):
The graphic issue disappears when I...
Option 1.) Disabled Hardware Transform
Option 2.) Enabled Hardware Transform + Vertex Cache

screenshot_2013-10-15-14-20-41
screenshot_2013-10-15-14-25-01
screenshot_2013-10-15-14-26-17
screenshot_2013-10-15-14-26-53

Note: Sometimes this glitch also occurs with their mic(s).

Originally created by @Fei-Lix on GitHub (Oct 15, 2013). Original GitHub issue: https://github.com/hrydgard/ppsspp/issues/4199 UPDATE (10-16-2013): The graphic issue disappears when I... Option 1.) Disabled Hardware Transform Option 2.) Enabled Hardware Transform + Vertex Cache ![screenshot_2013-10-15-14-20-41](https://f.cloud.github.com/assets/4035774/1331693/ca6d60c0-3564-11e3-88a3-f405be31df50.png) ![screenshot_2013-10-15-14-25-01](https://f.cloud.github.com/assets/4035774/1331694/ca7025bc-3564-11e3-9a86-feb2697e5108.png) ![screenshot_2013-10-15-14-26-17](https://f.cloud.github.com/assets/4035774/1331695/ca769af0-3564-11e3-890a-241febf3e989.png) ![screenshot_2013-10-15-14-26-53](https://f.cloud.github.com/assets/4035774/1331696/ca79a1fa-3564-11e3-9d82-ade33638f909.png) Note: Sometimes this glitch also occurs with their mic(s).
Author
Owner

@unknownbrackets commented on GitHub (Oct 15, 2013):

Psychedelic. Isn't it better this way? Kidding.

What's the first build that has this issue, and the last build that doesn't? Also, this doesn't happen on Windows?

-[Unknown]

<!-- gh-comment-id:26312599 --> @unknownbrackets commented on GitHub (Oct 15, 2013): Psychedelic. Isn't it better this way? Kidding. What's the first build that has this issue, and the last build that doesn't? Also, this doesn't happen on Windows? -[Unknown]
Author
Owner

@Fei-Lix commented on GitHub (Oct 15, 2013):

only hairs but not the face lol
i havent know when this happens but this does not happen in windows

<!-- gh-comment-id:26314166 --> @Fei-Lix commented on GitHub (Oct 15, 2013): only hairs but not the face lol i havent know when this happens but this does not happen in windows
Author
Owner

@unknownbrackets commented on GitHub (Oct 15, 2013):

Do you have the texcoord speed hack enabled?

-[Unknown]

<!-- gh-comment-id:26314509 --> @unknownbrackets commented on GitHub (Oct 15, 2013): Do you have the texcoord speed hack enabled? -[Unknown]
Author
Owner

@Fei-Lix commented on GitHub (Oct 15, 2013):

yes i have been enabled it, but i think i tried to disabled it before. wait i'll retest

<!-- gh-comment-id:26315120 --> @Fei-Lix commented on GitHub (Oct 15, 2013): yes i have been enabled it, but i think i tried to disabled it before. wait i'll retest
Author
Owner

@hrydgard commented on GitHub (Oct 15, 2013):

What GPU does your android device have? Please always report that so we can possibly find and work around any driver bugs.

<!-- gh-comment-id:26315158 --> @hrydgard commented on GitHub (Oct 15, 2013): What GPU does your android device have? Please always report that so we can possibly find and work around any driver bugs.
Author
Owner

@Fei-Lix commented on GitHub (Oct 15, 2013):

@unknownbrackets yes, the graphic issue is still present when disabled

<!-- gh-comment-id:26315165 --> @Fei-Lix commented on GitHub (Oct 15, 2013): @unknownbrackets yes, the graphic issue is still present when disabled
Author
Owner

@Fei-Lix commented on GitHub (Oct 15, 2013):

@hrydgard Adreno 220

<!-- gh-comment-id:26315170 --> @Fei-Lix commented on GitHub (Oct 15, 2013): @hrydgard Adreno 220
Author
Owner

@bollu commented on GitHub (Oct 15, 2013):

it looks like UV coordinates are being rendered rather than the texture itself. weird.

<!-- gh-comment-id:26321751 --> @bollu commented on GitHub (Oct 15, 2013): it looks like UV coordinates are being rendered rather than the texture itself. weird.
Author
Owner

@danyalziakhan commented on GitHub (Oct 15, 2013):

Maybe you have Hardware Transform turned off and texcoord speed hack enabled? Just a guess though.

<!-- gh-comment-id:26332590 --> @danyalziakhan commented on GitHub (Oct 15, 2013): Maybe you have Hardware Transform turned off and texcoord speed hack enabled? Just a guess though.
Author
Owner

@Fei-Lix commented on GitHub (Oct 16, 2013):

@DanyalZia I havent experience this kind of graphic issue since back then with the same settings as now. now many weeks later, I reinstalled a latest build of ppsspp in android and this happens and i dont know when this happens. No, my hardware transform is enabled and yes the texcoord speed hack is enabled but disabling it gives no effect

<!-- gh-comment-id:26410884 --> @Fei-Lix commented on GitHub (Oct 16, 2013): @DanyalZia I havent experience this kind of graphic issue since back then with the same settings as now. now many weeks later, I reinstalled a latest build of ppsspp in android and this happens and i dont know when this happens. No, my hardware transform is enabled and yes the texcoord speed hack is enabled but disabling it gives no effect
Author
Owner

@Fei-Lix commented on GitHub (Oct 16, 2013):

@hrydgard @unknownbrackets @bollu @DanyalZia
ok, I just found that the graphic issue disappears when I...
Option 1.) Disabled Hardware Transform
Option 2.) Enabled Hardware Transform + Vertex Cache

I always wanted to disabling the Vertex Cache to avoid glitches like Project DIVA character's vertex caching are not synchronized when Vertex Cache is enabled.

<!-- gh-comment-id:26425166 --> @Fei-Lix commented on GitHub (Oct 16, 2013): @hrydgard @unknownbrackets @bollu @DanyalZia ok, I just found that the graphic issue disappears when I... Option 1.) Disabled Hardware Transform Option 2.) Enabled Hardware Transform + Vertex Cache I always wanted to disabling the Vertex Cache to avoid glitches like Project DIVA character's vertex caching are not synchronized when Vertex Cache is enabled.
Author
Owner

@Fei-Lix commented on GitHub (Nov 7, 2013):

hmm this issue is still present from the recent builds.

<!-- gh-comment-id:27956209 --> @Fei-Lix commented on GitHub (Nov 7, 2013): hmm this issue is still present from the recent builds.
Author
Owner

@unknownbrackets commented on GitHub (Jan 22, 2014):

I'm able to reproduce this using the the TGS demo of Project DIVA extend (NPJH90226) on a Samsung Galaxy S3. Annoyingly, it doesn't happen on Windows.

When it draws the face, it:

  • Uses a regular, in-memory texture.
  • Uses float texcoords, 8888 colors, float normals, and float positions.
  • Uses a depth test.
  • Draws the face after the eyes (with the eyes cut out) entirely separately, with 1620 vertices.
  • Flushes right before drawing the face, and also soon after (so it's just those 1620.)

Toggling any of the settings while the glitch is happening affects it, as described (glitch only when vertex cache is OFF, but hardware transform is still ON.)

-[Unknown]

<!-- gh-comment-id:33001520 --> @unknownbrackets commented on GitHub (Jan 22, 2014): I'm able to reproduce this using the the TGS demo of Project DIVA extend (NPJH90226) on a Samsung Galaxy S3. Annoyingly, it doesn't happen on Windows. When it draws the face, it: - Uses a regular, in-memory texture. - Uses float texcoords, 8888 colors, float normals, and float positions. - Uses a depth test. - Draws the face after the eyes (with the eyes cut out) entirely separately, with 1620 vertices. - Flushes right before drawing the face, and also soon after (so it's just those 1620.) Toggling any of the settings while the glitch is happening affects it, as described (glitch only when vertex cache is OFF, but hardware transform is still ON.) -[Unknown]
Author
Owner

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

@unknownbrackets hmm interesting, thanks for the details :D

<!-- gh-comment-id:33005664 --> @Fei-Lix commented on GitHub (Jan 22, 2014): @unknownbrackets hmm interesting, thanks for the details :D
Author
Owner

@unknownbrackets commented on GitHub (Jun 27, 2014):

This no longer happens for me in the demo. I think something fixed it.

I'm going to close it because I can't reproduce it anymore, and I could reproduce it in the demo before. But if it is still happening, please comment/reopen.

-[Unknown]

<!-- gh-comment-id:47320813 --> @unknownbrackets commented on GitHub (Jun 27, 2014): This no longer happens for me in the demo. I think something fixed it. I'm going to close it because I can't reproduce it anymore, and I could reproduce it in the demo before. But if it is still happening, please comment/reopen. -[Unknown]
Author
Owner

@Fei-Lix commented on GitHub (Jun 27, 2014):

Unfortunately.. it still happens, tested with the most recent build. I think u can ignore this problem if its not necessary to fix at all. but thanks anyways.

<!-- gh-comment-id:47353426 --> @Fei-Lix commented on GitHub (Jun 27, 2014): Unfortunately.. it still happens, tested with the most recent build. I think u can ignore this problem if its not necessary to fix at all. but thanks anyways.
Author
Owner

@unknownbrackets commented on GitHub (Jun 27, 2014):

Hmm, how come it doesn't happen in the demo? Can you get it to happen in the demo?

Note that I'm using basically default settings, the only settings I toggled were hardware transform and vertex cache. I tried going into songs and also the initial selection screen, which iirc and per your screenshots had the issue before.

-[Unknown]

<!-- gh-comment-id:47371240 --> @unknownbrackets commented on GitHub (Jun 27, 2014): Hmm, how come it doesn't happen in the demo? Can you get it to happen in the demo? Note that I'm using basically default settings, the only settings I toggled were hardware transform and vertex cache. I tried going into songs and also the initial selection screen, which iirc and per your screenshots had the issue before. -[Unknown]
Author
Owner

@Fei-Lix commented on GitHub (Jun 29, 2014):

dont have the demo but ill find 1.
I tried all the settings, and yes when toggling Vertex Cache doesnt show the psychedelic bug. actually, my issue was about disabling vertex cache makes the character having psychedelic textures. because I'd like their face movements to look properly unlike enabling vertex cache will cause them to glitch.

<!-- gh-comment-id:47443890 --> @Fei-Lix commented on GitHub (Jun 29, 2014): dont have the demo but ill find 1. I tried all the settings, and yes when toggling Vertex Cache doesnt show the psychedelic bug. actually, my issue was about disabling vertex cache makes the character having psychedelic textures. because I'd like their face movements to look properly unlike enabling vertex cache will cause them to glitch.
Author
Owner

@unknownbrackets commented on GitHub (Jun 29, 2014):

If I start the game with vertex cache off and hardware transform on and don't toggle anything, it still doesn't happen.

-[Unknown]

<!-- gh-comment-id:47443999 --> @unknownbrackets commented on GitHub (Jun 29, 2014): If I start the game with vertex cache off and hardware transform on and don't toggle anything, it still doesn't happen. -[Unknown]
Author
Owner

@Fei-Lix commented on GitHub (Jun 29, 2014):

I tried all graphic settings untoggled except HW, untoggled Fastmem and I/O.
but still happens here.
screenshot_2014-06-29-10-42-20

I'm downloading the demo, I'll let u know the results later after I tested it.

<!-- gh-comment-id:47444117 --> @Fei-Lix commented on GitHub (Jun 29, 2014): I tried all graphic settings untoggled except HW, untoggled Fastmem and I/O. but still happens here. ![screenshot_2014-06-29-10-42-20](https://cloud.githubusercontent.com/assets/4035774/3422383/2bf7a0c2-ff35-11e3-826c-7a885431b80e.png) I'm downloading the demo, I'll let u know the results later after I tested it.
Author
Owner

@Fei-Lix commented on GitHub (Jun 29, 2014):

aw, it gives the same result :(
Disabled Vertex Cache and HW on
screenshot_2014-06-29-11-10-44

<!-- gh-comment-id:47444501 --> @Fei-Lix commented on GitHub (Jun 29, 2014): aw, it gives the same result :( Disabled Vertex Cache and HW on ![screenshot_2014-06-29-11-10-44](https://cloud.githubusercontent.com/assets/4035774/3422414/3d0e0988-ff39-11e3-9281-8a8e77273d96.png)
Author
Owner

@unknownbrackets commented on GitHub (Jan 21, 2015):

I wonder if the changes to the way we bind vbos and element buffers might have improved this somehow. Does it still happen?

-[Unknown]

<!-- gh-comment-id:70777838 --> @unknownbrackets commented on GitHub (Jan 21, 2015): I wonder if the changes to the way we bind vbos and element buffers might have improved this somehow. Does it still happen? -[Unknown]
Author
Owner

@Fei-Lix commented on GitHub (Jan 23, 2015):

It still happens (v0.9.9.1-1585)

Note:
Disabled Vertex Cache while the HW Transform was Enabled
screenshot_2015-01-23-19-33-51

<!-- gh-comment-id:71181750 --> @Fei-Lix commented on GitHub (Jan 23, 2015): It still happens (v0.9.9.1-1585) Note: Disabled Vertex Cache while the HW Transform was Enabled ![screenshot_2015-01-23-19-33-51](https://cloud.githubusercontent.com/assets/4035774/5873945/1aebe74c-a337-11e4-8b9e-8e22c12b162d.png)
Author
Owner

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

more,this have and other game...Persona 3 Portable
screenshot_2015-06-26_1650

<!-- gh-comment-id:118896808 --> @Yoshitsune commented on GitHub (Jul 6, 2015): more,this have and other game...Persona 3 Portable ![screenshot_2015-06-26_1650](https://cloud.githubusercontent.com/assets/7737766/8526189/cde2a528-240d-11e5-8405-f5d7030b4669.png)
Author
Owner

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

screenshot_2015-06-26_1651_1

<!-- gh-comment-id:119027897 --> @Yoshitsune commented on GitHub (Jul 6, 2015): ![screenshot_2015-06-26_1651_1](https://cloud.githubusercontent.com/assets/7737766/8535706/09af4d70-2451-11e5-8c04-238089f95177.png)
Author
Owner

@Yoshitsune commented on GitHub (Jul 7, 2015):

http://forums.ppsspp.org/showthread.php?tid=16033

<!-- gh-comment-id:119170142 --> @Yoshitsune commented on GitHub (Jul 7, 2015): http://forums.ppsspp.org/showthread.php?tid=16033
Author
Owner

@Yoshitsune commented on GitHub (Jul 7, 2015):

enabling vertex cache not help,only disable hardware transform,but slide-show...

<!-- gh-comment-id:119205131 --> @Yoshitsune commented on GitHub (Jul 7, 2015): enabling vertex cache not help,only disable hardware transform,but slide-show...
Author
Owner

@unknownbrackets commented on GitHub (Jun 9, 2018):

Since the latest updates, does this still happen? Also, if it does and your device supports Vulkan, does it happen there?

-[Unknown]

<!-- gh-comment-id:395944441 --> @unknownbrackets commented on GitHub (Jun 9, 2018): Since the latest updates, does this still happen? Also, if it does and your device supports Vulkan, does it happen there? -[Unknown]
Author
Owner

@Leopard20 commented on GitHub (Jun 10, 2018):

@hrydgard @unknownbrackets
This was fixed a long time ago. Probably since 1.4. Surprised no one reported it! (plus Vertex cache is off by default now)
Tested both OGL and Vulkan on Android.

So I guess you can go ahead and close it! :)

P.S: My device doesn't have that depth issue we discussed earlier either so maybe again it's driver-specific?

<!-- gh-comment-id:396037383 --> @Leopard20 commented on GitHub (Jun 10, 2018): @hrydgard @unknownbrackets This was fixed a long time ago. Probably since 1.4. Surprised no one reported it! (plus Vertex cache is off by default now) Tested both OGL and Vulkan on Android. So I guess you can go ahead and close it! :) P.S: My device doesn't have that depth issue we discussed earlier either so maybe again it's driver-specific?
Author
Owner

@unknownbrackets commented on GitHub (Jun 10, 2018):

This definitely never happened on all devices, though. It's entirely possible it's a driver bug even...

-[Unknown]

<!-- gh-comment-id:396051280 --> @unknownbrackets commented on GitHub (Jun 10, 2018): This definitely never happened on all devices, though. It's entirely possible it's a driver bug even... -[Unknown]
Author
Owner

@hrydgard commented on GitHub (Jun 10, 2018):

Either way, I think it's time to close...

<!-- gh-comment-id:396073263 --> @hrydgard commented on GitHub (Jun 10, 2018): Either way, I think it's time to close...
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#1703
No description provided.