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.16k stars 2.17k forks source link

Emulator hangs completely when a game is started on Integrated Intel Graphics. #16403

Open Zombie-Ryushu opened 1 year ago

Zombie-Ryushu commented 1 year ago

Game or games this happens in

ULUS-10560 - Final Fantasy 4

What area of the game / PPSSPP

Just after the Square Enix Logo, PPSSPP hangs.

What should happen

The game should start with the Final Fantasy 4: The After Years Intro Screen.

Logs

No response

Platform

Linux / BSD

Mobile phone model or graphics card

Intel Integrated graphics

PPSSPP version affected

ppsspp-1.13.2-lp154.1

Last working version

No response

Graphics backend (3D API)

OpenGL / GLES

Checklist

anr2me commented 1 year ago

I think you need to build ppsspp yourself on linux, in case the issue have been fixed on the latest master branch.

Zombie-Ryushu commented 1 year ago

The hardware device involved is called the Chuwi Herobox.

unknownbrackets commented 1 year ago

Please try the latest git build: https://github.com/hrydgard/ppsspp/wiki/Build-instructions

I don't know what ppsspp-1.13.2-lp154.1 means, but it's most likely not a very recent build.

Just to note, people have run PPSSPP just fine on various Linux using Intel graphics. PPSSPP has even been a help in identifying and fixing driver bugs in that scenario. So there may be something more specific going on in your situation. A stack trace of the crash would be useful.

-[Unknown]

Zombie-Ryushu commented 1 year ago

I'll try and get you some debugging files. This may be driver related.

Zombie-Ryushu commented 1 year ago

Can you give me information on how to debug driver related problems? What I have found, is that ppsspp works on some of my older hardware, but not my newer hardware. I think this Chuwi HeroBox may not support the Intel Standard entirely correctly.

unknownbrackets commented 1 year ago

It's hard to, you have to try various different things. That said, if there's a way to use a newer driver (even booting into another distro with a livecd/usb/etc.), it may help. I don't know what the Herobox is, but it's entirely possible it has some really old Linux kernel on it with old drivers.

-[Unknown]

hrydgard commented 1 year ago

Older Intel drivers used to hang really bad in Burnout Legends on my old laptop, but it got fixed eventually. It's not really possible for us to maintain workaround for bugs in old linux drivers unfortunately....

anr2me commented 1 year ago

According to this link, Chuwi Herobox originally came with Win10 Home pre-installed https://store.chuwi.com/products/chuwi-herobox It have Intel UHD Graphics 600 (GPU from 2017 i think)

Which Linux distro did you installed on your herobox? According to this, you need kernel version 4.11 and newer (only a few distros have "works" status on Herobox Pro) https://linux-hardware.org/?id=pci:8086-3185-8086-2212&page=2#status

Zombie-Ryushu commented 1 year ago

OpenSuse Leap 15.4. Linux olympia 5.14.21-150400.24.33-default #1 SMP PREEMPT_DYNAMIC Fri Nov 4 13:55:06 UTC 2022 (76cfe60) x86_64 x86_64 x86_64 GNU/Linux