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

wlserver: downgrade wlserver_surface_set_wl_id assert to spew

496b5f58d2882690c0cc415b242c133ea91a8b9c authored over 3 years ago by Pierre-Loup A. Griffais <[email protected]>
Fix cursor not using linear layout

6f54b51a6ce1b7be706996349eefd2c8385a423a authored over 3 years ago by Simon Ser <[email protected]>
Log errors in CVulkanTexture::BInit

bf5123e19bf3a51c0cd64bfbe14c97bde4bfe235 authored over 3 years ago by Simon Ser <[email protected]>
Make args const in drm_prepare

d1ff01c134614e0d23e911d3dfbf9a65aab8fe67 authored over 3 years ago by Simon Ser <[email protected]>
Also spew wayland display name through session pipe.

2bb49079937e406d4d472994645f75ec3c722f61 authored over 3 years ago by Pierre-Loup A. Griffais <[email protected]>
Fix planes offset/stride for multi-planar buffers

References: https://github.com/Plagman/gamescope/issues/49

a85c8d761c48789b1cc2055afa1d62cba382ccda authored over 3 years ago by Simon Ser <[email protected]>
Don't query COLOR subresource layout with modifiers

According to the spec, this is invalid:

> If the tiling of the image is VK_IMAGE_TILING_DRM_FOR...

c9b50008123a1c9c33ad7685b639ff5e5febf698 authored over 3 years ago by Simon Ser <[email protected]>
Add more error messages

3a6895a4b863b9bb4aaaaf2fdaaaefeeee61fa45 authored over 3 years ago by Simon Ser <[email protected]>
Use libliftoff by default

Remove the -l option. Introduce a -L option to disable libliftoff.
Don't use the same option to ...

cb0eace6d126f602b0363e1f3ece2d3fdd7adddd authored over 3 years ago by Simon Ser <[email protected]>
Don't set R600_DEBUG=nodcc if Vulkan supports modifiers

This can cause issues with Xwayland. Setting R600_DEBUG=nodcc
prevents Xwayland from being able ...

a99c5f7a1ccc283aaa2d08563148d72a282386a8 authored over 3 years ago by Simon Ser <[email protected]>
Unify getopt string

De-duplicate its definition, so that we don't forget to update a
string when we update the other.

3b9f845dad4233b75c05845c3d764c9c35319c19 authored over 3 years ago by Simon Ser <[email protected]>
Rename wlserver_surface_set_id to wlserver_surface_set_wl_id

Make it clear the ID refers to a Wayland object.

ce0a3f725904f554e4c6d1bf971eb98a79a1a4ab authored over 3 years ago by Simon Ser <[email protected]>
Set GAMESCOPE_WAYLAND_DISPLAY

This allows gamescope-specific Wayland clients to connect to the
Wayland server, while preventin...

be735e9360c008d5c5bb0e030a57b3f70c87236c authored over 3 years ago by Simon Ser <[email protected]>
rendervulkan: add NV12 support

This doesn't yet display correct colors, and tiling artifacts are
visible.

910fba100892e2a063b8dc0b8ab67ee0611a64f8 authored over 3 years ago by Simon Ser <[email protected]>
Relax Vulkan import plane check

Try to import multi-planar textures even if we don't have a
modifier. This is the case for e.g. ...

0aa74266c4bf47d915512248407c3270ece6ca1a authored over 3 years ago by Simon Ser <[email protected]>
Implement gamescope-xwayland protocol

a05e5b0a399c3f28cc519a552ef348802eba81d9 authored over 3 years ago by Simon Ser <[email protected]>
wlserver: adjust assertion in wlserver_surface_set_wlr

Make sure we don't overwrite an existing surf->wlr. We don't really
care about the Wayland surfa...

10816e6ed85f502e5e08dff827759d18d4963068 authored over 3 years ago by Simon Ser <[email protected]>
rendervulkan: log whether DRM modifiers are supported

b3f3f6c92de64ba05a7c96d98ad656671c830600 authored over 3 years ago by Simon Ser <[email protected]>
Add gamescope-xwayland protocol

6f8e25dc89521f91c0a069a24f7b437d898ef8c2 authored over 3 years ago by Simon Ser <[email protected]>
rendervulkan: log supported DRM formats

5f36d1060c428e9ae8afbe8bfbb966f88494df6b authored over 3 years ago by Simon Ser <[email protected]>
readme: use shell syntax for example comments

db14ce1eeb36239231027e29a51ef164151e835f authored over 3 years ago by Simon Ser <[email protected]>
readme: format keyboard shortcuts as a list

f66c8057f62661ee32825a4b6510e77d7b92588f authored over 3 years ago by Simon Ser <[email protected]>
readme: improve formatting a bit

bfe9777abc1cfae9a38211829b7c7b8ee650113b authored over 3 years ago by Simon Ser <[email protected]>
readme: document end-user options

f283207cedd109465c07a05467dce336c4d7e1e5 authored over 3 years ago by Simon Ser <[email protected]>
readme: R600_DEBUG=nodcc is only required on GFX8-

1a8a4bdcf50de40c1be890b1092c26b42136fb71 authored over 3 years ago by Simon Ser <[email protected]>
build: force-enable xwayland in wlroots subproject

This should give a better error message if xwayland deps are missing.

bee939e691f499f2ef141b9f7b6440f8964c6ecf authored over 3 years ago by Simon Ser <[email protected]>
build: update wlroots system dep version

e76d82828bc665698ca8a54e63e24c26cc311c19 authored over 3 years ago by Simon Ser <[email protected]>
build: simplify wlroots xwayland check

25a0a75811c075a5df107b83158a37155b5e77cd authored over 3 years ago by Simon Ser <[email protected]>
Add .editorconfig

21ab0dd37274f4e2b6dd19e92ecd0fb2bf87c66e authored over 3 years ago by Simon Ser <[email protected]>
Update wlroots to 0.13.0

Update usage of wlr_headless_backend_create,
wlr_renderer_get_shm_texture_formats,
wlr_texture_f...

ed44909813c1e623828d5af4537a3b76033194d3 authored over 3 years ago by Sefa Eyeoglu <[email protected]>
Introduce wlserver_surface

c834999a5f343cf48f91ebb51627451a16249098 authored over 3 years ago by Simon Ser <[email protected]>
Add support for multi-planar DMA-BUF Vulkan export

4f24653d776f570b437182c4fecb9b82d203b1ea authored over 3 years ago by Simon Ser <[email protected]>
Query plane 0 layout with VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT

a900bef8b8c9c1b53e91463edefe2b1ae52c29e0 authored over 3 years ago by Simon Ser <[email protected]>
Query image modifier on Vulkan DMA-BUF export

ff33a3738e77ee5898f5b073c0c7e96316f3b1dc authored over 3 years ago by Simon Ser <[email protected]>
Only advertise scanout capable modifiers

df18c4081582074662d825b807f464060ffacf45 authored over 3 years ago by Simon Ser <[email protected]>
rendervulkan: add support for legacy wl_drm buffers

There are still clients (e.g. steam) not supporting modifiers at
all.

b8ab5a74ee9c6788f4662658893599ba51e94a64 authored over 3 years ago by Simon Ser <[email protected]>
Pass list of modifiers when allocating with Vulkan

This allows us to remove the wsi_image_create_info hack when
modifiers are supported.

Reference...

26a25b1d2978ec3e5bd5fa63bc1b923197579dae authored over 3 years ago by Simon Ser <[email protected]>
fix: update liftoff log initialisation

Also: Update liftoff dependency to b08bbaa5e6331ed2
("Split liftoff_log_init into set_handler an...

774002483b310a7188a9c43179ada6728f8ab790 authored over 3 years ago by Sefa Eyeoglu <[email protected]>
steamcompmgr: disable XRes1.2 support by default.

Can re-enable it once an XRes release with this fix has been tagged for a bit:

https://gitlab.f...

7dfb55c8a8db62ac97d53549ab3a3d230c24f3d8 authored over 3 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: make cursor hide time configurable, -C in ms

5936baa86596d5668427cde24deb5980b5826679 authored over 3 years ago by Pierre-Loup A. Griffais <[email protected]>
Print error if poll fails in imageWaitThreadMain

8f9a284d32be04cf4a8e9bea23b872ab107bc377 authored almost 4 years ago by Simon Ser <[email protected]>
tracing: use {begin,end}_ctx helpers, remove unnecessary newlines

29d00dbc68fb7c00b14bcaa8ec033a3c39efc0e5 authored almost 4 years ago by Simon Ser <[email protected]>
drm: fix missing flag in drmModeAddFB2WithModifiers call

That's a nice footgun right here.

36c8b983eecd75e03b918af2acf33d636b12cf1c authored almost 4 years ago by Simon Ser <[email protected]>
drm: check DRM format/modifier prior to addfb2

7633401874a416e4d0756ab00d9f169eb8c716ad authored almost 4 years ago by Simon Ser <[email protected]>
drm: build set of scanout capable formats

f89f585cdd15ffaf340746809346df5b56461513 authored almost 4 years ago by Simon Ser <[email protected]>
drm: store KMS props in a map

706bdf849e30e47609ba1e8de45b8862c695b572 authored almost 4 years ago by Simon Ser <[email protected]>
drm: remove obscure macros

47fed361cddb1f75e083ed236c7c17731fbf93ac authored almost 4 years ago by Simon Ser <[email protected]>
drm: whitespace fixes

9f07d66143855088848f66784e02dfcd08107250 authored almost 4 years ago by Simon Ser <[email protected]>
Log when tracing is enabled

1dc98da7d1b8ed77456314f06b2450a810775dea authored almost 4 years ago by Simon Ser <[email protected]>
Always print error on missing DRM_CAP_ADDFB2_MODIFIERS

ad06b347ee2207392f7dbc1acee30f5743170b47 authored almost 4 years ago by Simon Ser <[email protected]>
Fix is_focus_priority_greater function

0f96db3dc29e88fd48f4f74c2e49f67aa75e480f authored almost 4 years ago by Simon Ser <[email protected]>
drm: remove workaround for small buffers

Even if we get EINVAL, we'll just return false later on.

2d992653a048477b21f79931cbefac30cb0858d5 authored almost 4 years ago by Simon Ser <[email protected]>
drm: remove duplicate assert

c0fba1fe9f3b029aeee52bd6a30c7924775939fe authored almost 4 years ago by Simon Ser <[email protected]>
drm: simplify rotation in drm_prepare_basic

29a23e90e17832c92cf6f2f48ac165d8beeadeaa authored almost 4 years ago by Simon Ser <[email protected]>
Revert "Remove bogus ARGB8888 entry from Vulkan format list"

This reverts commit 202915271e089a09321d81478b2568842fde2a13.

We actually need this format for ...

141f2cf3749880b4aff3c354c7a78e47044053d9 authored almost 4 years ago by Simon Ser <[email protected]>
fix: update libliftoff pkg-config dependency

emersion/libliftoff@470af77869bea2d005973d7e7f0c2c08cc838e6a changed the
name of the pkg-config ...

72c629638d9e64f282ba362294862dd05915f6f1 authored almost 4 years ago by Sefa Eyeoglu <[email protected]>
rendervulkan: assert DRM format is valid when exporting DMA-BUF

79acc095b23478944610f64f2f4c215085bbbca9 authored almost 4 years ago by Simon Ser <[email protected]>
Move Vulkan init into main

Some Wayland server setup will need Vulkan initialized.

49e0cc046e284f9fda19f83e25564a6a7110df63 authored almost 4 years ago by Simon Ser <[email protected]>
Remove bogus ARGB8888 entry from Vulkan format list

202915271e089a09321d81478b2568842fde2a13 authored almost 4 years ago by Simon Ser <[email protected]>
Add TODO about multi-planar DMA-BUFs and vkBindImageMemory

b37880c62f70f78fc60f3a011093a6f47a4af371 authored almost 4 years ago by Simon Ser <[email protected]>
drm: initialize handles before drmModeAddFB2WithModifiers

This fixes a drmModeAddFB2WithModifiers EINVAL.

9b63bf755e9c83d24ebf9fa8bdb0fbf86daceb0a authored almost 4 years ago by Simon Ser <[email protected]>
Don't scale games by default

Right now scale games by default to 720p even if the screen is 1080p.
This happens when -w/-h is...

7eb7e8ec6348cf530c548c311c7475938a5f5ea9 authored almost 4 years ago by Simon Ser <[email protected]>
Query window PID via XRes

References: https://github.com/Plagman/gamescope/issues/17

70af2c38f0f19d3bae7a7360fd967cc0cd8c3488 authored almost 4 years ago by Simon Ser <[email protected]>
steamcompmgr: store SKIP_TASKBAR and SKIP_PAGER hints

c26d86a7946254b0ba256ce0700df7924e0658ad authored almost 4 years ago by Simon Ser <[email protected]>
steamcompmgr: prefer to focus windows without SKIP_{TASKBAR,PAGER}

Closes: https://github.com/Plagman/gamescope/issues/87

0beb34b9d5d2b265d9480e7f8104cfb1d99b0499 authored almost 4 years ago by Simon Ser <[email protected]>
steamcompmgr: simplify focus logic

Use std::sort instead of a complicated loop.

0275e7839ddccd257212b85bd65867bdb1df4bf8 authored almost 4 years ago by Simon Ser <[email protected]>
Fix typo in drm.cpp

bce006fd709f1487ca7567804299537753277d8c authored almost 4 years ago by Simon Ser <[email protected]>
Cherck all imported DMABUFS are equal.

Otherwise we need Vulkan support for the disjoint bit.

d537d6ac98fe6eccafda206dec0dd99c337f648c authored almost 4 years ago by Bas Nieuwenhuizen <[email protected]>
Support Vulkan modifier-based imports using VK_EXT_image_drm_format_modifier

Tested with radv + radeonsi + glxgears on navi21 to work with DCC (assuming
the nodcc bit is dis...

722201c5c2d3f6d1849307a8326ada3d21ee3e74 authored almost 4 years ago by Bas Nieuwenhuizen <[email protected]>
Add support for modifiers in drm_fbid_from_dmabuf

bb205a41b0e57f5c8fc14d42b4505de0c26c3f24 authored almost 4 years ago by Simon Ser <[email protected]>
Read DRM_CAP_ADDFB2_MODIFIERS

c7c917e39a865aa3fbf38ad82209bf490078857b authored almost 4 years ago by Simon Ser <[email protected]>
Zero-initialize DRM globals

Let's make sure we don't run into uninitialized values.

4e6204e07940066fd13d232487483a5168bbc9b2 authored almost 4 years ago by Simon Ser <[email protected]>
Add support for multi-planar buffers in drm_fbid_from_dmabuf

32ebfeb49884e498f4434817c3ce05dcd59786a3 authored almost 4 years ago by Simon Ser <[email protected]>
Don't crash when KMS rejects client FB

If the client provides a DMA-BUF that cannot be scanned out, don't
crash. We should just fallbac...

17c74e3e6bbe83812e638f87c88e958cab55e671 authored almost 4 years ago by Simon Ser <[email protected]>
Fix double-unlock on wl_event_loop_dispatch error

1b38faf9fd13dba5264e8919e854d354eb3ae69c authored almost 4 years ago by Simon Ser <[email protected]>
Collect plane modifiers

This will be useful once we implement support for modifiers.

b84113932700963094a2959222cdeb31468e66c2 authored almost 4 years ago by Simon Ser <[email protected]>
Use CLOEXEC when opening primary DRM node

Avoids leaking the FD to our clients.

1c80548dfc7a409a8ed1364e516fb151b894a157 authored almost 4 years ago by Simon Ser <[email protected]>
Check plane supports {X,A}RGB8888

Fail if it doesn't instead of leaving g_nDRMFormat uninitialized.

7b51575399aaf50e732376f8a619aedcc7addb73 authored almost 4 years ago by Simon Ser <[email protected]>
Only pick primary planes in get_plane_id

If we pick another plane, g_nDRMFormat isn't populated. This isn't
a case worth supporting anywa...

598228589da4158577d5e16c14f237c104c440b6 authored almost 4 years ago by Simon Ser <[email protected]>
Convert found_primary to bool in get_plane_id

9b2da80c23275178b0f8b27862639d87507b5e24 authored almost 4 years ago by Simon Ser <[email protected]>
Fix return value of get_plane_id

The caller checks for 0, not negative values.

b8ecceb48b02681b968287c129785363d968a279 authored almost 4 years ago by Simon Ser <[email protected]>
Require planes to have a type property

This is guaranteed by DRM core.

0c99a3c09d62349365d872f58016453148b64dd9 authored almost 4 years ago by Simon Ser <[email protected]>
Introduce a helper to get a property value

This will be useful for other properties, like IN_FORMATS.

91e7ca45fccda987f2a5f107c40f089764fea5da authored almost 4 years ago by Simon Ser <[email protected]>
Fix indentation in get_plane_id

7f65dedbab389913d0711f3f5df2fc757d379b6c authored almost 4 years ago by Simon Ser <[email protected]>
Use no-op backend for output

This avoids needlessly creating buffers for an headless output we won't
use, and will allow us t...

9b780b48db501169d5ea37684e11151b89904f88 authored almost 4 years ago by Simon Ser <[email protected]>
Allow SDL to run in pure Wayland mode

c9acfb5a686dc845c16fd303056fc392ed466d8b authored almost 4 years ago by Simon Ser <[email protected]>
Bail out if drmSetClientCap(ATOMIC) fails

And remove extra UNIVERSAL_PLANES cap: this is implicitly enabled
by ATOMIC.

078f7823ba40c7ee8883cf604117e7cb8cfc2df6 authored almost 4 years ago by Simon Ser <[email protected]>
Remove ALLOW_MODESET workaround

This is no longer needed as of Linux 5.10.

Closes: https://github.com/Plagman/gamescope/issues/67

cf8cf60a37c8e9e0bfb9d71f16636f412338de9e authored almost 4 years ago by Simon Ser <[email protected]>
Stop blocking SIGUSR1

wlroots doesn't use SIGUSR1 for Xwayland startup anymore, so we can
remove the per-thread signal...

072599c037126215908343ad578420b997ce52d0 authored about 4 years ago by Simon Ser <[email protected]>
Update wlroots and libliftoff

fbc6bd0c0882c5c60232fe68e315799566adb476 authored about 4 years ago by Simon Ser <[email protected]>
steamcompmgr: allocate cursor buffer on heap

This fixes a Clang failure, and ensures we don't blow up the stack on
big cursor sizes.

Closes:...

131514ecb82f73a9639b79e0d6c0fa2deacb05f7 authored about 4 years ago by Simon Ser <[email protected]>
readme: replace Mesa commit reference with version number

d19bc94e4eb9 was released in Mesa 20.3.

58be7270d62255bbf7bbe5dbcc02cc7155c5c81c authored about 4 years ago by Simon Ser <[email protected]>
readme: add build instructions

8e3ca653949a1bad512c9ef51e0c168c2d8e5848 authored about 4 years ago by Simon Ser <[email protected]>
Create a linear buffer for cursor

The cursor plane needs to be linear on amdgpu.

83900acb11c2de29421a3600eb99ede000ae333f authored about 4 years ago by Simon Ser <[email protected]>
Use DRM_CAP_CURSOR_{WIDTH,HEIGTH} for cursor buffer

Hardware often has cursor plane limitations for the buffer size.

Co-authored-by: Simon Ser <con...

ceeef3567d90798335ca6038258a86704d71878a authored about 4 years ago by Roman Gilg <[email protected]>
Revert "sdlwindow: grab mouse when gaining focus"

This reverts commit 2922d963080bf99bad30afcfa2ff2f05dca6281d.

Testing this again, it doesn't se...

85ba5c6fe92a4f4b441471676c84bc81aab9ce15 authored about 4 years ago by Simon Ser <[email protected]>
rendervulkan: fix nLayercount == k_nMaxLayers crash regression.

From spec constant work.

https://github.com/Plagman/gamescope/issues/128

c9d0b5db4c21f4a783b6fbe7da1bc97c11694b02 authored about 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: separate input focus from display focus (main layer)

Also add STEAM_INPUT_FOCUS prop interface to hijack focus for overlay layers
without having to r...

5fbd02b99cf5fe552c1372bc14d7c3953918eb18 authored about 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Rename drm_can_avoid_composite to drm_prepare

drm_can_avoid_composite doesn't merely checks whether we can avoid
composition: it also prepares...

a62740e393fd6a080f3e5a411f22f71912df1b4d authored about 4 years ago by Simon Ser <[email protected]>
Split drm_prepare into basic/liftoff sub-functions

Instead of handling both cases in a single function, split the work of
populating the atomic req...

89af7099062525511258077e9cfd64355397f488 authored about 4 years ago by Simon Ser <[email protected]>