Cameron Gutman
88864853c2
Update dependencies and build flags
...
Build fixes:
- Re-enabled CFG and EHCont on OpenSSL (/OPT:REF fixes the ILT thunk issue)
- Fixed missing assembly optimizations on Windows ARM64 OpenSSL build
- Fixed missing /O2 flag for Windows OpenSSL builds
- Increased optimization level for Meson projects
Updates:
- SDL3 -> ae7dae5b630
- sdl2-compat -> 0cc83e9ad87
- discord-rpc rapidjson -> 297637bc0a0f00
- openssl -> 3.5.9 (downgraded to 3.5 LTS)
2026-11-25 20:30:21 -06:00
Cameron Gutman
dc99771b1d
Update Qt for Windows and Mac CI builds
2026-11-24 00:24:54 -06:00
Cameron Gutman
d0ce158513
Remove XWayland-specific hardware decoding warnings
...
libva has supported DRI3 on XWayland for years now.
2026-11-23 02:18:55 -06:00
Cameron Gutman
48ac42717b
Disable startup warnings when config warnings are disabled
...
Fixes #2096
2026-11-23 02:12:11 -06:00
Cameron Gutman
457aa3ab26
Only use SDL_JoystickUpdate() when required to avoid reentrancy
...
It doesn't properly handle hotplugging on all joystick backends,
so we want to use it only as long as we need to avoid crashing
during video subsystem shutdown.
Fixes #2104
2026-11-23 01:56:13 -06:00
Cameron Gutman
d214805551
Revert "Don't pump events in SdlGamepadKeyNavigation"
...
Some joystick backends can't hotplug without SDL_PumpEvents().
See #2104 .
This reverts commit d5b7ef0c58 .
2026-11-23 01:56:13 -06:00
Cameron Gutman
2dc63d1f13
Update dependencies
...
FFmpeg -> 9.1
dav1d -> 1.5.5
SDL -> d3926e74bd
2026-11-20 01:13:55 -06:00
Cameron Gutman
1fb0e2adbc
Update MSVC redist to 14.52
2026-11-20 01:12:47 -06:00
Gia Bui
995912e21b
Only allow a modeset when a DRM atomic commit requires it ( #2107 )
...
amdgpu on DCN < 3.2 performs a full update for every commit that allows
a modeset, which halves the frame rate with V-Sync enabled at 120 Hz.
Fixes #2106
2026-11-19 21:55:34 -06:00
Cameron Gutman
28629dc17f
Cap the attached gamepad mask at the maximum gamepad count
2026-11-15 01:03:26 -06:00
Cameron Gutman
dab3e23cc4
Avoid potential overflow in gamepad sensor report rate period
2026-11-15 01:02:12 -06:00
Cameron Gutman
136610d5fd
Fix variable shadowing in BandwidthTracker constructor
2026-11-15 00:57:18 -06:00
Cameron Gutman
bd405f57ca
Validate that a predefined PIN consists of 4 digits
2026-11-15 00:52:08 -06:00
Cameron Gutman
dd795e35b6
Fix counting of old frames dropped during enqueue
2026-11-15 00:50:22 -06:00
Cameron Gutman
ec59857a98
Fix V-Sync wait when frame period was less than 3 ms
2026-11-15 00:48:18 -06:00
Cameron Gutman
f924722793
Restart the audio renderer if SDL_QueueAudio() fails
2026-11-15 00:46:56 -06:00
Cameron Gutman
bcdd0a2c63
Flush after setting up the wl_surface_frame callback
2026-11-15 00:39:54 -06:00
Cameron Gutman
2d2872b4a3
Disallow separate plane export of YUV444 VAAPI frames
...
These are not handled properly in the export (or import) paths.
2026-11-15 00:35:36 -06:00
Cameron Gutman
b004190a2a
Use AV_CEIL_RSHIFT instead of dividing by 2
2026-11-15 00:34:55 -06:00
Cameron Gutman
4e8fc3aead
Update AppModel, ComputerModel, and StreamUtil asserts to cover negative indices
2026-11-15 00:33:01 -06:00
Cameron Gutman
2d600c4e6b
Fix invalid attributes passed to CVMetalTextureCache
2026-11-15 00:30:52 -06:00
Cameron Gutman
bbfcf53f85
Fix missing pl_swapchain_submit_frame() when AVFrame mapping fails
2026-11-15 00:03:55 -06:00
Cameron Gutman
5ff51ead5e
Limit the populated queue families to the maximum allowed by FFmpeg
2026-11-14 23:58:45 -06:00
Cameron Gutman
8ebffa5b5b
Destroy the Vulkan hwcontext before the underlying objects
2026-11-14 23:57:36 -06:00
Cameron Gutman
f295b02e81
Make the printPrefix variable thread_local static
...
Logging can happen from multiple threads at the same time.
2026-11-14 23:48:05 -06:00
Cameron Gutman
3da99d62e5
Check for null return from CGDisplayCopyAllDisplayModes()
2026-11-14 23:18:48 -06:00
Cameron Gutman
0d998a1247
Clear cached QSslSocket keys when generating new credentials
2026-11-14 23:18:14 -06:00
Cameron Gutman
ef223a275d
Fix unexpected zero truncation of the AES key
2026-11-14 23:11:27 -06:00
Cameron Gutman
bae838eeb9
Clear haptic effect ID after destroying it
2026-11-14 23:00:32 -06:00
Cameron Gutman
9fa8b15642
Remove unused m_AudioDisabled member
2026-11-14 23:00:18 -06:00
Cameron Gutman
dd0b049048
Fix incorrect length passed to MultiByteToWideChar()
2026-11-14 22:59:52 -06:00
Cameron Gutman
4102bab53f
Fix missing pthread_once_t initialization
2026-11-14 22:57:34 -06:00
Cameron Gutman
29f121a7d3
Fix moonlight-common-c with CONFIG+=disable-prebuilts on macOS
2026-11-13 00:58:24 -06:00
Cameron Gutman
8016954c23
Update moonlight-common-c
2026-11-13 00:58:24 -06:00
Cameron Gutman
fe5a0aea98
Prevent lost wakupes in Pacer and ComputerManager
2026-11-12 20:40:31 -06:00
Cameron Gutman
aad0090d97
Invoke QCoreApplication::quit() on the main thread
...
This is required to safely synchronize with the main loop.
2026-11-12 20:22:02 -06:00
Cameron Gutman
67dbfddb20
Fix use of undefined variable
2026-11-11 11:19:27 -06:00
Cameron Gutman
10523db24d
Enable /guard:signret on Windows ARM64
2026-11-11 11:17:43 -06:00
Joel
4113dd26be
Fix toolbar button resize loop when moving between displays ( #2093 )
...
NavigableToolButton bound its icon size to its background. Material's
ToolButton background is half the button height while the content is
square, but spans the full button width otherwise. When the window
straddles a 2x and a 1x display, the header row briefly lays out at a
smaller height, the content stops being square, and the icon width
becomes the button width. The button's implicit width is then icon +
padding, so every layout pass widens it by 12px without end and
reloads the SVG icon at each new size. The UI hangs and memory grows
until the process is killed.
Size the icon from the button's own height instead. That height comes
from Layout.preferredHeight, not from the icon, so there's no feedback
loop, and the icon stays 30x30 in the 60px toolbar as before.
Fixes #2092
2026-11-05 19:12:12 -06:00
Cameron Gutman
966638f91c
Remove libplacebo patch that's no longer needed
...
Upstream libplacebo make internally synchronized queues opt-in.
2026-11-05 18:41:51 -06:00
Cameron Gutman
8cfc943737
Update SDL3, sdl2-compat, and libplacebo
...
SDL3 -> 3.4.20
sdl2-compat -> bebc6eb0
libplacebo -> v7.387.0
Fixes #2084
Fixes #2079
Fixes #2051
Fixes #2031
2026-11-05 18:10:16 -06:00
Cameron Gutman
029da3fb01
Improve readability of longer hostnames
...
Fixes #2064
2026-11-05 18:07:26 -06:00
Cameron Gutman
3fead131a6
Dynamically enable VK_KHR_internally_synchronized_queues for libplacebo v7.387.0
...
This is now disabled by default in libplacebo and must be explicitly
enabled when the application knows that all other code sharing the
device has been enlightened about the new queue synchronization flags.
Since we know that Gamescope's WSI doesn't handle these new flags
correctly, we will disable internally synchronized queues when
that layer is present. See ValveSoftware/gamescope#2261
2026-11-05 01:55:29 -06:00
Cameron Gutman
a6276aa846
Check for unbound texture before registering with CUDA
2026-11-04 23:17:28 -06:00
Cameron Gutman
aa54ba2a05
Reject 10-bit and YUV 4:4:4 in the CUDA path
...
Vulkan Video supports these on all Nvidia GPUs.
2026-11-04 23:12:39 -06:00
Cameron Gutman
1ced9dd9b0
Synchronize several renderer callbacks
...
Many renderers do not properly synchronize these on their own, so let's do it for them.
HDR and window changes are infrequent enough not to really matter.
2026-10-29 23:55:57 -05:00
Cameron Gutman
10270ca0f6
Move ownership of the overlay callback registration to Pacer
...
This allows it to synchronize with the lifetime of the rendering context.
2026-10-29 22:54:19 -05:00
Cameron Gutman
017b603972
Add a lock to ensure no overlay callbacks are active during unregistration
2026-10-29 22:43:24 -05:00
Cameron Gutman
3178022887
Remove use of deprecated functions in OpenSSL 4.1
2026-10-29 00:55:58 -05:00
Cameron Gutman
ac296864ac
Fix some error handling in the libplacebo renderer
2026-10-24 22:41:06 -05:00