*** This bug is a duplicate of bug 2023322 ***
    https://bugs.launchpad.net/bugs/2023322

Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command only once, as it
will automatically gather debugging information, in a terminal:

  apport-collect 2041664

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.

-- 
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:
  Incomplete

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