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: Fix use-after-free of wlr_surface in steamcompmgr.

064d132c9362817b4398f13bced35ed33559d57a authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: Only raise new windows if they want to be.

Leaves embed tray icon windows to take care of.

2e7f86f80c6572d5daea1b477a7a15a9c2858e9f authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: implement _NET_ACTIVE_WINDOW.

Doesn't actually seem to be used for the newly-mapped Origin setup
window, so hacks have to stay...

6d65808e0a984f99b8f849764517dd9c8757feeb authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: focus tweaks/hacks when out of game.

Avoid override redirect windows.

Raise new windows, don't focus tiny windows. If we only raised...

d95d4bf7961bdaf89c59edb9d8faac2951021da7 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
wlserver: properly handle touch for scaled windows.

Gets scale from steamcompmgr in an extremely safe and elegant way.

575171360b4c63e3b010ffb76491f8bf59d4eae9 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Show cursor always, not just in-game.

Will do a cosmetic pass later but unblock using Steam windows that use
OS cursor for now.

76b7d58a74f68c567721e97d93dc79f73c64f16c authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Fix alloc-dealloc-mismatch in add_win

ASan trace:

==14537==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new vs free)...

4524ac3cbb459491bcd0a5e962f055336b7e5178 authored over 4 years ago by Simon Ser <[email protected]>
Fix EINVAL when using direct scan-out without libliftoff

When directly scanning out game buffers, we need to make sure the game
buffer is suitable for sc...

5228f370891c07703e0966f26e9360971771bcce authored over 4 years ago by Simon Ser <[email protected]>
Get rid of C_SIDE

wlroots headers can mostly be included with extern "C" blocks. Two
exceptions are the use of `st...

bae255ee1a661adec59134169617e0570fc8c99d authored over 4 years ago by Simon Ser <[email protected]>
steamcompmgr: don't focus overlay windows, they're just there to be composited

453caf76728bd4bed9b3f293f97cdef173e3a2d3 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: (mostly) obey stacking order when out of game

44023e25d06864870aa457609a4bf46a25833a09 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Fix error handling in drm_can_avoid_composite

-1 is a truthy value.

d41c8656617b264d33a088a697c83dcf7da902af authored over 4 years ago by Simon Ser <[email protected]>
Fix error handling in add_connector_property

cb540e3fc74c9f94f59313707e6acf8fda2fcc2a authored over 4 years ago by Simon Ser <[email protected]>
Print DRM logs to stderr instead of stdout

stdout isn't flushed on each newline when redirected to a file. stderr
is always line-buffered. ...

af983d2b75b5433d58e0239ed9ee95c6bd0aeb3a authored over 4 years ago by Simon Ser <[email protected]>
Simplify fbids_queued handling in page_flip_handler

cdef160f144aa0fef958b5b8cf375b916a3dd700 authored over 4 years ago by Simon Ser <[email protected]>
Fix spurious assertions in page_flip_handler

This commit fixes two issues.

A first issue is that fbids_in_req was previously populated
drm_c...

9802890c938e7227953dbfb859015d2e0adb284e authored over 4 years ago by Simon Ser <[email protected]>
Fix memory leak in drm_can_avoid_composite

We were creating a new DRM blob each page-flip and never destroying it.
Instead, create the mode...

bcc7cf3b55f6ed615b4ce030a7171997ce0bba40 authored over 4 years ago by Simon Ser <[email protected]>
Update libliftoff

Upstream has new features, incl. support for the alpha property.

384e7770697763119904b37c7539268aa4b41d2a authored over 4 years ago by Simon Ser <[email protected]>
Add error handling when no physical device is found

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

9353ba11d33c945329dd546433037154ad834bbd authored over 4 years ago by Simon Ser <[email protected]>
Use upstream wlr_xwayland_server

Use wlr_xwayland_server, which allows enough customization for us.

References: https://github.c...

a69017d08d9d0d59298185cdbef0d282636e1680 authored over 4 years ago by Simon Ser <[email protected]>
Switch to upstream wlroots

5ab3129d8e7d1c9d3ce81af94c05fc31cf8070f1 authored over 4 years ago by Simon Ser <[email protected]>
Update wlroots

5bab7f6d850579f2075b273cab4e0b9782b1d88d authored over 4 years ago by Simon Ser <[email protected]>
Introduce drm_free_fb

This function takes care of calling drmModeRmFB. In the future it'll
also take care of releasing...

2062141c49fe720c09a553df24f1784b29475d54 authored over 4 years ago by Simon Ser <[email protected]>
Replace map_fbid_inflightflips pair with a struct

This makes it explicit what "first" and "second" are. This also allows
to add more fields.

0ee8d451e4888c50a33c56ca8373e7a9c32d519f authored over 4 years ago by Simon Ser <[email protected]>
Add error handling to drm_fbid_from_dmabuf

02b233429fc4d1fa9020a009adfb15e1a86a8af5 authored over 4 years ago by Simon Ser <[email protected]>
Remove dead code in xwayland_surface_role_commit

The FDs are guaranteed to be set if wlr_texture_to_dmabuf doesn't return
an error.

d70df758a894deb6c630587133b190ae0c8bed52 authored over 4 years ago by Simon Ser <[email protected]>
Add n_planes == 1 assert in drm_fbid_from_dmabuf

This code assumes a single planes. Let's add a safe-guard so that we
don't forget this function ...

48b429e7b1e35588f41f45530dfe340ca0521ace authored over 4 years ago by Simon Ser <[email protected]>
Dup FD in CVulkanTexture::BInit

This saves us the wlr_dmabuf_attributes juggle and makes it easier to
understand the FDs ownersh...

b305b7f123ef3b56f08eb47763ef88e572570a50 authored over 4 years ago by Simon Ser <[email protected]>
Use wlr_dmabuf_attributes_finish instead of close

This ensures we don't leak any FD.

db876af1c419d39676747b506954942e78474a8c authored over 4 years ago by Simon Ser <[email protected]>
Update wlroots fork

8c2b9849ec310d6651c4d5d92b3a2e90282fb76e authored over 4 years ago by Simon Ser <[email protected]>
Silence -Wunused-parameter for C code too

51259bba1c1e6c54f6adc4492519da2eb54e8829 authored over 4 years ago by Simon Ser <[email protected]>
Enable more warnings

Makes it easier to spot mistakes.

b84750e77576494877daf0e305c95ed1f3b4ee3c authored over 4 years ago by Simon Ser <[email protected]>
Revert "steamcompmgr: attempt to get rid of damage_sequence"

This reverts commit de16a27674b658426d066a69e6928678a33fd5ef.

09bc171666695173d7a72d819bb4a4e82c6f1af8 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Correct integer scaling example in README

810972b0740d113054d23ebf4b1f48ee467fc089 authored over 4 years ago by Rajdeep Nanua <[email protected]>
Don't set WAYLAND_DISPLAY

We don't actually support Wayland clients (yet). Xwayland doesn't use
WAYLAND_DISPLAY, the compo...

c0bdf361d5e7ac319b248ae19c766916f0898938 authored over 4 years ago by Simon Ser <[email protected]>
Improve initOutput error handling

Bail out on DRM error.

1e82803574f9ff527348261c575392799c739f2b authored over 4 years ago by Simon Ser <[email protected]>
Switch VT on Ctrl+Alt+F<n>

Only works when switching to fbcon for now. We need to stop
page-flipping when the DRM FD is pau...

dced8a88da9888a9a65ddcbae2707b55f7899c5f authored over 4 years ago by Simon Ser <[email protected]>
Fix segfault when system doesn't support Vulkan

16d74b8e1521e4afe38cd7c6d24f49fdcc7f9605 authored over 4 years ago by Simon Ser <[email protected]>
Build libliftoff as a static library

fc72bda2cfa1a9ee59147d69ed714b620a0c2e7d authored over 4 years ago by Simon Ser <[email protected]>
Build wlroots as a static subproject

267036754cb1b63f8ed1a7774cd5c053d29ac1e4 authored over 4 years ago by Simon Ser <[email protected]>
Fix alloc-dealloc-mismatch for win objects

win objects are allocated with `new`, so they need to be de-allocated
with `delete` instead of `...

c147de21348ccaf5fc6f2aa7abdb36d530db1413 authored over 4 years ago by Simon Ser <[email protected]>
Fix crash on touch up

7733ffb7692ad8b4f2dba2aa027af5def6deede8 authored over 4 years ago by Simon Ser <[email protected]>
steamcompmgr: attempt to get rid of damage_sequence

It probably won't be as simple as that, but we'll see...

de16a27674b658426d066a69e6928678a33fd5ef authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: Add support for obeying transient windows.

37d30471af8248650dc26ffe40cf7c40828c2c84 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: fixed unsigned math in screen magnifier

Offsets would wrap around and go nuts past the center, only top-left would
work.

db062a47cdaeb809c12618f34b46e451ea154833 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
wlserver: greatly simplify touch handling

Remove drag stickiness, delay before click, etc.

Also let the session specify which button is p...

29eaa16785007b1b88fa429e31c7fca5c58d49cc authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Revert "feat: use global pointer position variable"

This reverts commit 0f8d67999482e5e5ac240d67928ab592116ff3b7.

f416279a1c1143c5d758d9e2f64ecb451e8eb80b authored over 4 years ago by Roman Gilg <[email protected]>
Revert "feat: add relative pointer and constraints support"

This reverts commit a4fa525255ff2da19470c5b6f98434c2e701fb63.

5868f205022154c896bfb04c9d004bea6b037220 authored over 4 years ago by Roman Gilg <[email protected]>
Revert "refactor: unify pointer movement"

This reverts commit d4361f4649257cb88a628840a1dee29bb8355748.

b23b5b7189d1b85c0233c225c54dde15c993be9a authored over 4 years ago by Roman Gilg <[email protected]>
Revert "refactor: remove unneeded cursor query functions"

This reverts commit 9547ec9a1556febd6d288203f4ac31bae9999039.

c2058733e3830b63d6a87ec2f696481165ac2289 authored over 4 years ago by Roman Gilg <[email protected]>
Revert "refactor: remove unneeded cursor calls on paint"

This reverts commit be1ff3d903c4c0985830fd6ec045aedea47aff88.

4565766cc5e84f05d03f524bfd9b6b0e802db08b authored over 4 years ago by Roman Gilg <[email protected]>
build: update wlroots subproject

This has now recent change to include protocols directory explicitly.

beb29e251e252b3e4fdb9bcd074227967b83c84c authored almost 5 years ago by Roman Gilg <[email protected]>
feat: add layer debugging via libliftoff log

Activate libliftoff's internal log when layers are enabled and the parameter
'd' is provided.

N...

8833e07618556341a3ed441cf98f4089c5a3337b authored almost 5 years ago by Roman Gilg <[email protected]>
refactor: clean up layers properties loop

Restructure the loop a bit to have less code repetition and make it easier to
understand.

42a268bd27bea4003353f9f1c1f07d7ee59468eb authored almost 5 years ago by Roman Gilg <[email protected]>
fix: continue layering when fbs available

Trying to layer onto planes should be continued when fb ids are set and
not the other way around...

d17f234738dd16e6b84dfdf859225c18835d25f1 authored almost 5 years ago by Roman Gilg <[email protected]>
refactor: remove unneeded cursor calls on paint

It is enough to get the global cursor location when repainting it. So we do not
need to query th...

be1ff3d903c4c0985830fd6ec045aedea47aff88 authored almost 5 years ago by Roman Gilg <[email protected]>
feat: use global pointer position variable

Instead of going through the X11 connection just set the pointer position
directly via global va...

0f8d67999482e5e5ac240d67928ab592116ff3b7 authored almost 5 years ago by Roman Gilg <[email protected]>
refactor: unify pointer movement

In nested mode we can use the same code path as in drm mode now.

d4361f4649257cb88a628840a1dee29bb8355748 authored almost 5 years ago by Roman Gilg <[email protected]>
refactor: remove unneeded cursor query functions

With cursor position going through global variables we do not need to query the
global position ...

9547ec9a1556febd6d288203f4ac31bae9999039 authored almost 5 years ago by Roman Gilg <[email protected]>
feat: add relative pointer and constraints support

For now only available on drm backend. For nested there is currently a
different workaround acti...

a4fa525255ff2da19470c5b6f98434c2e701fb63 authored almost 5 years ago by Roman Gilg <[email protected]>
style: remove trailing whitespace

Many code editiors remove trailing whitespace automatically making patches
difficult since often...

920fe8bd8fd98a4f77d615333593f0923eb8f89c authored almost 5 years ago by Roman Gilg <[email protected]>
refactor: add cursor class

Puts all cursor relevant code into a single class. Preparation for getting
cursor movement direc...

f7d815a2037e7f2e39ee5ad233ace82ebbd56b0c authored almost 5 years ago by Roman Gilg <[email protected]>
Merge pull request #27 from Oschowa/no-xxd

Use build in glslangValidator functionally to generate shader include

95caa5c2fc8c8b9b787a7e799bc3192631589306 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Use build in glslangValidator functionally to generate shader include

file.
This removes the xxd dependency.

2a74683c11a96176d3fdfbe7a70477b0b3f50578 authored almost 5 years ago by Oschowa <[email protected]>
steamcompmgr: fix rare crash when starting games (DOOM in this case).

bc39b20a8f1b117044d9639103d5134993b41704 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Vulkan: fix a nasty race.

We could garbage-collect fences before/during their wait.

1bcd0bd93048ed472ba12918a34d9e1d7f26bba2 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Vulkan: fix validation errors.

578849e429c93a0bd101b30d49371bdc7729b14c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: close commit fd if no matching window.

That was probably a leak on app exit before?

06db3d903a191f5ddde9be19ff292e09c55f309c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: cleanup check_new_wayland_res.

Now that we can process everything in the queue, we can make the flow
a bit simpler.

7e4b1d971cb6cbfd9bafefe211d3a1d2d30dbd6d authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: add detail to fence debugging.

7df0b8655ae4829161976011e77437d80df9f448 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
embedded: fix a crash on startup in Portal.

Trying to push a new frame with no valid contents would send an
uninitialized texture handle to ...

e72724f05043e868cee949e9237b4b900616d5ff authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
SDL: initialize after wayland.

Otherwise the input thread can start doing wayland stuff before it's safe.

2b111b43dd40090da608030fbf4a07ba789868c7 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
vblank: more tweaks, align to DRM vblank.

b4893840eb51573f53620e087b2cd77a9d08bf2e authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
vblankmanager: initial system to let steamcompmgr know when to repaint

For now just mark one repaint per refresh interval without any particular
alignment, as that can...

4ca73da9f6c40efc7a1b2a027f73542e58b89c7a authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Vulkan: have a whole bunch more scratch command buffer slots

If running non-vsynced apps, we might need to keep track of 500+ in-flight
commits. Maybe make d...

5e3a9c94080b9423c35b537fb05e987416be9559 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: rework how commits are handled

Keep track of a queue of commits and use the wait thread to get notified
when they're done.

Onl...

ca954bb2375aa14c4afbd1995f2a869d85fa62f0 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Vulkan: shouldn't need to have synchronous uploads anymore.

4f01be3bf5a287f1e3cf1946547a89fcc00cf26a authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Vulkan: Remove one TODO by implementing deferred free for textures.

dfba164987b18ed4dc125a9c4b6bd1d13b6c4582 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Vulkan: fix everything using the same command buffer.

We can't quite get away with it now that we want to kick off several
waits at the same time.

9a177050e59c8e3053e0bb59dd327cdf4240ee6b authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: add support for spewing stats into a pipe

982e61e28d0429f0d2045f43a640693319386e20 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: tweak focus logic to know about Steam pop-up windows

Like the standalone input configurator view.

dde441b13f98739aa50f023bab9eb82725e08510 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: rework a couple of things to plan for decoupling paints

- Add a commit wait thread that just waits for the work associated with
an in-bound dma-buff...

4079d0c785ea25fe998c51c620715f8bb1f0f6af authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: exit when subcommand exits, if there is one

cf16f59e842cafd1cc9cee638fca3191c86586c7 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr.cpp: rise

1830b53c2eb1f67008347b5530fa35356a8fe31c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Fix instant crash on embedded from recent nested resize work.

74143121cd98c0f67b9b530fe09ea09db1cfc3de authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
README: document shortcuts.

99af917abc4d2cc0226c29050c1c7f4f6b09cd6c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
nested: toggle filter with meta+n

6183a705647698bbf614813c23e70b32a9c78e3c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: make cursor scaling more current, remove some cruft.

4dcacf3cc1923bad04271fdba457133c819d6771 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
nested: make Meta+f toggle fullscreen for the output window.

d6ff686b640c8d6267e8b930b6374dbfe00dc5d8 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
nested: let the output surface be resizeable

And let the SDL window be resizeable too.

188ea49e514799537e8f04369deb1cad634fc19e authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Make README cool and add some usage examples.

e5d888d56e3948a9c29e7064805930570e1d7e61 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
We needed our threads to block SIGUSR1, not ignore it.

It's a requirement of wlroots, since it uses it to get notified of
Xwayland readiness.

Having o...

228c5e049ca323463cac1ebed141ebb6778e0768 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
inputsdl: grab cursor when focused, send mouse input through X.

This more or less makes everything pretty playable.

3ca59feabd7ce293084390f177c86191a5302e98 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
steamcompmgr: fix bug from 2013 with cursor hiding.

We don't want to unhide the cursor in the small period of time where we
don't have a foxued window.

946b49c7a6d8fba4869f055023fa95f98f7a899f authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
rendervulkan: offset rendering a bit to avoid blurry text.

This isn't a perfect fix, see comment.

6481e1d7778ff026f66271a8713ee5e6ec152c82 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
rendervulkan: it's 2020, surely GPUs understand integers by now?!

303c7025471b93e8ad5df659751bfe60bc86d349 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Let it take a command to run in its DISPLAY after "--".

7b2220003cd46364ef6e1afc14f683764b5efe24 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
nested: plumb some more output options.

Output window size, scaling filter, border.

TODO: make output dynamically resizeable, and some ...

90fa0770e85f707683a5a6f4e83facd56db70958 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
sdlinput: nested keyboard support.

19e2e511b6d7426b679c51b8a509146848275a9c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
drm: always set DRM_MODE_ATOMIC_ALLOW_MODESET for now.

That seems to make DC happier when we change the src and dst rects.

b306714f3cddb0ee0d554fb418c99b8244ccaa77 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>