waydroid only showing black screen

I see that there's another post with this issue, but they fixed it by not using their NVidia card. I'm on AMD. I've also already tried restarting and resetting the waydroid configuration and starting over a couple times. Still no dice. Been following this: https://docs.bazzite.gg/Installing_and_Managing_Software/Waydroid_Setup_Guide/
Waydroid Setup Guide - Bazzite Documentation
Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices.
No description
49 Replies
Raevenant
RaevenantOP4w ago
should this step actually start waydroid in a way that looks like a normal android device?
No description
Raevenant
RaevenantOP4w ago
for me it just shows up with the black screen I've tried configuring after this point, and it doesn't change anything @tulip dunno if you've got any experience with waydroid, but I've got yet another curse 😂
amel
amel4w ago
What gpu?
tulip🌷
tulip🌷4w ago
oh my god 😭 try using minigbm instead of regular gbm on /var/lib/waydroid/(somethinsomethin).props
Raevenant
RaevenantOP4w ago
AMD 7700S I'll take a look 🙂
Raevenant
RaevenantOP4w ago
No description
tulip🌷
tulip🌷4w ago
oh so its already using it?
Raevenant
RaevenantOP4w ago
looks like it ye
tulip🌷
tulip🌷4w ago
i think not actually i remember it was confusing
Raevenant
RaevenantOP4w ago
the steps I take: 1. reset waydroid 2. initialize waydroid 3. /usr/bin/waydroid-launcher black screen
tulip🌷
tulip🌷4w ago
just put minigbm instead of minigbm_blablah
Raevenant
RaevenantOP4w ago
in both .prop files?
tulip🌷
tulip🌷4w ago
just the waydroid.prop
Raevenant
RaevenantOP4w ago
No description
Raevenant
RaevenantOP4w ago
kk as far as I can tell, it just crashes
/var/lib/waydroid🔒 took 10s
❯ /usr/bin/waydroid-launcher
+ '[' -z '' ']'
+ source /etc/default/waydroid-launcher
++ WAYDROID_UNKNOWN_WIDTH=1920
++ WAYDROID_UNKNOWN_HEIGHT=1080
++ WAYDROID_GRALLOC=minigbm_gbm_mesa
++ case "$(/usr/libexec/hwsupport/sysid)" in
+++ /usr/libexec/hwsupport/sysid
++ WAYDROID_WIDTH=1920
++ WAYDROID_HEIGHT=1080
+ (( 0 == 0 ))
+ set -- show-full-ui
++ systemctl is-active waydroid-container.service
+ '[' active == active ']'
+ pkexec /usr/libexec/waydroid-container-stop
+ grep -qz 'not initialized'
++ /usr/bin/waydroid status
[20:34:24] Introspect error on :1.363:/ContainerManager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
+ export -f launch_waydroid
+ pkexec /usr/libexec/waydroid-container-start
++ pgrep wlr-randr
+ '[' -z '' ']'
+ cage -- bash -uxc 'launch_waydroid "$@"' _ 1920x1080 show-full-ui
++ pgrep surfaceflinger
+ '[' '' == 10108 ']'
+ sleep 10
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
+ launch_waydroid 1920x1080 show-full-ui
+ wlr-randr --output X11-1 --custom-mode 1920x1080
unknown output X11-1
+ sleep 1
+ shift
+ exec waydroid show-full-ui
+ pkexec /usr/libexec/waydroid-fix-controllers
tee: '/sys/devices/virtual/input/input*/event*/uevent': No such file or directory
add
/var/lib/waydroid🔒 took 10s
❯ /usr/bin/waydroid-launcher
+ '[' -z '' ']'
+ source /etc/default/waydroid-launcher
++ WAYDROID_UNKNOWN_WIDTH=1920
++ WAYDROID_UNKNOWN_HEIGHT=1080
++ WAYDROID_GRALLOC=minigbm_gbm_mesa
++ case "$(/usr/libexec/hwsupport/sysid)" in
+++ /usr/libexec/hwsupport/sysid
++ WAYDROID_WIDTH=1920
++ WAYDROID_HEIGHT=1080
+ (( 0 == 0 ))
+ set -- show-full-ui
++ systemctl is-active waydroid-container.service
+ '[' active == active ']'
+ pkexec /usr/libexec/waydroid-container-stop
+ grep -qz 'not initialized'
++ /usr/bin/waydroid status
[20:34:24] Introspect error on :1.363:/ContainerManager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Remote peer disconnected
+ export -f launch_waydroid
+ pkexec /usr/libexec/waydroid-container-start
++ pgrep wlr-randr
+ '[' -z '' ']'
+ cage -- bash -uxc 'launch_waydroid "$@"' _ 1920x1080 show-full-ui
++ pgrep surfaceflinger
+ '[' '' == 10108 ']'
+ sleep 10
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
+ launch_waydroid 1920x1080 show-full-ui
+ wlr-randr --output X11-1 --custom-mode 1920x1080
unknown output X11-1
+ sleep 1
+ shift
+ exec waydroid show-full-ui
+ pkexec /usr/libexec/waydroid-fix-controllers
tee: '/sys/devices/virtual/input/input*/event*/uevent': No such file or directory
add
ok so I figured out that it was crashing because I hadn't stopped waydroid fully before modifying that file @tulip, so the modification wasn't what crashed it, it was user error. however, it still doesn't show anything. Black screen per usual oh! that's interesting. I'm getting android noises in my headphones I still can't see anything, but I think at least something's happening switching the GPU also doesn't appear to do anything
Raevenant
RaevenantOP4w ago
huge amount of errors
No description
Anti Bully Ranger
That is where I am stuck at. RX 5700 (will be a 9070 xt when stable is stable enough) R7 9700x 32 gigs of ram Bazzite image up to date.
Raevenant
RaevenantOP4w ago
Yeah I was originaly thinking this was part of my curse, but there's actually several folks in here that are reproducing this, so at least theres that 😅
Kyle Gospo
Kyle Gospo4w ago
This isn't a setup or config issue You're using a framework 16 which is fully supported I just used Waydroid 10 minutes ago Wipe your install out and start over
Raevenant
RaevenantOP4w ago
the waydroid install?
Raevenant
RaevenantOP4w ago
because I've already tried this and it doesn't work
No description
tulip🌷
tulip🌷4w ago
telling you, raevenant is surpringly cursed on regular ol fucking hardware
Raevenant
RaevenantOP4w ago
I feel validated, thank you
rlou
rlou4w ago
having a similar issue here. when trying to run it for the first time i see the same black window and in the logs i get this
$ /usr/bin/waydroid-launcher
+ '[' -z '' ']'
+ source /etc/default/waydroid-launcher
++ WAYDROID_UNKNOWN_WIDTH=1920
++ WAYDROID_UNKNOWN_HEIGHT=1080
++ WAYDROID_GRALLOC=minigbm_gbm_mesa
++ case "$(/usr/libexec/hwsupport/sysid)" in
+++ /usr/libexec/hwsupport/sysid
++ WAYDROID_WIDTH=1920
++ WAYDROID_HEIGHT=1080
+ (( 0 == 0 ))
+ set -- show-full-ui
++ systemctl is-active waydroid-container.service
+ '[' active == active ']'
+ pkexec /usr/libexec/waydroid-container-stop
+ grep -qz 'not initialized'
++ /usr/bin/waydroid status
+ export -f launch_waydroid
+ pkexec /usr/libexec/waydroid-container-start
++ pgrep wlr-randr
+ '[' -z '' ']'
+ cage -- bash -uxc 'launch_waydroid "$@"' _ 1920x1080 show-full-ui
++ pgrep surfaceflinger
+ '[' '' == '' ']'
+ sleep 1
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
00:00:00.049 [backend/wayland/tablet_v2.c:864] zwp_tablet_v2 already present
+ launch_waydroid 1920x1080 show-full-ui
+ wlr-randr --output X11-1 --custom-mode 1920x1080
unknown output X11-1
+ sleep 1
++ pgrep surfaceflinger
+ '[' '' == '' ']'
+ sleep 1
+ shift
+ exec waydroid show-full-ui
++ pgrep surfaceflinger
+ '[' '' == 6433 ']'
+ sleep 10
+ pkexec /usr/libexec/waydroid-fix-controllers
add
++ pgrep cage
+ '[' -n 6172 ']'
+ sleep 1
++ pgrep cage
+ '[' -n 6172 ']'
+ sleep 1
++ pgrep cage
+ '[' -n 6172 ']'
+ sleep 1
#... repeat forever.
$ /usr/bin/waydroid-launcher
+ '[' -z '' ']'
+ source /etc/default/waydroid-launcher
++ WAYDROID_UNKNOWN_WIDTH=1920
++ WAYDROID_UNKNOWN_HEIGHT=1080
++ WAYDROID_GRALLOC=minigbm_gbm_mesa
++ case "$(/usr/libexec/hwsupport/sysid)" in
+++ /usr/libexec/hwsupport/sysid
++ WAYDROID_WIDTH=1920
++ WAYDROID_HEIGHT=1080
+ (( 0 == 0 ))
+ set -- show-full-ui
++ systemctl is-active waydroid-container.service
+ '[' active == active ']'
+ pkexec /usr/libexec/waydroid-container-stop
+ grep -qz 'not initialized'
++ /usr/bin/waydroid status
+ export -f launch_waydroid
+ pkexec /usr/libexec/waydroid-container-start
++ pgrep wlr-randr
+ '[' -z '' ']'
+ cage -- bash -uxc 'launch_waydroid "$@"' _ 1920x1080 show-full-ui
++ pgrep surfaceflinger
+ '[' '' == '' ']'
+ sleep 1
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
00:00:00.049 [backend/wayland/tablet_v2.c:864] zwp_tablet_v2 already present
+ launch_waydroid 1920x1080 show-full-ui
+ wlr-randr --output X11-1 --custom-mode 1920x1080
unknown output X11-1
+ sleep 1
++ pgrep surfaceflinger
+ '[' '' == '' ']'
+ sleep 1
+ shift
+ exec waydroid show-full-ui
++ pgrep surfaceflinger
+ '[' '' == 6433 ']'
+ sleep 10
+ pkexec /usr/libexec/waydroid-fix-controllers
add
++ pgrep cage
+ '[' -n 6172 ']'
+ sleep 1
++ pgrep cage
+ '[' -n 6172 ']'
+ sleep 1
++ pgrep cage
+ '[' -n 6172 ']'
+ sleep 1
#... repeat forever.
Raevenant
RaevenantOP4w ago
@Kyle Gospo is there a special way you need me to "wipe the install?" because the ujust configure-waydroid "Reset Waydroid" option does not fix it
Kyle Gospo
Kyle Gospo4w ago
Nope just reset
Raevenant
RaevenantOP4w ago
I've tried that 3 times already, still black screen
Raevenant
RaevenantOP4w ago
what should I expect to see after this step?
No description
Raevenant
RaevenantOP4w ago
should /usr/bin/waydroid-launcher actually launch a working android?
Kyle Gospo
Kyle Gospo4w ago
Reset
Raevenant
RaevenantOP4w ago
No description
Kyle Gospo
Kyle Gospo4w ago
Initialize Launch
Raevenant
RaevenantOP4w ago
that's what I did
Raevenant
RaevenantOP4w ago
No description
Kyle Gospo
Kyle Gospo4w ago
Yeah I'm not sure what to tell you
Raevenant
RaevenantOP4w ago
😭
Kyle Gospo
Kyle Gospo4w ago
This works fine on every piece of hardware I have, including two framework 16s Which have identical hardware to you There's literally no more help I can provide you, consult an exorcist
Raevenant
RaevenantOP4w ago
is it possible that the March 01 bazzite is borked for this? I'm currently running that due to Steam being borked for me on latest
Kyle Gospo
Kyle Gospo4w ago
No
Raevenant
RaevenantOP4w ago
the more I'm cursed, the more I think I somehow have faulty hardware but I would've exptected faulty hardware to look different
tulip🌷
tulip🌷4w ago
SEE IM TELLING YOU this guy IS CURSED by an EVIL witch
Hedgy
Hedgy2w ago
Any progress in regards to this? I've been having the same issue.
Kyle Gospo
Kyle Gospo2w ago
There's no progress because there's nothing to progress on Every single instance of this is unique Make a help thread, post your logs, we can figure out where you went wrong
Moo
Moo4d ago
Did you ever get this working? If not or if anyone else has the same problem I just fixed this exact issue, after running "reset" I went through the typical configuration settings only to realize, through dumb luck, that Waydroid didn't know if it should be using the onboard GPU or my 7900. If you haven't, make sure to ujust setup-waydroid and hit "Select GPU for Waydroid" then between 1 or 2 depending on which GPU you want to use. Instant black screen fix for me and the annoying clicking and "++ pgrep cage + '[' -n 39825 ']' + sleep 1" went away.
Raevenant
RaevenantOP4d ago
I'm pretty sure I've tried this, but I'll try again
amel
amel4d ago
you could also try turning of hw acceleration
amel
amel4d ago
Raevenant
RaevenantOP3d ago
Unfortunately, my device is fully supported hardware And Kyle can't reproduce it on an identical system 😭
Trino
Trino2d ago
no luck on my rig either, you're not alone, Raevenant weird thing is it worked the first time i launched it, but not since 🤷‍♂️ the only thing i haven't tried is installing it in a distrobox 🤔

Did you find this page helpful?