You are not logged in.

#1 2021-05-04 19:30:14

LinuxShepherd
Member
Registered: 2021-03-17
Posts: 12

[WORKAROUND]NVIDIA:Known problem on electron/chromium due to ANGLE

The problem: Blank window on every electron, chrome and chromium based application. Affects electron based IMs like wire and skypeforlinux.

My GPU and driver:

VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Gigabyte Technology Co., Ltd Device 3767
    Flags: bus master, fast devsel, latency 0, IRQ 30
    Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
    Memory at b0000000 (64-bit, prefetchable) [size=256M]
    Memory at ce000000 (64-bit, prefetchable) [size=32M]
    I/O ports at df00 [size=128]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: nouveau
    Kernel modules: nouveau

Workaround:
Execute all affected apps with the option (suppose to be default):

--use-gl=desktop

Examples:

chromium --use-gl=desktop
skypeforlinux --use-gl=desktop
wire-desktop --use-gl=desktop
electron10 https://my.url/ --use-gl=desktop

Note: Aliases as below WON'T work (on user space or system):

alias chromium='chromium --use-gl=desktop'
alias skypeforlinux='skypeforlinux --use-gl=desktop'
...

You have to execute every time the affected apps with the option until driver is fixed.
Desktop files including the option works as expected.

Edit: Not tested on a wayland environment.

Last edited by LinuxShepherd (2021-05-08 10:46:53)


I love ruminants and c smile

Offline

#2 2021-05-05 14:35:38

seth
Member
Registered: 2012-09-03
Posts: 50,009

Re: [WORKAROUND]NVIDIA:Known problem on electron/chromium due to ANGLE

The aliases will work for the shell that they're set in - obviously adding an alias to your bashrc won't impact some KDE/Gnome runner at all.
You can add those flags to eg. ~/.config/chromium-flags.conf, https://wiki.archlinux.org/title/Chromi … persistent

In general, please don't post PSAs - the problem exists since ~6 months (about since ANGLE is default…) and there're multiple threads (and some wiki remarks) about this and and the ANGLE acceleration screws more than nouveau, https://www.google.com/search?q=%22--us … hlinux.org

Offline

#3 2021-05-05 17:14:15

LinuxShepherd
Member
Registered: 2021-03-17
Posts: 12

Re: [WORKAROUND]NVIDIA:Known problem on electron/chromium due to ANGLE

It occurs for me after the last update only on a machine with nvidia but youre right, i should make a more specific search before post.


I love ruminants and c smile

Offline

Board footer

Powered by FluxBB