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.43k stars 2.19k forks source link

Vulkan backend crash after a while on GPU IMG BXM-8-256 #17825

Closed hrydgard closed 2 months ago

hrydgard commented 1 year ago

This GPU is a low-power PowerVR GPU, in a Mediatek Dimensity 930 chipset. The phone model is "Motorola G Power 5G 2023".

Reported by kool-aid man on Discord.

Other affected Moto device (or possibly the same one), see #18681: Moto G54 5G

When I start playing for 2 min then it crash for example gta vcs

https://github.com/hrydgard/ppsspp/assets/130929/735f9d28-7f3f-4918-a63c-2e23c92df599

image image

stereomato commented 10 months ago

Small update: Sometimes, If you reset ppsspp settings to default, you can play using Vulkan indefinitely. But closing and reopening PPSSPP and trying to play again will once again trigger the crashes. I tried to reproduce it again right now, and on the first try I got broken graphics on some parts, and re-setting the settings to default seemed to still make the emulator crash like it usually does with vulkan.

hrydgard commented 2 months ago

My device just received a system update to Android 14, but the driver version is the same and the crash remains.

I've blacklisted this device from using Vulkan in future versions, for now it'll be OpenGL-only, as I just can't figure this out.

stereomato commented 2 months ago

I also updated to Android 14, and I'm even running a custom rom, devs of the phone said that graphics blobs were updated, but I still have the issues with games that use vulkan or even opengl. This soc/gpu is just plain crap.

hrydgard commented 2 months ago

I don't think the GPU is crap actually, it's low-end but if the driver hadn't crashed, it would be perfectly usable. But for some reason, they aren't testing it properly, which yes, is crap.

stereomato commented 2 months ago

I don't know if I should complain on the Imagination forums (they seem to be kinda responsive), but it might be of very little use if Motorola won't update stuff.

hrydgard commented 2 months ago

I think it's likely a lost cause... At least OpenGL is fairly playable on it.

stereomato commented 2 months ago

Well, I'm on a custom rom group, one of the developers already asked on the imagination forums about some issues on the QPR2 version of Android 14 + Vulkan on this GPU, and according to Imagination it's up to Mediatek to fix stuff. The custom rom developer hopes to be able to pull drivers from another phone that will use also use this GPU (which will be the Motorola G64). Hopefully this proves fruitful!