Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ChimeraOS/gamescope

SteamOS session compositing window manager
https://github.com/ChimeraOS/gamescope

drm: pass commit flags to libliftoff

We need to pass ALLOW_MODESET when we mean to set a mode, otherwise
libliftoff will always fail ...

9f64986fe308a3cc29599d922988ec863b5ac23c authored about 4 years ago by Simon Ser <[email protected]>
drm: don't reset bFirstSwap on error

d836e4d3eea0d65a6855bf701d55eb00acde072f authored about 4 years ago by Simon Ser <[email protected]>
Bump wlroots subproject to 0.12.0

8abe0c0868db34849b07c11c8d2013e1d75b06f8 authored about 4 years ago by Simon Ser <[email protected]>
steamcompmgr: handle both props in NET_WM_STATE message

ea1b5368cbc5cb17adbe2228e29b25054d4c7b91 authored about 4 years ago by Simon Ser <[email protected]>
steamcompmgr: read initial NET_WM_STATE value

Before the window is mapped, the client can set the initial NET_WM_STATE
directly in the window ...

a2e071c5578f3f3d2765b1161a4a44ff0e926498 authored about 4 years ago by Simon Ser <[email protected]>
steamcompmgr: handle NET_WM_STATE_TOGGLE

cce9981b57ebd440d77aeff5516d6e175df01cde authored about 4 years ago by Simon Ser <[email protected]>
sdlwindow: grab mouse when gaining focus

Sometimes we hide our window and show it again after some time.
SDL_SetRelativeMouseMode doesn't...

2922d963080bf99bad30afcfa2ff2f05dca6281d authored about 4 years ago by Simon Ser <[email protected]>
Update README.md

6cc28f8d7be5dfaefd0370462a1a294dbd97db52 authored about 4 years ago by Pierre-Loup A. Griffais <[email protected]>
rendervulkan: sanity check queue with vkGetPhysicalDeviceSurfaceSupportKHR

VUID-VkSwapchainCreateInfoKHR-surface-01270(ERROR / SPEC): msgNum: -1585220531 - Validation ...

cd31090733c0517ce786bcb32574d42daa81130f authored about 4 years ago by Simon Ser <[email protected]>
rendervulkan: log when SDL_Vulkan_CreateSurface fails

e1879015bdd991ace89b60f6e91db28c08e0f449 authored about 4 years ago by Simon Ser <[email protected]>
Explicitly enable VK_KHR_get_physical_device_properties2

VUID-vkCreateInstance-ppEnabledExtensionNames-01388(ERROR / SPEC): msgNum: -437968512 - Vali...

f6fb47ad12a294c1b280900d2dfbbade9af1d99f authored about 4 years ago by Simon Ser <[email protected]>
sdlwindow: improve SDL error handling

fdc8527d01f395e24a0f50e2c6b7dcb2dc0b9484 authored about 4 years ago by Simon Ser <[email protected]>
steamcompmgr: drop unused private field after f7d815a2037e

In file included from ../src/steamcompmgr.cpp:74:
src/steamcompmgr.hpp:75:7: warning: private fi...

e8c90981879449ef306c2acd2a783e6c9d108c67 authored about 4 years ago by Jan Beich <[email protected]>
build: fall back to system system deps without subprojects

`git archive` and `git clone` don't include submodules by default.
Downstream with up-to-date wl...

fc8c8fcfa8aa848d4f93a83ab7389b0dbd66f2b2 authored about 4 years ago by Jan Beich <[email protected]>
build: rename _dep vars to match pkg-config name

- wlroots_static_dep is wrong when dynamically linking system wlroots
- liftoff_dep contains a t...

50093f7ee6abbcc79cd294ac946d2504778e6267 authored about 4 years ago by Jan Beich <[email protected]>
build: abort if wlroots is too old or lacks xwayland

src/wlserver.cpp:28:10: fatal error: 'wlr/xwayland.h' file not found
#include <wlr/xwayland.h>
...

1488ccc923f62401628d8104000120b05cfbe5a5 authored about 4 years ago by Jan Beich <[email protected]>
steamcompmgr: add missing header

src/steamcompmgr.cpp: In function 'void statsThreadMain()':
src/steamcompmgr.cpp:357:62: error: ...

0416b5fe08dde8a8cf89796c171d2c4b06e35bde authored about 4 years ago by Jan Beich <[email protected]>
build: drop unused dependencies per -Wl,--as-needed

- pixman and libinput are only used by wlroots
- xfixes is used directly, not just via xdamage

6250685f0a5e7e6880b3d946a287df3c62b6180b authored about 4 years ago by Jan Beich <[email protected]>
wlserver: was wrong clickmode, we want 4, also fix some logic issues

667d8afc542b8cccdcdf5acbab801ae10bff8b7c authored about 4 years ago by Pierre-Loup A. Griffais <[email protected]>
wlserver: add touch passthrough support, if clickmode == 0

4f70525fc6b39918fbb725faa0aaa47f6a6d0cd8 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Update README.md

3a9aa01dedec0d482ab29c822ba430d85cf287a5 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
sdlwindow: add alternate refresh rate option when out-of-focus.

405f18b08d386ded27760355ddb4a09bb9ccbef2 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
vblankmanager: obey nested refresh rate if set

fd7a81547a599ffac2b6dc2a9f579695825733a2 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: still affect LD_PRELOAD if we strip everything from it

In cases where LD_PRELOAD only contained things we wanted to strip, we
weren't actually setting ...

afccf2a4d19dcc24ead71c749e0e2ffb33c45666 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: unset ENABLE_VKBASALT for subcommands

We only want gamescope's outermost swapchain to get hooked, similar as the
Steam overlay.

cdfe50d53baa658944ee6cd50cec7c50769126b1 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
rendervulkan: fall back to compute+graphics if compute-only can't be found

Should let people run against Intel and other non-AMD Mesa GPUs.

Also force compute+graphics if...

0619998a4964a0a5b0b63822a42122d231901ee0 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: gracefully exit stats thread if exists.

ebdd156df66f09cf1346c4816ff0083fdadf806e authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: gracefully exit imageWaitThread and steamcompmgr loop.

bff790eccbfe96fcdea23a44bc1ab0b17975b787 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
sdlwindow: mimic window shown.

d7a85b00d9342cd3dd4c30d1890d531885e578b4 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Add support for the system tray protocol

Blacklist system tray icons when deciding which window should have
focus.

Closes: https://githu...

08e8b048e9dde99d0999b415bec7c6a7db5c490c authored over 4 years ago by Simon Ser <[email protected]>
Remove hack checking the window size

We now properly detect system tray icons, no need for this hack anymore.

0a5ecb45a92b30bc12d3ac4c59f7950f09964263 authored over 4 years ago by Simon Ser <[email protected]>
Add nano sleep helper functions

325445a061f4a178effdf5147aa6720444cd534c authored over 4 years ago by Joshua Ashton <[email protected]>
Use nanoseconds for vblank timing

Avoids locking on-vblank
STL's clock's accuracy can be funky also.

bb9d0cdf8f06e0c1a276ba54c54258e08484a8f4 authored over 4 years ago by Joshua Ashton <[email protected]>
Cleanup vblankmanager

Keep everything on the same timescale.
Avoid using floats here when we can just use integer math...

9af5c3f254aa5e886de5697d3bd6470c93ec01d0 authored over 4 years ago by Joshua Ashton <[email protected]>
Add get_time_in_nanos to header

d49c95569b028ce38113559f53b2a514a8e32f2e authored over 4 years ago by Joshua Ashton <[email protected]>
Encode vblank time in client message

Eliminates the atomic hack here

50a508ae74f02b606137c4bbc566fa7ec2bb1ea8 authored over 4 years ago by Joshua Ashton <[email protected]>
Move nLayerCount and bSwapLayers to spec constants

Eliminates these comparisons being done from the constant buffer.

56442322cf7a45da8a401c765eb07cb86c8ecd4a authored over 4 years ago by Joshua Ashton <[email protected]>
Move layer info to CompositeData_t struct

Have a nice struct for us to copy into the constant buffer
once we eliminate nLayerCount and nSw...

b247f9f16400c4a31402104f23badee7817e62da authored over 4 years ago by Joshua Ashton <[email protected]>
Add demarcations to large time values

Increases readability

62b0a46cf360585dfedd33bb0ae25ee5054be63b authored over 4 years ago by Joshua Ashton <[email protected]>
Use MONOTONIC_RAW clock for vblank timing

``gettimeofday`` is expensive and suffers from NTP drift which means
we could miss vblank on tim...

c57eb1bf28cb3d8fe22da1216aa6a92bc3bafff2 authored over 4 years ago by Joshua Ashton <[email protected]>
Base get_time_in_milliseconds off get_time_in_nanos

Avoids NTP drift and ensures time is uniformly monotonic.

No need to implement differently, thi...

1b8ff8a5120b0df65043b1760755c76916626a34 authored over 4 years ago by Joshua Ashton <[email protected]>
Add to-do note for frame submission time

d9920c90876e129b0d12ace10703c7c8ecf254aa authored over 4 years ago by Joshua Ashton <[email protected]>
Add an option to start in fullscreen if nested

5954361cc328b71eb1dff98cff7e0980cdaf65bf authored over 4 years ago by Oschowa <[email protected]>
Setup an X IO error handler

The default erro handler calls exit(), which doesn't work well when
multiple threads are involve...

f268c17fb1210cc0fc649d42c3c6622add2e1dd6 authored over 4 years ago by Simon Ser <[email protected]>
rendervulkan: don't mix designated and non-designated initializers

1ecb8d3b46a22466c4470884ecbe33fe516dc00f authored over 4 years ago by Oschowa <[email protected]>
steamcompmgr: don't use 'd' suffix on float constant.

Fixes clang build error.

9d6b37ee226e555f49b6071afbe3ad0190fa4042 authored over 4 years ago by Oschowa <[email protected]>
Different method of bumping priority.

Calling nice() in the very beginning ensures that Mesa worker threads in
gamescope and Xwayland ...

e1d49373100a7bfacd8de5a66b9d3d70a887fa7f authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Exit with status 1 on error

f70308a36fd1626ded54f3f371685015d5df3ad4 authored over 4 years ago by Simon Ser <[email protected]>
steamcompmgr: also set thread priorities for ourselves and Xwayland.

Avoid setting it for our children processes, by spawning them in a new
thread group and setting ...

60ecb0f1f8bbf2531fcb4150b0e08424790e85af authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: better error handling for Vulkan device create failure.

alarm!!!

79d85ed53273c5fb4fe99d977fe7e1002e2fc7a9 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
rendervulkan: use realtime priority async compute if CAP_SYS_NICE is set.

Fixes: https://github.com/Plagman/gamescope/issues/20.

22f20882b9f291bb1aa51436bc54374fc41a0b2e authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
sdlwindow: put all the SDL I/O code in the same spot.

79cb130dcceda94700d8977e817cb1a9de561d1e authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: ignore vblank messages if we get them too late.

81b8e8c33c4e8aeafa09a6aead91876a34f84894 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: show which window we're pushing commit waits for.

b196cd063b397dd95c421c9e332ccac8fe5add6f authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: add 100ms timeout for commit wait thread.

poll() inexplicably blocks forever for some commits right now, this helps
a bit while we underst...

8854cd8bd67a01ddacf4f183ffc25b78410fde27 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
drm: add gpuvis error spew when failing a legacy flip.

9f183ae76c07853da2c98423a1e0a3dec4d17331 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
main: set R600_DEBUG=nodcc ourselves if we have a sub-command.

We know it's strictly better than not having it in the current state,
so might as well, if we kn...

11dd8014ad8de6a3ab0c1cdb7d307d97d22d3b1a authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Add wlr_buffer to commit queue

This lets us keep the buffers for pending commits locked.

d88cfec0c273e4a13948076d5fc76c51ea4f2e64 authored over 4 years ago by Simon Ser <[email protected]>
Hold buffers till steamcompmgr processes them

c2d9b23d08acac42198704e515a00572bdc966d9 authored over 4 years ago by Simon Ser <[email protected]>
Hold client buffers till KMS stops using them

aac57e7c759f1a7156c829f64012b7617b8b08b5 authored over 4 years ago by Simon Ser <[email protected]>
Copy commit queue in check_new_wayland_res

This will allow us to call wlr_buffer_lock/unlock in import_commit without
causing a deadlock.

31a07134559f63811eaee3ce6678881c1b94da58 authored over 4 years ago by Simon Ser <[email protected]>
wlserver: use gamescope-N wayland display name.

Letting wayland use the default makes random things connect to us, which we
don't want.

Fixes h...

2a98d2b85ae432e52df3a43e3a431f82e84574ed authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Remove whitespace at the end of rendervulkan.cpp

d36a11d39fc4cf355be3835c81b4cb35c7a37b17 authored over 4 years ago by Simon Ser <[email protected]>
Read window title

Prefer _NET_WM_NAME since it's UTF-8. Fallback to WM_NAME if the client
doesn't support it.

Clo...

9a78452a41b71399bcd2f04af2b93ac8fdeb06a8 authored over 4 years ago by Simon Ser <[email protected]>
Fix buffer overflow when reading WM_NAME

XTextProperty doesn't guarantee the string will be null-terminated.

5076ec15867c21dffc023bf7462e397cf2203a46 authored over 4 years ago by Simon Ser <[email protected]>
Extract client message event handling in function

No logic changes, just shuffling code around.

6eb108d3bc366cb98ad70f310b94b078f2a12c24 authored over 4 years ago by Simon Ser <[email protected]>
Extract PropertyNotify event handling in function

No logic changes, just shuffling code around for better readability.

0a1bf2e81f3de68aac196ee3b15f90cd113be6c4 authored over 4 years ago by Simon Ser <[email protected]>
Fix alloc-dealloc-mismatch in vecNewEnviron

==2654441==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs operator dele...

3096c1e9cf602c8cb415d56502f04b5dbbecb4ce authored over 4 years ago by Simon Ser <[email protected]>
Switch commit waiting over to polling the DMA-BUF fd.

Remove the implicit sync Vulkan fence hack, it took us 0.2ms of GPU time
to prepare the 1x1 copy...

6dd7f605408faff977ac3b50bf2ba050647748be authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
rendervulkan: fix typo and some easy validation errors.

Needs more correctness around layout transitions still.

165946fad98f2b8ce8037e144b357aeac8d02ab0 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Implement screenshot support.

Mostly in rendervulkan. Super+S or SIGUSR2.

df38bea74740700ee672cd50cc885a161bb9f824 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: disable Steam overlay for sub-command

If running through Steam, we want the overlay hooked into gamescope and
not the underlying game,...

4a5cd5d2bd07cf6e5586f37bd9e93e17278b81bc authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
wlserver: fix use-after-free in surface destroy path.

The new-ish code to listen for destroy on surfaces on the wlserver side
installs a dynamic liste...

669183c1e23d798502d7ebd1c98da56e4deae223 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: fix valgrind warning in size hints code.

74f831f29024ac26da7a50e57c7459140abac15f authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: zero-initialize some cursor stuff that used to be global.

7fedd8251b452e8ea7f51432e73295d51c30ae92 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: set WM_STATE

Closes: https://github.com/Plagman/gamescope/issues/79
Closes: https://github.com/Plagman/gamesc...

c6d7ef0be2add3b1050169b085ce33a56104401c authored over 4 years ago by Simon Ser <[email protected]>
steamcompmgr: add _NET_WM_STATE to supported atoms

535fa8c7e5e7876181596c338bfd7209cd820e83 authored over 4 years ago by Simon Ser <[email protected]>
steamcompmgr: check message_type in NET_WM_STATE handler

d3f3acde747772a39a2534abd2ffdc1f59d72bb8 authored over 4 years ago by Simon Ser <[email protected]>
steamcompmgr: set _NET_WM_STATE_FOCUSED

9889d4f5214b13af0a8ecf9159f674ed8bcae4e4 authored over 4 years ago by Simon Ser <[email protected]>
Update Mesa requirement

Building a Mesa branch is no longer needed. Instead, a recent enough
Mesa will do.

79ab59c05d3affb0e6bc85a0f2f15432c4a72bb3 authored over 4 years ago by Simon Ser <[email protected]>
Rename NET_WM_STATE_* Atom globals

Give them a less misleading name, because WM_STATE is a separate thing.

3b9f8a6d85957908f08152ac6b2c5012845f71a2 authored over 4 years ago by Simon Ser <[email protected]>
steamcompmgr: use initializer for supported atoms

Makes it less error-prone to add atoms to the list.

aa853dbb76482351d3fc4d91b1dee9cdcf1b048b authored over 4 years ago by Simon Ser <[email protected]>
steamcompmgr: also allow override redirect windows out-of-game

Only if there's no alternative. Useful for Steam updater screen.

272699656fa52823e2d203186c4a1b760846963a authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: flip opacity default and ignore transparent windows for focus

Origin has a bunch of sub-windows that are fully translucent until remapped.

695fc4eb17c3994a93defb26442f165830726f66 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: add focus debug optional spew

a24b3ba0088373833ca9655c65ce51aa8acee3f9 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Remove unused CVulkanTexture::m_DMA

d7132a2397b38ca053c2afb5609c48a6946fcb28 authored over 4 years ago by Simon Ser <[email protected]>
Fix DMA-BUF leak in CVulkanTexture with bFlippable

We were storing the DMA-BUF in a CVulkanTexture field, without using it
after BInit, and without...

dd4d035808addf7c9694e0e423a12c1881e54cd9 authored over 4 years ago by Simon Ser <[email protected]>
Revert "Hold buffers till steamcompmgr processes them"

This reverts commit 98e263c37d77a9f50eff341be244e1da3ff3fe56.

69bcb1b339bb51c678d149e878b132048a19fd23 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Revert "Add wlr_buffer to commit queue"

This reverts commit 789f009a531eb9e79cd8a47418ebdd057155bdb1.

da81b37d07b787aa62cccfeeef9afca03f51e83d authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Revert "Copy commit queue in check_new_wayland_res"

This reverts commit 9c9a8093ee59eb955c36e10597efd18842865726.

0757f2676b30ab399e7d39437585843dc28e9ab4 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Revert "Hold client buffers till KMS stops using them"

This reverts commit c9e11ebdbf474a61a64831b02f5b2d3d348dfe8d.

fb2fd1127a0231778ad86d243054da8a3709b811 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Update README.md

a39fddf90908339acdf5dccb8dd39c04b9e6f41d authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Don't use VK_STRUCTURE_TYPE_WSI_IMAGE_CREATE_INFO_MESA for imported DMA-BUFs

We don't know whether clients create scanout-able DMA-BUFs.

77722293f39cd817fcf58e4cec101a4cd470b6d3 authored over 4 years ago by Simon Ser <[email protected]>
Hold client buffers till KMS stops using them

c9e11ebdbf474a61a64831b02f5b2d3d348dfe8d authored over 4 years ago by Simon Ser <[email protected]>
Copy commit queue in check_new_wayland_res

This will allow us to call wlr_buffer_lock/unlock in import_commit without
causing a deadlock.

9c9a8093ee59eb955c36e10597efd18842865726 authored over 4 years ago by Simon Ser <[email protected]>
Add wlr_buffer to commit queue

This lets us keep the buffers for pending commits locked.

789f009a531eb9e79cd8a47418ebdd057155bdb1 authored over 4 years ago by Simon Ser <[email protected]>
Hold buffers till steamcompmgr processes them

98e263c37d77a9f50eff341be244e1da3ff3fe56 authored over 4 years ago by Simon Ser <[email protected]>
Get DMA-BUF from wlr_buffer if possible

wlr_texture_to_dmabuf involves issuing EGL commands to get a DMA-BUF out
of an EGLImage.

When t...

b7505b23cf284ddc588c84764fc48e783af0a165 authored over 4 years ago by Simon Ser <[email protected]>
wlserver: listen for new_input on the multi backend

The multi backend aggregates all input devices. No need to have a
different listener for headles...

4ddb892d4f643a7e5a06e73faae2d3126074c685 authored over 4 years ago by Simon Ser <[email protected]>
Upgrade to wlroots 0.11.0

7785ed9cdb97d1855b3dfcec56fdc09e7ca4d802 authored over 4 years ago by Simon Ser <[email protected]>