Title: WebKit WebGL1/2 context lost within milliseconds (NVMTL); Chrome ANGLE Metal stable on same GPU
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
Start by reproducing the WebGL1 and WebGL2 probes in Safari on the reported setup and compare their logs with Chrome's ANGLE Metal results. The report does not identify a driver file or failing test, and the cause is not established. Done means finding and fixing why WebKit contexts are lost within milliseconds, then confirming they remain alive and render.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Send logs report ID
NM-3X7RY7RT
Where does it go wrong?
Booting macOS after the driver (black / grey screen, restarts)
What happens
Summary
On this setup, WebKit (Safari) can create both WebGL1 and WebGL2 contexts,
but each fires webglcontextlost about 7–18 ms after creation, before any
real drawing happens. The result is repeatable. The same GPU renders WebGL
fine in Chrome, so this looks like a WebKit + NVMTL interaction issue, not
broken WebGL itself.
Environment
- Machine: Lenovo Legion R7000P 2023
- CPU: AMD Ryzen 7 7840H / GPU: NVIDIA RTX 4060 Laptop
- macOS: Tahoe 26.7.1
- NullMoth driver: 2.6.4 (NVRM, NVAccel, NVRMFB, NVRMAGDC, NVMTLDriver)
- system_profiler reports Metal 3
- Display used for the probe: [internal / external — fill in before submitting]
- Note: AMD 780M iGPU has no kext loaded, so it is not available as an
alternate GPU. - 1401 report ID: 9BE1CC28-32ED-4624-86DA-2AA1334F2C48
Reproduction
- In Safari, open a WebGL1 probe and a WebGL2 probe (same probe set for both).
- Both contexts are created successfully.
- Within ~7–18 ms,
webglcontextlostfires, before real drawing. - Repeat runs give the same result.
Expected vs actual
- Expected: contexts stay alive and render.
- Actual: contexts are reclaimed almost immediately after creation, in WebKit only.
Contrast evidence (same machine, same GPU)
- Chrome, ANGLE Metal → NVMTL: 120 consecutive frames, no context loss,
pixel output correct. - Chrome, SwiftShader software backend: also runs normally.
- This rules out the page code and the WebGL API itself as the cause.
Log clue (correlation only, not claimed root cause)
- WebKit logs also show
Invalid display 0x00000000, but no complete Metal
error is present in the logs, so this is noted as correlated with the
context loss, not asserted as the sole root cause. - Most plausible reading (not proven): WebKit is more sensitive to Metal
interop / display-resource handling, and NVMTL's support for some shader,
texture, or display paths is incomplete, so the system reclaims the WebGL
context. Chrome's ANGLE path tolerates this better.
Current workaround
- The affected app (launcher animation) already falls back to Chrome: it
switches from native WebKit to Chrome fallback in ~190 ms and the animation
then loads normally. So this is not a hard blocker for that app, but
Safari/WebKit WebGL is unusable on this setup.
Offer
- Happy to run further probes with the same WebGL1/2 probe set, provide full
logs, or test a suggested change one variable at a time (e.g. a boot-arg
such as -nvrmnoflip) and report back.
Written by you
- I wrote this report myself. AI-written issues are closed without review (see CONTRIBUTING.md).
App or game (if it is one)
No response
Did you change anything yourself?
no official
- Lingua principale
- Rust
- Stelle
- 2.5k
- Fork
- 233
- Merge medio
- 3g 14h
- PR unite (30g)
- 14
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nullmoth/nvidia-macos-driver
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nullmoth/nvidia-macos-driver#141 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
nullmoth/nvidia-macos-driver#28 ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug] WindowServer spends 13-14 ms of CPU per presented frame, so a 165 Hz panel lands at 35-44 fpsAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
nullmoth/nvidia-macos-driver#456 ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug] HiDPI scaled modes validate OK (id 0x10100) but never appear in Displays — follow-up to #354Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
nullmoth/nvidia-macos-driver#455 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
nullmoth/nvidia-macos-driver#454 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di nullmoth/nvidia-macos-driver
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
dekobon/big-code-analysis#1729 ·
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
akitaonrails/ai-memory#1888 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
peteonrails/voxtype#941 ·
I maintainer di solito rispondono entro 4 giorni
-
bug priority:medium triage:maintainable
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ccusage/ccusage#2000 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno