VR: Difference between revisions
Adjust tranlate tag's placement |
Marked this version for translation |
||
| Line 233: | Line 233: | ||
It is also possible to just patch amdgpu and build it as an out-of-tree module, as described in [[Linux_kernel#Patching_a_single_In-tree_kernel_module]] | It is also possible to just patch amdgpu and build it as an out-of-tree module, as described in [[Linux_kernel#Patching_a_single_In-tree_kernel_module]] | ||
=== Patching bubblewrap to allow capabilities === | === Patching bubblewrap to allow capabilities === <!--T:43--> | ||
<!--T:44--> | |||
By modifying the bubblewrap binary used for running Steam, you can allow processes in that FHS environment to acquire capabilities. This removes the need for patching the kernel directly. | By modifying the bubblewrap binary used for running Steam, you can allow processes in that FHS environment to acquire capabilities. This removes the need for patching the kernel directly. | ||
</translate> | </translate> | ||
{{Warning|<translate>This circumvents an intended security mechanism in bubblewrap, and allows all other software launched by steam, or running via steam-run to acquire these capabilities as well.</translate>}} | {{Warning|<translate><!--T:45--> This circumvents an intended security mechanism in bubblewrap, and allows all other software launched by steam, or running via steam-run to acquire these capabilities as well.</translate>}} | ||
{{file|/etc/nixos/configuration.nix|nix|3=programs.steam = let | {{file|/etc/nixos/configuration.nix|nix|3=programs.steam = let | ||
| Line 278: | Line 279: | ||
<translate> | <translate> | ||
<!--T:46--> | |||
as an additional change, you may also need to replace Steam's own bwrap binary with a symbolic link to this modified bwrap binary, found at <code>~/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-bwrap</code>. | as an additional change, you may also need to replace Steam's own bwrap binary with a symbolic link to this modified bwrap binary, found at <code>~/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libexec/steam-runtime-tools-0/srt-bwrap</code>. | ||
<!--T:47--> | |||
Steam will periodically replace this modification with its own binary when steam-runtime updates, so you may need to re-apply this change if it breaks. | Steam will periodically replace this modification with its own binary when steam-runtime updates, so you may need to re-apply this change if it breaks. | ||
| Line 294: | Line 297: | ||
{{Commands| | {{Commands| | ||
# <translate>Run wlx-overlay-s and replace any running instance</translate> | # <translate><!--T:48--> Run wlx-overlay-s and replace any running instance</translate> | ||
$ wlx-overlay-s --replace}} | $ wlx-overlay-s --replace}} | ||
| Line 303: | Line 306: | ||
* [https://lvra.gitlab.io Linux VR Adventures Wiki] | * [https://lvra.gitlab.io Linux VR Adventures Wiki] | ||
<!--T:49--> | |||
[[Category:Video]] | [[Category:Video]] | ||
[[Category:Hardware]] | [[Category:Hardware]] | ||