Public bug reported:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy

My machine recently installed updates to webkit and since doing that
some packages using webkit are not rendering the display correctly.  For
example, running


/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/MiniBrowser 

results in the output on the shell of

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 2048x1464: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 2048x1464: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 2048x1464: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1

And a display with just a blank window (attachment image-1.png).

There is a work-around, which is to force of the DMABUF, by running

WEBKIT_DISABLE_DMABUF_RENDERER=1  /usr/lib/x86_64-linux-
gnu/webkit2gtk-4.0/MiniBrowser

which results in the correct display output (attachment image-2.png).

Some searching on the web suggests this is related to a bad interaction
with the Nvida graphics driver.  See eg:
https://aur.archlinux.org/cgit/aur.git/tree/GTK-Disable-DMABuf-renderer-
for-NVIDIA-proprietary-drivers.patch?h=webkit2gtk-imgpaste

** Affects: webkit2gtk (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Incorrect output from running the webkit MiniBrowser."
   
https://bugs.launchpad.net/bugs/2041664/+attachment/5713756/+files/image-1.png

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to webkit2gtk in Ubuntu.
https://bugs.launchpad.net/bugs/2041664

Title:
  Webkit 2.42 and nvidia(?) drivers

Status in webkit2gtk package in Ubuntu:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 22.04.3 LTS
  Release:        22.04
  Codename:       jammy

  My machine recently installed updates to webkit and since doing that
  some packages using webkit are not rendering the display correctly.
  For example, running

  
  /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/MiniBrowser 

  results in the output on the shell of

  KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
  Failed to create GBM buffer of size 2048x1464: Permission denied
  KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
  Failed to create GBM buffer of size 2048x1464: Permission denied
  KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
  Failed to create GBM buffer of size 2048x1464: Permission denied
  Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1

  And a display with just a blank window (attachment image-1.png).

  There is a work-around, which is to force of the DMABUF, by running

  WEBKIT_DISABLE_DMABUF_RENDERER=1  /usr/lib/x86_64-linux-
  gnu/webkit2gtk-4.0/MiniBrowser

  which results in the correct display output (attachment image-2.png).

  Some searching on the web suggests this is related to a bad
  interaction with the Nvida graphics driver.  See eg:
  https://aur.archlinux.org/cgit/aur.git/tree/GTK-Disable-DMABuf-
  renderer-for-NVIDIA-proprietary-drivers.patch?h=webkit2gtk-imgpaste

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/2041664/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to