Waydroid on PinePhone Pro PPP (Stock Manjaro Plasma)
#1
Any luck running Waydroid on PPP default Manjaro Plasma Install?

I was able to get it installed with the below instructions for the PinePhone, but upon launching it just hangs on the Waydroid launch screen.

Installation instructions:

Code:
sudo pacman -S waydroid-image
sudo waydroid init -f
sudo systemctl enable waydroid-container --now



then launch the app from Pinephone App launcher.

App hangs and does not progress past initial screen. I tried launching from the terminal with wayland show-full-ui and got a wayland-0 display error. 

Upon forcing a reboot from the terminal I noticed an Android terminal screen with an error about sensors... I forced a reboot holding the power button. Perhaps some tweaks are needed to target the proper display? Any thoughts?

Thinking the issue has to do with PSI requirement in the kernel which has not yet made it to mainline stable Manjaro.
Do we need PSI to run Waydroid? - ARM - Manjaro Linux Forum

Is there a work around for PSI or do we need to upgrade to a non-stable kernel... or do we wait. :-\
Failed to get service waydroidplatform, trying again... · Issue #183 · waydroid/waydroid (github.com)
  Reply
#2
I tried waydroid on plasma and phosh from arch and manjaro and phosh from postmarket and none worked
  Reply
#3
I had page faults from the panfrost driver whenever the Waydroid window was in focus
  Reply
#4
I found a case where they disabled the hardware render to get waydroid to start on the Pro.

#!/bin/bash
# Download image, can be slow

sudo waydroid init
# Older android images cant use hardware acceleration on new hardware, so turn off.

( sudo echo "ro.hardware.gralloc=default" ; sudo echo "ro.hardware.egl=swiftshader" ) >>/var/lib/waydroid/waydroid_base.prop
sudo systemctl enable waydroid-container.service
sudo systemctl restart waydroid-container.service

Then for start script:

#!/bin/bash
waydroid session start &
waydroid show-full-ui &




There is no guarantee that it will work, but you can try.
  Reply
#5
Thumbs Up 
(02-15-2022, 06:32 PM)TheBlindEarthican Wrote: I found a case where they disabled the hardware render to get waydroid to start on the Pro.

#!/bin/bash
# Download image, can be slow

sudo waydroid init
# Older android images cant use hardware acceleration on new hardware, so turn off.

( sudo echo "ro.hardware.gralloc=default" ; sudo echo "ro.hardware.egl=swiftshader" ) >>/var/lib/waydroid/waydroid_base.prop
sudo systemctl enable waydroid-container.service
sudo systemctl restart waydroid-container.service

Then for start script:

#!/bin/bash
waydroid session start &
waydroid show-full-ui &




There is no guarantee that it will work, but you can try.

Thanks for this suggestion. This got Waydroid running for me on Pinephone Pro running Arch ARM in Phosh. Does this mean the Pinephone Pro GPU is not supported by Wayland?
  Reply
#6
(02-15-2022, 06:32 PM)TheBlindEarthican Wrote: I found a case where they disabled the hardware render to get waydroid to start on the Pro.

****

There is no guarantee that it will work, but you can try.

I can confirm this works on Manjaro Gnome on the PPP.

[Image: Pine-Phone-Pro-Gnome-42-Manjaro-Waydroid.png]
  Reply
#7
(04-07-2022, 02:11 PM)m0n.t3 Wrote:
(02-15-2022, 06:32 PM)TheBlindEarthican Wrote: I found a case where they disabled the hardware render to get waydroid to start on the Pro.

#!/bin/bash
# Download image, can be slow

sudo waydroid init
# Older android images cant use hardware acceleration on new hardware, so turn off.

( sudo echo "ro.hardware.gralloc=default" ; sudo echo "ro.hardware.egl=swiftshader" ) >>/var/lib/waydroid/waydroid_base.prop
sudo systemctl enable waydroid-container.service
sudo systemctl restart waydroid-container.service

Then for start script:

#!/bin/bash
waydroid session start &
waydroid show-full-ui &




There is no guarantee that it will work, but you can try.

Thanks for this suggestion. This got Waydroid running for me on Pinephone Pro running Arch ARM in Phosh. Does this mean the Pinephone Pro GPU is not supported by Wayland?

The GPU is support by wayland. From my understanding, the LineageOS version used isn't compatible with the RK3399 GPU currently. I haven't tried it lately and I am unsure whether or not it has been updated for it yet.
  Reply
#8
Fully working setup with hardware acceleration and Google apps, cross-posting for visibility: https://forum.pine64.org/showthread.php?tid=17369
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is Manjaro Plasma stable for anyone? projectcato 72 12,097 09-28-2022, 07:06 PM
Last Post: nroth
  Monjaro Plasma Cell Network and Data not working properly maiyuzhe 2 91 09-24-2022, 12:15 AM
Last Post: maiyuzhe
Rainbow Waydroid on Pinephone Pro (solution for users) MadameMalady 9 2,355 09-18-2022, 06:53 PM
Last Post: nroth
  Getting Waydroid to work on the Pinephone Pro Dragonborn 8 2,711 09-18-2022, 06:50 PM
Last Post: nroth
  OBS Studio on Manjaro Fred Zyphal 0 206 08-06-2022, 08:32 PM
Last Post: Fred Zyphal
  Cannot update new PinePhone Pro bent 4 438 07-30-2022, 01:23 PM
Last Post: mm144
  Tow-Boot, a new U-Boot option for Pinephone Pro and other devices Ulfnic 57 19,442 07-14-2022, 10:36 PM
Last Post: shulamy
  No display on early boot after Manjaro update robocone 0 237 07-07-2022, 05:47 AM
Last Post: robocone
  Latest Manjaro-Phosh and Arch-Phosh won't boot grinzie 6 909 07-01-2022, 02:01 PM
Last Post: Chief
  Wrong pin (default manjaro install) senorsmile 5 956 06-11-2022, 03:59 PM
Last Post: senorsmile

Forum Jump:


Users browsing this thread: 1 Guest(s)