You are not logged in.

#1 2025-12-19 13:04:38

AsfhtgkDavid
Member
From: Ukraine, Europe
Registered: 2025-07-17
Posts: 21

Nintendo emulators crashes

Hello, everyone.
I wanted to play Takeshi and Hiroshi. To do this, I tried two emulators, Citron and Suyu, but both crash at the same point.
Citron logs: here
stdout Citron: here
Suyu logs: here
stdout Suyu: here


Don't push the horses!

Offline

#2 2025-12-19 14:17:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: Nintendo emulators crashes

https://wiki.archlinux.org/title/Core_d … _core_dump

I could see the processor being too old for some potentially needed instructions, but this is very likely something you'll need to take upstream.

Offline

#3 2025-12-19 14:40:39

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,559

Re: Nintendo emulators crashes

[1]    41930 segmentation fault (core dumped)  /tmp/Suyu-Linux_x86_64.AppImage
Unhandled SIGSEGV at rip 0x000055c4060624b5
/usr/bin/citron: строка 13: 62951 Ошибка сегментирования                (образ памяти сброшен на диск) /usr/lib/citron/citron 

https://wiki.archlinux.org/title/Core_d … _core_dump

Suyu looks libva related - what does

vainfo

look on the host?
See in doubt https://wiki.archlinux.org/title/Hardwa … ion_layers but I suspect that's an appimage-specific problem

Also

glxinfo -B

though from the citron output that looks ok and the "error" there looks different, the log tails in

[  95.580120] Render.Vulkan <Info> video_core/renderer_vulkan/vk_swapchain.cpp:ChooseSwapPresentMode:47: Using Mailbox presentation mode for Wayland.
[  95.596887] Render.Vulkan <Info> video_core/renderer_vulkan/vk_swapchain.cpp:ChooseSwapPresentMode:43: Wayland platform detected. Prioritizing low-latency presentation modes.
[  95.596904] Render.Vulkan <Info> video_core/renderer_vulkan/vk_swapchain.cpp:C

Does it work on an X11 session?

Sidebar:  there's a bunch or Nintendo  emulators in the repos, https://archlinux.org/packages/?sort=&q=nintendo

Offline

#4 2025-12-19 14:51:27

AsfhtgkDavid
Member
From: Ukraine, Europe
Registered: 2025-07-17
Posts: 21

Re: Nintendo emulators crashes

coredump: here

❯ vainfo
zsh: command not found: vainfo
❯ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 6144 MB
    Total available memory: 6144 MB
    Currently available dedicated video memory: 5324 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 580.119.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 580.119.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 580.119.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

I use Hyprland


Don't push the horses!

Offline

#5 2025-12-19 15:24:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,559

Re: Nintendo emulators crashes

zsh: command not found: vainfo

=> extra/libva-utils

I use Hyprland

I know that this is on wayland, the idea was to check whether that's critical…

seth wrote:

Does it work on an X11 session?

Offline

#6 2025-12-19 18:20:45

AsfhtgkDavid
Member
From: Ukraine, Europe
Registered: 2025-07-17
Posts: 21

Re: Nintendo emulators crashes

vainfo
Trying display: wayland
vaInitialize failed with error code -1 (unknown libva error),exit
Window 55cc7ff7dcc0 -> citron | 0.11.0:
	mapped: 1
	hidden: 0
	at: 967,79
	size: 931,979
	workspace: 4 (4)
	floating: 0
	pseudo: 0
	monitor: 1
	class: org.citron_emu.citron
	title: citron | 0.11.0
	initialClass: org.citron_emu.citron
	initialTitle: citron | 0.11.0
	pid: 32752
	xwayland: 0
	pinned: 0
	fullscreen: 0
	fullscreenClient: 0
	grouped: 0
	tags: 
	swallowing: 0
	focusHistoryID: 1
	inhibitingIdle: 0
	xdgTag: 
	xdgDescription: 

Don't push the horses!

Offline

#7 2025-12-19 20:58:51

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,559

Re: Nintendo emulators crashes

So VAAPI doesn't work, that alone explains suyu
See https://wiki.archlinux.org/title/Hardwa … ion_layers

I'm not sure what the 2nd code block is supposed to say - did you try and does it work on X11 (openbox will do)?

Offline

#8 2025-12-21 18:11:01

AsfhtgkDavid
Member
From: Ukraine, Europe
Registered: 2025-07-17
Posts: 21

Re: Nintendo emulators crashes

Phew, today I switched to nvidia580xx... I installed libvdpau-va-gl and nvidia-vaapi-driver, but Citron still crashes.
P.S. With the second code block, I wanted to show that it doesn't run through XWayland.


Don't push the horses!

Offline

#9 2025-12-21 18:38:55

AsfhtgkDavid
Member
From: Ukraine, Europe
Registered: 2025-07-17
Posts: 21

Re: Nintendo emulators crashes

❯ vainfo
Trying display: wayland
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointVLD

Don't push the horses!

Offline

#10 2025-12-21 20:10:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,559

Re: Nintendo emulators crashes

With the second code block, I wanted to show that it doesn't run through XWayland.

I'm not concerned about xwayland but wayland.

                Stack trace of thread 64041:
                #0  0x000055c4060624b5 n/a (/usr/lib/citron/citron + 0x4874b5)
                #1  0x000055c40606792b n/a (/usr/lib/citron/citron + 0x48c92b)
                #2  0x000055c406a24381 n/a (/usr/lib/citron/citron + 0xe49381)
                #3  0x00007f87b4ce55a4 execute_native_thread_routine (libstdc++.so.6 + 0xe55a4)
                #4  0x00007f87b489698b n/a (libc.so.6 + 0x9698b)
                #5  0x00007f87b491a9cc n/a (libc.so.6 + 0x11a9cc)

Citron crashes somewhere in it's private stack, is this https://aur.archlinux.org/packages/citron ?
https://aur.archlinux.org/cgit/aur.git/ … citron#n14
https://aur.archlinux.org/cgit/aur.git/ … itron#n150
https://aur.archlinux.org/cgit/aur.git/ … itron#n151

Disabling debug isn't helpful here, build it debug-enabled so we can get a useful backtrace.

Have you btw. tried one of the emulators in the repos?

Offline

#11 2025-12-22 09:37:14

AsfhtgkDavid
Member
From: Ukraine, Europe
Registered: 2025-07-17
Posts: 21

Re: Nintendo emulators crashes

https://pastebin.com/aLmYApL6
I have a feeling that this is a memory leak, because after freezing, the amount of memory consumed increases by 4 GB.
And I don't understand what you mean by “Does it work on an X11 session?” If I'm on Hyprland and it doesn't use XWayland, does that mean it works natively on Wayland, or what do you mean?


Don't push the horses!

Offline

#12 2025-12-22 14:46:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: Nintendo emulators crashes

it means that you should start a non-wayland xorg session, e.g. openbox for something lightweight, to test whether wayland or rather the interaction between these emulators and wayland is the issue.

FWIW a bit of cursory checking suggests the only really maintained emulator being: https://aur.archlinux.org/packages/eden -- maybe give that a shot.

But your hardware literally predates the Switch by 5 years, chances are it's going to run stable if at all are somewhat low.

OT @seth: While not explicitly mentioned,  they are strictly interested in nintendo switch emulators, which don't exist in the repos

Last edited by V1del (2025-12-26 23:10:49)

Offline

Board footer

Powered by FluxBB