Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Run the T3 Code server inside WSL2 on a Windows machine with an NVIDIA GPU. The NVIDIA driver is installed on Windows as usual for WSL, and
nvidia-smiworks inside WSL. - Open Settings → Voice and select a local model (here
whisper-large-v3-turbo, Q8_0). Leave Hardware on Auto. - Open the Hardware dropdown, then dictate something.
Expected behavior
Either the NVIDIA GPU appears under Hardware and Auto uses it, or T3 shows that no GPU was found, so the user knows transcription is running on the CPU and why.
Actual behavior
Hardware only offers Auto and CPU. Auto quietly runs on the CPU, and the row still says "Auto uses the environment's GPU when it has one." Dictation is much slower than it should be, and nothing in the UI explains why.
Cause, as far as I can tell: the server ships only @transcribe-cpp/linux-x64-cpu-vulkan, so on Linux GPU discovery relies on Vulkan. Under WSL2, the NVIDIA GPU is exposed through /dev/dxg and /usr/lib/wsl/lib for CUDA (and D3D12) only. NVIDIA ships no Vulkan driver for WSL, and Ubuntu's Mesa does not include the D3D12-based Vulkan driver (dozen). Discovery therefore finds only the CPU. Native Linux with the NVIDIA driver, or native Windows, should not hit this, because both have a Vulkan driver.
Measured outside T3, calling transcribe-cpp 0.4.1 directly the same way the server loads it: whisper-large-v3-turbo Q8_0, 33 s of English audio, warm run, identical output:
| Backend | Time |
|---|---|
CPU (bundled linux-x64-cpu-vulkan, Ryzen 9 5900X, 8 vCPUs in WSL) |
15.52 s |
CUDA0 (RTX 3060, transcribe.cpp's own linux-x86_64-cuda 0.4.1 build) |
0.83 s |
Related, but not the same problem:
- docs(voice): explain Linux GPU setup for transcription #32136 (closed docs PR) describes the same silent CPU fallback when no Vulkan driver is present, for Linux in general.
- Local speech model takes ~120 s to load on NVIDIA Vulkan with Resizable BAR, so live transcription times out #33837 is about slow model loading on NVIDIA through Vulkan.
- Live dictation falls behind real time: streaming re-decodes a 450 ms overlap and Auto picks the slower iGPU #32050 is about Auto picking a slower iGPU.
A possible small direction, for maintainers to decide: when GPU discovery finds no GPU, say so in the Hardware row (for example "Auto: CPU, no GPU found"). When the server runs in WSL, which T3 already detects elsewhere, point out that the GPU is reachable there only through CUDA. I'm not asking for CUDA support itself. I'm mentioning it in case it's something you want.
Impact
Major degradation or frequent failure
Version or commit
0.1.10-nightly.20261116.4787. Checked main @ 6ab633f on 2026-11-17: still only the cpu-vulkan package, and no CUDA or WSL handling for speech.
Environment
Windows host, WSL2 Ubuntu 24.04.5 (kernel 6.18 microsoft-standard-WSL2), NVIDIA GeForce RTX 3060 12 GB, Windows NVIDIA driver 621.01, AMD Ryzen 9 5900X. T3 Code server runs in WSL as a systemd user service.
Logs or stack traces
# Devices transcribe-cpp 0.4.1 reports with the bundled linux-x64-cpu-vulkan library (inside WSL2):
[{ "name": "CPU", "description": "AMD Ryzen 9 5900X 12-Core Processor", "deviceType": "cpu" }]
# Same call with TRANSCRIBE_LIBRARY pointing at transcribe.cpp's linux-x86_64-cuda 0.4.1 build:
[{ "name": "CUDA0", "description": "NVIDIA GeForce RTX 3060", "deviceType": "gpu" },
{ "name": "CPU", "description": "AMD Ryzen 9 5900X 12-Core Processor", "deviceType": "cpu" }]
# The Vulkan ICDs present in WSL are Mesa's (llvmpipe, radeon, intel, nouveau, ...); there is no NVIDIA or dozen ICD.Workaround
Point the server at transcribe.cpp's CUDA build with TRANSCRIBE_LIBRARY:
- Download
transcribe-native-0.4.1-linux-x86_64-cuda.tar.gzfrom the transcribe.cpp v0.4.1 release. Its version must match thetranscribe-cppversion T3 pins; otherwise the binding throwsVersionMismatch. - It needs
libcudart.so.12,libcublas.so.12andlibcublasLt.so.12, which are not in the tarball. I took them from NVIDIA'snvidia-cuda-runtime-cu12andnvidia-cublas-cu12wheels and symlinked them next tolibggml-cuda.so, whose RUNPATH is$ORIGIN.TRANSCRIBE_CUDA_RUNTIME_DIRis not applied whenTRANSCRIBE_LIBRARYis set.libcuda.so.1comes from/usr/lib/wsl/lib. - Set
TRANSCRIBE_LIBRARY=<dir>/libtranscribe.soin the environment of the T3 server process (here a systemd drop-in), then restart it. Speech workers inherit the variable. Hardware then lists the RTX 3060, and Auto uses it.
This adds about 1.1 GB on disk and has to be re-synced whenever T3 bumps transcribe-cpp, so it is only a workaround.
Investigated and written with Claude Opus 5.5 (Claude Code, running inside T3 Code); reviewed with GPT-6.1 Sol (Codex).
Activity
brasillero commentedon Nov 17, 2026
A small extra, separate from the missing GPU support itself: it would help to show what Auto resolved to in the Hardware selector, such as Auto (CPU) or Auto (GPU).
The speech status the UI receives already includes this (
benchmarkTier), so no new server data would be needed, and I would have noticed the CPU fallback right away.