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
> <cgar...@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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to