hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.42k stars 2.19k forks source link

Vertex Cache bug (Hatsune Miku Project Diva) #972

Closed ThreeHT closed 11 years ago

ThreeHT commented 11 years ago

In some places , eye beating very soon

EDIT: Enabling the vertex cache improves speed but also causes a few bugs still, such as Hatsune Miku's eyes behaving strangely at times.

cloud1250x4 commented 11 years ago

this in clearly unclear.... what are you trying to say? what does it mean?

ThreeHT commented 11 years ago

Within 1 second blink 5 times the mean

unknownbrackets commented 11 years ago

Do you have "Buffered Rendering" off or on? Try turning it on.

-[Unknown]

cloud1250x4 commented 11 years ago

it doesn't blink on my phone, you're probably using frameskip

Even without buffered rendering, unknown, the game is perfectly playable ;)

"on my xperia play" I got a 50fps to 60 fps all the time ;) (when there is nothing running in the background)

But with frameskip, I don't have any problem running fullspeed,,, but the blink would kill me before finishing any song xD

Well.. let say that all the game I have is running smoothly with frameskip -,-' but the blinking is a killing argument xD

ThreeHT commented 11 years ago

Only the eyes and mouth quickly, not screen flashes

cloud1250x4 commented 11 years ago

2nd doesn't have any problem like that, and extend too... (2nd is running far better then extend, about 5 to 10 more fps ;) )

ThreeHT commented 11 years ago

Whether open or closed, there will be this bug.No matter what kind of equipment, started at about 0.6git200

ThreeHT commented 11 years ago

http://www.tudou.com/programs/view/yyMVe1HfCl0/?resourceId=0_06_02_99 See this video

cloud1250x4 commented 11 years ago

well just tested the first project diva on my phone, it runs fullspeed all the time without buffered rendering.... nice ;)

And no eyes blinking or anything like that :/

ThreeHT commented 11 years ago

Try 歌に形はないけれどand初音の激唱【in the last section】

cloud1250x4 commented 11 years ago

lol I've patched my game so I don't even have a single idea which song is this xD

But for a minor problem like that... seriously... there's game that doesn't even run... -,-'

ThreeHT commented 11 years ago

The before 0.6 git200 not exist bug,This is really just a small problem

unknownbrackets commented 11 years ago

Well, 200 would be something like this commit right? 7ea1926aa7492e5b3d285f7c725afa56fb30e8d6

So much has changed since then...

-[Unknown]

ThreeHT commented 11 years ago

Which version is forgotten in 200 is likely to be about 197 let me test

ThreeHT commented 11 years ago

I'm sorry Close vertex cache It is ok But the speed is reduced

hrydgard commented 11 years ago

Yes, this is one of the minor bugs that the Vertex Cache causes. Currently it's the price you pay for the speedup :) But we should try to find a solution.

ThreeHT commented 11 years ago

This is really great

xsacha commented 11 years ago

It's weird, I don't get any speed ups for the vertex cache on Symbian. Even in this game. I can't test bleach 7 because it currently doesn't run in latest git. Maybe the GPU acts differently?

hrydgard commented 11 years ago

Maybe the drivers are just crappy. On both PC and Android, as I said, there are massive speed boosts in vertex heavy games, sometimes 2x or 3x. Lots of work converting vertices is saved by drawing from cached convertex vertex data instead of doing it all over again every frame, and bandwidth to the GPU is also saved.

hrydgard commented 11 years ago

But if it can't be used on Symbian, maybe should spend some time making vertex data conversion faster. For example, could make a VertexDecoder JIT that compiles optimized converters for the used vertex formats at runtime. Dolphin has one.

ghost commented 11 years ago

same as https://github.com/hrydgard/ppsspp/issues/828

unknownbrackets commented 11 years ago

Maybe because the CPU is much slower but the GPU is much faster, the vertex cache doing hashing just isn't worth the benefit?

-[Unknown]