Commit graph

1353 commits

Author SHA1 Message Date
Joshua Ashton
c25a368193 rendervulkan: Turn composite debug into flags rather than bool 2022-12-30 03:21:55 +00:00
Joshua Ashton
269bbc8444 rendervulkan: Expose 16161616_UNORM format for surfaces 2022-12-30 03:21:55 +00:00
Joshua Ashton
b033bbe5f8 layer: Support for x86 and x86_64 builds at the same time 2022-12-30 03:21:55 +00:00
Joshua Ashton
6bc6a85d6d build: Add options for building layer/executable 2022-12-30 03:21:55 +00:00
Joshua Ashton
a50ead0357 layer: Respect vk_x11_override_min_image_count
Avoids regressing things
2022-12-30 03:21:55 +00:00
Joshua Ashton
3591f2d4ab layer: Dump surface state on creation 2022-12-30 03:21:55 +00:00
Joshua Ashton
a4f30a87ff layer: Only expose HDR formats when gamescope HDR output is enabled and it isn't blacklisted for this app 2022-12-30 03:21:55 +00:00
Joshua Ashton
acf76d6cff steamcompmgr: Add GAMESCOPE_HDR_OUTPUT_FEEDBACK
Exposes whether HDR output is currently enabled.
2022-12-30 03:21:55 +00:00
Joshua Ashton
1ab8757558 layer: Make getting property values generic 2022-12-30 03:21:55 +00:00
Joshua Ashton
efd47c3012 layer: Expose scRGB surface format 2022-12-30 03:21:55 +00:00
Joshua Ashton
418a84dfb7 steamcompmgr, rendervulkan: Add force wide gammut option 2022-12-30 03:21:55 +00:00
Joshua Ashton
06c7c3efff drm: Respect connector HDR capabilities 2022-12-30 03:21:55 +00:00
Joshua Ashton
0d86168480 drm: Respect app's HDR metadata 2022-12-30 03:21:55 +00:00
Joshua Ashton
70b74e73be drm: Hook up Colorspace and HDR_OUTPUT_METADATA 2022-12-30 03:21:55 +00:00
Joshua Ashton
b5bb169889 drm, rendervulkan: Hook up composite ST2084 output 2022-12-30 03:21:55 +00:00
Joshua Ashton
24a7c40c47 steamcompmgr, main: Add hdr atoms + startup options 2022-12-30 03:21:55 +00:00
Joshua Ashton
22806541e2 drm: Parse out HDR/colorimetry metadata from EDID 2022-12-30 03:21:55 +00:00
Joshua Ashton
b3347f32fa layer: Use string views
Safer than strcmp
2022-12-30 03:21:55 +00:00
Joshua Ashton
a0222d4142 layer: Log swapchain format 2022-12-30 03:21:55 +00:00
Joshua Ashton
29d5f8d3f9 layer: Respect xserver's id when overriding contents
Uses override_window_content2 now.
2022-12-30 03:21:55 +00:00
Joshua Ashton
7fffcc813c protocol, wlserver: Add override_window_content2 2022-12-30 03:21:55 +00:00
Joshua Ashton
71f7f1362f layer: Hook up SetHDRMetadata 2022-12-30 03:21:55 +00:00
Joshua Ashton
87b75026f8 protocol: Add set_hdr_metadata to gamescope_xwayland 2022-12-30 03:21:55 +00:00
Joshua Ashton
384cd9ad7d layer: Refactor SynchronizedMapObject usage 2022-12-30 03:21:55 +00:00
Joshua Ashton
99d3597600 layer: Minor formatting changes 2022-12-30 03:21:55 +00:00
Joshua Ashton
e4ab4ab5c9 layer: Consolidate extra surface format arrays 2022-12-30 03:21:55 +00:00
Joshua Ashton
703516c194 subprojects: Add libdisplay-info dependency 2022-12-30 03:21:55 +00:00
Joshua Ashton
440f85e8d9 layer: Handle nullptr pApplicationName 2022-12-30 03:21:55 +00:00
Joshua Ashton
b83516ed4e rendervulkan: Expose R8G8B8A8 surfaces 2022-12-30 03:21:55 +00:00
Joshua Ashton
d4ff3b4213 layer: Log colorspace for Gamescope surfaces 2022-12-30 03:21:55 +00:00
Joshua Ashton
a1d5c0583d shaders: Convert primaries for non-HDR10PQ formats when outputting to HDR10PQ 2022-12-30 03:21:55 +00:00
Joshua Ashton
47069426f7 rendervulkan: Handle manual sRGB->Linear for formats without SRGB views
We need these for 1010102 formats.
2022-12-30 03:21:55 +00:00
Joshua Ashton
83392e2afb layer: Fixup currentExtent surface cap + minImageCount 2022-12-30 03:21:55 +00:00
Joshua Ashton
1d8ce1c634 layer: Improve logging 2022-12-30 03:21:55 +00:00
Joshua Ashton
c2665304c3 rendervulkan: Hook up colorspace mask 2022-12-30 03:21:55 +00:00
Joshua Ashton
49a6c0f451 wlserver, steamcompmgr: Track swapchain feedback per-commit 2022-12-30 03:21:55 +00:00
Joshua Ashton
31e9e4b345 wlserver: Use swapchain feedback for tearing 2022-12-30 03:21:55 +00:00
Joshua Ashton
2aa4791ba0 layer, wlserver: Implement swapchain feedback 2022-12-30 03:21:55 +00:00
Joshua Ashton
1064ddcce7 layer: Expose HDR10 formats 2022-12-30 03:21:55 +00:00
Joshua Ashton
49aeaf31b8 rendervulkan, shaders: Support PQ+scRGB colorspaces + HDR10 output 2022-12-30 03:21:55 +00:00
Joshua Ashton
d3aa886373 shaders: Add colorimetry helpers 2022-12-30 03:21:55 +00:00
Joshua Ashton
7009ff4a9a rendervulkan: Expose 16161616F format
For scRGB.
2022-12-30 03:21:55 +00:00
Joshua Ashton
d80f0ce4b6 subprojects: Bump vkroots 2022-12-30 03:21:55 +00:00
Joshua Ashton
a162024467 rendervulkan: Expose 1010102 formats 2022-12-30 03:21:55 +00:00
Benjamin Cheng
67a908584d sdlwindow: request HiDPI window
If we ask for a HiDPI SDL window on Wayland, we can output
higher-resolution buffers to support the HiDPI case.

Closes: #551
2022-12-28 06:22:12 +00:00
Joshua Ashton
10e4c8d1e7 main: Force disable AMDVLK switchable graphics layer
This layer sucks butts and has done nothing but cause constant problems to me for the past 2 years.

Goodbye!

Closes: #725
2022-12-27 18:28:27 +00:00
Joshua Ashton
f863708a1f steamcompmgr: Disable NV12 screenshot hack
Closes: #716
2022-12-21 11:42:09 +00:00
Simon Ser
9f3e152d13 Wait for POLLIN instead of POLLOUT
POLLIN waits for the buffer to be ready for reading, POLLOUT waits
for writing.

In gamescope we're reading client buffers, so we need to use POLLIN.

We were using POLLOUT to workaround an amdgpu bug, but that got
fixed in kernel 5.15, so shouldn't be necessary anymore.
2022-12-20 10:12:52 +00:00
Simon Ser
bdd08a7b44 rendervulkan: print DRM format name 2022-12-09 13:32:18 +01:00
Joshua Ashton
7aef264dfc wlserver: Fix crash on Steam startup sometimes
Don't leave the pending surface list entry on the x11_surface_info in a bad state when it's only destroyed on the wayland side.
2022-12-07 18:47:54 +00:00