February 1, 20233 yr Hi All, I have spent hours, days, weeks, an eternity trying to get Nvidia GeForce RTX 3060 TI passed through to the VM. Since then I have tried multiple videos, support pages, GPU Bios, hammers but I am constantly getting errors which fills up the logs 100% with: 2023-02-01T20:59:29.569477Z qemu-system-x86_64: vfio_region_write(0000:01:00.0:region1+0x32398, 0x0,1) failed: Device or resource busy Any help will be gratefully received tower-diagnostics-20230201-2106.zip Edited February 1, 20233 yr by Arronf
February 2, 20233 yr Do you have both your Crab and your Windows 11 VM running at the same time? Generally it's 1 GPU per VM but you can share 1 GPU amongst many Docker Containers. Additionally, you can't have a VM using a GPU when Docker Containers are using it and vise versa. Edited February 2, 20233 yr by OrneryTaurus
February 2, 20233 yr Author I have removed all VM's and rebuilt a new one using the same method, still have the same problem. I've also stopped all docker containers and I still have the same problem, not sure the comment is in regards to docker containers and GPU
February 2, 20233 yr Author Solution Have just found this post 99478-solved-gpu-passthrough-issue and applied the below to /flash/config/go #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & #fix video for VM 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 This has resolved the issue Edited February 2, 20233 yr by Arronf
February 3, 20233 yr 22 hours ago, Arronf said: not sure the comment is in regards to docker containers and GPU It is my understanding that when a GPU is used with a VM, it gets exclusive usage of that GPU when active so neither docker containers or another VM can utilize it. When it comes to docker containers, a GPU can be used across multiple containers at the same time but that GPU is exclusive to docker containers when running. 21 hours ago, Arronf said: Have just found this post 99478-solved-gpu-passthrough-issue and applied the below to /flash/config/go #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & #fix video for VM 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 This has resolved the issue Awesome! Glad you were able to resolve the issue.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.