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

Rotating head issue #10979

Open
joelolopez opened this issue Apr 28, 2018 · 27 comments
Open

Rotating head issue #10979

joelolopez opened this issue Apr 28, 2018 · 27 comments

Comments

@joelolopez
Copy link

joelolopez commented Apr 28, 2018

White knights origins, this character comes into the the scene while her head is rotating lol
Tested on opengl and vulkan backend, and as u notice the screenshot below shes extending her hands sideward like a plane lol

screenshot_20180428-162857

OS android 7.0 , Octa-core, 2360 MHz, ARM Cortex-A53, 64-bit, 16 nm , Mali-T830 MP2 , 4 GB RAM

@Leopard20
Copy link
Contributor

Leopard20 commented Apr 28, 2018

Indeed...Who is this, or should I say, what is this?! 😂😂😂

@LunaMoo
Copy link
Collaborator

LunaMoo commented Apr 28, 2018

uces01511_00000
Works fine for me, so this might be arm jit issue, could also be the results of using some hack, maybe messing with psp cpu core clock.

@joelolopez Make sure it happens with default settings (not using savestates as they will already contain the problem doesn't matter what you change) and if it does, try going to Settings->Tools->Developer tools and change CPU core to interpreter or IR interpreter, the game will most likely become unplayably slow, but this is just to confirm if it's a arm JIT bug or not. Again you should not use savestates when testing, once bugged, state will forever be bugged:P.

@joelolopez
Copy link
Author

Tested all interpreter and default settings and i loaf it form load menu not from savestate but it still have this problem

@Leopard20
Copy link
Contributor

What is your PPSSPP version?

@joelolopez
Copy link
Author

joelolopez commented Apr 28, 2018

Tried 1000 and 2000/3000 im using 1.5.4

@Leopard20
Copy link
Contributor

I mean the version of the app!

Did you close this intentionally?!

@joelolopez
Copy link
Author

Nope i accdentaly codsed it im sorry

@hrydgard hrydgard reopened this Apr 28, 2018
@hrydgard
Copy link
Owner

Funny issue :) If it doesn't even work in the interpreter though, it's not super likely to be a CPU issue (although of course it can be one, we know from Tekken 6 that we still have some problems. With luck it could be the same one..).

@Leopard20
Copy link
Contributor

Leopard20 commented Apr 28, 2018

@joelolopez
I think LunaMoo is using the latest git builds, so you might wanna try them too. The issue might already have been solved.

@joelolopez
Copy link
Author

I dont have any compiler to build the latest builds.. Is tgefe someone can share me a compiled version of latest build so that i can test it now

@Leopard20
Copy link
Contributor

Leopard20 commented Apr 28, 2018

You don't need to! It's automatically built every time someone makes a commit. Download from here:
https://www.ppsspp.org/downloads.html
Go to the bottom of the page, and get the latest version (1.5.4-933)
Note: You should delete the current version to install a developer version (because of conflicting signatures) but don't worry! Your settings will not be deleted! (just restart the app after first run if they don't work)
Also enable installing from unknown sources from your device settings (if you already haven't). It's generally located here (may vary a bit from device to device)
Settings>Security (or Privacy)>Unknown Sources.

@joelolopez
Copy link
Author

I forgot hahaha

@joelolopez
Copy link
Author

Im using 1.5.4-933 but nothing has changed the issue its still there

@unknownbrackets
Copy link
Collaborator

Could you try exporting a GE frame dump? These help a lot.

See here for instructions - it's not hard and works on Android too:
https://github.com/hrydgard/ppsspp/wiki/How-to-create-a-frame-dump

You can zip that and then drag and drop it into a reply here.

-[Unknown]

@joelolopez
Copy link
Author

@ghost
Copy link

ghost commented Sep 14, 2021

Is the head still rotating hahaha 😂😂😂

@ghost
Copy link

ghost commented Sep 17, 2021

http://www.mediafire.com/file/rpsyhbjh9cf87gj/recording.ppdmp/file

I cannot load your dump, can you upload your save states? @joelolopez
Screenshot_2021-09-17-17-45-12-252_org ppsspp ppsspp
Also please change the title of the issue.

@ghost
Copy link

ghost commented Sep 17, 2021

I also encounter an issue on this game the characters is missing only the sword is visible.
Screenshot_2021-09-17-17-52-32
white-knight.ppdmp.zip
Mali-450 GPU

@unknownbrackets
Copy link
Collaborator

unknownbrackets commented Sep 20, 2021

http://www.mediafire.com/file/rpsyhbjh9cf87gj/recording.ppdmp/file

I think I never commented with notes on this dump, but just for future reference - the model is rotated on PC with this dump.

That makes me think the drawing commands are actually wrong. It does use weights for this model, so probably it's the weights somehow that are wrong.

I also encounter an issue on this game the characters is missing only the sword is visible.

For this one, the sword is drawn at 3684/3806, and the knight at 3030/3806. The most obvious difference is, again, weights. The knight is drawn using weights (as is the character in front of it, who is also not visible in that screenshot.) The sword doesn't use any weights.

They're u8 weights here, which would make me suspect the vertex decoder... except that isn't used in the IR Interpreter or Interpreter modes.

Does hardware transform on/off affect this missing knight issue? Software skinning?

-[Unknown]

@ghost
Copy link

ghost commented Sep 20, 2021

Hardware Transform OFF

Software Skinning ON

Screenshot_2021-09-20-14-24-20

Hardware Transform ON

Software Skinning OFF

Screenshot_2021-09-20-14-23-34

Hardware Transform OFF

Software Skinning OFF

Screenshot_2021-09-20-14-23-58

@unknownbrackets
Copy link
Collaborator

Wait, those both say hardware transform off?

But it's definitely interesting that it seems affected differently by both settings.

-[Unknown]

@hrydgard hrydgard added GE emulation Backend-independent GPU issues CPU emulation labels Sep 20, 2021
@hrydgard
Copy link
Owner

Tagging with both GE and CPU then, rotation must be a CPU issue and the missing pieces GE?

@ghost
Copy link

ghost commented Sep 20, 2021

Wait, those both say hardware transform off?

The first picture the sword is missing hw transform is off and sw skinning on.
second picture has the wacky gfx issue hw transform is on and sw transfer is off, the third picture got the correct graphics.
That's only can reproduce on my ancient phone mali-450 GPU.

@hrydgard
Copy link
Owner

Ah, okay. So that's probably the vertex shader failing to compile if it's too complex for that poor little driver, which it can be if it has to do skinning.

@hrydgard hrydgard removed the GE emulation Backend-independent GPU issues label Sep 20, 2021
@ghost
Copy link

ghost commented Sep 20, 2021

This is very funny issue 🤣😂😅

Screenrecorder-2021-09-20-16-37-35-992.mp4

@hrydgard
Copy link
Owner

It's so wacky that it might even be that it fails to load an animation file, or something?

@unknownbrackets
Copy link
Collaborator

unknownbrackets commented Oct 23, 2022

Has this changed in the latest git builds? I know we've fixed a few potentially related bugs, although I'm not sure it'll be fixed. Please make sure software skinning is enabled when testing.

Edit: note: it has not changed, apparently, as of 2023-02-26 or so.

-[Unknown]

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

No branches or pull requests

5 participants