Everything builds as expected but I am having issues with the new
webkit2gtk and my nvidia video card when using the 2.42.0 version of
webkit2gtk.

With webkit2gtk-2.42.0, yelp fails to render anything. Starting from a
terminal reports the following:

# yelp
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 1492x791: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 1492x791: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 1492x791: Invalid argument
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1


Same thing for starting midori, which is also using the webkit2gtk-2.42.0
package:

# midori

(midori:26751): GLib-GObject-WARNING **: 20:02:10.059:
../gobject/gbinding.c:467: Unable to convert a value of type gpointer to a
value of type CairoSurface

(midori:26751): GLib-GObject-WARNING **: 20:02:11.668:
../gobject/gbinding.c:467: Unable to convert a value of type gpointer to a
value of type CairoSurface
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 710x484: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 710x484: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 710x484: Invalid argument
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1


I also get this error with the webkit2gtk4.1-2.42.0 build and the epiphany
slackbuild:

# epiphany

(epiphany:26310): epiphany-WARNING **: 19:56:14.550: Failed to scan
extensions directory: Error opening directory
'/home/bob/.local/share/epiphany/web_extensions': No such file or directory
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 1024x721: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 1024x721: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)

Failed to create GBM buffer of size 1024x721: Invalid argument
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1


Reverting down to the 2.40.5 version of both webkit2gtk builds fixes the
problem.

My initial searching brought up this bug:
https://bugs.webkit.org/show_bug.cgi?id=228268

I can also add "WEBKIT_DISABLE_COMPOSITING_MODE=1" to the environment to
workaround the bug when starting epiphany/yelp/midori with the 2.42.0
version of webkit2gtk, which was suggested in that bug report.

Other programs like sushi and gnome-builder are running fine with the newer
webkit2gtk package.

FWIW I'm using the 535.54.03 version of the nVidia drivers and a "GeForce
GTX 1660 SUPER" GPU. I wonder if anyone else with an nvidia GPU and recent
drivers is seeing this issue? Maybe we could use a few more testers.

Hi,

i confirm this on my desktop as well with NVidia driver directly from NVidia. It has been reported on other places as well and i tried this solution and it works

WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 WEBKIT_FORCE_SANDBOX=0 yelp <help-page>

This is the reports:
https://bugs.webkit.org/show_bug.cgi?id=228268
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2498

I guess this is the issue with the NVidia driver/webkit itself rather than yelp, so we need upstream to work on this.


--
Willy Sudiarto Raharjo

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to