[PR #505] [MERGED] check if CUDA context is valid before trying to use it #497

Closed
opened 2026-10-15 13:01:01 +00:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • dd8bad2 check if CUDA context is valid before trying to use it
  • 7c9cca2 updated 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.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/wolf/pull/505 **Author:** [@r0b0tb4c0n](https://github.com/r0b0tb4c0n) **Created:** 9/17/2026 **Status:** ✅ Merged **Merged:** 9/29/2026 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `stable` ← **Head:** `stable` --- ### 📝 Commits (2) - [`dd8bad2`](https://github.com/games-on-whales/wolf/commit/dd8bad2588256f3a3f585212d474507281d8f468) check if CUDA context is valid before trying to use it - [`7c9cca2`](https://github.com/games-on-whales/wolf/commit/7c9cca2d2a52f868c70d97086650870bc927e311) updated with recommendations from @ABeltramo ### 📊 Changes **4 files changed** (+35 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description fixes #504 by adding a check to the context before trying to use it and recreates if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 13:01:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#497
No description provided.