[Slackbuilds-users] new webkit2gtk{4.1}

Bob Funk bobfunk11 at gmail.com
Mon Sep 18 01:14:47 UTC 2023


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.

Regards,

Bob


On Sun, Sep 17, 2023 at 10:59 AM Matteo Bernardini <
matteo.bernardini at gmail.com> wrote:

> Il giorno dom 17 set 2023 alle ore 06:33 Willy Sudiarto Raharjo <
> willysr at slackbuilds.org> ha scritto:
>
>> Hi all,
>>
>> i pushed a new version of webkit2gtk and webkit2gtk4.1 in a separate
>> branch because this is a major release and i don't want to push things
>> before making sure every scripts that depends on it built on this new
>> version.
>>
>> it's on my webkit2gtk branch
>> (https://git.slackbuilds.org/slackbuilds/log/?h=webkit2gtk) and here are
>> the scripts that depends on both scripts:
>>
>> webkit2gtk
>> ├ badwolf
>> ├ birdfont
>> ├ bottles
>> ├ devhelp
>> ├ eclipse-platform
>> ├ gnome-boxes
>> ├ gnome-builder
>> ├ gnome-online-accounts
>> ├ gnucash
>> ├ gui-ufw
>> ├ liferea
>> ├ luakit
>> ├ lutris
>> ├ midori
>> ├ nyxt
>> ├ opencpn
>> ├ pdfpc
>> ├ poedit
>> ├ pytrainer
>> ├ shotwell
>> ├ surf
>> ├ sushi
>> ├ vimb
>> ├ wxHexEditor
>> ├ wxPython4
>> └ yelp
>>
>
> midori works!
>
> if anybody needs already built packages for testing the one I used are
> here https://ponce.cc/slackware/testing/webkit2gtk-testing/
>
> Matteo
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20230917/2700e071/attachment.htm>


More information about the SlackBuilds-users mailing list