AnonStoormTrooper Posted July 14 Share Posted July 14 Hi there, I am on Unraid version 6.12.10 with the Intel Graphics SR-IOV plugin installed from Unraid CAs and am experiencing issues. From the Unraid admin page, I only receive statistics for GPU 1 as you can see in the images. On GPUs2-8 I receive the message from the dashboard: "GPU not available bound to VFIO or inuse in a VM." I also have installed: - GPU Statistics - Intel TOP Also when configuring a VM with vfio 0000:00:02.1 or 0000:00:02.2 or any other, I cannot do remote desktop. I have SRIOV enabled in the BIOS. I don't know if I'm overlooking something, I'm attaching several screenshots in case you detect something wrong. Quote Link to comment
alturismo Posted July 15 Share Posted July 15 3 hours ago, AnonStoormTrooper said: I receive the message from the dashboard: "GPU not available bound to VFIO or inuse in a VM." as mentioned several times .. why are you using vfio bind on your vgpu's ... ? and wonder why you get a vfio bind error ... sorry to say but read again howto ... Quote Link to comment
AnonStoormTrooper Posted July 15 Share Posted July 15 2 hours ago, alturismo said: as mentioned several times .. why are you using vfio bind on your vgpu's ... ? and wonder why you get a vfio bind error ... sorry to say but read again howto ... I'm sorry, I didn't understand your message. After much searching for information and guides on how to configure this, my last option has been to post in this Unraid forum. If there is any place where I can review this information or you can tell me where the error is, I would appreciate it, I am unable to see it. Greetings and thank you Quote Link to comment
Daniel15 Posted July 15 Share Posted July 15 (edited) 6 hours ago, AnonStoormTrooper said: Also when configuring a VM with vfio 0000:00:02.1 or 0000:00:02.2 or any other, I cannot do remote desktop Do you mean that VNC doesn't work? When editing the VM, you need to configure the VNC virtual graphics as the first graphics adapter, and the Intel one as the second one. There's a little green plus button (that's easy to miss) to add another graphics adapter. Edited July 15 by Daniel15 Quote Link to comment
Daniel15 Posted July 15 Share Posted July 15 (edited) 6 hours ago, AnonStoormTrooper said: From the Unraid admin page, I only receive statistics for GPU 1 as you can see in the images There's only one physical GPU so I think you'll only see stats from the first one. I think that should be total stats for everything though. Edit: for Intel top, I think there's a command line argument to show info on the SR-IOV devices? Try running it with --help. 2 hours ago, alturismo said: as mentioned several times .. why are you using vfio bind on your vgpu's ... ? They didn't say they were. They were just quoting the error message, which says this. Edited July 15 by Daniel15 Quote Link to comment
alturismo Posted July 15 Share Posted July 15 3 minutes ago, Daniel15 said: They didn't say they were. They were just quoting the error message, which says this. i replied to @AnonStoormTrooper ... from hier screen you see and VNC is usually only needed on initial setup, i always remove VNC when its done ... so the intel vgpu is the only one left and always used as display driver ... of course you cant use VNC from Unraid webui anymore, streamer like parsec, RDP, or install a native VNC client .... all better then noVNC anyway 1 Quote Link to comment
Encore Posted July 15 Share Posted July 15 any news for intel 14gen cpus ? and the i915 disapear after 1-2 minutes / reboot of the vm? 14gen still not stupported? Quote Link to comment
Raider_M Posted July 16 Share Posted July 16 On 3/3/2024 at 1:25 PM, bucky2076 said: Giga, After more research, it appears the drivers are unable to init the graphics pci board in the linux client (Manjaro) Here is what I did... I installed the plugin and left it at 2 VF's by default. I created a fresh manjaro install using both qxl and intel cards selected in the vm template. The VM boots fine, the card is there... but does not init properly in the linux guest. l Hey @bucky2076 Just wondering if you (or anyone else) ever had any luck getting the intel i915 drivers loaded in Linux? I too am having issues and have had no luck getting the card to initiate properly in a Linux VM Works flawlessly on my dockers and windows VM. Does does not want to show in /dev/dri and on boot get errors etc. I am trying to get an instance of nextcloud aio vm up and running and want to pass through a VF for some transcoding purposes. I may need to revert back to docker for this. Not the biggest issue but would prefer to have it inside a VM. Quote Link to comment
Daniel15 Posted July 16 Share Posted July 16 (edited) 56 minutes ago, Raider_M said: any luck getting the intel i915 drivers loaded in Linux? I too am having issues and have had no luck getting the card to initiate properly in a Linux VM As per the documentation for the kernel module being used (https://github.com/strongtz/i915-sriov-dkms), the module has to be loaded in both the host (that's Unraid) and the guest VM. It only supports Linux 6.5 and older, so you may need to downgrade the kernel in the VM before installing it. The Windows Intel iGPU driver already has SR-IOV support built-in, which is why Windows VMs "just work" with no changes needed. It'll be built-in to Linux as well once the new Xe driver is available. Edited July 16 by Daniel15 1 Quote Link to comment
ich777 Posted July 16 Share Posted July 16 8 hours ago, Encore said: 14gen still not stupported? Nope, you still have to wait for official support in the Kernel from Intel. 1 Quote Link to comment
Encore Posted July 16 Share Posted July 16 14 hours ago, ich777 said: Nope, you still have to wait for official support in the Kernel from Intel. I regret the purchase 💀 Quote Link to comment
ich777 Posted July 16 Share Posted July 16 1 minute ago, Encore said: I regret the purchase 💀 Don't worry too much since SRIOV is almost deprecated (at least that repository from which the plugin is based on) and won't work on Unraid 7.0.0+ For more information see this post: Quote Link to comment
Daniel15 Posted July 16 Share Posted July 16 (edited) 15 minutes ago, ich777 said: SRIOV is almost deprecated There'll be mainline support once the Xe drivers are ready though. The last post about it on Phoronix from about a month ago says that they're working on SR-IOV now: https://www.phoronix.com/news/Linux-6.11-DRM-Intel-Xe-Next If I remember correctly, Linux 6.11 (which they're targeting) is scheduled for release around September or October. We'll see if Intel's driver is complete by then. Edited July 16 by Daniel15 Quote Link to comment
SimonF Posted July 16 Share Posted July 16 8 minutes ago, Daniel15 said: There'll be mainline support once the Xe drivers are ready though. The last post about it on Phoronix from about a month ago says that they're working on SR-IOV now: https://www.phoronix.com/news/Linux-6.11-DRM-Intel-Xe-Next If I remember correctly, Linux 6.11 (which they're targeting) is scheduled for release around September or October. We'll see if Intel's driver is complete by then. I was reading 6.12 but maybe sooner for xe. Unraid will take a while to get there because of zfs. Xe is included in 7 already. 1 Quote Link to comment
Daniel15 Posted July 16 Share Posted July 16 1 hour ago, SimonF said: I was reading 6.12 Is there an article I can read about this? The latest article I've seen was the one I linked that mentions 6.11. I haven't been following the mailing list very closely though. Quote Link to comment
SimonF Posted July 16 Share Posted July 16 7 minutes ago, Daniel15 said: Is there an article I can read about this? The latest article I've seen was the one I linked that mentions 6.11. I haven't been following the mailing list very closely though. States prep for sriov https://www.phoronix.com/news/Intel-Xe-More-Last-Minute-6.11 current arc dont support it. 1 Quote Link to comment
Daniel15 Posted July 16 Share Posted July 16 1 minute ago, SimonF said: States prep for sriov https://www.phoronix.com/news/Intel-Xe-More-Last-Minute-6.11 Thank you!! Somehow I missed this post. Quote Link to comment
AnonStoormTrooper Posted July 16 Share Posted July 16 On 7/15/2024 at 7:42 AM, Daniel15 said: Do you mean that VNC doesn't work? When editing the VM, you need to configure the VNC virtual graphics as the first graphics adapter, and the Intel one as the second one. There's a little green plus button (that's easy to miss) to add another graphics adapter. I summarize the actions I have taken and that seem to have worked: I have added the virtual card as a second graphics card, keeping VNC as the first graphics card. Previously I replaced VNC with virtual graphics, and I clarify: I was trying to connect to that VM through Windows RDP, not through VNC. Since this setting did not allow me to connect, it seemed that Windows was not starting correctly, since I could not connect to that machine through Google Remote Desktop either. Apparently this behavior of adding the virtual graphics card without VNC, along with the GPU Statics plugin that gives me that message “GPU not available bound to VFIO or inuse in a VM” in the Dashboard, made me think that the vGPUs were not right configured. I was wrong, unless you tell me otherwise, I see everything working correctly. My only question right now is if I should continue keeping the /dev/dri path in docker containers like the following for transcoding, or should I change it to the path of a vGPU - Plex - Jellyfin - Tdarr Thanks to everyone who has helped me! Quote Link to comment
Daniel15 Posted July 16 Share Posted July 16 1 minute ago, AnonStoormTrooper said: continue keeping the /dev/dri path in docker containers This is the right approach. 1 Quote Link to comment
alturismo Posted July 17 Share Posted July 17 4 hours ago, AnonStoormTrooper said: made me think that the vGPUs were not right configured. I was wrong, unless you tell me otherwise, I see everything working correctly. what is wrong ... like mentioned above, vfio bind on the vgpu's in terms you stiff have them "ticked" if its working now ... i personally guess, nope, you can try i RDP playing now a 4k hevc video and see if hardware decoding is working (will still stutter a bit as RDP is not super super fluid) by checking your task manager, CPU load should stay low and Intel Video GPU decode should be up ... or as real Test, run some real streaming like parsec, sunshine, ... if they are able to de/encode using the vgpu, then you have a real fluid remote session ... or some other encoding tests etc etc ... sample like this (there is more when you look through this thread) and yes, as @Daniel15 mentioned, nothing todo on Host Side Apps like Dockers, all stay at /dev/dri ... Quote Link to comment
alturismo Posted July 17 Share Posted July 17 to all on unraid 7 beta2, plugin updated and working again so anyone who wanted to wait for unraid 7 due sr iov ... enjoy now 4 Quote Link to comment
HDLynx Posted July 18 Share Posted July 18 unraid 7 beta2 SRIOV,Thank you for 777's efforts.enjoy now😁 1 Quote Link to comment
AsahiZoe Posted July 18 Share Posted July 18 (edited) Thank you very much for maintaining the i915-sr-iov plugin. I noticed it recently received an update that allows it to run properly on the unraid 7.0.0 beta 2 version. However, I also encountered an issue: my device is an Intel 12400 with a Jingyue B760M motherboard and a discrete graphics card, the Gunnir A750. After installing the i915 plugin and rebooting, I found that the integrated graphics worked fine, but the A750 driver disappeared ( card1/renderD129) , even though it was still visible in the System Devices list. When I uninstalled the i915 plugin and rebooted, the A750 driver came back! Edited July 18 by AsahiZoe Quote Link to comment
AnonStoormTrooper Posted July 18 Share Posted July 18 On 7/17/2024 at 5:17 AM, alturismo said: what is wrong ... like mentioned above, vfio bind on the vgpu's in terms you stiff have them "ticked" if its working now ... i personally guess, nope, you can try i RDP playing now a 4k hevc video and see if hardware decoding is working (will still stutter a bit as RDP is not super super fluid) by checking your task manager, CPU load should stay low and Intel Video GPU decode should be up ... or as real Test, run some real streaming like parsec, sunshine, ... if they are able to de/encode using the vgpu, then you have a real fluid remote session ... or some other encoding tests etc etc ... sample like this (there is more when you look through this thread) You're right, I've played a HEVC 4k movie in a VM with one of these virtual GPUs and the CPU usage skyrockets, while the GPU in the task manager remains at 0%. It is true that it detects it, because I was able to install the drivers, but it is not using it. What setting should I make? When I checked the box: "Bind selected devices to the VFIO controller at boot time" I did it following a post on one of these UNRAID forums, would unbinding that be enough? Quote Link to comment
MiniRailG Posted July 24 Share Posted July 24 Hi giganode, I wonder if your plugin still works under the latest 6.12.11? Thanx! Quote Link to comment
Recommended Posts
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.