panel icon indicating copy to clipboard operation
panel copied to clipboard

easy way to add graphics card support to wings

Open TheBub10bge opened this issue 5 months ago • 4 comments

Is there an existing feature request for this?

  • [x] I have searched the existing issues before opening this feature request.

Describe the feature you would like to see.

I would like to see an easy way to add GPU support for Wings for games that could utilize a GPU.

Describe the solution you'd like.

i would like to see this feature implemented as an option either in the install of Wings or a way to add it in afterward.

Additional context to this request.

I tried to add it myself and could not; thankfully, I was able to revert it all back . There are a few games within the egg repository that could benefit from GPU, namely 7 Days to Die has some textures that would load properly without GPU utils, and Arma Reforger does as well. I know Invida isn't the easiest to get to work on Linux, but maybe an AMD option could be something you all could do. thank you if you can if not that's ok as well

TheBub10bge avatar Jul 04 '25 09:07 TheBub10bge

That would first require Docker to support using a GPU, which it does but only NVIDIA GPUs currently, https://docs.docker.com/engine/containers/resource_constraints/#gpu.

The simplest change you'd have to add to wings is to make it use the 'gpus' flag, and probably check if the GPU is an NVIDIA one first.

EgoMaw avatar Jul 04 '25 19:07 EgoMaw

I did find a way to add amd gpu utill to docker via a amd toolkit and got it working within docker but couldn’t get wings to work with it. Had to add some code to the config.yml of wings but every time I tryed and restarted wings it would revert my aditions to the file but not any changes to existing variables

TheBub10bge avatar Jul 05 '25 01:07 TheBub10bge

This is quoted directly from Docker's website "Docker has recently added support for AMD GPUs in Docker Engine version 28.3.0. Specifically, you can now use AMD GPUs with the docker run --gpus command, similar to how NVIDIA GPUs have been supported previously. This enhancement is part of the official release notes for Docker Engine 28.3.0, dated 2025-06-24. However, the knowledge sources do not provide further details on configuration steps or Compose file examples for AMD GPUs at this time. For more information, you may want to monitor future updates or check the referenced pull request for implementation specifics Docker Engine 28.3.0 release notes."

TheBub10bge avatar Aug 21 '25 16:08 TheBub10bge

I like that idea. I also added my GPU but using the official tutorial not some toolkit and its working for me. And you could always try adding it over portainer or so. Idk if it will work if the container is already created but you could try ig.

KingIronMan2011 avatar Oct 25 '25 13:10 KingIronMan2011