mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #287] [MERGED] fix: get CUDA device index in ascending order based on PCI addresses #402
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#402
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?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/wolf/pull/287
Author: @zexi
Created: 11/7/2025
Status: ✅ Merged
Merged: 11/16/2025
Merged by: @ABeltramo
Base:
wolf-ui← Head:get-cuda-id-by-render📝 Commits (1)
602a0f9fix: get CUDA device index in ascending order based on PCI addresses📊 Changes
1 file changed (+43 additions, -31 deletions)
View changed files
📝
src/gst-video-context/gst-video-context/gst-video-context.cpp(+43 -31)📄 Description
Fix the issue: https://github.com/games-on-whales/wolf/issues/233#issuecomment-3471903432
I discovered that Wolf retrieves the cuda_device_id by reading the 'Device Minor' number, which appears to be the source of the problem. On my system, cuda_device_id shoud return in ascending order based on PCI addresses.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.