netspeed_pc
netspeed_pc copied to clipboard
bug: Blank window until disabling the use of DMA-BUF renderer in WebKitGTK.
I've encountered a very odd bug, and after some digging I've found a temporary workaround. My System Specs:
- Nvidia 3000 series GPU.
- Ryzen 5000 series CPU.
After an update to Manjaro install, building and running the project, I encountered the following error:
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied Failed to create GBM buffer of size 350x40: Permission denied KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied Failed to create GBM buffer of size 350x40: Permission denied KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied Failed to create GBM buffer of size 350x40: Permission denied Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
A window did show, but it was not rendering anything within.
After some searching, I've found that this is already reported on Tauri: https://github.com/tauri-apps/tauri/issues/7910 Seemed to also be discussed here on a GTK4 webkit bug post: https://bugs.webkit.org/show_bug.cgi?id=228268 And here I found a work around posted by somebody: https://github.com/wailsapp/wails/issues/2977#issuecomment-1761765185
Solution:
The temporary workaround is running the following in a terminal session before running/building an app with : export WEBKIT_DISABLE_DMABUF_RENDERER=1
Posting this incase anyone else has this issue when using this app/an updated webkit lib using project.