Print message if NVIDIA gpu is detected, but not used.

Open
#274 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
cli

Research direction

The issue names no files, tests, or entry points. Trace the CLI's GPU/Vulkan initialization and reproduce the NVIDIA detection failure in a headless SSH session; done means printing a message when NVIDIA is detected but cannot be used.

Written by the indexing model from the issue text.

Description

According to Mike on discord:

It was using the AMD iGPU instead of the NVIDIA card. turned out splat-transform couldn't initialize the NVIDIA Vulkan ICD in a headless SSH session. no DISPLAY set though i fixed it by borrowing the X auth from an active GUI session on the machine: XAUTHORITY=/home/user/.Xauthority DISPLAY=:1 prefixed to the command, and it detected the NVIDIA card straight away :)

and

Their desktop vulkan ICD requires an active X11/display session to initialize, which breaks in headless SSH environments. AMD and Intel don't have this issue since their Vulkan drivers work fine without a display

Dominant language
TypeScript
Stars
1.3k
Forks
168
Avg merge
7h 51m
Merged PRs (30d)
12

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.

More from playcanvas/splat-transform

All issues in playcanvas/splat-transform

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.