Discord video chat crashes system

, ,

Hi,

currently I’m looking for any kind of solution or hints.

After upgrading my existing and working Fedora 42 to 43, I got problems during video calls with discord app (flatpack). The Screen starts flickering and showing some weird pink-ish display content. See attached image.

After this error, I rebooted, tried again → same issue. After reinstall Fedora 43 → same issue. After a fresh install of Fedora 42 → same issue.

Using Discord with my browser, there is no such problem. I even switched the camera, the problem with Fedora 42 and 42 is still the same.

Between the tests, I always used the latest Discord version.

Now my question: Is there any location, where I can have a look regarding logfiles or error messages?

Thanks a lot for your hints and help.

All the best

Marcus

Maybe the discord published by discord will work better then the flatpak?

Can you see the video issues when you go into discord settings/Voice & Video and choose Test Video?

That is working for me on f43 KDE plasma.

Any logs are usually in the system journal or the user journal.

Know deatails of the hardware and software will be needed to offer better advice.
What is the output of inxi -Fzxx?

FYI: I use this bash script to update the discord app (update-discord.sh).

#!/bin/bash
URL=https://discord.com/api/download/stable?platform=linux&format=tar.gz
DT=~/tmpdir/discord.tmp
rm -rf ${DT}
mkdir -p ${DT}
cd ${DT}
curl -L "https://discord.com/api/download/stable?platform=linux&format=tar.gz" -o discord.tar.gz
tar xf discord.tar.gz
if ! diff -u ~/bin/Discord/resources/build_info.json Discord/resources/build_info.json
then
    echo "Discord Needs update"
    rm -rf ~/bin/Discord.previous
    if [[ -e ~/bin/Discord ]]
    then
        mv ~/bin/Discord ~/bin/Discord.previous
    fi
    mv ${DT}/Discord ~/bin
    echo "Updated!"
else
    echo "Discord is up to date"
    cat ~/bin/Discord/resources/build_info.json
fi

Hi,

thanks for your answer.

The video in the “Test video” feature works without any hickups. Since this happens with different cameras and freshly installed Fedora (on 42 AND 43), my guess is that this is either Discord itself with using some weird codecs or my graphics card is kind of faulty.

ystem:
  Kernel: 6.17.8-300.fc43.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
  Desktop: KDE Plasma v: 6.5.3 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 43 (KDE Plasma Desktop Edition)
Machine:
  Type: Desktop System: Micro-Star product: MS-7C02 v: 3.0
    serial: <superuser required>
  Mobo: Micro-Star model: B450 TOMAHAWK MAX II (MS-7C02) v: 3.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: H.B0
    date: 07/07/2023
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) status: discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 100% (should be ignored) status: discharging
CPU:
  Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+
    rev: 2 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 3545 min/max: 561/4654 boost: enabled cores: 1: 3545
    2: 3545 3: 3545 4: 3545 5: 3545 6: 3545 7: 3545 8: 3545 9: 3545 10: 3545
    11: 3545 12: 3545 bogomips: 88801
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
    ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
    470/480/570/570X/580/580X/590] vendor: Micro-Star MSI driver: amdgpu
    v: kernel arch: GCN-4 pcie: speed: 8 GT/s lanes: 16 ports:
    active: DP-2,HDMI-A-2 empty: DP-1,DVI-D-1,HDMI-A-1 bus-ID: 26:00.0
    chip-ID: 1002:67df temp: 54.0 C
  Device-2: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-8:5 chip-ID: 046d:08e5
  Display: wayland server: Xwayland v: 24.1.9 compositor: kwin_wayland
    driver: gpu: amdgpu d-rect: 5760x2160 display-ID: 0
  Monitor-1: DP-2 pos: right model: Samsung U28E590 res: 3840x2160 hz: 60
    dpi: 161 diag: 698mm (27.5")
  Monitor-2: HDMI-A-2 pos: primary,left model: LG (GoldStar) 22EN43
    res: 1920x1080 hz: 60 dpi: 102 diag: 547mm (21.5")
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    gbm: drv: kms_swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.7 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon RX 570 Series (radeonsi polaris10
    ACO DRM 3.64 6.17.8-300.fc43.x86_64) device-ID: 1002:67df display-ID: :0.0
  API: Vulkan v: 1.4.321 surfaces: N/A device: 0 type: discrete-gpu
    driver: mesa radv device-ID: 1002:67df device: 1 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdriinfo,
    xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere HDMI Audio [Radeon RX
    470/480 / 570/580/590] vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 26:00.1 chip-ID: 1002:aaf0
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 28:00.4 chip-ID: 1022:1487
  Device-3: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-8:5 chip-ID: 046d:08e5
  Device-4: HP HyperX Cloud II Core Wireless
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-9:6 chip-ID: 03f0:0995
  API: ALSA v: k6.17.8-300.fc43.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.4.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168
  IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
RAID:
  Device-1: Backup type: zfs status: ONLINE level: linear raw: size: 2.72 TiB
    free: 2.02 TiB zfs-fs: size: 2.63 TiB free: 1.94 TiB
  Components: Online: 1: sdb1
Drives:
  Local Storage: total: raw: 5.46 TiB usable: 5.37 TiB
    used: 798.89 GiB (14.5%)
  ID-1: /dev/nvme0n1 vendor: KIOXIA model: EXCERIA G2 SSD size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 39.9 C
  ID-2: /dev/sda vendor: Hitachi model: HDS5C3020BLE630 size: 1.82 TiB
    speed: 6.0 Gb/s serial: <filter> temp: 31 C
  ID-3: /dev/sdb vendor: Western Digital model: WD30NMZW-11GX6S1
    size: 2.73 TiB type: USB rev: 3.0 spd: 5 Gb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 929.93 GiB used: 83.12 GiB (8.9%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 501.9 MiB (51.6%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 929.93 GiB used: 83.12 GiB (8.9%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 4 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 41.5 C mobo: N/A gpu: amdgpu temp: 54.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 201
Info:
  Memory: total: 16 GiB available: 15.53 GiB used: 5.32 GiB (34.3%)
  Processes: 546 Power: uptime: 7h 54m wakeups: 0 Init: systemd v: 258
    default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 22
    Compilers: gcc: 15.2.1 Shell: Bash v: 5.3.0 running-in: konsole inxi: 3.3.39

Thanks for the script.

I have the same Logitech C920 PRO HD Webcam that I use with Discord.
My hardware is:

$ inxi -G
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] driver: amdgpu
    v: kernel
  Device-2: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo type: USB
  Display: unspecified server: X.org v: 1.21.1.20 with: Xwayland v: 24.1.9 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: amdgpu tty: 120x36
    resolution: 3840x2160
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms: gbm,wayland,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 25.2.7 note: console (EGL sourced)
    renderer: llvmpipe (LLVM 21.1.5 256 bits), AMD Radeon RX 7800 XT (radeonsi navi32 LLVM 21.1.5
    DRM 3.64 6.17.8-300.fc43.x86_64)
  API: Vulkan v: 1.4.321 drivers: radv,llvmpipe surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,kscreen-doctor
    wl: wayland-info,wlr-randr x11: xdriinfo, xdpyinfo, xprop, xrandr

I tried a call to my son, he did not have a camera on his end, but said my video was clear with no issues.

Maybe GPU related.

Hi,

after installing Discord with your script, it worked. So flatpak Discord might (in my case) be the problem.

Thanks for your help and the script.