You are not logged in.
Hello,
since I decided to switch to DWM from XFCE4 I've been experiencing weird graphics-related issues - youtube videos unable to load, VLC crashing after opening a video/audio file. Also my browser (LibreWolf) and email client (ThunderBird) slowed down significantly. It used to took around 3 seconds to load a webpage, now the same webpage takes around 10-20 seconds. The weird thing is that CPU usage stays at max. 50% and memory never exceeds 1,3 GB. Everything worked as expected while using XFCE.
I feel like I've already tried everything I found online but nothing seems to help. Anyone has any experience with similar issues? Thanks so much in advance.
Those are the error messages librewolf gave me when starting from terminal:
[Child 23561, MediaDecoderStateMachine #1] WARNING: 7f2dfa6f9940 OpenCubeb() failed to init cubeb: file /root/.local/share/bsys6/work/librewolf-139.0.4-1/dom/media/AudioStream.cpp:284
[Child 23561, MediaDecoderStateMachine #1] WARNING: Decoder=7f2df162b600 [OnMediaSinkAudioError]: file /root/.local/share/bsys6/work/librewolf-139.0.4-1/dom/media/MediaDecoderStateMachine.cpp:4637
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=226.014) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
[Parent 23373, Main Thread] WARNING: Failed to enumerate devices of org.freedesktop.UPower: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Sender is not authorized to send message
: 'glib warning', file /root/.local/share/bsys6/work/librewolf-139.0.4-1/toolkit/xre/nsSigHandlers.cpp:201
** (librewolf:23373): WARNING **: 13:51:36.413: Failed to enumerate devices of org.freedesktop.UPower: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Sender is not authorized to send messageAnd my .xinitrc:
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY &
xsetroot -solid "#060811" &
setxkbmap -layout cz &
pulseaudio --start &
pipewire &
pipewire-media-session &
slstatus &
picom &
feh --bg-scale /home/oscarwilde/Desktop/wallpaper/bcg.jpg
while true; do
dwm >/dev/null 2>&1
doneLast edited by PotatoLover12 (2025-06-25 16:15:04)
Offline
DWM has nothing to do with this.
Don't fork dbus-update-activation-environment, xsetroot or setxkbmap
Replace pipewire-media-session w/ wireplumber and pulseaudio w/ pipewire-pulse
Also pipewire is socket activated, you should™ not have to start any of this manually anyway
However
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=226.014) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt seems like a broken graphics driver and you're now running on software emulation.
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Did you maybe fumble the firmware split and now lack linux-firmware-intel or linux-firmware-amdgpu?
while true; do
dwm >/dev/null 2>&1
done
Pro-tip, rate control this (eg. add a 5s sleep between the restarts)
If things go wrong an dmw insta-crashes, that loop would otherwise most likely preclude you from any interception.
I'd personally probably check for bursts (did it crash 5 times in the last miniute) and resort to sth. like an xterm instead of dwm to give you a stable platform to fix the situation before returning to the dwm loop.
Offline
Thanks for the reply.
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
it's a really big file so there are only the parts around error messages, which i found two:
[ 3050.983] (II) Module glx: vendor="X.Org Foundation"
[ 3050.983] compiled for 1.21.1.18, module version = 1.0.0
[ 3050.983] ABI class: X.Org Server Extension, version 10.0
[ 3050.983] (==) Matched intel as autoconfigured driver 0
[ 3050.983] (==) Matched modesetting as autoconfigured driver 1
[ 3050.983] (==) Matched fbdev as autoconfigured driver 2
[ 3050.984] (==) Matched vesa as autoconfigured driver 3
[ 3050.984] (==) Assigned the driver to the xf86ConfigLayout
[ 3050.984] (II) LoadModule: "intel"
[ 3050.984] (WW) Warning, couldn't open module intel
[ 3050.984] (EE) Failed to load module "intel" (module does not exist, 0)
[ 3050.984] (II) LoadModule: "modesetting"
[ 3050.984] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 3050.984] (II) Module modesetting: vendor="X.Org Foundation"
[ 3050.984] compiled for 1.21.1.18, module version = 1.21.1
[ 3050.984] Module class: X.Org Video Driver
[ 3050.984] ABI class: X.Org Video Driver, version 25.2
[ 3050.984] (II) LoadModule: "fbdev"
[ 3050.984] (WW) Warning, couldn't open module fbdev
[ 3050.984] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 3050.984] (II) LoadModule: "vesa"
[ 3050.984] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 3050.985] (II) Module vesa: vendor="X.Org Foundation"
[ 3050.985] compiled for 1.21.1.11, module version = 2.6.0
[ 3050.985] Module class: X.Org Video Driver
[ 3050.985] ABI class: X.Org Video Driver, version 25.2
[ 3050.985] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 3050.985] (II) VESA: driver for VESA chipsets: vesa
[ 3050.985] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[ 3050.985] (II) modeset(0): using drv /dev/dri/card1
[ 3050.985] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 3050.985] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 3050.985] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 3050.985] (==) modeset(0): RGB weight 888
[ 3050.985] (==) modeset(0): Default visual is TrueColor
[ 3050.985] (II) Loading sub module "glamoregl"
[ 3050.985] (II) LoadModule: "glamoregl"
[ 3050.985] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 3050.989] (II) Module glamoregl: vendor="X.Org Foundation"
[ 3050.989] compiled for 1.21.1.18, module version = 1.0.1
[ 3050.989] ABI class: X.Org ANSI C Emulation, version 0.4
[ 3051.029] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) HD Graphics 3000 (SNB GT2) and
[ 8676.831] (EE) event4 - PixArt A4Tech OpticalMouse: client bug: event processing lagging behind by 55ms, your system is too slow
[ 9780.934] (II) Axis 0x1 value 1141 is outside expected range [1237, 4990]
See https://wayland.freedesktop.org/libinput/doc/1.28.1/absolute_coordinate_ranges.html for details
[ 14417.125] (II) Axis 0x1 value 1204 is outside expected range [1237, 4990]
See https://wayland.freedesktop.org/libinput/doc/1.28.1/absolute_coordinate_ranges.html for details Did you maybe fumble the firmware split and now lack linux-firmware-intel or linux-firmware-amdgpu?
I checked for the linux-firmware-intel package and it's installed.
Don't fork dbus-update-activation-environment, xsetroot or setxkbmap
Replace pipewire-media-session w/ wireplumber and pulseaudio w/ pipewire-pulse
Also pipewire is socket activated, you should™ not have to start any of this manually anyway
Oh, I see, now I've fixed that. I found that adding dbus-update-activation-environment to .xinitrc fixed a similar problem to mine for someone so I tried it out, it did nothing however. I tried playing around with it and disabling and enabling stuff in it, however even starting X with picom and dwm only doesn't fix anything.
Offline
it's a really big file
I'll open a big-boy editor and deal with that.
Please post the entire file, you can upload it to 0x0.st if you feel better about that
I found that adding dbus-update-activation-environment to .xinitrc fixed a similar
Yes, it achieves what's mentioned in the last link below - the problem is the fork ("&"), not the call itself
Offline
yes, it achieves what's mentioned in the last link below - the problem is the fork ("&"), not the call itself
lol i must have understood it wrong before then. changing that actually fixed my problem now that ive restarted X somehow? thank you.
Offline