[Linux] Segmentation Fault when attempting to run Games #398
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cemu Experimental Version (Compiled)
Commit Hash:
dd1cb1c
OS -> Ubuntu 22.04.1 LTS
GPU -> Intel HD Graphics 5500 (rev 09)
CPU -> Intel i5-5300U (4) @ 2.900GHz
I've tried playing Super mario Bros for wii U and Mario Kart 8 in the cemu gamelist menu, but the application crashes and outputs:
The same also happens on my end. However, it only happens on wayland. On native X11 and xwayland, it works just fine.
Cemu-Version: 2.0 experimental self-built (git-rev
c217b3ee32
)OS -> Debian SID
GPU -> AMD Radeon RX580
GPU-DRV -> Mesa 22.2.1
CPU -> AMD Ryzen 5950X
DE -> KDE Plasma on wayland
Sometimes, it shows this error:
Sometimes, it just crashes:
Running Cemu through gdb shows that there could be a problem with VulkanRenderer::FindQueueFamilies() and XGetXCBConnection(), but I am not skilled enough to analyze this further.
I hope this is of any help.
Same error on Arch.
As a workaround you can force the executable to use XWayland:
GDK_BACKEND=x11 ./Cemu_release
@jambonmcyeah was working on native Wayland support but the PR is currently inactive #143
See #92
I'm on x11 but I still get that message with Vulkan
Arch Linux
mesa-22.2.1-1
Intel Celeron N4000
Intel UHD Graphics 600
@bitscher Still got the same error when using x11
Same issue here, mario kart 8
Nvidia, Arch Linux, compiled from source with GCC and this flags:
-march=native -O2 -flto -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection
I get the same error on wayland and xorg
I am using ubuntu 22.04 lts
Can someone help me with this
Exactly the same crash as our friend Skyhero-alt here.
Kubuntu 22.04 LTS, i7 7500u, GTX940MX, AppImage build
Cannot launch any games or even open the settings menu,
Stack trace is the same.
@Skyhero-alt & @hstr0100 The instructions are in the error message:
consider
sysctl dev.i915.perf_stream_paranoid=0
This can be set as a "root/SU" user or switch to OpenGL.
see https://github.com/cemu-project/Cemu/issues/513#issuecomment-1368182608 for instructions.
In my case dev.i915.perf_stream_paranoid was already 0, so that option doesn't affect anything.
Switching to OpenGL manually via the config file does fix the issue.
<Graphic> <api>0</api> </Graphic>
@hstr0100 Glad it worked!
Curious that it was already set to "0" as that is NOT the default.
Also it resets on reboot, unless you have set it in your boot commands to apply at boot time, or repackage your initramfs with the option set.
It's quite simply because I have a sysctl.d rule set for it already from a different issue,
Ryujinx - the switch emulator, had literally half the performance of Yuzu on my system, so flipping that sysctl option to zero was one of the options I tested also to no avail,
The mesa driver also spit out that message for Ryujinx the difference is that using Vulkan does not crash that emulator.
echo "dev.i915.perf_stream_paranoid=0" | sudo tee /etc/sysctl.d/98-i915.conf
Same issue on the lastest linux mint with Minecraft on load. Switch to opengl didn't change anything.
Same error here when testing Minecraft, openGL and Vulkan both crash on startup, besides Vulkan showing the splash screen, log shows the same error, native, appimage and flatpak all do the same thing too.
Segmentation fault!
Error: signal 11:
/home/userand/ExternalDrive/TOSHIBA_External_USB_3.0/CEMU/Cemu_2.0-65/Cemu(eglSwapInterval+0) [0x55a6c3e050e0]+0) [0x55a6c3e050e0]
/usr/lib/libc.so.6(+0x3e710) [0x7fdd1eb43710]