Problem: I've had problems with Signal and Brave (chromium based) occasionally freezing.
From the asahi linux chat on matrix (see the logs) I've learned that both are electron apps.
Electron let's you develop apps with HTML/CSS/JavaScript
and run on Windows/MacOS/Linux through chromium.
After a kernel upgrade (to 5.18.7) they both stopped working.
I could get them running by calling them from the command line and using the command line option --disable-gpu
.
Alternatively, from within Brave (and Slack and VSCode) one can disable hardware acceleration.
But if the application is stuck from the beginning, this doesn't help.
I found the source of the problem, though; thanks to github issue comment.
The xf86-video-intel
driver on archlinux isn't developed anymore.
Rather development efforts for intel drivers go into the linux kernel module modesetting
.
So I uninstalled the driver with:
sudo pacman -Rs xf86-video-intel
but my ~/.local/share/xorg/Xorg.0.log
read:
[ 799.743] (EE) Failed to load module "intel" (module does not exist, 0) [ 799.743] (EE) No drivers available. [ 799.744] (EE) [ 799.744] (EE) no screens found(EE)
The solution was to delete any config files in /etc/X11/xorg.conf.d/
needing xf86-video-intel.
I coulnd't controll my backlight though: so I followed the Backlight archwiki page:
sudo pacman -Rs xorg-xbacklight sudo pacman -Syu acpilight echo 'ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="acpi_video0", GROUP="video", MODE="0664"' | sudo tee /etc/udev/rules.d/backlight.rules sudo usermod -aG video pur