Hello,
I've got an AMD APU (Ryzen 5900HX), so actual GPU passthrough is unfortunately not workable right now, as far as I can tell.
I'd like to use VirtGL to get at least some level of hardware GPU acceleration into a Linux VM running software defined radio apps (these are fairly graphically intensive, as they have to display a visual representation of the tuned radio frequencies in real time).
(With the default VGA driver, SPICE, or VirtGPU, the vCores do all the work, and the SDR app happily consumes 50-80 percent of available vCores just showing the graphics, which is rather unworkable.)
I think VirtGL would be helpful here, but I've yet to find any official documentation on how to set it up in Proxmox. Specifically, when I tried enabling it in an existing VM, PVE wouldn't start the VM unless I installed a couple of extra libraries in PVE itself. See: https://dannyda.com/2022/05/04/how-...lease-install-libgl1-and-libegl1/#comment-971
Error: TASK ERROR: missing libraries for ‘virtio-gl’ detected! Please install ‘libgl1’ and ‘libegl1’
The worry I'm having is that I do not understand all the dependencies it wants to install. Since this is an install directly onto the node itself, and not into a VM, I'm wary of just coming in blasting with random libraries.
Here's what it wants to install. I'd appreciate any guidance on what it's doing and if this is safe to do (or even going to work with a Ryzen APU). Thanks!
I've got an AMD APU (Ryzen 5900HX), so actual GPU passthrough is unfortunately not workable right now, as far as I can tell.
I'd like to use VirtGL to get at least some level of hardware GPU acceleration into a Linux VM running software defined radio apps (these are fairly graphically intensive, as they have to display a visual representation of the tuned radio frequencies in real time).
(With the default VGA driver, SPICE, or VirtGPU, the vCores do all the work, and the SDR app happily consumes 50-80 percent of available vCores just showing the graphics, which is rather unworkable.)
I think VirtGL would be helpful here, but I've yet to find any official documentation on how to set it up in Proxmox. Specifically, when I tried enabling it in an existing VM, PVE wouldn't start the VM unless I installed a couple of extra libraries in PVE itself. See: https://dannyda.com/2022/05/04/how-...lease-install-libgl1-and-libegl1/#comment-971
Error: TASK ERROR: missing libraries for ‘virtio-gl’ detected! Please install ‘libgl1’ and ‘libegl1’
The worry I'm having is that I do not understand all the dependencies it wants to install. Since this is an install directly onto the node itself, and not into a VM, I'm wary of just coming in blasting with random libraries.
Here's what it wants to install. I'd appreciate any guidance on what it's doing and if this is safe to do (or even going to work with a Ryzen APU). Thanks!
root@andromeda-ii:~# apt install libgl1 libegl1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
pve-kernel-5.15.39-1-pve pve-kernel-5.15.39-4-pve pve-kernel-5.15.53-1-pve pve-kernel-5.15.60-1-pve pve-kernel-5.15.60-2-pve
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libegl-mesa0 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libllvm11 libpciaccess0 libvulkan1
libwayland-client0 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-sync1 libxcb-xfixes0 libxdamage1 libxfixes3 libxshmfence1
libxxf86vm1 libz3-4 mesa-vulkan-drivers
The following NEW packages will be installed:
libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libegl-mesa0 libegl1 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libllvm11
libpciaccess0 libvulkan1 libwayland-client0 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-sync1 libxcb-xfixes0 libxdamage1
libxfixes3 libxshmfence1 libxxf86vm1 libz3-4 mesa-vulkan-drivers
0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
Last edited: