NVIDIA-RTX / NVIDIA-RTX/NRISamples

Wayland doesn't work

Open
#12 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
59
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Wayland build with this ON
Image

Result error/crash:

Image

Continue of https://github.com/NVIDIA-RTX/NRISamples/issues/11 :

Even if I edit related file - NRISamples/BUILD/_deps/glfw-src/src/wl_window.c - line 2811-2860 removing related to cursor.
It will run with 100% single core usage - window will be "empty"(no borders - just app icon)

Main problem to debug further - there no "example" that use GLFW_EXPOSE_NATIVE_WAYLAND with Vulkan.

GLFW example use glfwCreateWindowSurface - that different and require huge code-logic changes.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Wayland build failure and inspect NRISamples/BUILD/_deps/glfw-src/src/wl_window.c, especially lines 2811-2860, where cursor handling was removed during investigation. Compare the sample's Vulkan setup with GLFW's tests/triangle-vulkan.c and the requested GLFW_EXPOSE_NATIVE_WAYLAND path. Done means a Wayland Vulkan example runs without crashing, an empty window, or sustained single-core usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.