mirror of
https://git.suyu.dev/suyu/nix-flake.git
synced 2025-12-22 05:46:02 +01:00
fix video on cuda
This commit is contained in:
parent
689ce83617
commit
a51db39040
1 changed files with 7 additions and 4 deletions
|
|
@ -12,6 +12,7 @@
|
||||||
, cubeb
|
, cubeb
|
||||||
, discord-rpc
|
, discord-rpc
|
||||||
, enet
|
, enet
|
||||||
|
, ffmpeg-full
|
||||||
, fmt
|
, fmt
|
||||||
, glslang
|
, glslang
|
||||||
, libopus
|
, libopus
|
||||||
|
|
@ -66,12 +67,14 @@ stdenv.mkDerivation(finalAttrs: {
|
||||||
# intentionally omitted: dynarmic - prefer vendored version for compatibility
|
# intentionally omitted: dynarmic - prefer vendored version for compatibility
|
||||||
enet
|
enet
|
||||||
|
|
||||||
# vendored ffmpeg deps
|
# ffmpeg deps (also includes vendored)
|
||||||
|
# we do not use internal ffmpeg because cuda errors
|
||||||
autoconf
|
autoconf
|
||||||
yasm
|
yasm
|
||||||
libva # for accelerated video decode on non-nvidia
|
libva # for accelerated video decode on non-nvidia
|
||||||
nv-codec-headers-12 # for accelerated video decode on nvidia
|
nv-codec-headers-12 # for accelerated video decode on nvidia
|
||||||
# end vendored ffmpeg deps
|
ffmpeg-full
|
||||||
|
# end ffmpeg deps
|
||||||
|
|
||||||
fmt
|
fmt
|
||||||
# intentionally omitted: gamemode - loaded dynamically at runtime
|
# intentionally omitted: gamemode - loaded dynamically at runtime
|
||||||
|
|
@ -113,8 +116,8 @@ stdenv.mkDerivation(finalAttrs: {
|
||||||
"-DSUYU_USE_EXTERNAL_SDL2=OFF"
|
"-DSUYU_USE_EXTERNAL_SDL2=OFF"
|
||||||
"-DSUYU_USE_EXTERNAL_VULKAN_HEADERS=OFF"
|
"-DSUYU_USE_EXTERNAL_VULKAN_HEADERS=OFF"
|
||||||
|
|
||||||
# don't use system ffmpeg, suyu uses internal APIs
|
# # don't use system ffmpeg, suyu uses internal APIs
|
||||||
"-DSUYU_USE_BUNDLED_FFMPEG=ON"
|
# "-DSUYU_USE_BUNDLED_FFMPEG=ON"
|
||||||
|
|
||||||
# don't check for missing submodules
|
# don't check for missing submodules
|
||||||
"-DSUYU_CHECK_SUBMODULES=OFF"
|
"-DSUYU_CHECK_SUBMODULES=OFF"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue