Opened 13 months ago

Last modified 12 months ago

#10661 new defect

FFmpeg 6.1 nlmeans_vulkan video filter has visual defects

Reported by: acedogblast Owned by:
Priority: normal Component: avfilter
Version: 6.0 Keywords: vulkan filter
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Running FFmpeg 6.1 using nlmeans_vulkan produces visual defects on the left side of the video. This defects can contain a solid green color with some black or green spots.

Additionally there is this warning:
[Parsed_nlmeans_vulkan_1 @ 0x55faee284540] Device doesn't support atomic float adds, disabling dispatch parallelism

This is unusual as the GPU I am running this on supports both VK_EXT_shader_atomic_float, VK_EXT_shader_atomic_float2, and VK_EXT_shader_image_atomic_int64.

How to reproduce:
ffmpeg -i input -vf "hwupload,nlmeans_vulkan,hwdownload,format=yuv420p" output
ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers

I have attached a sample picture showing this defect.

Attachments (1)

Screenshot_20231112_181409.png (1.2 MB ) - added by acedogblast 13 months ago.

Download all attachments as: .zip

Change History (2)

by acedogblast, 13 months ago

comment:1 by ioctl, 12 months ago

The same problem even without "Device doesn't support atomic float adds, disabling dispatch parallelism" warning.

Example:

wget https://imagemagick.org/Usage/images/rose.png # Download one image from the Image magick manual

ffmpeg -y -init_hw_device vulkan=vul -i rose.png -vf format=yuv444p,hwupload,nlmeans_vulkan=s=2.5:r=75,hwdownload,format=yuv444p rose-vul.png

Problem appears on little and big image, in 420 and 444 color spaces.

Note: See TracTickets for help on using tickets.