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
  freeBSD is booted on pinephone pro with console output zetabeta 4 337 01-13-2025, 03:22 AM
Last Post: KC9UDX
Rainbow Plasma-Mobile on Mobian Trixie, task switcher issue pineconeuser 0 138 01-02-2025, 09:21 AM
Last Post: pineconeuser
  Anyone gotten latest Ubuntu Touch to work on PinePhone Pro? dchang0 4 438 12-22-2024, 04:21 PM
Last Post: dchang0
  Manjaro plasma mobile Wifi Uturn 2 313 12-05-2024, 12:46 AM
Last Post: Uturn
  Megapixels on Mobian Bookworm on PinePhone Pro - Not Launching X0X0X0X0X0 3 1,476 10-28-2024, 10:46 AM
Last Post: Jite
  Seeking Contributors: Apache NuttX Real-Time Operating System for PinePhone Pro lupyuen 3 2,738 08-25-2024, 04:18 PM
Last Post: Fofeu
  tow-boot, just bought pinephone pro stratofall 4 991 07-30-2024, 03:43 PM
Last Post: stratofall
  bookworm vs trixie discussion for mobian in pinephone pro. zetabeta 16 6,101 04-28-2024, 01:52 AM
Last Post: diederik
  [WIP] KDE Plasma Mobile 6.0 Builds & Ports dorkydev 5 2,123 04-15-2024, 08:08 AM
Last Post: u-kidjp
  Tow-Boot, a new U-Boot option for Pinephone Pro and other devices Ulfnic 60 60,039 02-13-2024, 02:54 PM
Last Post: fxc

Forum Jump:


Users browsing this thread: 1 Guest(s)