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

Genymotion - does not work with QEMU #308396

Closed
rastarr opened this issue May 2, 2024 · 4 comments · Fixed by #308728
Closed

Genymotion - does not work with QEMU #308396

rastarr opened this issue May 2, 2024 · 4 comments · Fixed by #308728

Comments

@rastarr
Copy link

rastarr commented May 2, 2024

Describe the bug

I used Genymotion for a long time on macOS but with Virtualbox.
I switch to Linux/nixOS about 5 months ago and was pleasantly surprised to read Genymotion now supported the QEMU engine.

Alas, myself and a few other of my friends were never able to get Genymotion to work using QEMU, which is the preferred Hypervisor.

I've tried to source some help at https://discourse.nixos.org/t/anyone-got-waydroid-or-genymotion-working/44397/12 but to no avail.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have a running working QEMU installation. Presumably with at least 1 functional VM too
  2. Install Genymotion
  3. Setup Genymotion, ensure QEMU is selected as the Hypervisor
  4. Select a random Android device, add it and run it.
  5. You'll first get a 'can't start virtual device' error
  6. Manually trying to start the Android device again gives a 'Another QEMU process appears to be using the same resources' error

Expected behavior

I'd expect Genymotion to start the Android device using QEMU, naturally

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Notify maintainers

@puffnfresh

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

``` - system: "x86_64-linux"

  • host os: Linux 6.7.12, NixOS, 24.05 (Uakari), 24.05.20240403.fd281bd
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.18.2
  • nixpkgs: /nix/store/n2g5cqwv8qf5p6vjxny6pg3blbdij12k-source


---

Add a :+1: [reaction] to [issues you find important].

[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[issues you find important]: https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc
![no-start](https://github.com/NixOS/nixpkgs/assets/2160922/1c2be4d3-5103-4b3b-ace8-57e4a96a6cc8)
![geny-qemu](https://github.com/NixOS/nixpkgs/assets/2160922/09821288-f74b-47fe-bb67-661cec3c3df6)
[genymotion-player.log](https://github.com/NixOS/nixpkgs/files/15182367/genymotion-player.log)
[genymotion.log](https://github.com/NixOS/nixpkgs/files/15182368/genymotion.log)
[qemu.log](https://github.com/NixOS/nixpkgs/files/15182369/qemu.log)
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/anyone-got-waydroid-or-genymotion-working/44397/13

@rastarr
Copy link
Author

rastarr commented May 2, 2024

@wegank
Copy link
Member

wegank commented May 2, 2024

Duplicate of #226867. Does the workaround in #226867 (comment) work for you?

@rastarr
Copy link
Author

rastarr commented May 3, 2024

@wegank I'm not really sure this is a duplicate but that's up to you.
I'm not a coder so had no idea what to do with that old 'work-around' either. I had a colleague who kindly looked at it, spent some time, and turned it in to a flake which can be found at https://github.com/fillon/nix-genymotion

And now the broken Genymotion functions great with QEMU.

Perhaps the flake code can help in fixing the package.
Thanks for the pointer to the old work-around

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

Successfully merging a pull request may close this issue.

3 participants