So I virtualized Kodi 16.1 on a VM (Proxmox 4.2) with a GT 710 video card pass-through’d on Ubuntu 16.04 LTS. It works for the most part, but there are some minor issues that I’ve run into:
1. Audio gets “stuck” repeating sound. I did some changes and it seems to be ok when I reboot or start fresh, but it seems to be hit or miss when turning the TV on. Along the same lines, it happens 100% of the time if I have “adjust refresh rate” checked to force the TV to play at 24p (movies for example). Initially it would play at 2x the speed with no sound, now I got it to play at the correct speed (-ish, stats show 23.971 instead of 23.976) but the audio is either muted or stuck on repeating a very small clip of audio. If I turn that feature off and let everything play at 60hz I don’t have any issue. Once it gets stuck doing that, the only way I can fix it is rebooting or shutting down and starting back up. I’ve tried force-reloading alsa via command line but that doesn’t help.
2. CPU usage: Xorg uses about 30-40% CPU usage idling in Kodi. Seems a little high.
3. Issues with IR: So I have an Inteset 4-1 remote with an external USB IR receiver. I’m passing-through the USB IR receiver to the VM through a USB hub. I have an HDMI extender which allows me to pass HDMI and IR over CAT6, which works great because my server is in the office and the TV in question is in the bedroom. The remote and everything works, but dmesg shows a ton of
mceusb 1-2:1.0: Error: urb status = -32
. It doesn’t seem to affect usage because I can use the remote just fine.
Aside from that, I’m rather happy that it works for the most part.