Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Niklas Haas <ffmpeg@haasn.xyz>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Niklas Haas <git@haasn.dev>
Subject: Re: [FFmpeg-devel] [PATCH v2] lavfi/vf_libplacebo: add vulkan device import fallback
Date: Thu, 11 May 2023 12:10:19 +0200
Message-ID: <20230511121019.GC12977@haasn.xyz> (raw)
In-Reply-To: <168379883542.3843.47217330661696726@lain.khirnov.net>

On Thu, 11 May 2023 11:53:55 +0200 Anton Khirnov <anton@khirnov.net> wrote:
> Quoting Niklas Haas (2023-05-11 10:39:02)
> > From: Niklas Haas <git@haasn.dev>
> > 
> > Recent versions of libplacebo have required Vulkan versions incompatible
> > with lavu Vulkan hwcontexts.
> 
> Why did that happen? Did something change in lavu that broke things?

No, upstream libplacebo dropped support, during a code refactor/simplification,
for contexts without various features that used to be optional. That refactor
is not yet in any tagged release, but it breaks current master+master building.

Easiest alternative fix available right now would be to merge the vulkan lavu
hwcontext changes that have been on ML for weeks (and gotten a LGTM from me).
Alternatively, I could try and back-port enabling of whatever extensions and
features are required onto the current Vulkan code.

I understand not wanting random filters to open hardware devices under the
hood, but I also think it's a bit silly to have to constantly synchronize
requirements between Ffmpeg and libplacebo like this. If both have such tight
requirements on device features and extensions, it makes more sense to me if
each takes care of their own respective device creation. Or maybe FFmpeg vulkan
could directly inspect `pl_vulkan_required_features` and enable whatever's
listed in there, for forward compatibility.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

      reply	other threads:[~2023-05-11 10:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11  8:28 [FFmpeg-devel] [PATCH] " Niklas Haas
2023-05-11  8:39 ` [FFmpeg-devel] [PATCH v2] " Niklas Haas
2023-05-11  9:32   ` Lynne
2023-05-11 11:21     ` Hendrik Leppkes
2023-05-11 11:57       ` Dennis Mungai
2023-05-11 12:01       ` Lynne
2023-05-11 12:10         ` Niklas Haas
2023-05-11  9:53   ` Anton Khirnov
2023-05-11 10:10     ` Niklas Haas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230511121019.GC12977@haasn.xyz \
    --to=ffmpeg@haasn.xyz \
    --cc=ffmpeg-devel@ffmpeg.org \
    --cc=git@haasn.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git