<div dir="ltr"><div dir="ltr"><div>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.</div><div><br></div><div>With webkit2gtk-2.42.0, yelp fails to render anything. Starting from a terminal reports the following:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div># yelp<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 1492x791: Invalid argument<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 1492x791: Invalid argument<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 1492x791: Invalid argument<br>Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1</div></blockquote><div><br></div><div>Same thing for starting midori, which is also using the webkit2gtk-2.42.0 package:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div># midori<br><br>(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<br><br>(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<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 710x484: Invalid argument<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 710x484: Invalid argument<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 710x484: Invalid argument<br>Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1</div></blockquote><div><br></div><div>I also get this error with the webkit2gtk4.1-2.42.0 build and the epiphany slackbuild:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div># epiphany <br><br>(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<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 1024x721: Invalid argument<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 1024x721: Invalid argument<br>src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)<br><br>Failed to create GBM buffer of size 1024x721: Invalid argument<br>Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1</div></blockquote><div><br></div><div>Reverting down to the 2.40.5 version of both webkit2gtk builds fixes the problem.<br></div><div><br></div><div>My initial searching brought up this bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=228268">https://bugs.webkit.org/show_bug.cgi?id=228268</a></div><div><br></div><div>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.</div><div><br></div><div>Other programs like sushi and gnome-builder are running fine with the newer webkit2gtk package.</div><div><br></div><div>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.<br></div><div><br></div><div>Regards,</div><div><br></div><div>Bob<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 17, 2023 at 10:59 AM Matteo Bernardini <<a href="mailto:matteo.bernardini@gmail.com">matteo.bernardini@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><font size="2">Il giorno dom 17 set 2023 alle ore 06:33 Willy Sudiarto Raharjo <<a href="mailto:willysr@slackbuilds.org" target="_blank">willysr@slackbuilds.org</a>> ha scritto:<br></font></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="2">Hi all,<br></font>
<font size="2"><br>
i pushed a new version of webkit2gtk and webkit2gtk4.1 in a separate <br>
branch because this is a major release and i don't want to push things <br>
before making sure every scripts that depends on it built on this new <br>
version.<br></font>
<font size="2"><br>
it's on my webkit2gtk branch <br>
(<a href="https://git.slackbuilds.org/slackbuilds/log/?h=webkit2gtk" rel="noreferrer" target="_blank">https://git.slackbuilds.org/slackbuilds/log/?h=webkit2gtk</a>) and here are <br>
the scripts that depends on both scripts:<br></font>
<font size="2"><br>
webkit2gtk<br>
├ badwolf<br>
├ birdfont<br>
├ bottles<br>
├ devhelp<br>
├ eclipse-platform<br>
├ gnome-boxes<br>
├ gnome-builder<br>
├ gnome-online-accounts<br>
├ gnucash<br>
├ gui-ufw<br>
├ liferea<br>
├ luakit<br>
├ lutris<br>
├ midori<br>
├ nyxt<br>
├ opencpn<br>
├ pdfpc<br>
├ poedit<br>
├ pytrainer<br>
├ shotwell<br>
├ surf<br>
├ sushi<br>
├ vimb<br>
├ wxHexEditor<br>
├ wxPython4<br>
└ yelp<br></font></blockquote><div><font size="2"><br></font></div><div><font size="2">midori works!</font></div><div><font size="2"><br></font></div><div><font size="2">if anybody needs already built packages for testing the one I used are here <a href="https://ponce.cc/slackware/testing/webkit2gtk-testing/" target="_blank">https://ponce.cc/slackware/testing/webkit2gtk-testing/</a></font></div><div><font size="2"><br></font></div><div><font size="2">Matteo<br></font></div></div></div>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div></div>