mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[GH-ISSUE #128] How to properly enable GPU when device is iommu? #79
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @futurepr0n on GitHub (Sep 27, 2024).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/128
Trying to run as a proxmox, started by creating a container and then installing using a combo of the dockerfile and docker-compose.yml I created. I didn't have /dev/dri, so I mapped as iommu - maybe thats my issue. But righ now heres how it looks and my crash info.
GNU nano 7.2 docker-compose.yml
GNU nano 7.2 Dockerfile
my LXC.conf
Things crashed after i set the pin and connected the server successfully.
If I run screenfetch on the container, i can see things look ok, same with lspci

@ABeltramo commented on GitHub (Sep 27, 2024):
Most likely, as you can see from the warnings in the logs 😉
You can run Wolf with SW acceleration by setting the env variable
WOLF_RENDER_NODE=software, don't expect great gaming results, though.@futurepr0n commented on GitHub (Sep 27, 2024):
@ABeltramo but I have a GPU, why is it changed to No Gpu? I am trying to enable the HW acceleration. How do I properly map/passthrough the gpu? I see the gpu in the container, but I can't figure out how to send it because its not mapped on my host as /dev/dri - i thought it was mapped as /dev/iommu so I tried doing that as the passthrough but its failing the wayland load and crashes. Is there any help in getting the hardware working in my case? Thats the goal.

@futurepr0n commented on GitHub (Sep 27, 2024):
Going to close this as the issue isnt related to wolf so much as me needing to figure out this GPU passthrough properly. Will fiddle around - if anyone feels inclined to help thats appreciated, if I find success I will update this comment with the tips, other than that I'll close the issue, thanks for sharing the project!
@ABeltramo commented on GitHub (Sep 27, 2024):
I'm sorry I've completely misunderstood your issue!
This is the crux of the problem, it's hard to tell given the little info that I've got, but my guess is that
Mesais failing to load up the GPU.I'd start by scanning the startup logs:
There will probably be some error or relevant warning in there somewhere.
As for the IOMMU it really depends on the motherboard and configuration, you have to pass a full group to the VM in order to properly use the GPU, I'm going to link the official Proxmox docs if you haven't seen them already, a quick Google search brings up also a few posts that might be of help: 1, 2, 3
@futurepr0n commented on GitHub (Sep 27, 2024):
appreciate it! was hoping there was some expertise on this specific issue here that could give me a quick fix immediately but this is going to take more investigation on my part as well. I appreciate these links a few of them are new to me and also will be experimenting more over the weekend. Hopeful!