Commit Graph

10918 Commits

Author SHA1 Message Date
Martin Pulec
9f01f684be Revert "CI macOS 14 (arm64) deployment fix"
This reverts commit f9963c42ad.

This workaround is no longer needed, on the contrary, it breaks the CI
now: <https://gist.github.com/MartinPulec/067c8e7ff87ddf04e1285556f33d8d2b>
2026-01-22 10:30:13 +01:00
Martin Pulec
a44124feb5 cap/avf,ca: print that capturing explicitly
to eventualy comply with Apple Developer Program License Agreement 3.3.3.A
2026-01-22 10:30:13 +01:00
Martin Pulec
c5d6edc9ed screen_avf: probe: fixed swapped name/dev
+ missing "d" in dev specifier (should be ":d=100" for 1st screen)
2026-01-21 13:30:59 +01:00
Martin Pulec
07d32819c3 UltraGrid 1.10.2 v1.10.2 2026-01-21 09:26:36 +01:00
Martin Pulec
eb078cc7e5 updated FIXES.md 2026-01-21 09:26:35 +01:00
Martin Pulec
925a91835f AppRun: fix lavc warnings on Tumbleweed
suppress ldd warnings:
<https://gist.github.com/MartinPulec/ae1dc6b6e0b88f3bd02bb47c1163fdf7>

when trying the the bundled libavcodec.so with system deps

Probably OK to silence - the system libva from the live OpenSUSE ISO
seem to be preloaded.
2026-01-21 08:42:52 +01:00
Martin Pulec
d3c70c382c CI Linux FFmpeg: updated SVT-HEVC patch
SVT-JPEG-XS has been merged, which was causing the conflicts
2026-01-21 08:00:45 +01:00
Martin Pulec
65fe8de662 CI: enable screen on macos-15-intel + CG on mac 14
Removed --disable-screen for macos-15-intel and enforced the original
Core Graphics implementation for the arm64 builds (we are still in the
stable branch so not to make the change when not needed - for Intel
builds it was enforced by the GH runner replacement, however).
2026-01-21 08:00:45 +01:00
Martin Pulec
960c087569 macOS: port screen AV Foundation impl from master
Ported the implementation to reenable screen capture for macos on
Intels because the runner has switched to macos-15-intel that no longer
supports Core Graphics capture.

The AV Foundation was needed to port directly so this module is now
exactly same as in master - it is probably not worth and error-prone
cherry-picking just the "needed" commits.

see the commits in master for actual changes up to the commit 3ae62524
2026-01-21 08:00:44 +01:00
Martin Pulec
b6141ac923 configure.ac: switch from Darwin vers. to macOS
The actual Darwin version was actually matched to corresponding macOS
version so use those directly.
2026-01-20 08:27:55 +01:00
Martin Pulec
f6677026f7 from_lavc_pf_priority: do not advertise HW_VDPAU
This is handled differently and may trigger unexpected decode to HW_VDPAU
if gl display advertises that, eg. `uv -t testcard -c lavc:c=MJPG -d gl`.

This fixes the commit 647d8627 (2025-06-25) that unintentionally
enabled that.

The HW accel is hanndled actually separately ahd snouldn't be "enabled"
in this way.
2026-01-14 12:21:12 +01:00
Martin Pulec
750174026a main: docu 2 env vars in fullhelp
NDILIB_REDIST_FOLDER and NV_OPTIMUS_ENABLEMENT (added recently; Win only)

the others env vars used by UG are not much important for regular users
2026-01-13 14:45:23 +01:00
Martin Pulec
f916a92c3c [Win] set NvOptimusEnablement=0 (or by env var)
- fixes the SPOUT capture with NVIDIA Optimus
- renderer for Vulkan seem to still use NVIDIA for 10 bit rendering
(-t testcard:c=R10k:patt=gradient2)

refers to <https://github.com/CESNET/UltraGrid/issues/487>
2026-01-13 14:45:19 +01:00
Martin Pulec
799e4b420f CI Win: temporarily revert to Spout 2.007.016
refers to <https://github.com/CESNET/UltraGrid/issues/487>
2026-01-13 14:45:14 +01:00
Martin Pulec
ff458792c7 spout: adjust log levels
- the fatal/error/warning was off-by-one, should have been "6 -" to match
corresponding Spout log levels, but:
- made the fatal/error/warning mapping explicit, anyways
- use SPOUT_LOG_WARNING for both UG NOTICE and INFO - the previous
SPOUT_LOG_NOTICE is a bit chatty during init, so:
- UG VERBOSE - use the Spout notice
2026-01-13 14:45:00 +01:00
Martin Pulec
957a461e1a spout: enable logging
It seems like SPOUTLIBRARY::EnableSpoutLog() must be also executed to
actually enable the logging.

Note that there also exists SPOUTLIBRARY::OpenSpoutConsole(), which seems
to be intended to open a standalone logging window but it didn't open
when just executed between EnableSpoutLog().

As the logging is mainly intended to be output to the console window, it
seems like when issed just EnableSpoutLog() it is dumped to the
stdout/stderr, which is just what we want in UG.
2026-01-13 14:44:56 +01:00
Martin Pulec
61ae980655 CI Win: use pre-built Spout
instead of building own Spout, use pre-built release on GH

This actually reverts the commit b98b5ab0 from 2023-11-06.
Date:   Mon Nov 6 09:08:46 2023 +0100
2026-01-13 14:44:37 +01:00
Martin Pulec
1b34ac5ec2 control_socked: fix early module_done
The thread is not joined yet so it may access the module data
(check_message).

This might have caused this failure:
<https://gist.github.com/MartinPulec/8d855d67d4333c8806126814607dcce9>
2026-01-13 12:53:20 +01:00
Martin Pulec
8d7ad61587 CI Linux install libdecor Cairo plugin explicitly
Instead of ensuring that the plugin is present, instal the Cairo plugin
directly.

The Cairo implementation is the only libdecor plugin present in U22.04
repositories (U24.04 has the Gtk implementation as well).
2026-01-13 12:53:20 +01:00
Martin Pulec
926bd5e474 AppImage: bundle libdecor
both GLFW and SDL load libdecor-0.so.0 by dlopen so it is not going to
be bundled...
2026-01-13 12:53:20 +01:00
Martin Pulec
0f6edcbb09 vcomp/lavc/oapv: fix out-of-bound dereference
fixes CID 897313
2026-01-13 12:53:20 +01:00
Martin Pulec
d029f9d90d to_lavc_vid_conv: remove some warn in 2 last conv
+ IWYU file
2026-01-13 12:53:20 +01:00
Martin Pulec
7edd4f5b6e to_lavc_vid_conv: reindent the recent 2 convs 2026-01-13 12:53:19 +01:00
Martin Pulec
f5d3f03139 to_lavc_vid_conv: add r12l_to_ayuv64le
refers to <https://github.com/CESNET/UltraGrid/issues/479>
2026-01-13 12:53:19 +01:00
Martin Pulec
774df9408e vcomp/lavc: videotoolbox_hevc: honor :subsampling opt 2026-01-13 12:53:19 +01:00
Martin Pulec
a6ab9ed8bb vcomp/lavc: hevc_videotoolbox: enforce rext profile
Otherwise encoding 4:2:0 will be used by the encoder - if not specified,
the default profile is Main10, which is 4:2:0. The only option to get
4:2:2 is to use AV_PROFILE_HEVC_REXT. Only remaining is Main, which isn't
suitable neither for UYVY if we don't want to reduce subsampling.
2026-01-13 12:53:19 +01:00
Martin Pulec
6e56a15439 to_lav_vid_conv: add r12l_to_p210le
refers to <https://github.com/CESNET/UltraGrid/issues/480>
2026-01-13 12:53:19 +01:00
Martin Pulec
671f618187 disp/vulkan_sdl2: fix crash on message
ported the commit ca04cb3e3 from vulkan_sdl3
2026-01-13 12:53:16 +01:00
Martin Piatka
2789683104 Update FIXES.md 2026-01-06 14:14:25 +01:00
Martin Piatka
f1384bdec7 disp/gl: Fix cursor hide keybind
Now it shows correctly in help and also works through terminal

(cherry picked from commit 59c2f5b974)
2026-01-06 14:11:52 +01:00
Martin Pulec
1d91f55bcf CI: use macos-15-intel
screen must be disabled here because the Core Graphics API for screen
capture is being deprecated/removed in macOS 15.

closes <https://github.com/CESNET/UltraGrid/issues/485>
2026-01-02 15:53:01 +01:00
armelvil
d241fedb41 Update hd-rum-translator.cpp
- fix typo
- fix "c" to "n" in case statement line 669
2026-01-02 15:53:00 +01:00
Martin Pulec
eec97817f8 rework macos-wrapper
generate the run-time dependency according to the build system, not
hard-coded

The advantage for CI is that it does no longer need to be upgraded every
time the GH runner was updated.

This also generalizes for non-CI builds, when the build macOS version
can obviously differ from the CI macos runner.

Do not use both Darwin and macOS version, use just macOS ver.
2026-01-02 15:53:00 +01:00
Martin Pulec
761ce6b858 macos-wrapper: ensure os release according to arch
x86_64 now builds on macOS 13 while arm64 on macOS 14
2026-01-02 15:52:57 +01:00
Martin Piatka
1b0c29a0ca Update FIXES.md 2026-01-02 11:30:55 +01:00
Martin Piatka
ec066cf688 disp/vulkan: Fix crash on module message
It was trying to get the state pointer from the module pointer, but the module isn't the first member in state.

(cherry picked from commit ca04cb3e38)
2026-01-02 11:28:12 +01:00
Martin Pulec
06d9fcd149 UltraGrid 1.10.1 v1.10.1 2025-12-05 13:00:21 +01:00
Martin Piatka
c9cc2801bc CI: Linux/SDL: Install xtest build dependency 2025-12-05 13:00:21 +01:00
Martin Pulec
e710195825 updated FIXES.md 2025-12-05 11:12:07 +01:00
Martin Pulec
dc4abb46c1 vdec/lavc: fix ProRes decode
fixes decode broken since the commit 7dd9a44 (2025-10-23)

refers to
<https://github.com/CESNET/UltraGrid/issues/479>

closes
<https://github.com/CESNET/UltraGrid/issues/481>
2025-12-05 09:26:20 +01:00
Martin Pulec
d58cb2a591 CI delta SDK: output name explicitly
When non-free SDK path is provided but the server curl automatic path
with -O doesn't work (eg. the downloaded file name is passed in a GET
variable).
2025-12-04 16:52:49 +01:00
Martin Pulec
af37525456 configure.ac: fix avfoundation + ensure
AV Foundation was never enabled due to a error in configure

broken since f1745fba (2025-05-23)
2025-12-04 14:39:03 +01:00
Martin Pulec
4390ab0386 CI AJA: use release branch
Use rather branch release instead of main because in main things may
break sometimes.

Eg. currently (libajantv2 commit 9060cc4a), ntv2m31enums.h is not
installed but ntv2utils.h includes that.
2025-12-04 14:39:02 +01:00
Martin Pulec
2681ce6547 lavc: AV_PIX_FMT_YUVA444P12 !present compat + typo 2025-12-04 08:50:18 +01:00
Martin Pulec
34418e7770 vdisp/sdl3: set render clear color
Seems like Wayland driver seem to need to have this set explicitly
for the eventual borders to be cleared correctly with SDL_RenderClear.
Otherwise the eventual margins may not be cleared by SDL_RenderClear
(tested with U25.10 live DVD with llvmpipe software renderer inside VM).
2025-12-04 08:50:18 +01:00
Martin Pulec
662aeb80db vcomp/lavc: do not wrap the output for the output
Long lines do not harm here but it will make unusable grepping like in:
<https://github.com/CESNET/UltraGrid/issues/479> and GH-480.
2025-12-04 08:50:15 +01:00
Martin Piatka
1daec22f47 vcap/pipewire: Fix screen capture 2025-12-01 12:49:28 +01:00
Martin Pulec
cd2eb43fb9 updated FIXES.md 2025-11-25 15:08:07 +01:00
Martin Pulec
41035c3864 CI macOS 14 (arm64) deployment fix
It seems like libbrotlidec.1.dylib is dependency of Qt but
incorrectly deployed by macdepoloyqt - just the library (that
is symlink to libbrotlidec.1.2.dylib) but not its dependency
@rpath/libbrotlicommon.1.dylib (+ fix path).

Since libbrotlidec.1.2.dylib is already deployed and fixed as a dependency
of uv (AFAIK through lavc->libjxl), just symlink that.

fixes <https://github.com/CESNET/UltraGrid/issues/478>
2025-11-25 15:03:22 +01:00
Martin Pulec
3503bb1ad3 AppImage: include libOpenGL.so.0 fallback
Currently Ubuntu 25.10 live DVD (ubuntu-25.10-desktop-amd64.iso)
does not include the library, preventing the GUI from being
run.  On the other hand, if used unconditionally, it causes
the warning (even in the U25.10) for which it was removed:
<https://github.com/linuxdeploy/linuxdeploy/issues/152>

So preload the library if is in the system and use the bundled just as
a fallback.
2025-11-25 15:03:06 +01:00