You are not logged in.

#1 2025-02-13 05:01:33

kingslayer
Member
Registered: 2025-01-31
Posts: 3

Electron & Chromium apps not launching

After switching from nvidia-open to nvidia and enabling nvidia_drm.modeset=1, Electron and Chromium-based apps (e.g., Discord, Chrome, VS Code) stopped working. They were working before but stopped unexpectedly.

Observations:
    These apps work fine on i3.
    They also work if launched with --disable-accelerated-video-decode.

System Details:
    WM: Hyprland (Issue) / i3 (Works)

    Bootloader: GRUB

    NVIDIA Drivers Installed:

pacman -Qs nvidia

local/egl-gbm 1.1.2-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.17-1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.0-1
    NVIDIA XLib and XCB EGL Platform Library
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/nvidia-dkms 570.86.16-2
    NVIDIA kernel modules - module sources
local/nvidia-utils 570.86.16-2
    NVIDIA drivers utilities
local/opencl-nvidia 570.86.16-2
    OpenCL implementation for NVIDIA

KMS Status:

    sudo cat /sys/module/nvidia_drm/parameters/modeset

    Output: Y

Error Message (e.g., when running Discord):

"extra":{"release_channel":"stable","sentry":{"environment":"stable","release":"0.0.85"},"wm":"Hyprland,unknown"}}
[4182:0213/065123.018420:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=139
[4182:0213/065123.018441:FATAL:gpu_data_manager_impl_private.cc(436)] GPU process isn't usable. Goodbye.
[1]    4182 trace trap (core dumped)  discord

    I also enabled NVIDIA DRM KMS by adding nvidia_drm.modeset=1 to GRUB:

sudo nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia_drm.modeset=1"

Then ran:

sudo grub-mkconfig -o /boot/grub/grub.cfg 
sudo mkinitcpio -P

Reinstalled NVIDIA drivers (nvidia, nvidia-utils, nvidia-settings).


Why does this issue occur only on Hyprland and not on i3?
Is there a way to fix hardware acceleration instead of using --disable-accelerated-video-decode?

Any help is appreciated! Thanks.

Offline

#2 2025-02-13 08:14:40

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

Re: Electron & Chromium apps not launching

glxinfo -B

Have you tried to enforce a native wayland client, https://wiki.archlinux.org/title/Chromi … er_Wayland (ignore the symptoms)

Online

Board footer

Powered by FluxBB