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
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
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.
xf86-video-intel driver on archlinux isn't developed anymore.
Rather development efforts for intel drivers go into the linux kernel module
So I uninstalled the driver with:
sudo pacman -Rs xf86-video-intel
[ 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