You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure the compute shader is hooked and takes effect.
See frame timing in Shift+I page 2.
Expected Behavior
The timing of the pass of compute shader should be correct. In my machine, compared with:
--vo=gpu
--vo=gpu-next --gpu-api=opengl
the duration of this pass should be near 4000us.
Actual Behavior
The timing of this pass is always zero; I have confirmed it in the log file as well:
[vo/gpu-next/libplacebo] Spent 0.000 ms on shader: RAVU-Zoom-AR (yuv, r3, compute)
I tried adding a gl->MemoryBarrier immediately after gl->DispatchCompute in gl_pass_run() in libplacebo/src/opengl/gpu_pass.c, but the result did not change.
I've confirmed that the results got from gl->GetQueryObjectui64v for the pass are very small values like 0 and 52.
I've tried MESA_LOADER_DRIVER_OVERRIDE=zink and confirmed that it is unlikely a vendor-specific issue.
I carefully read all instruction and confirm that I did the following:
I tested with the latest mpv version to validate that the issue is not already fixed.
I provided all required information including system and mpv version.
I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
I attached the full, untruncated log file.
I attached the backtrace in the case of a crash.
The text was updated successfully, but these errors were encountered:
mpv Information
Other Information
Reproduction Steps
Get a compute shader. Here I use ravu-zoom-ar-r3-yuv.hook as an example.
Run:
Ensure the compute shader is hooked and takes effect.
See frame timing in Shift+I page 2.
Expected Behavior
The timing of the pass of compute shader should be correct. In my machine, compared with:
--vo=gpu
--vo=gpu-next --gpu-api=opengl
the duration of this pass should be near 4000us.
Actual Behavior
The timing of this pass is always zero; I have confirmed it in the log file as well:
I tried adding a
gl->MemoryBarrier
immediately aftergl->DispatchCompute
ingl_pass_run()
inlibplacebo/src/opengl/gpu_pass.c
, but the result did not change.I've confirmed that the results got from
gl->GetQueryObjectui64v
for the pass are very small values like0
and52
.I've tried
MESA_LOADER_DRIVER_OVERRIDE=zink
and confirmed that it is unlikely a vendor-specific issue.Log File
mpv.log
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: