Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#79783 - [webkit2gtk] 2.42.x on Nvidia breaks multiple apps

Attached to Project: Arch Linux
Opened by Ryan Mullin (ryan.mullin) - Tuesday, 26 September 2023, 00:04 GMT
Last edited by Toolybird (Toolybird) - Friday, 20 October 2023, 04:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No



Additional info:
* package version: lightdm-webkit2-greeter 2.2.5-7

* Config file:


# [greeter]
# debug_mode = Greeter theme debug mode.
# detect_theme_errors = Provide an option to load a fallback theme when theme errors are detected.
# screensaver_timeout = Blank the screen after this many seconds of inactivity.
# secure_mode = Don't allow themes to make remote http requests.
# time_format = A moment.js format string so the greeter can generate localized time for display.
# time_language = Language to use when displaying the time or "auto" to use the system's language.
# webkit_theme = Webkit theme to use.
# NOTE: See moment.js documentation for format string options:

debug_mode = true #false
detect_theme_errors = true
screensaver_timeout = 300
secure_mode = true
time_format = LT
time_language = auto
webkit_theme = glorious #antergos

# [branding]
# background_images = Path to directory that contains background images for use by themes.
# logo = Path to logo image for use by greeter themes.
# user_image = Default user image/avatar. This is used by themes for users that have no .face image.
# NOTE: Paths must be accessible to the lightdm system user account (so they cannot be anywhere in /home)

background_images = /usr/share/backgrounds
logo = /usr/share/pixmaps/archlinux-logo.svg
user_image = /usr/share/pixmaps/archlinux-user.svg

Unfortunately I could not submit an upstream bug report as the repository linked in the upstream url is archived and seems unmaintained:

If this project is no longer maintained and is functionally broken, it might be a good idea to remove it from the arch wiki recommended greeters at the very least.

Steps to reproduce:

1. Install lightdm
2. Install lightdm-webkit2-greeter
3. Set greeter-session in lightdm.conf to lightdm-webkit2-greeter


No matter what theme is selected, lightdm-webkit2-greeter now displays a black screen with a cursor after update. I found this forum entry here:

after downgrading webkit2gtk to 2.40 I was able to get a greeter session again for glorious, although it was unable to find my actual user account. I tried again with antergos as the theme and it displayed a pop up warning that an error had occurred when loading the theme. There was no dialog box to log in and so the greeter was rendered functionally useless. To mitigate, I've switched to lightdm-gtk-greeter for now.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 20 October 2023, 04:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  webkitgtk* 2.42.1-2
Comment by Toolybird (Toolybird) - Tuesday, 26 September 2023, 00:43 GMT
The last time this happened  FS#75988 , it magically came good in a subsequent webkit2gtk update. This is definitely *not* an Arch packaging issue so it needs to be reported upstream. Though, if the problem is found to be with the old "lightdm-webkit2-greeter" code now becoming incompatible with webkit2gtk, it could be the final nail in the coffin.
Comment by Richard Ullger (rullger) - Thursday, 28 September 2023, 22:40 GMT
Webkit2gtk 2.42 has also broken html rendering in claws mail and report rendering in gnucash
Comment by Richard Ullger (rullger) - Thursday, 28 September 2023, 23:20 GMT
An upstream bug has been filed,

As described in the bug report, setting WEBKIT_DISABLE_DMABUF_RENDERER=1 provides a temporary fix. This worked for claws mail and gnucash.
Comment by Doug Newgard (Scimmia) - Friday, 29 September 2023, 02:13 GMT
Ah, NVIDIA only issue. That's why there's hasn't been a huge issue with this. Good to know.
Comment by Toolybird (Toolybird) - Friday, 29 September 2023, 07:23 GMT
Just to confirm the workaround. Placing:


into `/etc/environment' makes "lightdm-webkit-theme-litarvan" work again on Nvidia. I cannot get "lightdm-webkit2-greeter" to work at all (by itself, even with older webkit2gtk). Nouveau appears to be unaffected.
Comment by Toolybird (Toolybird) - Friday, 29 September 2023, 07:34 GMT
Merging  FS#79900   FS#79807   FS#79764  here.
Comment by Óscar Pereira (gauthma) - Friday, 06 October 2023, 15:59 GMT
Just to add my two cents: this problem with webkit/nvidia also causes for foliate to stop working (after opening an epub file, it just keeps loading forever...). However, in what foliate is concerned at least, the problem can be worked around by downgrading webkit2gtk to version 2.40 (more specifically in my case, 2.40.5-2).

I post this in the off-chance that it can help identify the correct underlying cause of this bug.
Comment by Shay G (Tharbad) - Friday, 06 October 2023, 23:16 GMT
Just adding Midori browser to the list.
Midori won't render any webpage after the update.
Comment by Jared Johnstone (ipaq) - Tuesday, 10 October 2023, 05:28 GMT
bijiben (packaged as: gnome-notes) cannot render opened or newly created notes due to this problem. `WEBKIT_DISABLE_DMABUF_RENDERER=1 bijiben` seems to do the trick for now. Thanks for sharing that workaround.

Edited `/usr/share/applications/org.gnome.Notes.desktop` and prepended `env WEBKIT_DISABLE_DMABUF_RENDERER=1` before the software in the Exec= command for the time being.

Archlinux Bug :
Upstream issue:
Comment by Jan Alexander Steffens (heftig) - Thursday, 19 October 2023, 20:29 GMT
Is this fixed in 2.42.1-2?
Comment by Richard Ullger (rullger) - Thursday, 19 October 2023, 22:32 GMT
2.42.1-2 works for me in claws mail and gnucash.

Thank you.