mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #505] [MERGED] check if CUDA context is valid before trying to use it #497
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#497
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/505
Author: @r0b0tb4c0n
Created: 9/17/2026
Status: ✅ Merged
Merged: 9/29/2026
Merged by: @ABeltramo
Base:
stable← Head:stable📝 Commits (2)
dd8bad2check if CUDA context is valid before trying to use it7c9cca2updated with recommendations from @ABeltramo📊 Changes
4 files changed (+35 additions, -6 deletions)
View changed files
📝
src/gst-video-context/gst-video-context/gst-video-context.cpp(+21 -1)📝
src/gst-video-context/gst-video-context/gst-video-context.hpp(+2 -1)📝
src/gst-video-context/gst-video-context/no-cuda-context.cpp(+5 -1)📝
src/moonlight-server/streaming/streaming.cpp(+7 -3)📄 Description
fixes #504 by adding a check to the context before trying to use it and recreates if necessary
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.