I just wanted to announce that I’ve created a copr repo for Fedora 27. This repo houses two packages for the time being, kernel and qemu. I’m planning to expand it to other tools that may not be available in the main repos. If anyone has package requests, feel free to suggest them below!
The kernel package is a modified version of the standard Fedora kernel with the ACS and NPT patches applied.
The qemu package is a modified version of the standard Fedora qemu package with elf64 support, Zen SMT suppport, Mouse side button support, Looking Glass ivshmem patches, Audio fixes and VCPU Pinning support.
While I was compiling a new kernel with the npt patch I saw your copr repo, I ended up finishing that but decided to try yours first. Thanks for putting in the work and setting the repo up. I can confirm this repo works great and I’m not sure about the tuning with qemu, but I’m going to assume it helped Much nicer to download this instead of compiling for 5+ hours…
Performance improvements are crazy. I have a AMD Ryzen 7 1700x, 16GB DDR4, RX 560 machine with fairly standard pass-through setup. I was playing Dirty Bomb and fps went from 14fps, lowest settings @ 720p with stuttering to running silky smooth at 130fps+ at 1080p. Nice work finding the issue @gnif
Build has just about completed (I’ve been debugging system issues last night), so I’m just going to validate it before I put it up on COPR.
EDIT: Build passed validation, I’m gonna throw this up for copr to build, that will likely take 6-8 hours, but when that’s done, you should be able to dnf update to get it.
If downstream isn’t enough you can try adding multifunction which should show more devices but this is usually discouraged as it can cause some issues on certain devices depending on how they are mixed together.
Its optional, it shouldn’t be needed at all as the card won’t be using the pci-stub driver. should just be able to add the device to the VM after changing the pcie_acs_override.
I haven’t heard of pcie_acs_patch= but I’ve used pcie_acs_override= with this kernel on Fedora 27 and it works.
The acs patch isn’t in the 4.15.13-300.fc27.x86_64 kernel and the latest version in the copr repo at this time is 4.15.9-300.acs.fc27.x86_64. Are you sure your loading the kernel with the acs patch applied?
which should download and install the new kernel and select it in your grub options when booting. If dnf update can’t find it manaully install it with: