Package Details: melonds-git 1.1.r63.gc851d65-2

Git Clone URL: https://aur.archlinux.org/melonds-git.git (read-only, click to copy)
Package Base: melonds-git
Description: DS emulator, sorta
Upstream URL: https://github.com/melonDS-emu/melonDS
Keywords: Arisotura DS DSi emulator kuribo Lite melonds NDS Nintendo StapleButter
Licenses: GPL-3.0-or-later
Conflicts: melonds
Provides: melonds
Submitter: hcorion
Maintainer: hcorion (xiota)
Last Packager: xiota
Votes: 17
Popularity: 0.34
First Submitted: 2017-10-25 19:39 (UTC)
Last Updated: 2026-05-17 17:45 (UTC)

Latest Comments

1 2 3 Next › Last »

xiota commented on 2026-05-31 03:00 (UTC) (edited on 2026-05-31 03:06 (UTC) by xiota)

@asyync1024 I don't have a computer that resource constrained in usable state. I'll consider switching back after I get a chance to test.

In the meantime, you can set _use_clang=true.

  • _use_clang=true makepkg -sri
  • extra-x86_64-build -- -- _use_clang=true

asyync1024 commented on 2026-05-30 05:49 (UTC)

@xiota Any leads on the performance gap? Have you tried it yourself?

asyync1024 commented on 2026-05-18 08:41 (UTC) (edited on 2026-05-30 05:49 (UTC) by asyync1024)

Q9550 @ 3.33GHz, GT 740 GDDR3 4GB, 4GB Dual Channel 800 MT/s RAM.

It's pretty bad but seems decent for emulating a DS. It handles Azahar (3DS emulator) easily at 5x native, 25 fps or so.

Here are the results of comparing the melonDS binary produced by both compilers: GCC vs Clang (fps) 1x native: 45 vs 60 6x native: 35 vs 60

Almost a 2x slowdown. Performed on "MegaMan Zero Collection", which has no 3D elements.

xiota commented on 2026-05-18 07:29 (UTC)

@asyync1024 GCC is known to be slower than Clang in some cases. What hardware are you running on?

asyync1024 commented on 2026-05-18 05:36 (UTC)

Hey! I had compiled with GCC yesterday as you know, but I am experiencing slow-down in OpenGL (Classic) and OpenGL (Compute Shader) renderers. Software "seems" to work fine.

Can you confirm if the significant slowdown appears on your end too? Clang seems to produce a working, non-slow binary. Sorry for not testing before.

asyync1024 commented on 2026-05-17 10:42 (UTC)

Hey! GCC 16 now successfully builds melonDS! So there is no need to keep Clang anymore, thanks.

username227 commented on 2025-05-11 18:58 (UTC)

Per the discussion here using clang to link will solve the problem. i've tested. Please add these to the build options array:

-DCMAKE_CXX_COMPILER=clang++
    -DCMAKE_C_COMPILER=clang

username227 commented on 2025-05-11 13:23 (UTC)

the executable fails to link at the end. ...