Terminated by signal SIGSEGV (RETROARCH)

garuda-inxi
System:
  Kernel: 6.2.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=638d66f7-7120-495a-b112-8982a6bd72b5 rw rootflags=subvol=@
    rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=9e073d5e-7133-4096-96d4-c7f96f4ce63a loglevel=3 ibt=off
  Desktop: Cinnamon v: 5.6.7 tk: GTK v: 3.24.37 wm: muffin vt: 7 dm: LightDM
    v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: GA-78LMT-USB3 6.0
    serial: <superuser required> BIOS: Award v: F2 date: 11/25/2014
CPU:
  Info: model: AMD FX-6300 bits: 64 type: MT MCP arch: Piledriver level: v2
    built: 2012-13 process: GF 32nm family: 0x15 (21) model-id: 2 stepping: 0
    microcode: 0x6000852
  Topology: cpus: 1x cores: 6 smt: enabled cache: L1: 288 KiB
    desc: d-6x16 KiB; i-3x64 KiB L2: 6 MiB desc: 3x2 MiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1488 high: 1696 min/max: 1400/3500 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1400 2: 1406
    3: 1616 4: 1696 5: 1406 6: 1406 bogomips: 42188
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
    vendor: Gigabyte driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
    process: GF 14nm built: 2016-20 pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s ports: active: HDMI-A-1 empty: DP-1,DVI-D-1
    bus-ID: 01:00.0 chip-ID: 1002:699f class-ID: 0300 temp: 45.0 C
  Display: x11 server: X.Org v: 21.1.7 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: AOC 1970W serial: <filter>
    built: 2015 res: 1366x768 hz: 60 dpi: 85 gamma: 1.2
    size: 410x230mm (16.14x9.06") diag: 470mm (18.5") ratio: 16:9 modes:
    max: 1366x768 min: 720x400
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon RX 550 / 550 Series
    (polaris12 LLVM 15.0.7 DRM 3.49 6.2.2-zen1-1-zen) direct-render: Yes
Audio:
  Device-1: AMD SBx00 Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel
    bus-ID: 00:14.2 chip-ID: 1002:4383 class-ID: 0403
  Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X]
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 8 link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 1002:aae0
    class-ID: 0403
  Sound API: ALSA v: k6.2.2-zen1-1-zen running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: ce00 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  IF-ID-1: enp0s19f2u4 state: unknown speed: -1 duplex: half mac: <filter>
Bluetooth:
  Device-1: Xiaomi Mi/Redmi series (RNDIS) type: USB driver: rndis_host
    v: kernel bus-ID: 3-4:3 chip-ID: 2717:ff80 class-ID: 0a00 serial: <filter>
  Report: bt-service: enabled,stopped note: tool can't run
Drives:
  Local Storage: total: 2.73 TiB used: 1.97 TiB (72.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10EZRX-00L4HB0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 1A01
    scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD20EZBX-00AYRA0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: MBR
Partition:
  ID-1: / raw-size: 918.68 GiB size: 918.68 GiB (100.00%)
    used: 546 GiB (59.4%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-2: /home raw-size: 918.68 GiB size: 918.68 GiB (100.00%)
    used: 546 GiB (59.4%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-3: /var/log raw-size: 918.68 GiB size: 918.68 GiB (100.00%)
    used: 546 GiB (59.4%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
  ID-4: /var/tmp raw-size: 918.68 GiB size: 918.68 GiB (100.00%)
    used: 546 GiB (59.4%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 11.66 GiB used: 435.2 MiB (3.6%)
    priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 12.83 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda2 maj-min: 8:2
Sensors:
  System Temperatures: cpu: 31.6 C mobo: N/A gpu: amdgpu temp: 45.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1411
Info:
  Processes: 304 Uptime: 45m wakeups: 0 Memory: 11.66 GiB
  used: 6.58 GiB (56.4%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1858
  pm: pacman pkgs: 1836 libs: 554 tools: octopi,pamac,paru pm: flatpak
  pkgs: 22 Shell: fish v: 3.6.0 default: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.25
Garuda (2.6.15-1):
  System install date:     2022-12-26
  Last full system update: 2023-03-08
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio
  Windows dual boot:       <superuser required>
  Failed units:            nmb.service 

i am having problem with Retroarch. Whenever i try to start retroarch just shut himself with error

retroarch --verbose
[INFO] [Config]: Looking for config in: "/home/jumbotron/.config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.14.0 (Git ad89b0c655)
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD FX(tm)-6300 Six-Core Processor             
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Dec 13 2022
[INFO] Version: 1.14.0
[INFO] Git: ad89b0c655
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: 1280x720.
[INFO] [Video]: Starting threaded video driver ...
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_EXT_swap_control_tear supported.
[INFO] [GLCore]: Found GL context: "x".
[INFO] [GLCore]: Detecting screen resolution: 1366x768.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [GLX]: Using Xinerama on screen #0.
[INFO] [GLX]: X = 0, Y = 0, W = 1366, H = 768.
[INFO] [GLX]: Using windowed fullscreen.
[INFO] [GLX]: Creating context for requested version 3.2.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLCore]: Vendor: AMD, Renderer: AMD Radeon RX 550 / 550 Series (polaris12, LLVM 15.0.7, DRM 3.49, 6.2.2-zen1-1-zen).
[INFO] [GLCore]: Version: 4.6 (Core Profile) Mesa 22.3.6.
[INFO] [GLCore]: Using resolution 1366x768.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Video]: Found display server: "x11".
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Playlist]: Loading history file: "/home/jumbotron/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/jumbotron/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/jumbotron/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/home/jumbotron/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/home/jumbotron/.config/retroarch/content_favorites.lpl".
[INFO] [PulseAudio]: Pausing.
[INFO] [GLX]: Resized fullscreen resolution to 1366x768.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [XINERAMA]: Saved monitor #0.
[INFO] Threaded video stats: Frames pushed: 660, Frames dropped: 0.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: 1280x720.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_EXT_swap_control_tear supported.
[INFO] [GLCore]: Found GL context: "x".
[INFO] [GLCore]: Detecting screen resolution: 1366x768.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [GLX]: Using Xinerama on screen #0.
[INFO] [GLX]: X = 0, Y = 0, W = 1366, H = 768.
[INFO] [GLX]: Using windowed fullscreen.
[INFO] [GLX]: Creating context for requested version 3.2.
fish: Job 1, 'retroarch --verbose' terminated by signal SIGSEGV (Address boundary error)

After this it won't launch without restarting my pc .

A quick search online indicates it has problems with Wayland, if possible try running an X11 session.

[ERROR] [Wayland]: Failed to connect to Wayland server.

Search · repo:libretro/RetroArch Failed to connect to Wayland server · GitHub

how do i remove wayland ?

could not satisfy dependencies:

  • removing wayland breaks dependency 'wayland' required by gst-plugins-bad-libs
  • removing egl-wayland breaks dependency 'egl-wayland' required by libdecor

I think (I may be wrong) there should be an option when logging in, whether to use Wayland or X11.
Don't remove it.

No x11 or wayland option only "Default " and "Software Rendering "

                  .%;888:8898898:                jumbotron@Debian
                 x;XxXB%89b8:b8%b88:              ----------------
              .8Xxd                8X:.           OS: Garuda Linux x86_64
            .8Xx;                    8x:.         Host: GA-78LMT-USB3 6.0
          .tt8x          .d            x88;       Kernel: 6.2.2-zen1-1-zen
       .@8x8;          .db:              xx@;     Uptime: 1 hour, 17 mins
     ,tSXX°          .bbbbbbbbbbbbbbbbbbbB8x@;    Packages: 1836 (pacman)[stable]
   .SXxx            bBBBBBBBBBBBBBBBBBBBbSBX8;    Shell: fish 3.6.0
 ,888S                                     pd!    Display: 1366x768
8X88/                                       q     DE: Cinnamon 5.6.7
8X88/                                             WM: Muffin (X11)
GBB.                                              WM Theme: Graphite-Dark-compact (Sweet-Dark)
 x%88        d888@8@X@X@X88X@@XX@@X@8@X.          Theme:  [Plasma], {?}Arc-Darker [GTK2/3/4]
   dxXd    dB8b8b8B8B08bB88b998888b88x.           Icons: Yaru-blue [GTK2/3/4]
    dxx8o                      .@@;.              Terminal: gnome-terminal-server 3.46.8
      dx88                   .t@x.                Terminal Font: FantasqueSansMono Nerd Font Mono 12
        d:SS@8ba89aa67a853Sxxad.                  CPU: AMD FX(tm)-6300 (6) @ 3.5 GHz
          .d988999889889899dd.                    GPU: AMD Radeon RX 550 / 550
                                                  Memory: 4.39 GiB / 11.66 GiB

i think i am in x11

I think you're right, my bad. That "ERROR" confused me.
Still sifting thru the issues to see if there's something relevant.

edit: can't find one that fails the same way.

A shot in the dark: some (somewhat old) internet posts report better luck with the Appimage or Flatpack versions, I guess it may be worth trying.

ok,
this thing happen after i updated my amd gpu pro driver from aur package.

1 Like

That's likely the problem then. What's the name of the driver package?

https://aur.archlinux.org/packages/amdgpu-pro-oglp
https://aur.archlinux.org/packages/vulkan-amdgpu-pro
https://aur.archlinux.org/packages/amf-amdgpu-pro
https://aur.archlinux.org/packages/lib32-amdgpu-pro-oglp
https://aur.archlinux.org/packages/lib32-vulkan-amdgpu-pro
https://aur.archlinux.org/packages/obs-studio-amf

Removing them didn't fix anything they knocked out my lutris vulkan icd loader(Default option).

Something Wrong with glcore in retroarch its giving me this SIGSEGV error ,swithcing to vulkan fixed it.

3 Likes

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