Hi,
I have a Ryzen 2700 system with both an RX580 and NVidia 1050ti passed through to separate VM's. I was having issues when VM's were stopped or rebooted within the VM. I found this script online and set a cron for it to run on every reboot:
I've recently upgraded to kernel "Linux pve 5.4.65-1-pve" and now the script is giving errors:
These devices seem to no longer exist. Has anything changed recently in the kernel to affect this? Any where else I can look for these same devices? Within /sys/class/vtconsole/ there is only vtcon0 now.
Also has this issue possibly been fixed or addressed partially? I can reboot my RX580 but usually if I try to use the GPU like running a game, I get blank screens or the whole system hangs.
I have a Ryzen 2700 system with both an RX580 and NVidia 1050ti passed through to separate VM's. I was having issues when VM's were stopped or rebooted within the VM. I found this script online and set a cron for it to run on every reboot:
Code:
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
I've recently upgraded to kernel "Linux pve 5.4.65-1-pve" and now the script is giving errors:
Code:
/root/nvidia.sh: line 2: /sys/class/vtconsole/vtcon1/bind: No such file or directory
/root/nvidia.sh: line 3: echo: write error: No such device
These devices seem to no longer exist. Has anything changed recently in the kernel to affect this? Any where else I can look for these same devices? Within /sys/class/vtconsole/ there is only vtcon0 now.
Also has this issue possibly been fixed or addressed partially? I can reboot my RX580 but usually if I try to use the GPU like running a game, I get blank screens or the whole system hangs.