[PR #17] [MERGED] Workaround against NVIDIA bug #20

Closed
opened 2026-10-15 12:47:34 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gst-wayland-display/pull/17
Author: @DatCaptainHorse
Created: 8/18/2025
Status: ✅ Merged
Merged: 8/20/2025
Merged by: @ABeltramo

Base: stable ← Head: fix/workaround-nvidia-bug


📝 Commits (3)

  • 8c5b21d Workaround against NVIDIA bug
  • e124d3f Switch from Vulkan-based enumeration to /sys/class/
  • 3bea217 fix: simplified code, better error handling and logging

📊 Changes

6 files changed (+56 additions, -62 deletions)

View changed files

📝 Cargo.lock (+0 -17)
📝 wayland-display-core/Cargo.toml (+0 -1)
📝 wayland-display-core/src/comp/mod.rs (+7 -5)
📝 wayland-display-core/src/tests/device.rs (+4 -2)
📝 wayland-display-core/src/utils/allocator/mod.rs (+4 -1)
📝 wayland-display-core/src/utils/device/gpu.rs (+41 -36)

📄 Description

Reported to Smithay side as well: https://github.com/Smithay/smithay/issues/1804

NVIDIA bugs, what a fun time..

If Vulkan instance is created, EGL is killed, doesn't happen under Intel or AMD GPUs.
Marked as draft initially since it's a very "dirty" workaround, basically relying on checking for existence of nvidia-smi.

Undrafted, using /sys/class/ for checks rather than Vulkan API + removed nvidia-smi workaround.


🔄 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/gst-wayland-display/pull/17 **Author:** [@DatCaptainHorse](https://github.com/DatCaptainHorse) **Created:** 8/18/2025 **Status:** ✅ Merged **Merged:** 8/20/2025 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `stable` ← **Head:** `fix/workaround-nvidia-bug` --- ### 📝 Commits (3) - [`8c5b21d`](https://github.com/games-on-whales/gst-wayland-display/commit/8c5b21d4033ff31fd67ade3a9c7d0329a570d86a) Workaround against NVIDIA bug - [`e124d3f`](https://github.com/games-on-whales/gst-wayland-display/commit/e124d3f3b846b7e3fadd1e6decd7d44feef938e0) Switch from Vulkan-based enumeration to /sys/class/ - [`3bea217`](https://github.com/games-on-whales/gst-wayland-display/commit/3bea2172582c468c141bc17d76af93d69b4ea0c4) fix: simplified code, better error handling and logging ### 📊 Changes **6 files changed** (+56 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+0 -17) 📝 `wayland-display-core/Cargo.toml` (+0 -1) 📝 `wayland-display-core/src/comp/mod.rs` (+7 -5) 📝 `wayland-display-core/src/tests/device.rs` (+4 -2) 📝 `wayland-display-core/src/utils/allocator/mod.rs` (+4 -1) 📝 `wayland-display-core/src/utils/device/gpu.rs` (+41 -36) </details> ### 📄 Description Reported to Smithay side as well: https://github.com/Smithay/smithay/issues/1804 NVIDIA bugs, what a fun time.. If Vulkan instance is created, EGL is killed, doesn't happen under Intel or AMD GPUs. ~~Marked as draft initially since it's a very "dirty" workaround, basically relying on checking for existence of `nvidia-smi`.~~ Undrafted, using `/sys/class/` for checks rather than Vulkan API + removed nvidia-smi workaround. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:47:34 +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/gst-wayland-display#20
No description provided.