Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(linux): AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer #12587

Closed
1 of 8 tasks
alkaris2 opened this issue Oct 28, 2024 · 1 comment · Fixed by #12616
Closed
1 of 8 tasks
Assignees
Milestone

Comments

@alkaris2
Copy link

alkaris2 commented Oct 28, 2024

Describe the bug

When trying to access Downloads for Keyman, I get the following error on loop;

AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer

As as result of this you are unable to access the Downloads page for keymaps from within the app. However after a bit of digging around on the Internet this is easily fixed by setting WEBKIT_DISABLE_DMABUF_RENDERER=1 into the environment.

If you have NVIDIA GPU this is apparently an issue. You could probably just completely disable the WebKit DMABUF Renderer from Keyman to remedy this issue completely.

See: SpikeHD/Dorion#237
Fix Solution: tauri-apps/tauri#9304 (comment)

Related issues

WebKit2Gtk: https://gitlab.archlinux.org/archlinux/packaging/packages/webkit2gtk/-/issues/1

Keyman apps

  • Keyman for Android
  • Keyman for iPhone and iPad
  • Keyman for Linux
  • Keyman for macOS
  • Keyman for Windows
  • Keyman Developer
  • KeymanWeb
  • Other - give details at bottom of form

Keyman version

km-config version 16.0.144-local

Operating system

Manjaro Linux 24.1.1

@alkaris2 alkaris2 added the bug label Oct 28, 2024
@alkaris2 alkaris2 changed the title bug: AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer bug(linux): AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer Oct 28, 2024
@ermshiperete ermshiperete added this to the A18S14 milestone Nov 4, 2024
@ermshiperete ermshiperete self-assigned this Nov 4, 2024
ermshiperete added a commit that referenced this issue Nov 4, 2024
This works around a problem in webkit2gtk where the download dialog
sometimes only renders a blank screen. Setting the environment variable
seems to help, not only in the cases that the issue describes (with a
NVidia graphics card), but also in my testing in a VM.

Fixes: #12587
ermshiperete added a commit that referenced this issue Nov 4, 2024
This works around a problem in webkit2gtk where the download dialog
sometimes only renders a blank screen. Setting the environment variable
seems to help, not only in the cases that the issue describes (with a
NVidia graphics card), but also in my testing in a VM.

Fixes: #12587
Cherry-pick-of: #12616
@github-project-automation github-project-automation bot moved this to Done in Keyman Nov 5, 2024
@ermshiperete
Copy link
Contributor

@alkaris2 Thanks for your bug report and suggested workaround! Will be available in the next version on both 18 (alpha) and 17 (stable) branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants