[Feature] GPU Acceleration + Passthrough Solution?
Feature Description
A while ago I contributed to an Omarchy Linux pull request. It involved leveraging and enabling GPU passthrough in Omarchy, it utilises Docker Windows images and I believe it could in one form or another be implemented into Winboat. I will take a look and try to develop a solution to this but also want to share if anyone with more free-time and knowledge would like to build it.
https://github.com/basecamp/omarchy/pull/3454
Use-Case
Allows for leveraging GPU power for certain softwares that require higher end hardware and computational power
Proposed Implementation
Will need to look in to it, but the best way would be to utilise looking glass or similar to allow users to utilise GPU power with low latency and not needing to switch monitor inputs, peripherals or similar
Notice
- [x] I have checked the issue tracker and verified that this Feature Request has not been proposed before.
- [x] I would like to help out implementing this feature
Would GPU partitioning also be a viable solution for acceleration?? seems viable if you dedicate small amounts of your GPU still allowing the bulk of the performance to be on the host?
I may not understand the in-s and out-s of how all this works. But from my understanding isn't Looking glass just providing a VM solution that allows GPU Passthrough? If that's the case, if the VM running within the container is changed to Looking glass, and accessed via the RemoteApp Protocol... Wouldn't this solve all the problems with Winboat not supporting Gpu Passtrough, or am I just over-simplifying things?
I may not understand the in-s and out-s of how all this works. But from my understanding isn't Looking glass just providing a VM solution that allows GPU Passthrough? If that's the case, if the VM running within the container is changed to Looking glass, and accessed via the RemoteApp Protocol... Wouldn't this solve all the problems with Winboat not supporting Gpu Passtrough, or am I just over-simplifying things?
Looking glass essentially provides a incredibly low latency alternative to VNC since it reads from shared memory iirc, it doesn't offer an alternative for VMs or GPU pass through, instead it requires GPU pass through to work. The problem with the solution I propose is that it requires 2 GPUs whether iGPU & dGPU or 2x dGPU, but it would allow for incredible performance access within winboat.
In theory it would be simple, high jack the gpu on boot, pass it through to winboat and allow for looking glass to interface with the programs or similar. Even more ideal would be a way to enable for host or vm so you can then detach it and use it on your Linux host
+1
+1
+1
+1 - I would love this feature. Certain applications that I can't run on Wine require a modest amount of GPU support. I don't plan to run AI right now, but Game Development, certain APP development with Visual Studio, and things that can otherwise be accelerated with CUDA would be a great feature to have.
由于使用容器管理虚拟机,所以 GPU 穿透需要多传一层…… Due to the use of container-managed virtual machines, the GPU penetration requires an additional layer of transmission...
稣建议去掉容器这层! I suggest removing the container layer!
懂中文的可以看看:《为什么说用容器管理虚拟机不是未来?》
GPU acceleration is, in fact, essential for running video editing software. GPU passthrough is difficult because, in environments with both an iGPU and a dGPU, you have to assign the dGPU to the virtual machine. Not everyone has an iGPU, nor does everyone have two dGPUs. Therefore, GPU acceleration is crucial.
GPU passthrough is difficult because, in environments with both an iGPU and a dGPU, you have to assign the dGPU to the virtual machine. Not everyone has an iGPU, nor does everyone have two dGPUs. Therefore, GPU acceleration is crucial.
你可以使用 Venus 在主机和虚拟机共享 GPU。
You can use Venus to share any GPU between the host and the VM.
GPU passthrough is difficult because, in environments with both an iGPU and a dGPU, you have to assign the dGPU to the virtual machine. Not everyone has an iGPU, nor does everyone have two dGPUs. Therefore, GPU acceleration is crucial.
你可以使用
Venus在主机和虚拟机共享 GPU。 You can useVenusto share any GPU between the host and the VM.
Venus ???
GPU passthrough is difficult because, in environments with both an iGPU and a dGPU, you have to assign the dGPU to the virtual machine. Not everyone has an iGPU, nor does everyone have two dGPUs. Therefore, GPU acceleration is crucial.
你可以使用
Venus在主机和虚拟机共享 GPU。 You can useVenusto share any GPU between the host and the VM.Venus ???
Please watch the following video:
https://www.bilibili.com/video/BV1b5L86uEvU/ https://www.bilibili.com/video/BV1YNL86LECt/ https://www.bilibili.com/video/BV1j6Vb61EQi/
+1, the only reason I have a Windows laptop hanging around is for 3D acceleration in ArcGIS Pro. CPU rendering of 3D scenes is effectively unusable. Would love to see GPU passthrough/acceleration in WinBoat.
We would all love to see it happen, but from what i see dev and maintenance is stale on the Winboat project for quite some time. It may work for now, but it doesn't get the dev love it had since it started.. :'(
Duplicate of #239 and #8