SDL_AddAtomicInt missing in SDL3 library

KDE System Settings Crash - SDL_AddAtomicInt Missing in SDL3

Opening KDE System Settings and navigating to the Controller section causes the application to crash. Running systemsettings from the terminal shows the error. I first noticed the error when i tried launching stremio but it refused to open. Opening stremio from the terminal shows the same error. I thought it was a stremio specific issue at first so i ignored it and installed the web app version. Since it is happening elsewhere too I figured it was a system issue.

Troubleshooting Steps Taken

Rebooted the system
Verified SDL3 is installed and up to date
Searched online and in the Garuda forums but found no direct solution

System Information (garuda-inxi)

System:
Kernel: 6.13.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=3ee75408-4d82-4aee-8e9c-3ebe1a12155a rw rootflags=subvol=@
loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.3.1 tk: Qt v: N/A info: frameworks v: 6.11.0
wm: kwin_x11 tools: avail: xss-lock,xtrlock vt: 2 dm: 1: LightDM v: 1.32.0
note: stopped 2: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: Gigabyte model: B550 AORUS ELITE AX V2 v: x.x
serial: <superuser required> uuid: <superuser required> UEFI: American
Megatrends LLC. v: FF date: 03/22/2024
CPU:
Info: model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3+ gen: 3
level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
model-id: 0x21 (33) stepping: 2 microcode: 0xA201210
Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
desc: 8x512 KiB L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 1752 min/max: 550/4851 boost: enabled scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 1752 2: 1752 3: 1752
4: 1752 5: 1752 6: 1752 7: 1752 8: 1752 9: 1752 10: 1752 11: 1752 12: 1752
13: 1752 14: 1752 15: 1752 16: 1752 bogomips: 121376
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 22 [Radeon RX 6700/6700
XT/6750 XT / 6800M/6850M XT] vendor: Sapphire driver: amdgpu v: kernel
arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-3 empty: DP-1, DP-2,
HDMI-A-1, Writeback-1 bus-ID: 08:00.0 chip-ID: 1002:73df class-ID: 0300
Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.5
compositor: kwin_x11 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: DP-3 mapped: DisplayPort-2 model: LG (GoldStar) ULTRAGEAR
serial: <filter> built: 2023 res: mode: 1920x1080 hz: 144 scale: 100% (1)
dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65") diag: 604mm (23.8")
ratio: 16:9 modes: max: 1920x1080 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.4-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi
navi22 LLVM 19.1.7 DRM 3.59 6.13.2-zen1-1-zen) device-ID: 1002:73df
memory: 11.72 GiB unified: no
API: Vulkan v: 1.4.303 layers: 14 device: 0 type: discrete-gpu name: AMD
Radeon RX 6700 XT (RADV NAVI22) driver: N/A device-ID: 1002:73df
surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe (LLVM 19.1.7 256
bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: corectrl wl: wayland-info
x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 08:00.1 chip-ID: 1002:ab28 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Texas Instruments PCM2902 Audio Codec
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-3:2 chip-ID: 08bb:2902 class-ID: 0300
Device-4: FiiO KA13 driver: hid-generic,snd-usb-audio,usbhid type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:3 chip-ID: 2972:0062
class-ID: 0102
API: ALSA v: k6.13.2-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel pcie:
gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 14c3:0608
class-ID: 0280
IF: wlp5s0 state: down mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 0e8d:0608
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
Local Storage: total: 2.73 TiB used: 1.17 TiB (42.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT1000P3PSSD8
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: P9CR411 temp: 30.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD20EZBX-00AYRA0 size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
fw-rev: 1A01 scheme: GPT
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 760.48 GiB (81.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 760.48 GiB (81.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 760.48 GiB (81.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 760.48 GiB (81.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.26 GiB used: 859.2 MiB (2.7%)
priority: 100 comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842
max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 44.2 C mobo: 29.0 C gpu: amdgpu temp: 34.0 C
mem: 32.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 838
Info:
Memory: total: 32 GiB available: 31.26 GiB used: 9.55 GiB (30.5%)
Processes: 411 Power: uptime: 1h 38m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.48 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 2413 libs: 620 tools: paru,yay Compilers:
clang: 19.1.7 gcc: 14.2.1 Shell: garuda-inxi default: Zsh v: 5.9
running-in: yakuake inxi: 3.3.37
Garuda (2.6.26-1.1):
System install date:     2023-11-14
Last full system update: 2025-02-21 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

Output of pacman -Qs sdl if it helps

local/lib32-sdl12-compat 1.2.68-2
SDL 1.2 runtime compatibility library using SDL 2.0
local/lib32-sdl2-compat 2.32.50-1
An SDL2 compatibility layer that uses SDL3 behind the scenes - 32-bit
local/lib32-sdl2_image 2.8.4-1
A simple library to load images of various formats as SDL surfaces
local/lib32-sdl2_mixer 2.8.0-1
A simple multi-channel audio mixer
local/lib32-sdl2_ttf 2.24.0-1
Library that allows you to use TrueType fonts in your SDL applications (Version 2) (32-bit)
local/lib32-sdl3 3.2.4-1
A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 3) - 32-bit
local/lib32-sdl_image 1.2.12-9
A simple library to load images of various formats as SDL surfaces (32-bit)
local/lib32-sdl_mixer 1.2.12-6
A simple multi-channel audio mixer
local/lib32-sdl_ttf 2.0.11-9
A library that allows you to use TrueType fonts in your SDL applications (32-bit)
local/qemu-audio-sdl 9.2.0-2
QEMU SDL audio driver
local/qemu-ui-sdl 9.2.0-2
QEMU SDL UI driver
local/sdl12-compat 1.2.68-2
SDL 1.2 runtime compatibility library using SDL 2.0
local/sdl2-compat 2.32.50-1
An SDL2 compatibility layer that uses SDL3 behind the scenes
local/sdl2_image 2.8.5-1
A simple library to load images of various formats as SDL surfaces (Version 2)
local/sdl2_mixer 2.8.1-1
A simple multi-channel audio mixer (Version 2)
local/sdl2_ttf 2.24.0-1
A library that allows you to use TrueType fonts in your SDL applications (Version 2)
local/sdl3 1:3.0.0.r5890.gd6ad28a-1
Simple Directmedia Layer (Version 3 Pre-Release, Updated weekly)
local/sdl_image 1.2.12-9
A simple library to load images of various formats as SDL surfaces
local/sdl_mixer 1.2.12-12
A simple multi-channel audio mixer
local/sdl_ttf 2.0.11-7
A library that allows you to use TrueType fonts in your SDL applications

Would appreciate any guidance on resolving this issue. Thanks!

Your garuda-inxi claims the opposite:


And pacman -Qs also claims the opposite:

If this is an outdated AUR version, then try:

garuda-update -a

Current sdl3 version in the extra-repo is:

local/sdl3 3.2.4-1
A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard
(Version 3)
4 Likes

I have had this issue for weeks, idk how the package avoided serval system updates. I did reinstall sdl3 several times but somehow it never installed the correct version. Thanks for the help.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.