You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ujust setup-virtualization
Virtualization Setup
NOTE: Enabling Virtualization will layer virt-manager and qemu
this will slow down system updates by a lot.
This module along with Looking Glass is very experimental and not recommended for production use!
The ublue team packages the kvmfr module only because it has to be supplied with the system image while using an atomic desktop.
If you do plan to use Looking Glass, please follow the guide here on how to compile it for your system.
To use the kvmfr module after enabling it, just add and edit the xml for libvirt from the documentation in the first link.
Since we package the kvmfr module please open kvmfr related issues you have on Bazzite
in the Bazzite Discord or the Bazzite Github issue tracker.
~ @HikariKnight
Setting up kvmfr module so it loads next boot
[sudo] heslo pro askala:
Adding udev rule for /dev/kvmfr0
Adding /dev/kvmfr0 to qemu cgroup_device_acl
Adding SELinux context record for /dev/kvmfr0
File context for /dev/kvmfr0 already defined, modifying instead
Adding SELinux access rules for /dev/kvmfr0
This is the type enforcement we wrote for SELinux and you can find it in /home/askala/.config/selinux_te/kvmfr.te
#======= start of kvmfr.te =======
module kvmfr 1.0;
require {
type device_t;
type svirt_t;
class chr_file { open read write map };
}
#============= svirt_t ==============
allow svirt_t device_t:chr_file { open read write map };
#======== end of kvmfr.te ========
Loading kvmfr module so you do not have to reboot to use it the first time
chown: cannot access'/dev/kvmfr0': Directory or file does not exist
Kvmfr0 static size is set to 128mb by default
this will work with up to 4K SDR resolutiion, as most dummy plugs go up to 4K
some games will try use the adapters max resolution on first boot and cause issues if the value is too low.
Most ghost display adapters max out at 4k, hence the default value of 128mb.
If you need to change it to a different value
you can do that in /etc/modprobe.d/kvmfr.conf
Please read official documentation for kvmfr for how to use it
Press OK to start the process of regenerating your initramfs, this will take a long time
and there is no good way to track progress for it, if anything is wrong it will error out.
NOTE: You can start using kvmfr right now without rebooting, but you will need to regenerate initramfs for it to auto load next boot.
error: initramfs regeneration state is already enabled
error: Recipe `setup-virtualization` failed with exit code 1
Manually loading kvmfr with modprobe won't load it either.
No related error in dmesg.
The text was updated successfully, but these errors were encountered:
@Tony763 make sure iommu/intel VT-d/Amd-V/virtualization related options are enabled in bios
also we have changed how we configure the kvmfr just the other day, i would recommend updating, re-running the ujust and then do rpm-ostree initramfs --disable and see if it will load then
also need to see your sudo dmesg | grep kvmfr rpm-ostree kargs
and if you have not updated yet then i need to see cat /etc/modprobe.d/kvmfr.conf
Describe the bug
Enabling KVMFR trough
ujust setup-virtualization
ends with errorWhat did you expect to happen?
KVMFR module loaded.
Output of
rpm-ostree status
Hardware
ROG Strix G834JY_G834JY
Extra information or context
Manually loading
kvmfr
withmodprobe
won't load it either.No related error in
dmesg
.The text was updated successfully, but these errors were encountered: