mirror of
https://github.com/games-on-whales/gow.git
synced 2026-10-15 21:02:02 +00:00
[GH-ISSUE #101] AMD GPU not detected when Nvidia GPU is also installed #35
Labels
No labels
bug
enhancement
enhancement
github_actions
good first issue
help wanted
help wanted
invalid
needs testers
pull-request
question
x11-images
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/gow#35
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 @arminmarth on GitHub (Dec 21, 2022).
Original GitHub issue: https://github.com/games-on-whales/gow/issues/101
When trying to run GoW headless on a PC with both an Nvidia GPU and AMD GPU installed, the Nvidia GPU is detected but not the AMD GPU.
When running running:
./run-gow --headless --gpu nvidia --app retroarch up -dGoW works, and I can connect to RetroArch over Moonlight on my Nvidia GPU.
but when I try to run it without "--gpu nvidia" to try and run GoW on my AMD GPU, I get the followin error on the gow-xorg-1 log:
So I think it's still trying to use my Nvidia GPU instead of my AMD GPU, even without the "--gpu nvidia" command
So my question is: is there any way to force GoW not to detect the Nvidia GPU so I can use my AMD GPU instead?
Environment:
@arminmarth commented on GitHub (Dec 21, 2022):
With the help of Forty2 on discord I was able to isolate the AMD GPU to get it running by following the following steps:
ensure-nvidia-dummy.shand make it executable withchmod 755 ensure-nvidia-dummy.sh. inside it put this:- /path/to/ensure-nvidia-dummy.sh:/opt/gow/ensure-nvidia-xorg-driver.shxorg-amd-primary.conf- /path/to/xorg-amd-primary.conf:/usr/share/X11/xorg.conf.d/01-amd-primary.conf:ro@zb140 commented on GitHub (Jan 4, 2023):
There's two parts to this, I think. One is, we definitely shouldn't be trying to download nvidia drivers if we know we're supposed to be using an AMD GPU. Since the
ensure-nvidia...script is run when the container is launched, that will require a little coordination, but it shouldn't be too hard.The other part is, what if someone has multiple GPUs and Xorg wants to use the wrong one by default? There's a way to override it in config using the
PrimaryGPUoption, but it's not obvious what the best way to tie that into--gpu nvidia(or whatever) would be. This part may take longer to fix, just because we have to decide what a fix looks like 😄@ABeltramo commented on GitHub (Jun 14, 2024):
Multi-GPU setup should work in Wolf, see: https://games-on-whales.github.io/wolf/stable/user/configuration.html#_multiple_gpu