Commit graph

1149 commits

Author SHA1 Message Date
Joshua Ashton
ff14b6a5dd steamcompmgr: Add workaround for Warframe (230410) launcher's language dialog 2022-05-09 01:12:14 +00:00
Joshua Ashton
27eaf5f926 steamcompmgr: Add support for retrieving motif hints 2022-05-09 01:12:14 +00:00
Joshua Ashton
964a9b15cf steamcompmgr: Initialize maybe_a_dropdown 2022-05-09 01:12:14 +00:00
James Jones
22660ce088 drm: Skip gamma LUT on CRTCs that don't support it
On hardware and drivers that don't support a gamma
LUT property, don't attempt to generate or set
one. Log the lack of gamma LUT support at the
informational level.
2022-05-06 22:45:44 +02:00
James Jones
e24348da39 main: Raise the file descriptor limit at launch
Gamescope currently uses 1024 VkFence objects to
synchronize CPU and GPU work. The NVIDIA Vulkan
driver currently creates a file descriptor for
each VKFence object created. To ensure there are
sufficient file descriptors, attempt to raise the
limit to 2048 file descriptors if it is currently
lower than that. Failure to raise the limit for
any reason is non-fatal, as the increased limit
is not required on some drivers.
2022-05-06 22:45:44 +02:00
Sam Lantinga
a32244de62 Switched the default YUV color conversion to full range BT.709
This matches the hardware color conversion on Steam Deck
2022-05-05 01:03:46 +00:00
Joshua Ashton
2855219311 wlserver: Add WLSERVER_TOUCH_CLICK_DISABLED 2022-05-03 23:55:08 +00:00
Joshua Ashton
4a153094b5 steamcompmgr: Fix setting dynamic refresh without FPS limit 2022-04-28 01:40:53 +00:00
Sam Lantinga
d4bdeb71e2
ime: fix typing the EURO symbol using the on-screen keyboard 2022-04-27 19:03:28 +02:00
Simon Ser
1b54be4aca pipewire: add support for DMA-BUFs 2022-04-27 14:04:43 +02:00
Simon Ser
3c2235dadc pipewire: acquire textures in stream_handle_add_buffer 2022-04-27 14:04:43 +02:00
Simon Ser
0c5dcc5ba3 rendervulkan: add exportable flag to vulkan_acquire_screenshot_texture 2022-04-27 14:04:43 +02:00
Simon Ser
b5c0a0f7fe pipewire: group shm-specific fields 2022-04-27 14:04:43 +02:00
Simon Ser
6b59f377ce rendervulkan: make caller responsible for providing screenshot texture 2022-04-27 14:04:43 +02:00
Joshua Ashton
4d631e240e steamcompmgr: Fix a regression in FO4 with win_maybe_a_dropdown and document 2022-04-26 04:16:43 +00:00
Joshua Ashton
0865717165 steamcompmgr: Don't follow transients if we have a focusControlWindow 2022-04-26 04:06:56 +00:00
Joshua Ashton
3e81a24171 steamcompmgr: Only set GAMESCOPE_FOCUSED_APP in steam mode
Closes: #416
2022-04-26 00:51:06 +00:00
Simon Ser
f810a8563d Add exportable flag to CVulkanTexture 2022-04-23 23:13:17 +00:00
Alistair Findlay
accadbb291 Fixed typo - "renegociating" changed to "renegotiating" 2022-04-23 10:01:25 +02:00
Alex Maras
b5aa05ae8f
sdlwindow: Handle SDL_WINDOWEVENT_CLOSE 2022-04-20 17:16:36 +02:00
Joshua Ashton
34957bc383 rendervulkan: Don't enable VK_KHR_image_format_list
This is in 1.2 now
2022-04-18 16:09:20 +01:00
Joshua Ashton
ce1c428788 rendervulkan: Use float16 in Vulkan 1.2 now 2022-04-18 16:09:20 +01:00
Joshua Ashton
76aad316ce rendervulkan: Use timeline semaphores for scratch cmd buffers (used for imports, etc) 2022-04-18 16:09:20 +01:00
Joshua Ashton
e478a746a5 rendervulkan: Create Vulkan 1.2 device
For timeline semaphores. It's common enough for us to do that now.
2022-04-18 16:09:20 +01:00
Joshua Ashton
a85d71cc9e steamcompmgr: Don't require a fps limit for dynamic refresh 2022-04-17 22:55:46 +01:00
Joshua Ashton
34c6904234 wlserver: Be more defensive in content_override_handle_surface_destroy
Better to be defensive here than crashing.
2022-03-25 23:13:05 +00:00
Joshua Ashton
45ba90bc40 steamcompmgr: Don't XSelectInput PointerMotionMask
Otherwise it can end up not propogating to windows properly, and they will never recieve the PointerMotion event.

All this seemed to be doing was trapping what was going to be sent to the game, and then using it, despite us already always knowing the cursor position.
2022-03-24 22:54:17 +00:00
Joshua Ashton
c7962c3e6b steamcompmgr: Tie break by map sequence before damage sequence 2022-03-24 18:58:23 +00:00
Joshua Ashton
e4a517b4b8 steamcompmgr: Handle maybe dropdowns better + resolve override transients after finding a first transient
Fixes regressions in TES:IV Oblivion launcher + Zwei launchers
2022-03-24 18:53:47 +00:00
FlightlessMango
6d0c84d163 mangoapp: send focusWindow pid 2022-03-19 01:35:19 +00:00
Pierre-Loup A. Griffais
9b5e6d8fd9
Update LICENSE 2022-03-18 13:51:15 -07:00
Joshua Ashton
9eb7445a62 steamcompmgr: Move 1x1 windows down the priority queue below override redirects
Fixes Origin launcher being parented to a 1x1 centred window.
2022-03-18 17:36:35 +00:00
Joshua Ashton
49125a2d17 steamcompmgr: Ignore win_skip_taskbar_and_pager for maybe overrides 2022-03-18 17:29:19 +00:00
Joshua Ashton
499573c5fb steamcompmgr: Ignore overrides that are 1x1 2022-03-18 16:34:21 +00:00
Joshua Ashton
edbf409d07 steamcompmgr: Fix transient following for maybe dropdowns
For Warframe language selection (but not specifically, this is just the right thing.)
2022-03-18 00:07:23 +00:00
Joshua Ashton
e30b5636b0 steamcompmgr: Fix dialog preference check
For Warframe language selection.
2022-03-18 00:07:20 +00:00
Joshua Ashton
8a3a0893cd steamcompmgr: Tie-break dropdowns w/ transient-for presence
For Warframe language selection.
2022-03-18 00:07:16 +00:00
Joshua Ashton
ade9eca823 steamcompmgr: Fix gravity + position check for determining maybe a dropdown state
For Warframe language selection.
2022-03-18 00:07:12 +00:00
Joshua Ashton
be4b83cff2 steamcompmgr: Handle potential dropdowns better in focus order
For Warframe language selection.
2022-03-18 00:07:00 +00:00
Joshua Ashton
a913f8566f steamcompmgr: Don't disable dynamic refresh when the QAM/Overlay comes up 2022-03-11 22:46:08 +00:00
Philip Nilsson
d3d0bc189e sdlwindow: Fix extra mouse button mapping
This changes the mouse button mapping in gamescope to match the mapping in SDL2-2.0.20:src/core/linux/SDL_evdev.c.

Fixes issue #234.
2022-03-02 20:41:33 +01:00
Simon Ser
66f603e6c4 ime: use default keymap if possible 2022-03-01 18:46:51 +00:00
Simon Ser
279321fa73 ime: fix utf8_size for the NUL character 2022-03-01 18:46:51 +00:00
Joshua Ashton
82948d87e0 steamcompmgr: Make maybe_an_override path respect focus window's appids and good candidate state 2022-02-27 09:41:10 +00:00
Joshua Ashton
bfefe62933 steamcompmgr: Fix on-screen check for override candidates
Fixes Apex Legends Origin signup via. Steam Overlay browser
2022-02-27 09:36:34 +00:00
Joshua Ashton
5b8f9e6a64 steamcompmgr: Handle some non-explicit dropdowns
Fixes Rockstar Launcher dropdowns
2022-02-25 08:40:31 +00:00
Joshua Ashton
8597753b75 steamcompmgr: Fix integer scaling when supersampling 2022-02-25 08:02:18 +00:00
Joshua Ashton
e190d55f65 steamcompmgr: Exclude skip taskbar + page & 1x1 windows & override redirects from reported focusable windows 2022-02-25 06:59:07 +00:00
Joshua Ashton
58a9aa6543 steamcompmgr: Bring back inputFocusMode 2
Now we have input split properly, we can have this again.
2022-02-23 23:33:30 +00:00
Simon Ser
7004d98223 drm: add support for DP-MST connectors
These are created/destroyed dynamically by the kernel.
2022-02-23 23:07:21 +00:00