You are not logged in.

#1 2024-06-21 11:32:13

benm
Member
Registered: 2021-03-28
Posts: 88

[SOLVED] element-desktop flickers under Wayland

See issue: https://github.com/element-hq/element-d … ssues/1737
Note that this is with Nvidia chipset and proprietary drivers.
Element devs say that since this is the arch package it is not their problem.

Behavior seems to be the classic problems of running electron apps under wayland, but the normal solutions are not working.
https://wiki.archlinux.org/title/Wayland#Electron

Test 1: Launch element-desktop normally with no flags or env variables
Result: Flickering and blur (see screenshot on github issue)
Output:

Gtk-Message: 07:26:30.922: Failed to load module "appmenu-gtk-module"
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
/home/ben/.config/Element exists: yes
/home/ben/.config/Riot exists: no
No update_base_url is defined: auto update is disabled
Fetching translation json for locale: en_EN
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change
Resetting the UI components after locale change
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change

Test 2: Run element-desktop --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-hint=auto
Same result as test 1.
Output:

Gtk-Message: 07:28:22.716: Failed to load module "appmenu-gtk-module"
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
/home/ben/.config/Element exists: yes
/home/ben/.config/Riot exists: no
No update_base_url is defined: auto update is disabled
Fetching translation json for locale: en_EN
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change
Resetting the UI components after locale change
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change

Last edited by benm (2024-06-28 19:40:36)

Offline

#2 2024-06-25 06:19:21

ColonelPhantom
Member
Registered: 2024-06-25
Posts: 1

Re: [SOLVED] element-desktop flickers under Wayland

I looked through the issue tracker and the command

element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland

seems to work for me. Although it does give off the wrong desktop file name (Element instead of io.element.Element), so it gives a generic 'W' icon in the titlebar for me on KDE. Nothing a window rule can't fix smile but maybe worth a bug report.

Offline

#3 2024-06-28 19:39:34

benm
Member
Registered: 2021-03-28
Posts: 88

Re: [SOLVED] element-desktop flickers under Wayland

I tested with nvidia-beta drivers and flickering was gone. This issue will likely resolve itself when the nvidia package updates to version 555.

Update: nvidia has now updated to 555 and the problem is gone.

Last edited by benm (2024-07-08 15:36:56)

Offline

Board footer

Powered by FluxBB