[webkit-gtk] GTK4 is now the default

Carlos Garcia Campos cgarcia at igalia.com
Thu Nov 16 00:41:05 PST 2023


El mié, 15-11-2023 a las 16:14 +0100, Lothar Scholz escribió:
> Are the Problems with NVidia GPUs finally solved? 
> 

There are multiple problems with NVIDIA:

* drm-modeset needs to be enabled in the kernel: this is a
configuration issue, not related with WebKit.

* NVIDIA GBM library needs to be installed: not all distros install it
by default with the nvidia proprietary driver package. This is also a
configuration issue in the end.

* Videos don't work with the dmabuf video sink element. This is not
specific to GTK4. The problem is that nvidia doesn't support linear
buffers (yet), and we fail to create buffers with GBM. This can be
solved in WebKit, I think.

* On X11 with GLX context we fail to map the buffer for the same
reason, we need a linear buffer to be able to map it in CPU memory, but
nvidia doesn't support it. This can't be fixed in GTK3, but in GTK4 you
can ensure GTK uses an EGL context by using GDK_DEBUG=gl-egl, and then
mapping is not required (and it's a lot more efficient, so it's always
desired anyway).

I'm not aware of more issues.

> 
> Am Mi., 15. Nov. 2023 um 15:19 Uhr schrieb Carlos Garcia Campos
> <cgarcia at igalia.com>:
> > Hi, 
> > 
> > today we have landed a patch in main to make GTK4 the default, to
> > build
> > with GTK3 use -DUSE_GTK4=OFF.
> > 
> > 

-- 
Carlos Garcia Campos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20231116/ca2fe4c0/attachment.bin>


More information about the webkit-gtk mailing list