mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
## Description - Made it so failed NVIDIA driver install won't quit entrypoint script if other GPU vendors are present (fixes mixed GPU cases). - Switch to gamescope as compositor, with optional SYS_NICE cap handling for higher priority. - Use mangohud preset 2 for stats, which is more compact. - Fixes to nestri-server lspci regex, to deal with AMD naming scheme. - Added missing radeon vulkan driver packages. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for additional AMD Vulkan drivers. - Integrated Steam launch directly within the gamescope compositor for a streamlined startup. - **Bug Fixes** - Improved GPU driver fallback handling to ensure smoother operation on systems without NVIDIA GPUs. - Enhanced PCI device parsing for more accurate GPU detection. - **Chores** - Updated environment configuration to use X11 session type and set MangoHud preset. - Removed unused packages and legacy compositor/resolution management logic. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
17 lines
326 B
Bash
17 lines
326 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
export XDG_RUNTIME_DIR=/run/user/${UID}/
|
|
export XDG_SESSION_TYPE=x11
|
|
export DISPLAY=:0
|
|
export $(dbus-launch)
|
|
|
|
# Causes some setups to break
|
|
export PROTON_NO_FSYNC=1
|
|
|
|
# Sleeker Mangohud preset :)
|
|
export MANGOHUD_CONFIG=preset=2
|
|
|
|
# Our preferred prefix
|
|
export WINEPREFIX=/home/${USER}/.nestripfx/
|