#1078769 libwebkit2gtk-4.1-0: libwebkit2gtk does not render or is unresponsive if run in VMware guest with 3D acceleration enabled

Package:
libwebkit2gtk-4.1-0
Source:
libwebkit2gtk-4.1-0
Description:
Web content engine library for GTK
Submitter:
Markus Hamilton
Date:
2024-08-28 09:30:03 UTC
Severity:
normal
Tags:
#1078769#5
Date:
2024-08-15 20:27:12 UTC
From:
To:
I have 2 programs installed which use this webkit rendering library: "yelp" and
"surf". yelp does not render anything. surf renders a website to some degree
but usually there is no way to enter any input. If you instruct surf to render
"duckduckgo.com", you cannot enter anything into the search bar.

This problem happens only when run in an installation which is a VMware guest.
VMware version is current (17.5.0), running in a Windows 10 host. All VMware
drivers and utilities inside the Linux VM have been installed from the offical
Debian repo.

The problem definitely has something to do with 3D acceleration because if I
turn that off in VMware, libwebkit2gtk works just fine inside the Linux VM.

#1078769#10
Date:
2024-08-27 14:17:39 UTC
From:
To:
Can you confirm that it also works if you set the environment variable
WEBKIT_DISABLE_COMPOSITING_MODE=1 ?

Berto

#1078769#15
Date:
2024-08-27 15:04:34 UTC
From:
To:
A couple of other tests (with the WEBKIT_DISABLE_COMPOSITING_MODE
variable unset):

- Run 'surf' or 'yelp' from a terminal and check if there are error
  messages.

- Run the MiniBrowser (/usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/MiniBrowser)
  and open 'about:gpu'. If you don't see any output try to see if you
  can copy and paste the (invisible) contents of the page (it's text).

- Check if all builds of the MiniBrowser have the same problem. You
  can find them in /usr/lib/*/webkit*/MiniBrowser

Thanks!

Berto

#1078769#20
Date:
2024-08-28 09:28:21 UTC
From:
To:
Control: forwarded -1 https://bugs.webkit.org/show_bug.cgi?id=278777

Thanks for confirming this. We are suspecting that this is a problem
with the VMware guest graphics driver.

If you can also run the other tests that I mentioned I would
appreciate it.

Thanks!

Berto