- Jan 27, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We wrote this, so it's fine to relicense it more permissively, from LGPL to MIT. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
pressure-vessel: Generalize X11 integration code See merge request !415
-
Simon McVittie authored
pressure-vessel: Interpret tcp: addresses for PulseAudio See merge request !414
-
- Jan 26, 2022
-
-
Simon McVittie authored
As with non-path-based AF_UNIX sockets, this will only work if the network namespace is shared, but pressure-vessel always does that. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/flatpak/flatpak/pull/4706
-
Simon McVittie authored
If the filesystem-backed Unix socket (G_UNIX_SOCKET_ADDRESS_PATH) does not exist, X11 clients can also use a Linux abstract Unix socket (G_UNIX_SOCKET_ADDRESS_ABSTRACT), or even a TCP socket. In Flatpak, this would require --share=network, but in pressure-vessel, all games are in the same network namespace as the caller. When falling back to an abstract Unix socket or to a TCP socket, we can't remap the display number to the fixed :99.0 that we normally use, so adjust write_xauth() to be able to avoid doing that. Resolves: https://github.com/ValveSoftware/steam-runtime/issues/486 Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/flatpak/flatpak/pull/4706
-
Simon McVittie authored
We still don't support rewriting XAUTHORITY for these, but at least we understand them now. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/flatpak/flatpak/pull/4706
-
Simon McVittie authored
xauth and xcb both treat this as a request to use AF_UNIX. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/flatpak/flatpak/pull/4706
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/flatpak/flatpak/pull/4706
-
Simon McVittie authored
In practice, au_len comes from one of the length fields in an Xauth struct, which are all of type unsigned short, so it cannot really be negative; but if we passed a negative argument here, the comparisons would not behave as intended. Use the more correct size_t. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/flatpak/flatpak/pull/4706
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/flatpak/flatpak/pull/4706
-
Simon McVittie authored
Put the configured server address string in PULSE_SERVER if it appears to be remote. In Flatpak, this would only work for apps with the --share=network permission, but in pressure-vessel all games have the equivalent of that permission. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/flatpak/flatpak/pull/4705
-
Simon McVittie authored
None of the changes are relevant for pressure-vessel. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This gives us support for more variations of PulseAudio server strings, in particular the format used by WSLg: https://github.com/flatpak/flatpak/pull/4564 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 19, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 18, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 14, 2022
-
-
Ludovico de Nittis authored
Add support for EGL external platforms See merge request !411
-
- Jan 13, 2022
-
-
Simon McVittie authored
This should allow the NVIDIA proprietary EGL driver to operate on Wayland, if it is a sufficiently new version. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These are used by the NVIDIA proprietary driver for integration with non-X11 display technologies such as Wayland and gbm. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
graphics: Split into multiple source files See merge request !410
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
graphics-drivers-json-based.c contains code shared between EGL and Vulkan. This leaves graphics.c only containing functional checks, not driver enumeration. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Again, this is to reduce the size of graphics.c. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This reduces the size of graphics.c, which was getting unwieldy. This is purely moving code around, with no implementation changes. The EGL and Vulkan drivers are more entangled with each other and will be refactored separately. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 11, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
graphics: Load ICDs and layers to match Vulkan-Loader >= 1.2.198 See merge request !409
-
- Jan 10, 2022
-
-
Simon McVittie authored
The documentation in Vulkan-Loader has been updated extensively since 2019 (see previous commits) so the previous comment here wasn't needed. Replace it with a more specific reference to where VK_ICD_FILENAMES is defined. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Some of the documentation has been expanded and reorganised. Pin to a release tag (sdk-1.2.198.1, the last one we have checked) so that even if it is reorganised again, our references will remain stable. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
It was previously non-compliant with the XDG basedir spec, but this has now been fixed. Catch up with how it now works: * XDG_CONFIG_HOME is now searched (previously it was not) * XDG_DATA_HOME and ~/.local/share are now higher-precedence than XDG_DATA_DIRS The fact that we search both XDG_DATA_HOME and ~/.local/share, even if set, actually turns out to be a mistake (I misread the reference Vulkan-Loader code), but it makes pressure-vessel accidentally work around a Steam bug, so keep it for now. We deduplicate the search paths automatically, so in the common case where XDG_DATA_HOME is unset or points to ~/.local/share, it's harmless to look at it twice. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 07, 2022
-
-
Simon McVittie authored
This can take more than 60s on heavily loaded autobuilders. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 06, 2022
-
-
Ludovico de Nittis authored
pv-adverb: Fix regression in generation of required locales See merge request !408
-
Simon McVittie authored
Fixes: b3f5390a "pv-adverb: Avoid jumping past initialization" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 04, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 16, 2021
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 09, 2021
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Add special cases for Guix /gnu/store, mirroring the ones for NixOS /nix See merge request !406
-