Bug 2224773 - Waydroid 3D Rendering broken on Radeon GPUs
Summary: Waydroid 3D Rendering broken on Radeon GPUs
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: waydroid
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Alessandro Astone
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-22 17:42 UTC by klaussemmler
Modified: 2023-07-23 13:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Rush Rally 3 (624.82 KB, image/png)
2023-07-22 17:42 UTC, klaussemmler
no flags Details
Blue Archive (22.86 KB, image/png)
2023-07-22 17:43 UTC, klaussemmler
no flags Details

Description klaussemmler 2023-07-22 17:42:31 UTC
Created attachment 1977082 [details]
Rush Rally 3

Created attachment 1977082 [details]
Rush Rally 3

Description of problem:

When running applications that uses 3d accelerated rendering, the rendered apps are unusable because the app contents are corrupted (see screenshots).

Version-Release number of selected component (if applicable):

Waydroid 1.4.1

How reproducible:

It is always reproducible with 3d accelerated apps like Blue Archive and Rush Rally 3.

Steps to Reproduce:
1. Open the waydroid overview.
2. Launch one of the listed applications.
3.1 For Blue Archive, launching it will show a black or translucent window, rendering the app unusable.
3.2 For Rush Rally 3, start the app and start a race or use the integrated graphics settings detection.

Actual results:

The apps are unusable because of the garbled rendering.

Expected results:

The apps render properly and are usable.

Additional info:

System Specs

OS: Fedora 38
Desktop: Gnome 44 (also happens with KDE Plasma 5.27)
Kernel Version: 6.3.12
Mesa Version: 23.1.3
GPU: Radeon RX6600 (also happens with RX6800XT)

Comment 1 klaussemmler 2023-07-22 17:43:09 UTC
Created attachment 1977083 [details]
Blue Archive

Comment 2 klaussemmler 2023-07-23 13:11:10 UTC
I found a workaround for Rush Rally 3 by limiting the Framerate to 60. This fixed the rendering issues. But this is just a workaround as only very few applications offer this option and waydroid does not offer global frame limiting options. It could be an AMD specific issue as this seems similar to this reports:

https://bugzilla.redhat.com/show_bug.cgi?id=2188449
https://gitlab.freedesktop.org/mesa/mesa/-/issues/9189

A possible patch can be found here:

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23965


Note You need to log in before you can comment on or make changes to this bug.