mirror of
https://github.com/games-on-whales/gst-wayland-display.git
synced 2026-10-15 12:51:57 +00:00
[PR #22] [CLOSED] feat: get cuda_device_id from render node #25
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/gst-wayland-display#25
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/gst-wayland-display/pull/22
Author: @zexi
Created: 11/7/2025
Status: ❌ Closed
Base:
stable← Head:get-cuda-id-by-render📝 Commits (1)
413cef0feat: get cuda_device_id from render node📊 Changes
2 files changed (+111 additions, -1 deletions)
View changed files
📝
wayland-display-core/src/utils/allocator/mod.rs(+9 -1)📝
wayland-display-core/src/utils/device/gpu.rs(+102 -0)📄 Description
This PR adds support for selecting the correct
cuda_device_idbased on therender_nodein environments with multiple NVIDIA GPUs.This resolves the https://github.com/games-on-whales/wolf/issues/233 issue where wolf cannot use the zero_copy feature on systems with multiple NVIDIA graphics cards.
The following is the pci path info about the GPUs:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.