UB
Universal Blue•9mo ago
Rinku

Waydroid Won't Start (Bazzite Deck Gnome)

Hi, I'm having an issue when I try launching Waydroid. I followed the tutorial on the Universal Blue website and after running Step 2, Waydroid refuses to open. When I run the command: waydroid show-full-ui I get the error: Wayland socket '/run/user/1000/wayland-0' doesn't exist; are you running a Wayland compositor? Is this because I'm running Gnome or is there a way that it can work? I had a look and it says I'm on X11. Any help would be really appreciated! Note: I'm on a physical Steam Deck.
61 Replies
dnkmmr
dnkmmr•9mo ago
you need to use wayland instead of xorg
Rinku
Rinku•9mo ago
How do I switch to that?
Demigod556
Demigod556•9mo ago
Same issue I'm running into
dnkmmr
dnkmmr•9mo ago
try just _toggle_wayland
Rinku
Rinku•9mo ago
I did some digging and came across that command but it didn't do anything when I ran it
dnkmmr
dnkmmr•9mo ago
did you select wayland session?
Rinku
Rinku•9mo ago
Wait am I supposed to get an additional option after running it?
dnkmmr
dnkmmr•9mo ago
select if from your login manager, there is a wayland option and an x11 option
Rinku
Rinku•9mo ago
Oh, where do I find that?
Demigod556
Demigod556•9mo ago
I'm stuck on x11 when I log out it logs me back in
termdisc
termdisc•9mo ago
That means you have auto login enabled. Disable it
Rinku
Rinku•9mo ago
If I hit Log Out it just puts me into Game Mode
Demigod556
Demigod556•9mo ago
I have it turned off and it still just throws me back into desktop mode Okay so I guess I need to enable root for my account I didn't do that in the install how do I go about enabling root Well I can't modify my custom.conf file it has automatic login set as true.
Demigod556
Demigod556•9mo ago
No description
Demigod556
Demigod556•9mo ago
Crush
Crush•9mo ago
Yeah. Run it, switch to game mode, and switch bacl tp desktop.
Demigod556
Demigod556•9mo ago
Not trying to thread hijack but I'm having same issue as op
Crush
Crush•9mo ago
On bazzite deck?
Demigod556
Demigod556•9mo ago
Yes I'm on the newest iso been trying to get waydroid to run all day 🙃
Crush
Crush•9mo ago
run just _toggle_waydroid once, go to game mode, go back to desktop. I need to change the guide, I'll do it today
Demigod556
Demigod556•9mo ago
Got command Not found
Crush
Crush•9mo ago
You written just _toggle_wayland? Can you show a screenshot
Demigod556
Demigod556•9mo ago
Okay I did that forgot to put just
Demigod556
Demigod556•9mo ago
No description
Crush
Crush•9mo ago
Yup, so now go to game mode
Demigod556
Demigod556•9mo ago
I click waydroid and nothing happens
Crush
Crush•9mo ago
Can you run waydroid show-full-ui
Demigod556
Demigod556•9mo ago
No description
Crush
Crush•9mo ago
Run this for me: loginctl show-session 2 -p Type
Demigod556
Demigod556•9mo ago
Failed to get session path: No session '2' known
Crush
Crush•9mo ago
Try this: echo $XDG_SESSION_TYPE
Demigod556
Demigod556•9mo ago
okay i pasted that one in was anything supposed to popup
Crush
Crush•9mo ago
It should show what compositor you're using either x11 or wayland
Demigod556
Demigod556•9mo ago
oh i see x11
Crush
Crush•9mo ago
Try doing the just _toggle_wayland and going to game mode thing again
Demigod556
Demigod556•9mo ago
okay no change when i ran that comand
Crush
Crush•9mo ago
Weird... In the meantime, skip to step 6, and instead of opening waydroid when you need it, open weston, then go back and do what you need to do. @KyleGospo Might want to look into the just _toggle_wayland command not working Just to confirm, you did enter and exit game mode right?
Demigod556
Demigod556•9mo ago
okay step 6 is complete
Crush
Crush•9mo ago
Try opening weston
Demigod556
Demigod556•9mo ago
okay i have it open saying something about this device isnt play protected
Crush
Crush•9mo ago
Yes, that's part of the guide Go back to where you was
Demigod556
Demigod556•9mo ago
okay i did the play certificate and got it registerd but waydroid isnt poping up yet
Crush
Crush•9mo ago
What part are you stuck on?
Demigod556
Demigod556•9mo ago
well am i supposed to be running android throught weston or waydroid ?
Crush
Crush•9mo ago
Weston. All weston does is create a wayland "space" for waydroid to open and auto-opens waydroid within it.
Demigod556
Demigod556•9mo ago
so from know on i just run Weston to run android ?
Crush
Crush•9mo ago
Yep. It's also what you add to steam for waydroid to work in game mode.
Demigod556
Demigod556•9mo ago
okay thanks for the help
dnkmmr
dnkmmr•9mo ago
use nano to modify it
Rinku
Rinku•9mo ago
I'll give this a shot yeah it just shows me the desktop again 😔 I got Weston set up but when I launch it, it's just a black screen
Crush
Crush•9mo ago
It takes a minute to launch waydroid
Rinku
Rinku•9mo ago
Ah okay, thought I might've just been impatient loool I'll give it some time
Crush
Crush•9mo ago
It's just black because the compositor loads before waydroid, so you're basically just staring at a blank "desktop"
Rinku
Rinku•9mo ago
Ahhhh okay Thanks Strange, the screen is still black
Andykt76
Andykt76•9mo ago
got the same issue, trying to launch Waydroid, it opens for a second then closes same error message OK scratch that, reboot seems to have fixed it, I now have Weston working bazzite reference, my issue seems to be that the SELINUX=enforcing got reset somehow. Saved it again and voila!
Crush
Crush•9mo ago
I'll rewrite the guide tomorrow 100% guaranteed
Rinku
Rinku•9mo ago
PROGRESS I think I might have it So Weston only launches properly if I do weston --use-pixman Is there a way to change the shortcut for Steam to where it launches that way instead of normally? So I've got it to where just typing "weston" on its own now launches Weston just fine, but if I launch it through Activities or Steam it's just a black screen again I'll try in game mode to see if it makes a difference Yeah black screen on Steam Fixed it through making my ini file just consist of the autolaunch thing from the guide and then adding: [core] use-pixman=true And it looks like removing "WAYLAND-DISPLAY=wayland-1" from the sh file has made it autolaunch now <:has_09_6_rinku_happy_D4:790297477202182155>
Rinku
Rinku•9mo ago
Now we are GAMING
No description
Rinku
Rinku•9mo ago
I got fake touch working, but is there a way to have multiple inputs so I can use 2 fingers on the screen at once?
Crush
Crush•9mo ago
I don't think so because on gamescope unfortunately
Rinku
Rinku•9mo ago
ah, sad