Bug 294967
| Summary: | [GTK] [2.48.2] REGRESSION: evolution messages are displayed with a white background on NVIDIA | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alberto Garcia <berto> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply, mcatanzaro, mir |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Alberto Garcia
Some Debian users have reported regressions after having updated WebKitGTK 2.48.1 to 2.48.3.
They have NVIDIA GPUs and in Debian we carry this downstream patch to disable the dmabuf renderer by default:
https://salsa.debian.org/webkit-team/webkit/-/raw/debian/2.48.3-1/debian/patches/disable-nvidia-dmabuf.patch
One reported regression is that evolution emails are displayed with a white background, even with dark mode/theme enabled.
There is a bit more information in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107962 and https://gitlab.gnome.org/GNOME/evolution/-/issues/3078, but the user confirmed that downgrading WebKitGTK to 2.48.1 solves the problem.
Another issue is that liferea's previews are not displayed, but in this case 2.48.1 does not seem to be enough to solve the problem. I'll file another report for that issue.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Narrowing it down to 2.48.2 vs. 2.48.3 would be useful.
A bisect would be even better.
Alberto Garcia
It seems that 2.48.2 is also broken, so the problem happened between 2.48.1 and 2.48.2
mir
(In reply to Alberto Garcia from comment #2)
> It seems that 2.48.2 is also broken, so the problem happened between 2.48.1
> and 2.48.2
On Debian Sid the version before upgrade was working.
Version before upgrade: libwebkit2gtk-4.1-0:amd64 (2.48.5-1+b1, 2.48.6-1)
Version after upgrade: libwebkit2gtk-4.1-0:amd64 (2.48.6-1, 2.50.0-1)
mir
Actually all versions after 2.48.6-1 is broken. Current version in Sid is 2.50.0-1
Downgrading to these versions fixes the problem:
gir1.2-javascriptcoregtk-4.1_2.48.6-1_amd64.deb
gir1.2-webkit2-4.1_2.48.6-1_amd64.deb
libjavascriptcoregtk-4.1-0_2.48.6-1_amd64.deb
libjavascriptcoregtk-4.1-dev_2.48.6-1_amd64.deb
libwebkit2gtk-4.1-0_2.48.6-1_amd64.deb
libwebkit2gtk-4.1-dev_2.48.6-1_amd64.deb
Alberto Garcia
That's because 2.50.0-1 in Debian does not disable the DMABUF renderer if an NVIDIA card is detected.
This can be worked around with the WEBKIT_DISABLE_DMABUF_RENDERER=1 environment variable.
But I think I'll need to patch WebKit again so it's disabled automatically.
Alberto Garcia
2.50.0-2 is now in Debian, it should fix the NVIDIA problems with 2.50.0-1, can you give it a try?
mir
(In reply to Alberto Garcia from comment #6)
> 2.50.0-2 is now in Debian, it should fix the NVIDIA problems with 2.50.0-1,
> can you give it a try?
I already replied here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107962#142
Summary: Everything works ;-)