Wayland Linux no acceleration

Open
#316 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

The report identifies Wayland rendering in a Dioxus desktop app and gives a working environment-variable workaround, but names no repository files or tests. Start by tracing how the desktop platform is launched and how its WebKit settings are configured. Done means hardware acceleration works on Wayland without requiring the reported workaround.

Written by the indexing model from the issue text.

Description

I’m developing an open-source app using Dioxus and experiencing poor rendering performance on Wayland, where hardware acceleration seems to be disabled by default

Setting GDK_BACKEND=wayland WEBKIT_DISABLE_DMABUF_RENDERER=0 dx serve --platform desktop fixes the issue, otherwise scrolling is very laggy.

Dominant language
Rust
Stars
358
Forks
90
Avg merge
54m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DioxusLabs/dioxus-components

All issues in DioxusLabs/dioxus-components

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.