Lot of apps like Install Beaker - Beaker Browser (and vscodium as sudo user) start blank… empty squares, nothing more
I have to use it
I also find this problem on the “Min Browser” app and “vscodium”…
Half solution (but working) :
On some applications I can do a --disable-gpu to bypass the gpu and the app run (display the content)
I’ve had problems with chromium and Chrome on Linux. The fix is to pass --disable-gpu-compositing to the commandline. For chromium, in Debian, that can be done by adding a line like:
in (say) /etc/chromium.d/disable-compositing. For electron-based apps, there isn’t (AFAIK) such a magic file, so you have to figure out a way to pass it at all incantations.
I’ve had this problem running Ubuntu (Xubuntu minimum install) 22.04 on my 12th gen i7 Framework and my older Dell Precision 5540 running Ubuntu 20.04.
I see visual glitches - black squares, displaced visual artifacts, etc - in a variety of applications, including but not limited to:
Slack
Chromium
VS Code
Bitwarden
Balena Etcher
In all cases, I can start the application with the --disable-gpu flag and it runs without issue. However, this is a band-aid, not a fix. There is something going on with graphics acceleration in Electron or browser-based applications. Maybe this relates to Intel graphics support?
I have not yet tried reproducing the issue in other distributions.
I wonder if anyone else has experienced this issue, or if Framework devs encountered it while working on Linux support.
Have you tried with --disable-gpu-compositing only? I suspect the problem is only with the compositor, and only with some of them, because I have anecdotal reports of people not having the problem under Wayland.
Interesting, I had this issue too, so the --disable-gpu-compositing or --disable-gpu flags helped me. However, all Electron apps tended to heat up the laptop and cause a battery drain.
vscode works with --disable-gpu
Like others Electron Apps… I have an output error libva error: /usr/lib/dri/i965_drv_video.so init failed
I will find out who it is
EDIT : libva error: i965_drv_video.so init failed · Issue #375 · intel/libva · GitHub
EDIT : I also do sudo npm install -g electron-prebuilt
PS: And now I can lanch Electron with --disable-gpu [SOLVED]
Not sure if you resolved your issue. But please be sure you don’t have xf86-video-intel installed.
I am running in an Endeavour OS / xfce4 configuration. Uninstalling the xf86-video-intel package worked in my case. The Arch Wiki elaborates on why using this package is not recommended.