Skip to content

Vulkan enhancement #2

Closed
SunnyVishnu3 wants to merge 14 commits into
Riteshp2001:libraryfrom
SunnyVishnu3:library
Closed

Vulkan enhancement #2
SunnyVishnu3 wants to merge 14 commits into
Riteshp2001:libraryfrom
SunnyVishnu3:library

Conversation

@SunnyVishnu3

Copy link
Copy Markdown

No description provided.

SunnyVishnu3 added 4 commits June 1, 2026 03:50
- Switch default video output to `gpu-next` with `gpu-api=vulkan`.
- Set Adreno-optimized Vulkan defaults for better performance on mobile.
- Bump `minSdkVersion` to 33.
- Enable Vulkan, `libshaderc`, and Vulkan-based decoders/filters in FFmpeg.
- Update CI and build scripts to fetch `Vulkan-Headers` and include `glslang-tools`/`spirv-tools`.
- Add WSL-specific compilation and synchronization scripts.
- Fix `shaderc` pkg-config generation in build scripts.
Root cause: GitHub Actions cache restore replaces symlinks (usr -> .,
local -> .) with real directories. The old setup_prefix only created
symlinks on first mkdir, so after cache restore the prefix had real
usr/local subdirs. dav1d installs its .pc file to usr/local/lib/pkgconfig
(per meson crossfile prefix=/usr/local), which with broken symlinks ends
up in a different directory than PKG_CONFIG_LIBDIR expects.

Fixes:
- buildall.sh: Always re-create usr/local symlinks if they aren't symlinks
- depinfo.sh: Add v_dav1d=1.5.3 and include in ci_tarball cache key
- download-deps.sh: Pin dav1d clone to specific tag with --depth 1
- dav1d.sh: Remove -Db_lto=true (incompatible with some CI linker configs)
- build.yml/release.yml: Fix native-prefix cache path (gh-cache -> buildscripts/prefix)
@Riteshp2001

Copy link
Copy Markdown
Owner

What is Wsl for ?

@AtasiBandyopadhyay

Copy link
Copy Markdown

I build them using wsl Normal action was casing some issue I accidentally committed them as well
Lol

@Riteshp2001

Copy link
Copy Markdown
Owner

I build them using wsl Normal action was casing some issue I accidentally committed them as well Lol

Remove vulkun and make another commit as its unnecessary

SunnyVishnu3 added 10 commits June 3, 2026 03:00
- Enable x86 and x86_64 builds by default in `build_config.sh`.
- Refine ARM v9a and v8a optimization flags, removing SME and crypto extensions to improve stability across devices.
- Propagate global `CFLAGS`, `CXXFLAGS`, and `LDFLAGS` to FFmpeg, Lua, MuJS, shaderc, and Meson cross-files.
- Build a dedicated ARM v9a optimized version of `libplayer.so` for runtime loading.
- Enable LTO for FFmpeg and add `--gc-sections` to global linker flags for better binary size optimization.
- Update GitHub workflows and WSL build scripts to handle new dependency requirements and architecture logic.
- Strictly require SVE2 in `abi_detect.cpp` to prevent SIGILL on non-SVE2 hardware.
- Revert `minSdkVersion` to 24.
- Refine ARM v8a and v9a compiler flags to avoid unsafe optional extensions.
- Enable runtime CPU detection and pthreads in FFmpeg.
- Adjust optimization levels and build features for dav1d and libplacebo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants