Skip to main content


We need help from #Linux #NVIDIA users :linux:

We are trying to reproduce and debug an issue with WebKit GTK

If you have rendering issues, specially with colors or blank page please reply with a screenshot, and we'll reach out for details.

Some example apps that are known to exhibit the issue

• Epiphany / GNOME Web
• Tangram
• Newsflash

Thanks for your help!

~Boost welcome :boost_love: ~

UPDATE: We got what we need - thank you all!

#WebKitGTK #GNOME #GTK #Linux #NVIDIA

This entry was edited (1 month ago)
in reply to mirkobrombin

@mirkobrombin

Any version 🙏

We are trying to find out under which configuration can the issue be reproduced.

in reply to Sonny

The only rendering issue I see is the one by resizing the devtools (I see that in any Webkit based webview), the rest is pretty much ok with no glitches, even in high-animated websites, there is for sure some delay in the scroll but that is difficult to record.
in reply to Sonny

Is this related to the issue with adding Online Accounts in GNOME throwing up a blank page when attempting to authenticate while using NVidia drivers?

I would assume that uses GNOME Web to attempt to display the login page.

in reply to I’m Tired And Everything Hurts

@guffo yes - but I'm surprised to hear this is happening. AFAIK it shouldn't happen with GTK3.

Can you tell me more about the system information?

With GNOME 46 GOA won't use WebKit GTK anymore and directly open login page in the user preferred browser.

in reply to Sonny

Ahh, cool. I'm on Debian 12 at home, so I'm probably a few versions behind. I can live with it until I get an update.

Thanks for your work!

in reply to I’m Tired And Everything Hurts

@guffo according to repologogy Debian 12 should have WebKitGTK 2.42.5

Which isn't known to be affected yet.

When you get the chance could you update, reboot and check if you can still reproduce ?

in reply to Sonny

Hi! I have some problems with GNOME Web. I don't know is it related to nvidia or not. First screenshot is GNOME Web, second is Firefox. Also, in GNOME Web, some of text on page looks blurry for me, when it's not in Firefox.
in reply to /home/lavacat :meoww:

@lavacat Hi!

Thanks. Unfortunately this isn't the issue we are looking for.

Hmm this looks like a web rendering issue - might be worth reporting the error to webkit.
Something something stretched (css?) background

https://webkitgtk.org/ see "File a bug"

in reply to Sonny

and by nvidia users do you mean using real nvidia drivers or the included ones with most distros?
in reply to Sonny

I don't know if its related, but my screen goes blank on and off as I mouse over the results of image search from duckduckgo such as https://duckduckgo.com/?q=photos+of+scenic+vacation&t=epiphany&iax=images&ia=images
in reply to Michael T Babcock

@mikebabcock could you take a screencast and share

OS name/version
app name/version/origin

in reply to Sonny

strangely, when I tried to record the random blanking of the window using OBS Studio, it didn't happen anymore. When I turned off recording, it happened again.
Fedora 39 Xfce spin, Epiphany 45.2, NVidia 6.7.4 drivers.
in reply to Sonny

Like that?
Ubuntu 22.04.4 LTS
GeForce RTX 4080 SUPER
This entry was edited (2 months ago)
in reply to plusmid

@plusmid yep just like that!

Can you share OS and app name/version ?

in reply to plusmid

great

Is that Epiphany Snap, Deb or Flathub ?

This entry was edited (2 months ago)
in reply to Sonny

That was the Snap version. The .deb version looks fine.
in reply to Sonny

(epiphany:17205): Gtk-WARNING **: 17:00:49.109: No IM module matching GTK_IM_MODULE=ibus found
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 2048x1444: Permission denied
[ ... two more KMS messages ... ]
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
in reply to plusmid

@plusmid thanks! one last thing, can you share the content of About -> Troubleshooting -> Debugging information

(For the Snap version)

in reply to Sonny

I had to leave, I'll send it to you later today.
in reply to plusmid

@plusmid thanks

It's probably not related to what we're looking for but it would be useful anyway.

I have filed https://github.com/ubuntu/epiphany/issues/14 in the meantime

in reply to Sonny

By the way - we are trying to make things work but this is not an endorsement that you should use NVIDIA on Linux 😄
in reply to Sonny

indeed nothing is shown on NewsFlash and I needed to disable hardware acceleration using flatseal or something in those veins iirc... I'll try again when I get home
in reply to Sonny

I'd be willing to help but couldn't find the steps to reproduce. I haven't noticed anything because I don't use my notebook's Nvidia card. (I'm running Arch Linux with some packages from the distro and some from Flathub.)
in reply to Sonny

Followed successfully Arch Linux instructions on using NVIDIA LTS only (not my Intel), X11 (instead of Wayland) and NVIDIA DRM instead of KMS.

Opened Mastodon with GNOME Web 45, and pictures seem fine, but this video show as a black still with the audio on:

https://mastodon.social/@JustMeDevin/111971032993304574

Epiphany's output to the terminal was, repeatedly: (see below)

This entry was edited (2 months ago)
in reply to Leonardo Ferreira Fontenelle

(continued)

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

Failed to get GBM buffer from swap chain: error creating plane 0 of size 1920x1080 and format 538982482: invalid argument

1920x1080 is my screen size. NVIDIA is 545.29.06, libglvnd is 1.7.0.

Does it help?

This entry was edited (2 months ago)
in reply to Sonny

mebbe tag with LinuxGaming.

I removed my last Nvidia years ago so just a reshare from me 🤷

in reply to Sonny

Feeds and Web do this for me (webviews not rendered) which is one of the main reasons I swapped to NewsFlash. At one point during a fresh install it worked, but during updates and/or installs of chroimium from repos it b0rked. If you turn off graphics acceleration for whatever app it'll render fine.

Only issue with newsflash is youtube videos just render black inside app, easy to load in browser.

FC39 (6.7.4-200.fc39.x86_64), 4090 on driver 545.29.06, i9-13900K

in reply to pixelat3d

Note that this is a ... very old issue for me so i'm not sure it's related. Talking at least 5 or more months
in reply to pixelat3d

@pixelat3d this is it!

Can you find out which WebKitGTK version this is using?

If you're not sure you can tell me which app/version this is and where you got it from and what's your OS. I'll figure it out.

in reply to Sonny

This one in particular is the flatpak of Feeds (2.2.0) from flathub. Not sure which version of GTK it's compiled against, but should be able to look at the release branch in the gitlab and figure it out.

Fwiw, the behavior exists on both Xorg and Wayland and on 'native' apps from repos as well as from flatpaks. OS is Fedora 39

in reply to pixelat3d

@pixelat3d

It's GNOME 44 so it should be WebKitGTK 2.42

Can you try reproducing again after `flatpak update` and `flatpak kill org.gabmus.gfeeds` ?

And finally, can you see if you can reproduce in Flathub Epiphany / GNOME Web

in reply to Sonny

Persists in Feeds.

Web flatpak doesn't seem to have the issue anymore, but has since moved over to 45 as platform backend. As an added bonus the Wayland flicking is out of control, but that's well known and a separate issue :)

There was a point in time where it for sure did though. May be isolated to the 44 branch of things? 🤔

in reply to Sonny

I've never experienced the issue myself (AMD GPU) but can link to a lot of reports I received over the last months. I haven't had a lot of reports recently. Only one today using a 3rd party snap package instead of the flatpak one. Maybe a hint the issue could be solved upstream and the snap is using an older version of webkit?

The usual workaround people seem to be happy with is "WEBKIT_DISABLE_DMABUF_RENDERER=1"

in reply to Jan Lukas Gernert

One of the earlier issues using flatpak
https://gitlab.com/news-flash/news_flash_gtk/-/issues/506

Recent issue using snap
https://gitlab.com/news-flash/news_flash_gtk/-/issues/619

in reply to Jan Lukas Gernert

@jangernert our best guess so far is that this particular problem is solved in WebKitGTK >= 2.42.5
in reply to Sonny

from what I could find the snap build is using "webkitgtk-6-gnome-2204-sdk", whatever version that is. But according to its snapcraft page it has been last updated "20 September 2023".
So if someone wants a quick & dirty way of confirming that the bug did exist and was fixed they can install the Newsflash snap, which is still using this old version of webkit.

https://snapcraft.io/newsflash

https://snapcraft.io/install/webkitgtk-6-gnome-2204-sdk/ubuntu

Unknown parent

Sonny

@confusionunknown is that Apostrophe Snap, Flathub or from a repo?

Which OS / version ?

Unknown parent

Sonny

@confusionunknown thanks

could you see if you can reproduce with GNOME Web Flathub?

in reply to Sonny

Could the issue be related to the driver (proprietary vs. nouveau) ?
Unknown parent

Sonny

@confusionunknown

Thanks, that was helpful.

Apostrophe uses an older WebKitGTK version that is known to be affected.

in reply to Sonny

websites seem to load (I can hover over elements and see links at the bottom left corner) but nothing is rendered.

Environment: Fedora 39, NVIDIA proprietary drivers version 545.29.06, XOrg session.

GNOME Web 45.2 (Flathub flatpak)
Debugging info:
WebKitGTK 2.42.3
GStreamer 1.22.9

This entry was edited (2 months ago)
in reply to Tarcísio Surdi

thanks!

Could you try to reproduce again after `flatpak update` ?

Please confirm the newwer WebKitGTK version

This entry was edited (2 months ago)
in reply to Sonny

sure! In fact I just tried it out but the update doesn’t seem to have propagated yet, will do so again in about 4 ~ 5 hours
in reply to Sonny

in case you are still searching: I have blank page issues with Gnome Web 44.6
in reply to Sonny

We got what we needed, thank you all for the feedback.