-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Confusing permission errors really implicate udev issues with /dev/kvm #2
Comments
Hey ma dude, did you install qemu-kvm and add your user to the kvm group? |
Cause thats what you need to do to get KVM working correctly. |
If you read the link I pointed to, you'll see that qemu-kvm is not actually required, but the udev rule it includes is required. |
The Fuchsia emulator needs KVM. It won't work unless you enable it. |
@EnderNightLord-ChromeBook I think thats understood, the issue here is that Ubunut 18.04 doesnt configure the permissions correctly, although i'm not able to reproduce this, seems to run out of the box on every other system I have. |
I see |
Ahh - linking to this from the README or some other documentation might help people diagnose To verify that KVM is configured correctly, run the following command:
|
I'll be sure to implement that command into the documentation. |
Thanks for making it easier to run fushcia!
I was puzzled by a variety of confusing kvm permission errors trying to get configured on Ubuntu 18.04. E.g.
I had my account properly set up for kvm, since it tells me that the KVM line in /etc/group should end with ":" followed by your username. and that's true...
That file
/home/usr/fuchsia/fimage-210528/linux-x64/lib64/vulkan/libvulkan.so.1
exists, but I don't know what full means in that context and don't see good tips on the web.That problem turned out to be incorrect permissions on
/dev/kvm
itself. But note you can't just change the permissions withchmod
. You need to configureudev
, as described concisely in Gerd's answer at Android Studio: /dev/kvm device permission denied.Since the error is misleading, it would help to have the shell scripts check for that explicitly and give better hints.
The text was updated successfully, but these errors were encountered: