Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make A Waydroid Like An Android Studio Without Loss An Performance #1402

Open
IslamMohammedSalama opened this issue May 11, 2024 · 8 comments

Comments

@IslamMohammedSalama
Copy link

IslamMohammedSalama commented May 11, 2024

I Want This Emulator To Have Around And On The Right Side A Button To Close The Emulator And Other Buttons Such As Android Studio Emulators Without Paying Attention To The Terminal And Stopping It In The Traditional Way And I Want To Hold The Upper Side Of The Emulator And Drag It To Move Its Place Without Pressing The Super Key And It Will Be Solved The Problem Of Switching Between Languages Using Keyborad So It Not Working And Having It Be Like The Android Studio Emulators Without Affecting The Performance And I Want The Performance To Be Faster Than That And I Hope That These Features Will Be Added So That The Use Of This Emulator Is Easy And Smooth, So I Use Ubuntu 22.4.4 And I Hope That The Update Reaches This The Operating System.

@kotenok2000
Copy link

image

@LFRon
Copy link

LFRon commented May 19, 2024

Actually,I was thinking running it through qemu.Because qemu 8.2 includes a big merge:virtio-gpu-rutabaga_gfxstream,which could realize the Wayland screen passthrough,means you can use emulator like waydroid,and Google ARCVM has realized but it is closed-source project.So maybe qemu with virtio-gpu-rutabaga is a better choice for Running Android with safety and full-SELinux support:https://www.qemu.org/docs/master/system/devices/virtio-gpu.html
But you should compile rutabaga_gfxstream,I have a good guide:https://linaro.atlassian.net/wiki/spaces/ORKO/pages/28985622530/Building+QEMU+with+virtio-gpu+and+rutabaga+gfx

1 similar comment
@LFRon
Copy link

LFRon commented May 19, 2024

Actually,I was thinking running it through qemu.Because qemu 8.2 includes a big merge:virtio-gpu-rutabaga_gfxstream,which could realize the Wayland screen passthrough,means you can use emulator like waydroid,and Google ARCVM has realized but it is closed-source project.So maybe qemu with virtio-gpu-rutabaga is a better choice for Running Android with safety and full-SELinux support:https://www.qemu.org/docs/master/system/devices/virtio-gpu.html
But you should compile rutabaga_gfxstream,I have a good guide:https://linaro.atlassian.net/wiki/spaces/ORKO/pages/28985622530/Building+QEMU+with+virtio-gpu+and+rutabaga+gfx

@IslamMohammedSalama
Copy link
Author

Actually,I was thinking running it through qemu.Because qemu 8.2 includes a big merge:virtio-gpu-rutabaga_gfxstream,which could realize the Wayland screen passthrough,means you can use emulator like waydroid,and Google ARCVM has realized but it is closed-source project.So maybe qemu with virtio-gpu-rutabaga is a better choice for Running Android with safety and full-SELinux support:https://www.qemu.org/docs/master/system/devices/virtio-gpu.html But you should compile rutabaga_gfxstream,I have a good guide:https://linaro.atlassian.net/wiki/spaces/ORKO/pages/28985622530/Building+QEMU+with+virtio-gpu+and+rutabaga+gfx

The Idea Of ​​Running Waydroid On QEMU Is A Bad Idea Because It Will Consume The Device's Resources Much More! What Distribution Will I Install On The v
Virtual Machine????

@LFRon
Copy link

LFRon commented May 21, 2024

Actually,I was thinking running it through qemu.Because qemu 8.2 includes a big merge:virtio-gpu-rutabaga_gfxstream,which could realize the Wayland screen passthrough,means you can use emulator like waydroid,and Google ARCVM has realized but it is closed-source project.So maybe qemu with virtio-gpu-rutabaga is a better choice for Running Android with safety and full-SELinux support:https://www.qemu.org/docs/master/system/devices/virtio-gpu.html But you should compile rutabaga_gfxstream,I have a good guide:https://linaro.atlassian.net/wiki/spaces/ORKO/pages/28985622530/Building+QEMU+with+virtio-gpu+and+rutabaga+gfx

The Idea Of ​​Running Waydroid On QEMU Is A Bad Idea Because It Will Consume The Device's Resources Much More! What Distribution Will I Install On The v Virtual Machine????

Actually it consumes resources much more because which uses VirGL so it will cause the stuck feeling when you are using,but if you realize it through rutabaga_gfxstream,you could directly use your GPU to render graphics with lowest delay(even directly through the wayland compositor) and the best performace.

@IslamMohammedSalama
Copy link
Author

Actually,I was thinking running it through qemu.Because qemu 8.2 includes a big merge:virtio-gpu-rutabaga_gfxstream,which could realize the Wayland screen passthrough,means you can use emulator like waydroid,and Google ARCVM has realized but it is closed-source project.So maybe qemu with virtio-gpu-rutabaga is a better choice for Running Android with safety and full-SELinux support:https://www.qemu.org/docs/master/system/devices/virtio-gpu.html But you should compile rutabaga_gfxstream,I have a good guide:https://linaro.atlassian.net/wiki/spaces/ORKO/pages/28985622530/Building+QEMU+with+virtio-gpu+and+rutabaga+gfx

The Idea Of ​​Running Waydroid On QEMU Is A Bad Idea Because It Will Consume The Device's Resources Much More! What Distribution Will I Install On The v Virtual Machine????

Actually it consumes resources much more because which uses VirGL so it will cause the stuck feeling when you are using,but if you realize it through rutabaga_gfxstream,you could directly use your GPU to render graphics with lowest delay(even directly through the wayland compositor) and the best performace.

It Will Consume The Device's Resources More, Not Because Of WayDroid, But Because Of The Operating System That Will Be Used In The Virtual Device, Especially Since I Use It To Build Android Applications Using Flutter And The Process Of Building The Application's APK File, And This Consumes Many Resources From The Application, And Using A Virtual Device And Running The Application. Flutter Consumes A Lot Of Resources. The Solution Is To Make WayDroid Like The Android Studio Emulators Without Losing Performance .

@kotenok2000
Copy link

You want to make android studio use waydroid instead of qemu?
As opposed to making waydroid use qemu like android studio currently does?

@IslamMohammedSalama
Copy link
Author

You want to make android studio use waydroid instead of qemu? As opposed to making waydroid use qemu like android studio currently does?

No , So What Distribution I Use It On Virt Manager ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants