drop chimeraos session
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
15
README.md
15
README.md
@ -8,21 +8,6 @@ their work on the SteamDeck). This configuration depends on [gamescope-session](
|
|||||||
Copy this repository file structure into the appropriate places and you'll be
|
Copy this repository file structure into the appropriate places and you'll be
|
||||||
able to start the session on any Display Manager of your choice.
|
able to start the session on any Display Manager of your choice.
|
||||||
|
|
||||||
# Configuration
|
|
||||||
|
|
||||||
The session sources environment from `~/.config/environment.d/*.conf` files.
|
|
||||||
The easiest way to configure the session is to create `~/.config/environment.d/gamescope-session.conf`
|
|
||||||
and set variables there:
|
|
||||||
|
|
||||||
```
|
|
||||||
# Override entire PortProtonQt command line
|
|
||||||
CLIENTCMD="portprotonqtqt"
|
|
||||||
|
|
||||||
# Override the entire Gamescope command line
|
|
||||||
# This will not use screen and render sizes
|
|
||||||
GAMESCOPECMD="gamescope -e -f"
|
|
||||||
```
|
|
||||||
|
|
||||||
# License & Contributing
|
# License & Contributing
|
||||||
|
|
||||||
The project is licensed under GPL v3 license. If you want to contribute,
|
The project is licensed under GPL v3 license. If you want to contribute,
|
||||||
|
29
usr/bin/portproton-gamescope
Executable file
29
usr/bin/portproton-gamescope
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Source user configuration from ~/.config/environment.d
|
||||||
|
set -a
|
||||||
|
for i in "${HOME}"/.config/environment.d/*.conf; do
|
||||||
|
[[ -f "${i}" ]] && . "${i}"
|
||||||
|
done
|
||||||
|
set +a
|
||||||
|
|
||||||
|
# Fix intel color corruption
|
||||||
|
# might come with some performance degradation but is better than a corrupted
|
||||||
|
# color image
|
||||||
|
export INTEL_DEBUG=norbc
|
||||||
|
export mesa_glthread=true
|
||||||
|
|
||||||
|
# This should be used by default by gamescope. Cannot hurt to force it anyway.
|
||||||
|
# Reported better framelimiting with this enabled
|
||||||
|
export ENABLE_GAMESCOPE_WSI=1
|
||||||
|
|
||||||
|
# Some environment variables by default (taken from Deck session)
|
||||||
|
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
|
||||||
|
|
||||||
|
# Add custom vulkan adapter if specified
|
||||||
|
if [ -n "$VULKAN_ADAPTER" ]; then
|
||||||
|
GAMESCOPECMD= " --prefer-vk-device $VULKAN_ADAPTER"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Start client application
|
||||||
|
gamescope $GAMESCOPECMD -- portprotonqt --fullscreen
|
@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
CLIENTCMD="portprotonqt --fullscreen"
|
|
@ -3,7 +3,7 @@
|
|||||||
<policyconfig>
|
<policyconfig>
|
||||||
<vendor>PortProtonQt</vendor>
|
<vendor>PortProtonQt</vendor>
|
||||||
<vendor_url>https://git.linux-gaming.ru/Boria138</vendor_url>
|
<vendor_url>https://git.linux-gaming.ru/Boria138</vendor_url>
|
||||||
<action id="org.shadowblip.pkexec.run-session-select">
|
<action id="org.linux_gaming.pkexec.run-session-select">
|
||||||
<description>Helper to switch sessions</description>
|
<description>Helper to switch sessions</description>
|
||||||
<icon_name>package-x-generic</icon_name>
|
<icon_name>package-x-generic</icon_name>
|
||||||
<defaults>
|
<defaults>
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Name=PortProtonQt
|
Name=PortProtonQt
|
||||||
Comment=PortProtonQt Session
|
Comment=PortProtonQt Session
|
||||||
Exec=gamescope-session-plus portprotonqt
|
Exec=portprotonqt-gamescope
|
||||||
Type=Application
|
Type=Application
|
||||||
DesktopNames=gamescope
|
DesktopNames=gamescope
|
||||||
|
Reference in New Issue
Block a user