SIGABRT in copy_image when ArtCNN GLSL user shader engages (video.c:1419 assertion) on 0.41.0 / NVIDIA / OpenGL
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c
- Ambito
- computer-graphics
Direzione di ricerca
Start at video/out/gpu/video.c:1419 and reproduce with the provided mpv command using ArtCNN_C4F32_DS.glsl, focusing on the copy_image assertion when the //!WHEN guard engages. Compare the failing ArtCNN pass structure with the clean CuNNy-4x16-DS case; done means the shader engages without an abort under the reported scaling conditions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
mpv 0.41.0 aborts the moment the ArtCNN_C4F32_DS user shader engages (output ≥1.3× the video size, i.e. when its //!WHEN guard fires):
video/out/gpu/video.c:1419: copy_image: Assertion '*offset + count < sizeof(dst)' failed.
The shader compiles cleanly — this is a runtime abort, not a GLSL error. Windowed at 1.0× (guard not firing) playback idles cleanly; the abort happens exactly on engagement (2× window scale and on fullscreen 4K both reproduce).
Repro
mpv --no-config --vo=gpu --gpu-api=opengl --glsl-shaders=ArtCNN_C4F32_DS.glsl --force-window=yes --window-scale=2.0 <any 640x360 test clip>
ArtCNN_C4F32_DS.glsl from https://github.com/Artoriuz/ArtCNN @ 7d69551 (with the #extension line hoisted to line 1 for NVIDIA compat — Artoriuz/ArtCNN#48).
Environment
- mpv 0.41.0 (vo=gpu AND vo=gpu-next),
--gpu-api=opengl - NVIDIA 595.84 and 595.91.07, RTX 3070
- Ubuntu (kernel 6.x), GNOME/mutter wayland + XWayland
- The abort reproduces identically headless (Xvfb, llvmpipe) — so it is not driver-specific rendering, it is the copy_image path's bounds assumption on the doubled texture
Notes
- The sibling doubler CuNNy-4x16-DS engages and plays cleanly under identical conditions, so this is specific to ArtCNN's pass structure (it uses
//!SAVEtextures at 2× width / 4× height ratios). - A backtrace from the core shows the abort in copy_image during the second render pass after the WHEN guard engages.
Happy to provide the full log, the core backtrace, or test a patch.
- Lingua principale
- C
- Stelle
- 38.2k
- Fork
- 3.7k
- Merge medio
- 1g 13h
- PR unite (30g)
- 76
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
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 mpv-player/mpv
-
meta:feature-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
mpv-player/mpv#18855 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
meta:feature-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
mpv-player/mpv#18683 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Subtitle delay value displays "-0ms"Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaos:linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
mpv-player/mpv#18649 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
meta:feature-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mpv-player/mpv#18464 ·
I maintainer di solito rispondono entro 1 giorno
-
Keyboard shortcut next and previous secondary subtitle fileForse già presa @ravarnax l’ha presa 225 giorni fa. Apertameta:feature-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
mpv-player/mpv#17693 · 5 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di mpv-player/mpv
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ChupathingyCE/chupathingyce#1550 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
redis/redis#16302 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
slice
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
Life-Framework/Life-Framework#3878 ·
I maintainer di solito rispondono entro 1 giorno
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or laterForse già presa @colinhacks l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tursodatabase/libsql#2333 ·
I maintainer di solito rispondono entro 11 giorni