one of my VM running windows 10 with HDMI and Audio passthrough, but something is wrong, 1st start on the vm the HDMI sound will work just fine, but if i restart the Windows 10 within vm, the next start on ward i will lost HDMI sound. this especially when windows update and it restart it self and i will lost the sound.
I need to shut it down, and use proxmox webui to start it again to get the HDMI sound work.
(i dont know why it doesnt work on every restart, but that another topic to discuss. it was Intel i7100 CPU with IGP and HDMI Audio passthrough).
so i am thinking of another option to set a cron tab to start the VM every few minutes, i have this in crontab -e
3 * * * * /usr/sbin/qm start 101 >/dev/null 2>&1
which suppose the crontab try to start vm 101 every 3 minutes when i shut it down just to make sound work and i dont need to open proxmox webui (i know it will create a lot of log of Error: VM 101 is already running if the crontab work).
however, the crontab doesnt work, i shutdown the VM, waited 5 minutes, vm 101 was never started by crontab.
if i run this in the console /usr/sbin/qm start 101 >/dev/null 2>&1 vm 101 will get started correctly.
any suggestion or advice?
i hope something like to ping vm 101 every 3 minutes, if 101 is not responding, then qm start 101
thank you.
I need to shut it down, and use proxmox webui to start it again to get the HDMI sound work.
(i dont know why it doesnt work on every restart, but that another topic to discuss. it was Intel i7100 CPU with IGP and HDMI Audio passthrough).
so i am thinking of another option to set a cron tab to start the VM every few minutes, i have this in crontab -e
3 * * * * /usr/sbin/qm start 101 >/dev/null 2>&1
which suppose the crontab try to start vm 101 every 3 minutes when i shut it down just to make sound work and i dont need to open proxmox webui (i know it will create a lot of log of Error: VM 101 is already running if the crontab work).
however, the crontab doesnt work, i shutdown the VM, waited 5 minutes, vm 101 was never started by crontab.
if i run this in the console /usr/sbin/qm start 101 >/dev/null 2>&1 vm 101 will get started correctly.
any suggestion or advice?
i hope something like to ping vm 101 every 3 minutes, if 101 is not responding, then qm start 101
thank you.
Last edited: