Cameron Gutman
3e5aa9b127
Simplify EGLImageFactory and remove caching logic for now
...
The platforms that would most benefit (embedded V4L2 decoders)
either don't use frame pooling or don't synchronize with
modified DMA-BUFs unless eglCreateImage() is called each time.
2025-12-28 17:54:31 -06:00
Cameron Gutman
085480e9f4
Add EGLImage caching to improve performance
2025-12-28 17:08:45 -06:00
Cameron Gutman
c3ce0918b3
Optimize blending in DXVA2 and D3D11VA renderers
2025-12-28 13:53:13 -06:00
Cameron Gutman
c5b7a9c679
Optimize EGLRenderer with overlay VAOs and reduced GL_BLEND usage
2025-12-28 13:14:16 -06:00
Cameron Gutman
f1451a0db3
Fix UB due to missing shader attribute location binding
...
Mesa drivers seem to generally bind attributes in order, but the
proprietary PowerVR driver (pvr) doesn't and renders incorrectly
as a result.
2025-12-27 23:56:17 -06:00
Cameron Gutman
8a5f34fb01
Remove logic to force the OpenGL ES library to load
...
This isn't necessary now that we turn on EGL everywhere,
and it breaks OpenGL ES 2.0 support too.
2025-12-27 23:11:53 -06:00
Cameron Gutman
d1f43ca258
Use ESSL 1.0 for EGLRenderer shaders
...
We still ostensibly support GLES 2.0 GPUs.
2025-12-27 22:56:20 -06:00
Cameron Gutman
249c29b74c
Allow GL_IS_SLOW and VULKAN_IS_SLOW to be overridden at runtime
2025-12-27 21:40:32 -06:00
Cameron Gutman
1cf207de07
Allow overriding FFmpeg AVOptions via environment variable
2025-12-27 21:07:04 -06:00
Cameron Gutman
4f08d52754
Enable DRM_PRIME frames for the TH1520
2025-12-27 15:40:59 -06:00
Cameron Gutman
41ad3c0938
Add environment variable override helper function
...
This allows FORCE_QT_GLES and SEPARATE_TEST_DECODER to override both true and false.
2025-12-27 15:33:39 -06:00
Cameron Gutman
21fb2832e1
Fix CLI exit after unexpected stream termination
...
Fixes #939
2025-12-27 13:33:46 -06:00
dependabot[bot]
f0bb1031d8
Bump app/SDL_GameControllerDB from e40b891 to 16ac3e5
...
Bumps [app/SDL_GameControllerDB](https://github.com/gabomdq/SDL_GameControllerDB ) from `e40b891` to `16ac3e5`.
- [Commits](e40b8910f8...16ac3e553e )
---
updated-dependencies:
- dependency-name: app/SDL_GameControllerDB
dependency-version: 16ac3e553e23068e26819971f2cc6cd088a7f2f6
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-23 11:38:47 -06:00
Cameron Gutman
b80d2a00c0
Fix SIGTERM unexpectedly quitting the host app
2025-12-23 01:09:21 -06:00
Cameron Gutman
85ea28287e
Add workaround for AV1 reinit bug and quiet some debug output
2025-12-23 00:59:19 -06:00
Cameron Gutman
a6f8901a18
Reuse the test decoder to improve startup performance
2025-12-23 00:32:36 -06:00
Cameron Gutman
d501a627f0
Test all renderers before use
...
Every renderer except SDL had opted-in for testing due to various
quirks discovered over the years, so just do away with this option
and test all renderers.
2025-12-22 23:58:26 -06:00
Cameron Gutman
526d815930
Don't fall back to the generic hwaccel for DRM_PRIME formats
2025-12-22 15:06:20 -06:00
Cameron Gutman
b448e5bbd7
Update AppImage dependencies
2025-12-22 10:54:50 -06:00
Cameron Gutman
741e360024
Fix GLES compatibility check on VF2 pvr driver
2025-12-21 22:15:29 -06:00
Cameron Gutman
7edbede95d
Force Qt to use GLES if desktop GL is not available
...
Some platforms like the VisionFive 2 don't have working desktop GL,
so they must use GLES to be able to render at all. Qt doesn't try
to fall back if it fails to find a compatible EGL config, so we must
do so ourselves.
2025-12-21 21:13:22 -06:00
Cameron Gutman
7f54662160
Autoselect AV1 over H.264 on RK3588
2025-12-21 14:59:08 -06:00
Cameron Gutman
f66285ddba
Fix spurious HEVC software decode warning if AV1 is forced without HEVC hardware decoding
2025-12-21 14:36:22 -06:00
Cameron Gutman
bdfadb1cdc
Let the streaming session handle exiting on SIGTERM
2025-12-14 19:11:13 -06:00
Cameron Gutman
63a381a882
Fix macOS build
2025-12-14 19:07:50 -06:00
Cameron Gutman
4a591069ac
Add custom signal handlers to arbitrate between Qt and SDL
...
Fixes #1496
2025-12-14 18:57:26 -06:00
Cameron Gutman
c71b513bc4
Pump the Qt event loop before creating the SDL window
2025-12-14 18:09:20 -06:00
Cameron Gutman
700655c051
Remove the fixed delay for starting the connection
...
The StreamSegue already handles delaying to allow the warnings to be visible.
2025-12-14 17:57:20 -06:00
Cameron Gutman
3425fec33d
Use EGL+GLES workaround for Nvidia X11
...
We can avoid disabling EGL entirely by forcing Qt to use GLES,
which is not impacted by the black window issue. This lets us
simplify back to EGL everywhere.
2025-12-14 16:21:32 -06:00
Cameron Gutman
de844f2a0c
Deprioritize the Nvidia VAAPI driver if Vulkan or CUDA are available
2025-12-11 20:13:14 -06:00
Cameron Gutman
54163e30d0
Disable EGL on Nvidia XWayland environments too
...
It renders a black window, just like native X11.
2025-12-11 20:13:14 -06:00
Cameron Gutman
bd6a1d9a9b
Replace NVDEC with Vulkan Video in Flatpak metadata
...
NVDEC has been disabled by default since e6e91ca8
2025-12-10 21:54:07 -06:00
Cameron Gutman
b25801ff7d
Update VCRedist
2025-12-10 21:47:31 -06:00
Cameron Gutman
bc5e9917cd
Fix PS script for compatibility with KB5074596
2025-12-10 21:46:44 -06:00
Cameron Gutman
d8eb817ed9
Rerun lupdate and lrelease
2025-12-09 00:47:21 -06:00
Cameron Gutman
c1e5b0bf66
Merge remote-tracking branch 'origin/weblate'
2025-12-09 00:45:35 -06:00
Cameron Gutman
26f96a20a9
Fix implicit fall-through warnings
2025-12-07 18:58:25 -06:00
Cameron Gutman
dbcc6a9089
Improve initialization performance when using Vulkan Video decoding
2025-12-07 17:57:22 -06:00
Cameron Gutman
9c6d2bab19
Use EGL_VENDOR instead of NV-CONTROL for Nvidia detection
...
The latter will still match on a hybrid system when the iGPU's EGL
implementation is in use. This scenario works properly with EGL
rendering in Qt and SDL, so we want to allow that.
2025-12-06 11:20:03 -06:00
Cameron Gutman
c92dc2495e
Don't use vaPutSurface() if there are no valid subpicture formats
2025-12-05 23:52:41 -06:00
Cameron Gutman
1c24aada0a
Never use X11 EGL on Nvidia proprietary drivers
...
Fixes #1751
2025-12-05 23:10:31 -06:00
Cameron Gutman
58f9b2a83b
Use opaque black in ClearRenderTargetView()
...
Intel's old Gen9 performance guide says it's a little faster.
2025-12-01 22:39:28 -06:00
Cameron Gutman
5feb331c46
Improve QT_QPA_EGLFS_KMS_CONFIG temporary file handling
...
- Close it before handing it to the QPA plugin to read
- Put the temporary file in TMPDIR instead of the current directory
2025-12-01 00:36:59 -06:00
Cameron Gutman
9d5f25f828
Don't use separate threads for querying SDL video info
...
This is no longer necessary now that we force Qt and SDL to use EGL.
2025-11-30 23:18:38 -06:00
Cameron Gutman
d3c23b55dc
Disable the VAAPI RFI latency workaround by default
...
I can no longer reproduce this issue on the same system running
Ubuntu 24.04 with the core22-based edge channel snap anymore.
2025-11-30 22:23:09 -06:00
Cameron Gutman
80b7a69cd2
Revert "Use the default Qt render loop"
...
This seems to cause 10+ second hangs at the StreamSegue spinner
when using the Qt5-based Snap on Ubuntu 24.04's Wayland session.
It's unclear if this is still an issue on Qt 6, but let's be
conservative and just revert it for now.
This reverts commit f57257cbfd .
2025-11-30 22:00:33 -06:00
dependabot[bot]
296387345d
Bump moonlight-common-c/moonlight-common-c from 2d984f4 to b126e48
...
Bumps [moonlight-common-c/moonlight-common-c](https://github.com/moonlight-stream/moonlight-common-c ) from `2d984f4` to `b126e48`.
- [Commits](2d984f4b0d...b126e481a1 )
---
updated-dependencies:
- dependency-name: moonlight-common-c/moonlight-common-c
dependency-version: b126e481a195fdc7152d211def17190e3434bcce
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-26 21:06:38 -06:00
Cameron Gutman
42bf87753f
Remove the installer check for MpsSvc
...
The firewall custom action has ignored failures since a6e549471c , so this pre-check is no longer necessary.
Fixes #1736
2025-11-26 21:06:06 -06:00
Cameron Gutman
d262e5d1f6
Recompile D3D11 shaders for Shader Model 5.0
...
We already require FL 11.0+ GPUs anyway, so compiling them for an older shader model didn't provide any benefit.
2025-11-24 19:02:20 -06:00
Cameron Gutman
f0821d9543
Use D3D11_COPY_DISCARD when updating our video texture
...
This ensures the driver knows it doesn't have to synchronize with the previous texture data.
2025-11-24 18:49:19 -06:00