Open tcharchar opened 7 months ago
From further testing, I can confirm this is a QT issue. PCSX2 Nightly (aka pcsx2-qt) also suffers from this, and crashes instantly. However, PCSX2 can actually boot and run dumps while using OpenGL, while RPCS3 hangs with the following:
QWaylandGLContext::makeCurrent: eglError: 0x300d, this: 0x7228b40083e0
RPCS3: RSX [0x0000000]: SIG: Thread terminated due to fatal error: Could not bind OpenGL context
(in file /usr/src/debug/rpcs3-git/rpcs3/rpcs3/rpcs3qt/gl_gs_frame.cpp:91[:4], in function set_current) (errno=62=Timer expired)
I should also add, using the --no-gui
variable still crashes it, because I believe the game window is still being created with the help of QT.
A similar issue happen with other GPU and specific game. With a 7900xt on Manjaro with Plasma 6 Wayland session, I get segfault on SoulCalibur V while other game like Code veronica X is fine. Then using QT_QPA_PLATFORM=xbc fix SoulCalibur V.
Linux kernel 6.9.5 Mesa 24.2.0-devel (git-b4bd380704) KWin version: 6.0.5 Qt Version: 6.7.1 Qt compile version: 6.7.1 XCB compile version: 1.17.0
Quick summary
RPCS3 instantly crashes with a segfault on wayland while using a discrete gpu.
Details
If
QT_QPA_PLATFORM
is set onwayland
orwayland-egl
and any other GPU but the one currently used by wayland is used, RPCS3 instantly crashes and closes with a segfault error.Attach a log file
RPCS3.log
Attach capture files for visual issues
No response
System configuration
OS: Arch Linux x86_64 Kernel: 6.8.6-zen1-1-zen DE: Hyprland CPU: 13th Gen Intel i7-13700H (20) @ 4.800GHz GPU: NVIDIA GeForce RTX 4070 Max-Q / Mobile GPU: Intel Raptor Lake-P [Iris Xe Graphics] Memory: 15713MiB NVIDIA Driver: 535.113.01-1, but issue happens on most drivers I've tested from 530.x.x.x and up
Other details
Changing
QT_QPA_PLATFORM
toxcb
fixes this issue, however it may be unfavourable to run RPCS3 under x11 due to issues with Xwayland and NVIDIA GPUs as seen here.NOTE: Despite said post saying this issue has been solved under 545.x.x.x, it has not been fixed at all.