d39000aa9f
feat: add out-of-spec but mostly working display frequencies to steam deck
2023-11-28 07:35:32 +01:00
Simon Ser
146da86c89
steamcompmgr: don't erase multiple commits with future desired time
...
If the queue contains two commits with a desired time set in the
future, keep the second one in the queue instead of discarding it.
2023-11-24 11:49:23 -08:00
Simon Ser
3a3f6f8241
Use wayland-protocols instead of vendoring upstream protocols
2023-11-24 12:03:36 +01:00
Simon Ser
2d2d4ea6b7
rendervulkan: replace wlr legacy renderer impl with render pass
...
Reduce boilerplate a bit, and should be compatible with both last
wlroots release and upcoming one.
2023-11-23 17:36:26 +01:00
Simon Ser
4a067fb4eb
Port to wlroots 0.17
2023-11-22 15:22:19 +01:00
Jan Beich
d1b7efd218
build: depend on epoll-shim on non-Linux after 528eb7ede7
...
ld: error: undefined symbol: epoll_ctl
>>> referenced by steamcompmgr.cpp
>>> src/gamescope.p/steamcompmgr.cpp.o:(update_wayland_res(CommitDoneList_t*, steamcompmgr_win_t*, ResListEntry_t&))
>>> referenced by steamcompmgr.cpp
>>> src/gamescope.p/steamcompmgr.cpp.o:(commit_t::OnPollIn())
>>> referenced by steamcompmgr.cpp
>>> src/gamescope.p/steamcompmgr.cpp.o:(gamescope::CWaiter<1024ul>::CWaiter())
ld: error: undefined symbol: epoll_create1
>>> referenced by steamcompmgr.cpp
>>> src/gamescope.p/steamcompmgr.cpp.o:(gamescope::CWaiter<1024ul>::CWaiter())
ld: error: undefined symbol: epoll_wait
>>> referenced by steamcompmgr.cpp
>>> src/gamescope.p/steamcompmgr.cpp.o:(gamescope::CAsyncWaiter<1024ul>::WaiterThreadFunc(char const*))
2023-11-22 14:58:47 +01:00
Joshua Ashton
e384c4e066
build: Force fallback for vkroots
2023-11-21 14:38:53 -08:00
Joshua Ashton
528eb7ede7
steamcompmgr: Refactor img wait to handle multiple image waits at once
...
Refactors the image wait thread to handle multiple image waits at once.
2023-11-21 13:55:39 -08:00
Joshua Ashton
abdc97e796
steamcompmtr: Fix hacky blank texture in nested
2023-11-21 13:40:30 -08:00
John Schoenick
f1646ee01e
subprojects: Re-bump vkroots after it got frogged
...
commit f473496d9d
accidentally rolled
back the last bump
2023-11-17 17:51:30 -08:00
Pierre-Loup A. Griffais
f473496d9d
drm: add env var backdoor to disable async
2023-11-17 17:37:09 -08:00
Joshua Ashton
444bbc61a8
steamcompmgr: Handle dummy overlay plane scale for external displays
...
Fixes that stutter on external displays.
2023-11-16 00:41:51 +00:00
Joshua Ashton
fe3dbc6ba6
steamcompmgr: Add horrible disgusting hacky blank texture to replace overlay when disabled
...
This is a TEMPORARY HACK we will definitely get rid of eventually.
Use a transparent overlay image of the screen's size for the Steam
Overlay when not present to workaround garbage AMDGPU state tracking
which causes full plane + LUT updates every time stuff is
enabled/disabled.
2023-11-16 00:10:04 +00:00
Joshua Ashton
31ad691731
wlserver: Fix removal of gamescope_control resources
...
Needs proper destroy listener, not destroy interface. Bleh.
2023-11-15 06:16:22 +00:00
Joshua Ashton
add96e3ba8
steamcompmgr: Fix pipewire color mgmt luts
2023-11-14 22:32:28 +00:00
Joshua Ashton
f3012f6e6d
steamcompmgr: Save 11MB of VRAM on images we weren't using
2023-11-14 20:26:10 +00:00
Joshua Ashton
7439592b49
steamcompmgr: Naiively handle streaming HDR content
2023-11-14 20:23:04 +00:00
Joshua Ashton
274d2a6555
rendervulkan: Fix NV12 capture colors
...
Closes : #1014
2023-11-14 20:09:04 +00:00
Joshua Ashton
4d4cc40440
drm: Allow reading color primaries from EDID on Galileo
2023-11-14 19:31:53 +00:00
Joshua Ashton
a54ffcab0f
protocol: Add only_change_refresh_rate flag to target_refresh_cycle_flag
2023-11-14 00:08:42 +00:00
Joshua Ashton
05407167cd
layer: Disable EXT_swapchain_maintenance1
...
Can't implement this easily with limiter and switching between X11 and Wayland
2023-11-09 18:47:46 +00:00
Joshua Ashton
789c0324d6
subprojects: Bump vkroots
2023-11-09 18:47:46 +00:00
Joshua Ashton
7eb99803de
layer: Migrate display timing impl to EnumerateDeviceExtensionProperties
2023-11-09 18:47:46 +00:00
Joshua Ashton
bbf337de7b
drm, wlserver: Send active display info on bind
2023-11-09 18:47:46 +00:00
Joshua Ashton
71c4b55ef4
steamcompmgr: Add GAMESCOPE_DISPLAY_DYNAMIC_REFRESH_BASED_ON_GAME_PRESENCE
2023-11-09 18:47:46 +00:00
Joshua Ashton
4b57b57ad8
steamcompmgr: Add GAMESCOPECTRL_DEBUG_REQUEST_SCREENSHOT
2023-11-09 18:47:46 +00:00
Joshua Ashton
ce281a9291
steamcompmgr: Add the ability to take different types of screenshots
...
All layers, screen buffer, full composition, etc.
2023-11-09 18:47:46 +00:00
Joshua Ashton
59c1571e34
rendervulkan: Fix HDR heatmap with mura (off by a gamma 2.2)
2023-11-09 18:47:46 +00:00
Joshua Ashton
51bd7d03d1
rendervulkan: Only show heatmap when not in Steam
2023-11-09 18:47:46 +00:00
Keith Mikoleit
68fcc76a55
modegen: Support for VFP based modes for Galileo
2023-11-09 18:47:46 +00:00
Joshua Ashton
0dbf62aa6b
steamcompmgr: Add support for mura correction on Galileo with --mura-map
2023-11-09 18:47:46 +00:00
Joshua Ashton
075c5802a0
rendervulkan: Initialize CTM in BlitPushData_t quick path
2023-11-08 21:48:47 +00:00
Joshua Ashton
4e0d1f994e
steamcompmgr: Fix fps limiter when using gamescope_control
2023-11-08 15:49:17 +00:00
Joshua Ashton
76273dd4ef
rendervulkan: Fix broken fsr colours
2023-11-07 20:22:35 +00:00
Joshua Ashton
711285a20e
steamcompmgr: Add GAMESCOPE_DISPLAY_REFRESH_RATE_FEEDBACK
2023-11-07 17:19:33 +00:00
Joshua Ashton
10d28b9cb3
steamcompmgr: Make out of screenshot images not fatal
...
This shouldn't crash...
2023-11-07 16:19:48 +00:00
Joshua Ashton
1d468679da
rendervulkan: Bump pScreenshotImages to 9
...
8 pw buffers + 1 screenshot
Should fix crash on recording and screenshot at the same time
2023-11-07 16:18:33 +00:00
brndd
36ba0e2579
Fix KEY_102ND not working on ISO keyboards.
...
Signed-off-by: brndd <burneddi@protonmail.com>
2023-11-07 03:41:45 -08:00
Xaver Hugl
9d496c8b14
rendervulkan: apply hdr-debug-force-output option in nested mode
2023-10-30 22:21:44 +01:00
Joshua Ashton
04eb72b5f5
drm: [DEBUG] Set patched debug max frame avg luminance != max luminance for debugging
2023-10-25 23:40:50 +01:00
Joshua Ashton
5916bb2ce5
steamcompmgr: Fix race when sending refresh cycle
2023-10-25 07:52:00 +01:00
Joshua Ashton
8cee4f2e63
rendervulkan: Fix blend_tf
2023-10-25 07:05:30 +01:00
Joshua Ashton
d57b1026a3
drm: Add g_bForceAsyncFlips
2023-10-25 07:04:13 +01:00
Joshua Ashton
f52bd158e0
rendervulkan: Respect applyOutputColorMgmt for composite
2023-10-25 07:04:03 +01:00
Joshua Ashton
6b362ac5ff
rendervulkan: Add passthru colorspace
2023-10-25 07:03:56 +01:00
Joshua Ashton
50190f63c8
rendervulkan: Make CTM for alpha behaviour match AMDGPU
2023-10-25 07:03:51 +01:00
Joshua Ashton
812077adb0
rendervulkan: Fix typo somehow
2023-10-25 05:20:50 +01:00
Joshua Ashton
1ea301e070
color_helpers: Fix native whitepoint accuracy
2023-10-25 05:14:40 +01:00
Joshua Ashton
00ab272e2f
steamcompmgr: Unset SDL_VIDEODRIVER for child apps
2023-10-25 04:55:16 +01:00
Joshua Ashton
efee23b23a
rendervulkan: Be more explicit about setTextureSrgb
2023-10-25 04:53:12 +01:00