fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
125 stars 3 forks source link

Support for Parallels Tools in Silverblue #487

Open sgallagher opened 10 months ago

sgallagher commented 10 months ago

Is your feature request related to a problem? Please describe. Users of Apple hardware (particularly those with Apple Silicon) often rely on Parallels virtualization for working with Linux. For optimal performance and access to hardware resources, parallels provides kernel modules (kmods) and userspace tools. These tools are not installable on Fedora Silverblue. The kmods could probably be worked around similarly to how nVidia drivers are, but the userspace tools are placed unconditionally into /usr/lib, which is immutable.

Describe the solution you'd like It should be possible to install Parallels Tools into Fedora Silverblue, thus making its use more feasible on Apple hardware. Ideally, this should be done with minimal effort by the user (such as installing a 3rd-party RPM), but reasonable instructions on how to do it themselves is also acceptable.

Describe alternatives you've considered Using traditional, RPM-based Fedora instead of Silverblue.

Additional context https://forum.parallels.com/threads/fedora-silverblue-and-parallels-tools.349929/

travier commented 10 months ago

I've tried to find the actual binaries to try to figure out what they do / how we could package that better but so far I've only found:

sgallagher commented 10 months ago

The ISO is included in the hypervisor installer, it's not available as a separate download (so far as I can tell).

They're located in /Applications/Parallels Desktop.app/Contents/Resources/Tools/ if you have it installed. If not, I can probably get them to you.

sgallagher commented 10 months ago

According to the EULA linked from https://www.parallels.com/about/legal/ , we can freely redistribute the Parallels Tools, so I can get you a link to the ISOs if needed.

sgallagher commented 10 months ago

https://sgallagh.fedorapeople.org/parallels-tools-isos.tar.bz2

travier commented 10 months ago

The installer/install-cli.sh script in prl-tools-lin.iso is using DKMS, which is not supported on Silverblue. See: https://github.com/coreos/rpm-ostree/issues/1091.

For now, the supported way to add kernel modules on Silverblue is via kmods & akmods:

Another option would be to use CoreOS layering to create a custom image of Silverblue the drivers installed. See the ZFS example in https://github.com/coreos/layering-examples.

zine999 commented 6 months ago

A guide for how to get Parallel Tools working with Fedora Silverblue would be awesome!