5362 Commits

Author SHA1 Message Date
Martin Pulec
740fb0e9d3 VRG: ignore pitches for RGBA 2021-06-22 09:31:34 +02:00
Martin Pulec
9355685ad1 VRG: fixed error messages 2021-06-22 08:48:51 +02:00
Martin Pulec
3f5de4083f VRG, dummy: make cudaHostAlloc default
This effectively reverts f7354f6a.

Fixes crashes in VRGStreamSubmitFrame->memmove.

For some reason, there is now not a performance problem compared to a
managed memory.
2021-06-17 17:19:25 +02:00
Martin Pulec
aded70333d VRG: safety checks - padding & width<=pitch
Check if we have sufficient padding (currently 2048) or it needs to be
extended.

Drop wrong render packets with width>pitch (runtime sometime generates
such).
2021-06-17 16:35:55 +02:00
Martin Pulec
0e2eaa516f Libug: fallback IPv4 2021-06-17 15:32:35 +02:00
Martin Pulec
57a754c4be VRG disp.: do not submit frame which pitches do not match 2021-06-16 15:34:17 +02:00
Martin Pulec
3a3fe57ba2 VRG: refactor a bit 2021-06-16 15:32:23 +02:00
Martin Pulec
49cc88bba7 Disable assertion for pitches in libavcodec
Can still be used for probing
2021-06-15 08:52:06 +02:00
Martin Pulec
a6680ac32d Test libug sender: added GPUJPEG opt 2021-06-15 08:34:02 +02:00
Martin Pulec
19f4ae770f Libug: added force_ip_version 2021-06-14 10:06:09 +02:00
Martin Pulec
96f8db95f5 GPUJPEG dec.: respect RGBA pitch also for unstripped 2021-06-11 14:41:17 +02:00
Martin Pulec
0f4c1658ea GPUJPEG dec.: unstripe - respect pitches
+ allow decoding to RGBA/I420 (in addition to CUDA_RGBA/CUDA_I420)
2021-06-11 14:41:17 +02:00
Martin Pulec
bd47298961 Stripe cap. f.: fixed irregular I420 sizes 2021-06-11 14:40:53 +02:00
Martin Pulec
2a7f2a535c GPUJPEG dec.: unstripe for CUDA_I420
Divisibility by 8 (16) is required.
2021-06-11 14:33:25 +02:00
Martin Pulec
aa660ffaff Reenable loopback connections for VRG 2021-06-11 14:33:25 +02:00
Martin Pulec
3ff957fce5 Merge branch 'master' into vr 2021-06-11 14:33:16 +02:00
Martin Pulec
0a1f29533d NDI cap.: better stride handling
- do not assert it equal line width - may be either different or 0 (default)
- respect the stride where possible (not sure for P216, which is planar)
2021-06-08 16:04:44 +02:00
Martin Pulec
972d0432c6 GitHub CI [Win]: AJA build fix
Current MSVS requires explicit target "Rebuild" for some reason.
Explicit target "Build" doesn't work for some reason (perhaps some
error in project file?).
2021-06-08 16:04:43 +02:00
Martin Pulec
725daf7cb9 AppImage Firejail: use dbus support only if available
+ explicit check for firejail binary
+ use --keep-var-tmp only if available
2021-06-08 16:04:36 +02:00
Martin Piatka
eab94c12c0 Remove some unused includes
Removes some unused includes reported by include-what-you-use
2021-06-08 15:22:25 +02:00
Martin Piatka
c0131ada10 configure.ac: xrgl: Add missing space to libs 2021-06-08 15:22:25 +02:00
Martin Pulec
10e194eaef AppImage Firejail: pass LD_LIBRARY_PATH 2021-06-08 08:40:14 +02:00
Martin Pulec
44c2559780 Firejail: PCP requires --protocol=netlink 2021-06-07 09:49:42 +02:00
Martin Pulec
e6a59fe0ed NDI disp.: fixed parsin of name opt 2021-06-07 08:23:36 +02:00
Martin Pulec
460302b6eb Libug: option to set sender compression GPUJPEG 2021-06-04 10:56:37 +02:00
Martin Pulec
bda8f19a25 Libug: added cuda_device 2021-06-04 10:44:38 +02:00
Martin Pulec
cbb6a20ce1 AppImage: added --fullhelp 2021-06-03 13:23:16 +02:00
Martin Pulec
930ccd1ebc AppImage: env var to run with Firejail 2021-06-03 13:22:41 +02:00
Martin Pulec
b850ff0eb2 AppImage: get rid of uv-wrapper.sh
AppRun already adds <dir>/usr/lib to LD_LIBRARY_PATH.
2021-06-02 09:31:46 +02:00
Martin Pulec
f7354f6ab4 VRG, dummy: make managed default
HostMalloc was poor for unstriped GPUJPEG dec
2021-06-01 11:47:04 +02:00
Martin Pulec
2c7a7c3d2d Libug: provide option for UDP packet pool
+ set rtp-multithreaded also with value 1 - this will enable the
appropriate code
2021-06-01 10:59:18 +02:00
Martin Pulec
4f34cd1a61 GitHub CI [Win]: for some reason cmake config must be first
For some reason cmake config must be given prior to --parallel with MSVS
16.10 (didn't seem to be an issue with previous version).
2021-05-31 14:05:06 +02:00
Martin Pulec
1c8f968934 AppImage: option to show manual pages 2021-05-31 14:05:01 +02:00
Martin Pulec
9a7255f52f create-appimage.sh: do not download appimagetool/appimageupdatetool if present
Do not download appimagetool/appimageupdatetool if present in system.
2021-05-31 10:52:33 +02:00
Martin Pulec
f598ab59da create-appimage.sh: fixed out-of-tree build 2021-05-31 10:52:33 +02:00
Martin Pulec
8042cf6b7d VR: Added packet pool 2021-05-28 11:12:06 +02:00
Martin Pulec
21733a0765 udp_reader: duration measurement in debug mode 2021-05-28 11:12:04 +02:00
Martin Pulec
376e3e4bcf gettimeofday_replacement: improved computitation
* simplified + keep computation in long long
* overflow check with DEBUG
2021-05-28 08:52:00 +02:00
Martin Pulec
f8fd2f872e Logger: option to enable/disable timestamps 2021-05-26 16:15:39 +02:00
Martin Pulec
f06204262b Use environment variable ULTRAGRID_VERBOSE 2021-05-26 14:48:53 +02:00
Martin Pulec
1ff532840e Merge branch 'master' into vr-devel 2021-05-26 14:23:32 +02:00
Martin Pulec
1d47a5f00d Initialize audio network only if used 2021-05-26 11:19:18 +02:00
Martin Pulec
613c62bf54 Lavc: fixed get_decoder_from_uv_to_uv
Improved UG decoder selection in get_decoder_from_uv_to_uv - now is
selected nearest better codec.

+ written a test for the above
2021-05-25 10:11:30 +02:00
Martin Pulec
127ff31184 configure.ac: do not set -Werror in debug mode
This is quite restrictive and it actually disallows debug build if there
is any warning. Also it is not necessarily related to that option.
2021-05-25 08:22:40 +02:00
Martin Pulec
3c81b3b04c SDL2: dropped frame warn with logger
Allows aggregation of messages and thus not congesting the output.
2021-05-25 08:22:34 +02:00
Martin Pulec
ec854785ce Video codec: added subsampling 2021-05-21 19:40:18 +02:00
Martin Pulec
5fdaef03a3 GitHub CI [Linux ARM]: use code checked out by GitHub
Use code checked out by GitHub Action - previously there was a clone
but we want rather the actual code, which doesn't need to be in master
branch of the main repository.

This also requires a small refactor (chroot in home rather than in
$GITHUB_WORKSPACE)
2021-05-21 19:40:15 +02:00
Martin Pulec
bb1405fad3 Added hint to disable output buffering in MSYS terminal 2021-05-21 13:43:56 +02:00
Martin Pulec
3783ac09bf hwaccel_vaapi.h: remove libavcodec/vaapi.h include
Include libavcodec/vaapi.h only if used. It is already removed upstream.
2021-05-21 13:43:55 +02:00
Martin Pulec
495548b4db GitHub CI [Linux ARM]: simplify bootstrap.sh 2021-05-21 13:43:51 +02:00