Sammlung von Newsfeeds

(flatpak) steam refuses to launch on wayland

Reddit Linux_Gaming - vor 1 Stunde 5 Minuten

distro: gentoo (openrc, source kernel)

kernel version is 6.12.58-gentoo

16gb of ddr3 ram

flatpak steam version: 1.0.0.84

specs: intel i7-3520M with iGPU😭

ok anyway... ive tried installing steam from portage but my cpu is lowkey too cheeks to do that (it fails at llvm)

since llvm couldnt compile i tried installing the 20.1.8 binpkg version, but no binpkg (that i could find) supported 32 but like the source packages did, and the mesa library (important dependency for steam) couldnt compile without llvm 32 bit support

so i resorted to installing the flatpak version, which i expected to run out-of-the-box perfectly. (it didnt, hence the reason im making this post)

ive gotten 1 specific error that i cannot fix for the life of me, which is!!:

The unofficial Steam Flatpak app requires a correctly-configured desktop session, which must provide the DISPLAY environment variable to the D-Bus session bus activation environment. On systems that use systemd --user, the DISPLAY environment variable must also be present in the systemd --user activation environment. This is usually achieved by running: dbus-update-activation-environment DISPLAY during desktop environment startup. For more details, please see: https://github.com/ValveSoftware/steam-for-linux/issues/10554

LITERALLY the first 7 lines of my sway config is this dbus-update and xdg-desktop portal stuffs:

exec dbus-update-activation-environment DISPLAY exec gentoo-pipewire-launcher restart exec /usr/libexec/xdg-desktop-portal-wlr & exec /usr/libexec/xdg-desktop-portal & exec export DISPLAY=:0 xwayland enable

(graphics drivers are installed btw, and said drivers are intel)

ive also ran sway itself with dbus-run-session, cuz ion use a login manager, and alot of flags to run steam... and those flags were...!:

  1. --gl__threaded_optimizations=0
  2. flatpak override --user com.valvesoftware.Steam --socket=fallback-x11
  3. --env=PROTON_NO_FSYNC=1
  4. --steamos3
  5. --device=all
  6. --env=DISPLAY=:0
  7. --env=WAYLAND_DISPLAY=wayland-0

and yeah i also have the freedesktop oGL packages installed (version 25.08 iirc)

sorry if the post is kinda buns i dont use reddit often at all

i have no idea how to fix this, someone help buhπŸ™πŸ™

submitted by /u/Dependent_Credit_903
[link] [comments]

How is performance on RDNA 4 GPUs in 2026?

Reddit Linux_Gaming - vor 2 Stunden 2 Minuten

I recently ordered an RX 9070 as a replacement for my 7700XT. I found forums and videos from months ago saying that rasterization performance is pretty much up to par and just a tad bit slower than on Windows but that RT performance was pitiful. I couldn't find any recent resources on this so I wanted to inquire and see what people's experiences are using these cards on Linux. Are the Mesa drivers good on RDNA 4, or should I temper my expectations? Any insight is appreciated.

submitted by /u/CynicalDivinity
[link] [comments]

XIVlauncher (FFXIV) running miserably on linux mint

Reddit Linux_Gaming - vor 2 Stunden 24 Minuten

hey!

so a couple months ago i installed linux mint cinnamon 22.2 and i've been loving it. pretty much any steam game i play just works. but unfortunately for some odd reason playing ffxiv with xivlauncher is rough.

for instance, on my windows 10 partition i can play ffxiv via' xivlauncher and i get around 50fps on max settings. whereas on linux mint it drops me to a choppy 25fps. to get anything near playable, i have to play on standard (laptop) settings. but even then i get lag spikes that can make things borderline unplayable at times. any help would be greatly appreciated! and if you need any sort of info i'd be happy to provide it.

my specs:

linux mint cinnamon 22.2

i5 6402P

16gb DDR4

RX 480 (4gb)

T-Force 512gb SSD (sata III) (xivlauncher is installed on here)

WD HDD 2tb

(p.s: i installed xivlauncher through the software manager. dunno if that has anything to do with my issues. just thought i'd mention it though just in case.)

submitted by /u/aaknosom
[link] [comments]

New to Linux, trying to run RE 1996 and Splinter Cell through Heroic having issues.

Reddit Linux_Gaming - vor 2 Stunden 25 Minuten

Whats up. I'm new to Linux I'm getting my laptop prepped up for when i go to college. I'm using a old MacBook air from 2016 that's now using linux. I know it's def capable to play these older retro games. I just need help. First off, RE 1996 I'll launch it and it'll just take up a corner of my screen but never go full screen or windowed. Even after messing around with Direct X9. or any settings within heroic. I haven't used any lines or scripts. or third party stuff. (other than proton ge ofc). I also tried Splinter Cell and it actually launched normally till the first cutscene finished and it would crash. Looking to play these games when I have downtime at school. If you guys are experienced please help me out I'm new to Linux and not much of a coding or scripting expert (yet). Haven't been able to find anything online similar to me. Thank you

submitted by /u/Status_Necessary4576
[link] [comments]

alpine for gaming?

Reddit Linux_Gaming - vor 2 Stunden 31 Minuten

switched to Linux on all my machines last year as a New Years resolution and i haven't looked back since. after trying a couple of distros i landed on Mint for its noob-friendly outer shell while still being a full distro underneath. but i'm interested in trying something new so i tried out Alpine in a VM, and i like the approach of allowing the user to setup the system according to their wants and needs, plus i love me a lightweight OS. so, I'm interested in potentially replacing Mint with Alpine on my main gaming rig. has anyone here used Alpine for gaming? i'd imagine that it should all work totally fine with some fresh drivers and light tweaking, just curious to hear other users experiences!

submitted by /u/signal_win_8398
[link] [comments]

How do I Manage 3D Settings in NVIDIA X Server Settings?

Reddit Linux_Gaming - vor 2 Stunden 43 Minuten

Hello, I have noticed in NVIDIA X Server Settings (which I assume is the Linux version of NVCP) there is no option to "Manage 3D Settings" or manage G-Sync like there is in Windows. Is there any way to obtain these settings in Linux?

submitted by /u/Irritated-Isoceles
[link] [comments]

Plz help. Switched to Mint nothing works.

Reddit Linux_Gaming - vor 2 Stunden 49 Minuten

Ok please take a breath before compliants I'm just here for some help.

I abandoned Windows spyware earlier this year kind of recklessly and without a ton of thought. I was familiar with Linux but a completely new user. I play mostly Skyrim, NMS, BG3, and I want to start playing Tainted Grail. I play 8-bit in my free time but when I game game its on those bigger titles. I figure Linux is mostly for single player though playing BG3 with my friend would be ideal.

My problem is something configuration wise. I'm getting conflicting information about Linux not running these games or these games can run fine with the right drivers. Before abandoning Windows everything ran fine. My hardware is a Lenovo Legion Laptop - Processor: Intel i9 14900X x 24 Mem: 31 GB Hard Drives: 4024.8 GB Graphics: NVDIA RTX 4070

What I'm thinking is happening is the other graphics card is being recognized (Intel Raptor Lake-S UHD Graphics)

I have tried NVDIA drivers and tried between Performance Mode and On-Demand but Im not finding any real functionality. In steam under my launch options I am launching the games with 'gamemoderun %command%'

Advice on fixes or should I just go back to Windows spyware?

submitted by /u/foxnotwise
[link] [comments]

Geometry Dash says its running at 240 fps, just for it to feel inconsistently laggy on two different monitors

Reddit Linux_Gaming - vor 3 Stunden 32 Minuten

For context: I have two monitors, a 75hz one by samsung, and a 144hz one built into my laptop. I also use linux mint 22.2 cinnamon

While Geometry Dash's in-game fps counter says its running at 240, but it feels like it definitely isn't 100% of the time (probably closer to like 40-60 fps). On my 75hz monitor, there's AWFUL screen tearing whether or not freesync is on, and on my 144hz monitor it just feels like its running at 50 fps.

What I've tried:

using proton ge

using gamemode

enabling vsync (even if it worked i wouldnt go through with it bc im a cbf carried fraud)

frame extrapolation in megahack v9

draw divide geode mod

disabling secure boot

setting my nvidia graphics card settings to "high performance"

disabling window tile snapping or whatever it is idfk

crying

borderless fullscreen

windowed mode

--unredir-if-possible in launch options (caused steam to just... not open the game)

Clarification: im not running it on two different monitors at the same time, im just saying that i tested the issue with both monitors seperately and that those were the results.

submitted by /u/Initial-Cricket-433
[link] [comments]

Avatar Frontiers of Pandora Controller Support

Reddit Linux_Gaming - vor 3 Stunden 44 Minuten

Hi all. I recently started playing Avatar Frontiers of Pandora on Steam and have been wondering if anyone has any idea how to get controller support working. Other Steam/Proton games work fine with controller when I set the launch arguments to PROTON_PREFER_SDL=1 %command%, but no matter what I try I can't seem to get Frontiers of Pandora to take controller input at all.

So far I tried:

  • Adding the game exe as a non-steam game
  • Connecting the controller via cable and Bluetooth
  • Enabling/disabling Steam input translation

But neither of those attempts changed anything.

Note however that Ubisoft Connect does recognize controller input if I open the launcher from the status bar after launching the game, and mapping controller actions to keyboard/mouse buttons through Steam does technically work (although this is not ideal).

I'm wondering if anyone knows what else I could try or if they have solution. I'm using an Xbox Wireless Controller with GE-Proton10-28. I can give more information if needed. Thanks

submitted by /u/DarkTom21
[link] [comments]

Encountering Path Tracing Crashes with an RX 9070xt on Doom the Dark Ages

Reddit Linux_Gaming - vor 4 Stunden 57 Minuten

Hello. I got an RX 9070xt close to launch and have been using with arch since I got it. My setup is the following:

CPU Ryzen 9800X3D GPU 9070XT 32GB Ram 1000W be quiet PSU Driver Mesa 25.3.3-arch OS Arch Linux Kernel 6.18.3 DE Hyprland Game running through Proton 9.10

I've had no complaints until I recently got Doom the Dark Ages and tried to enable path tracing. When I enable it and apply it, my entire system freezes. When I first tried to run it with path tracing my entire DE froze and then crashed. If I restarted my DE and then tried to launch almost any game it would crash again. The solution was to shutdown and restart my PC. I was able to play through the first two levels after the fact without path tracing with decent performance.

After doing some research I saw that some people reported path tracing issues if dynamic resolution was enabled. I turned it off and the same issue persisted. I then saw that some people reported that this was an issue with GPU power draw when enabling path tracing.

To test this I used LACT to drop the power limit from 330W to 231W without changing anything else. Attempting to run The Dark Ages with path tracing resulted in my system freezing, but then it would unfreeze after about 10 seconds. Everything would function fine except for the game window, which is permanently black and non-responsive and I had to kill it via steam. I had a live graph of the power consumption in LACT while I did this and no spikes ever registered. I would like to highlight that LACT did freeze when everything else did, but when the program unfroze no power spike was registered.

After this I ran some other games just to confirm that my GPU still worked. The games would typically freeze on their into stream and my system would crash. However upon shutting down my PC, resetting the LACT power limit, and starting it back up I was able to play other games for an extended period of time just fine.

I was wondering if anyone has experienced an issue similar to this and was able to remedy it. The fact that the crashes were very delayed at some points makes me think this is a software issue, not a hardware issue, but I don't know that for sure. If anyone has had a similar issue I would appreciate a response.

submitted by /u/Constant-Worry-2423
[link] [comments]

Where Winds Meet slideshow fps in Kaifeng

Reddit Linux_Gaming - vor 5 Stunden 23 Minuten

All I know is that the windows version uses DirectStorage and does not have loading problems in Kaifeng and in Linux DirectStorage does not exist and it drops to 1fps or less until all assets are loaded in Kaifeng. Is there any hope for this game to ever run properly in linux or should I just give up? Outside of Kaifeng it's pretty fine for the most part...

using the following commands

WINE_CPU_TOPOLOGY=8:0,1,2,3,4,5,6,7 PROTON_USE_NTSYNC=1 DXVK_ASYNC=1 PROTON_ENABLE_WAYLAND=1 PROTON_ENABLE_HDR=1 %command%

submitted by /u/beerninja88
[link] [comments]

So Pretty

Reddit Linux_Gaming - vor 5 Stunden 32 Minuten

More of a joke, while playing a game, my game froze, then suddenly both my monitors decided to evolve. Rebooted PC and it's fine. The vertical monitor runs off an HDMI from the motherboard, and the horizontal monitor runs off a DisplayPort cable from the GPU. Wonder what happened. I just recently updated Ubuntu today, as well as installed a new AIO for my CPU.

https://preview.redd.it/e89d4fe06fcg1.jpg?width=4283&format=pjpg&auto=webp&s=989b5dc8bc8ccaff683bef4d18dacbcb1e4a43b4

https://preview.redd.it/i70u5fe06fcg1.jpg?width=3151&format=pjpg&auto=webp&s=c4083cc4a90f35d92a578828bf17d7da050af709

submitted by /u/Consistent-Issue2325
[link] [comments]

Automated Multiboxing on Linux: Run Multiple Steam Game Instances with Proton (User Isolation + Gamescope)

Reddit Linux_Gaming - vor 5 Stunden 41 Minuten

Hi everyone! 🐧

I've been working on a solution to run multiple independent instances of the same Steam game on Linux. As many of you know, Steam and Proton often struggle with concurrent execution due to single-instance locks and shared prefixes.

I wrote a script using umu-run and gamescope to isolate instances under different users. But the killer feature is the input broadcasting: it syncs perfectly with an Xbox controller, letting one controller drive every window at the same time.

πŸ› οΈ How it works

The script automates the tedious parts of manual multiboxing:

  1. User Isolation: Runs each game instance under a separate Linux user (e.g., user1, user2).
  2. Environment Setup: Automatically handles XDG_RUNTIME_DIR, .steam directories, and xauth (X11) permissions so windows appear on your main display.
  3. Proton Management: Uses distinct prefixes for each user to avoid lock-file conflicts.
  4. First Run Logic: Detects new users and generates a temporary interactive script to initialize the prefix (install DirectX/VCRedist) once.
  5. Fast Launch: Generates a FastRun.sh for subsequent one-click mass launches.
πŸ“‹ Requirements
  • gamescope
  • umu-run (Unified Linux Wine Game Launcher)
  • sudo privileges (to switch users)
  • xauth & xterm
πŸ’» The Script

Here is the full source code. Save it as setup_multibox.sh, make it executable, and run with sudo. (Note: Edit the Configuration section at the top to match your Game Path and AppID).

#!/bin/bash set -e # ============================================================================= # Configuration # ============================================================================= APPID=1493710 GAME="/home/follen/Games/steamapps/common/Cube Master/Game.exe" RES_W=1280 RES_H=720 DISPLAY_MAIN=:1 # List of users to launch USERS=("albion1" "albion2" "albion3" "albion4") # Script directory SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" FASTRUN_SCRIPT="$SCRIPT_DIR/FastRun.sh" FIRSTRUN_DIR="$SCRIPT_DIR/first_run_tasks" # ============================================================================= # Environment setup functions # ============================================================================= # Setup X11 access for user setup_x11_access() { local user=$1 local display=$2 echo " β†’ Setting up X11 access for $user on $display" # Get current XAUTHORITY file local xauth_file="${XAUTHORITY:-$HOME/.Xauthority}" if [[ ! -f "$xauth_file" ]]; then echo " ⚠ XAUTHORITY file not found: $xauth_file" # Use fallback method via xhost (less secure) DISPLAY=$display xhost +SI:localuser:$user 2>/dev/null || true return fi # Create temporary .Xauthority for user local user_home=$(eval echo "~$user") local user_xauth="$user_home/.Xauthority" # Copy MIT-MAGIC-COOKIE sudo -u "$user" touch "$user_xauth" xauth extract - "$display" | sudo -u "$user" xauth merge - 2>/dev/null || { # Fallback: grant access via xhost DISPLAY=$display xhost +SI:localuser:$user 2>/dev/null || true } # Set correct permissions sudo chown "$user:$user" "$user_xauth" 2>/dev/null || true sudo chmod 600 "$user_xauth" 2>/dev/null || true } # Setup permissions for input devices (gamepads, keyboards) setup_input_devices() { echo " β†’ Setting up input device permissions" # Permissions for /dev/input/* for gamepads and other input devices sudo chmod 666 /dev/input/event* 2>/dev/null || true sudo chmod 666 /dev/uinput 2>/dev/null || true # Permissions for DRI for GPU (if used) sudo chmod 666 /dev/dri/renderD* 2>/dev/null || true echo " βœ“ Input device permissions set" } # Create and setup XDG_RUNTIME_DIR setup_xdg_runtime() { local user=$1 local user_uid=$2 local runtime_dir="/run/user/$user_uid" echo " β†’ Setting up XDG_RUNTIME_DIR: $runtime_dir" # Create directory if it doesn't exist if [[ ! -d "$runtime_dir" ]]; then sudo mkdir -p "$runtime_dir" echo " βœ“ Created $runtime_dir" fi # Set correct permissions (700 mandatory for XDG) sudo chown "$user:$user" "$runtime_dir" sudo chmod 700 "$runtime_dir" } # Create and setup Steam directories setup_steam_dirs() { local user=$1 local user_home=$(eval echo "~$user") echo " β†’ Setting up Steam directories for $user" # Main Steam and Proton directories local steam_dirs=( "$user_home/.steam" "$user_home/.steam/steam" "$user_home/.steam/steam/steamapps" "$user_home/.steam/steam/steamapps/compatdata" "$user_home/.steam/steam/steamapps/compatdata/$APPID" "$user_home/.local/share/Steam" "$user_home/.config/protonfixes" ) # Create all necessary directories for dir in "${steam_dirs[@]}"; do if [[ ! -d "$dir" ]]; then sudo -u "$user" mkdir -p "$dir" echo " βœ“ Created: $dir" fi done # Ensure permissions are correct sudo chown -R "$user:$user" "$user_home/.steam" 2>/dev/null || true sudo chown -R "$user:$user" "$user_home/.local/share/Steam" 2>/dev/null || true sudo chown -R "$user:$user" "$user_home/.config" 2>/dev/null || true # Create symlinks if needed if [[ ! -L "$user_home/.steam/steam" ]] && [[ ! -d "$user_home/.steam/steam" ]]; then sudo -u "$user" ln -sf "$user_home/.local/share/Steam" "$user_home/.steam/steam" 2>/dev/null || true fi } # Create log directory setup_log_dir() { local user=$1 local log_dir="/tmp/cubemaster_logs" echo " β†’ Setting up log directory: $log_dir" if [[ ! -d "$log_dir" ]]; then mkdir -p "$log_dir" fi chmod 777 "$log_dir" # All users can write logs # Clean up old protonfixes logs for this user # (avoid permission conflicts) local proton_log="/tmp/protonfixes_test.log" if [[ -f "$proton_log" ]]; then # If file exists and doesn't belong to current user - delete it local owner=$(stat -c '%U' "$proton_log" 2>/dev/null || echo "") if [[ -n "$owner" && "$owner" != "$user" ]]; then rm -f "$proton_log" 2>/dev/null || true fi fi # Create empty log file with permissions for all touch "$proton_log" 2>/dev/null || true chmod 666 "$proton_log" 2>/dev/null || true } # Check if user exists user_exists() { id "$1" &>/dev/null } # Check game availability check_game_exists() { if [[ ! -f "$GAME" ]]; then echo "❌ ERROR: Game not found: $GAME" exit 1 fi if [[ ! -r "$GAME" ]]; then echo "❌ ERROR: No read permissions: $GAME" exit 1 fi } # Check if user needs first initialization needs_first_run() { local user=$1 local user_home=$(eval echo "~$user") local marker_file="$user_home/.steam/steam/steamapps/compatdata/$APPID/.initialized" # If marker exists - initialization not needed if [[ -f "$marker_file" ]]; then return 1 # false fi return 0 # true } # Create initialization marker mark_as_initialized() { local user=$1 local user_home=$(eval echo "~$user") local marker_file="$user_home/.steam/steam/steamapps/compatdata/$APPID/.initialized" sudo -u "$user" touch "$marker_file" } # Create one-time script for first run create_first_run_script() { local user=$1 local user_uid=$2 local user_home=$(eval echo "~$user") mkdir -p "$FIRSTRUN_DIR" local script_file="$FIRSTRUN_DIR/firstrun_${user}.sh" cat > "$script_file" << 'EOFSCRIPT' #!/bin/bash USER="USER_PLACEHOLDER" USER_UID=UID_PLACEHOLDER USER_HOME="HOME_PLACEHOLDER" APPID=APPID_PLACEHOLDER GAME="GAME_PLACEHOLDER" DISPLAY_MAIN=DISPLAY_PLACEHOLDER RES_W=WIDTH_PLACEHOLDER RES_H=HEIGHT_PLACEHOLDER MARKER_FILE="MARKER_PLACEHOLDER" echo "════════════════════════════════════════════════════════" echo " First time initialization for: $USER" echo "════════════════════════════════════════════════════════" echo "" echo "Starting download and unpacking of Proton/Steam data..." echo "This may take a few minutes on first run." echo "" echo "Game window will open automatically." echo "When you see the game window - simply close it." echo "" # Clean old log rm -f /tmp/protonfixes_test.log 2>/dev/null || true # Launch game sudo -u "$USER" -H env \ DISPLAY=$DISPLAY_MAIN \ XAUTHORITY="$USER_HOME/.Xauthority" \ XDG_RUNTIME_DIR="/run/user/$USER_UID" \ STEAM_COMPAT_CLIENT_INSTALL_PATH="$USER_HOME/.steam/steam" \ STEAM_COMPAT_DATA_PATH="$USER_HOME/.steam/steam/steamapps/compatdata/$APPID" \ SteamAppId=$APPID \ SteamGameId=$APPID \ __NV_PRIME_RENDER_OFFLOAD=1 \ __GLX_VENDOR_LIBRARY_NAME=nvidia \ SDL_VIDEODRIVER=x11 \ SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS=1 \ gamescope -w $RES_W -h $RES_H -- \ umu-run "$GAME" echo "" echo "════════════════════════════════════════════════════════" echo " βœ“ Initialization completed for: $USER" echo "════════════════════════════════════════════════════════" echo "" # Create successful initialization marker sudo -u "$USER" touch "$MARKER_FILE" echo "Now you can use FastRun.sh to quickly launch all windows!" echo "" read -p "Press Enter to delete this one-time script..." # Self-deletion rm -f "$0" echo "βœ“ Script deleted." EOFSCRIPT # Substitute real values sed -i "s|USER_PLACEHOLDER|$user|g" "$script_file" sed -i "s|UID_PLACEHOLDER|$user_uid|g" "$script_file" sed -i "s|HOME_PLACEHOLDER|$user_home|g" "$script_file" sed -i "s|APPID_PLACEHOLDER|$APPID|g" "$script_file" sed -i "s|GAME_PLACEHOLDER|$GAME|g" "$script_file" sed -i "s|DISPLAY_PLACEHOLDER|$DISPLAY_MAIN|g" "$script_file" sed -i "s|WIDTH_PLACEHOLDER|$RES_W|g" "$script_file" sed -i "s|HEIGHT_PLACEHOLDER|$RES_H|g" "$script_file" sed -i "s|MARKER_PLACEHOLDER|$user_home/.steam/steam/steamapps/compatdata/$APPID/.initialized|g" "$script_file" chmod +x "$script_file" echo "$script_file" } # Create FastRun.sh create_fastrun_script() { # If already exists - do not overwrite if [[ -f "$FASTRUN_SCRIPT" ]]; then echo " β†’ FastRun.sh already exists, skipping creation" return fi echo " β†’ Creating FastRun.sh for quick launch" cat > "$FASTRUN_SCRIPT" << 'EOFFASTRUN' #!/bin/bash set -e # ============================================================================= # FastRun - Quick launch without setup # ============================================================================= APPID=APPID_PLACEHOLDER GAME="GAME_PLACEHOLDER" RES_W=WIDTH_PLACEHOLDER RES_H=HEIGHT_PLACEHOLDER DISPLAY_MAIN=DISPLAY_PLACEHOLDER USERS=(USERS_PLACEHOLDER) echo "════════════════════════════════════════════════════════" echo " FastRun - Quick launch Cube Master" echo "════════════════════════════════════════════════════════" echo "" # Check root permissions if [[ $EUID -ne 0 ]]; then echo "❌ This script must be run with sudo" echo " Usage: sudo ./FastRun.sh" exit 1 fi # Clean shared files rm -f /tmp/protonfixes_test.log 2>/dev/null || true # Quick launch of all instances for USER in "${USERS[@]}"; do if ! id "$USER" &>/dev/null; then echo "⚠ Skipping $USER (user not found)" continue fi USER_UID=$(id -u "$USER") USER_HOME=$(eval echo "~$USER") LOG_FILE="/tmp/cubemaster_logs/${USER}.log" echo "β†’ Launching for $USER (UID=$USER_UID)" sudo -u "$USER" -H env \ DISPLAY=$DISPLAY_MAIN \ XAUTHORITY="$USER_HOME/.Xauthority" \ XDG_RUNTIME_DIR="/run/user/$USER_UID" \ STEAM_COMPAT_CLIENT_INSTALL_PATH="$USER_HOME/.steam/steam" \ STEAM_COMPAT_DATA_PATH="$USER_HOME/.steam/steam/steamapps/compatdata/$APPID" \ SteamAppId=$APPID \ SteamGameId=$APPID \ __NV_PRIME_RENDER_OFFLOAD=1 \ __GLX_VENDOR_LIBRARY_NAME=nvidia \ SDL_VIDEODRIVER=x11 \ SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS=1 \ gamescope -w $RES_W -h $RES_H -- \ umu-run "$GAME" \ > "$LOG_FILE" 2>&1 & echo " βœ“ PID: $!, log: $LOG_FILE" sleep 3 done echo "" echo "════════════════════════════════════════════════════════" echo " βœ“ All instances launched!" echo "════════════════════════════════════════════════════════" echo "" echo "Logs: /tmp/cubemaster_logs/" echo "Stop: sudo pkill -f 'umu-run.*Game.exe'" echo "" EOFFASTRUN # Substitute values sed -i "s|APPID_PLACEHOLDER|$APPID|g" "$FASTRUN_SCRIPT" sed -i "s|GAME_PLACEHOLDER|$GAME|g" "$FASTRUN_SCRIPT" sed -i "s|WIDTH_PLACEHOLDER|$RES_W|g" "$FASTRUN_SCRIPT" sed -i "s|HEIGHT_PLACEHOLDER|$RES_H|g" "$FASTRUN_SCRIPT" sed -i "s|DISPLAY_PLACEHOLDER|$DISPLAY_MAIN|g" "$FASTRUN_SCRIPT" # Build users array local users_str="" for user in "${USERS[@]}"; do users_str+="\"$user\" " done sed -i "s|USERS_PLACEHOLDER|$users_str|g" "$FASTRUN_SCRIPT" chmod +x "$FASTRUN_SCRIPT" echo " βœ“ FastRun.sh created: $FASTRUN_SCRIPT" } # ============================================================================= # Main script # ============================================================================= echo "════════════════════════════════════════════════════════" echo " Cube Master setup for multiple users" echo "════════════════════════════════════════════════════════" echo "" # Check that script is run with root/sudo permissions if [[ $EUID -ne 0 ]]; then echo "❌ This script must be run with sudo" echo " Usage: sudo $0" exit 1 fi # Check game existence check_game_exists # Check for necessary commands for cmd in gamescope umu-run xauth xterm; do if ! command -v $cmd &>/dev/null; then if [[ "$cmd" == "xterm" ]]; then echo "⚠ Warning: command 'xterm' not found (needed for first run)" echo " Install: sudo pacman -S xterm (Arch) or sudo apt install xterm (Ubuntu)" else echo "⚠ Warning: command '$cmd' not found" fi fi done echo "" # Input device permissions setup (once for all) echo "─────────────────────────────────────────────────────" echo "Setting up input devices (gamepads, keyboards)" echo "─────────────────────────────────────────────────────" setup_input_devices echo "" # Tracking arrays NEW_USERS=() EXISTING_USERS=() # Environment setup for each user for USER in "${USERS[@]}"; do echo "─────────────────────────────────────────────────────" echo "Setting up environment for: $USER" echo "─────────────────────────────────────────────────────" # Check user existence if ! user_exists "$USER"; then echo "❌ ERROR: User $USER does not exist!" echo " Create user: sudo useradd -m $USER" continue fi USER_UID=$(id -u "$USER") # Perform setup setup_xdg_runtime "$USER" "$USER_UID" setup_steam_dirs "$USER" setup_x11_access "$USER" "$DISPLAY_MAIN" setup_log_dir "$USER" # Check if first initialization is needed if needs_first_run "$USER"; then echo " ⚠ First initialization required for $USER" NEW_USERS+=("$USER:$USER_UID") else echo " βœ“ User already initialized" EXISTING_USERS+=("$USER") fi echo " βœ“ Environment set up" echo "" done # Create FastRun.sh echo "─────────────────────────────────────────────────────" create_fastrun_script echo "─────────────────────────────────────────────────────" echo "" # If new users exist - create first run scripts for them if [[ ${#NEW_USERS[@]} -gt 0 ]]; then echo "════════════════════════════════════════════════════════" echo " New users detected!" echo "════════════════════════════════════════════════════════" echo "" echo "First initialization required for the following users:" echo "" for user_info in "${NEW_USERS[@]}"; do USER="${user_info%%:*}" USER_UID="${user_info##*:}" echo " β†’ $USER" # Create first run script first_run_script=$(create_first_run_script "$USER" "$USER_UID") echo " Created: $first_run_script" done echo "" echo "════════════════════════════════════════════════════════" echo " ATTENTION: First run required!" echo "════════════════════════════════════════════════════════" echo "" echo "For each new user, run the script in a separate terminal:" echo "" for user_info in "${NEW_USERS[@]}"; do USER="${user_info%%:*}" echo " sudo xterm -hold -e '$FIRSTRUN_DIR/firstrun_${USER}.sh'" done echo "" echo "Or run all at once:" echo "" echo " for script in $FIRSTRUN_DIR/firstrun_*.sh; do" echo " sudo xterm -hold -e \"\$script\" &" echo " done" echo "" echo "After completing all initializations, use:" echo " sudo ./FastRun.sh" echo "" elif [[ ${#EXISTING_USERS[@]} -gt 0 ]]; then echo "════════════════════════════════════════════════════════" echo " βœ“ All users already initialized!" echo "════════════════════════════════════════════════════════" echo "" echo "To launch all windows use:" echo " sudo ./FastRun.sh" echo "" fi echo "Done! πŸš€"

How to set this up:

  1. Download Steam, install the game, select a Proton version, and launch it once (to initialize it).
  2. Open the script and replace the paths to the prefix folder (CompatData) and the .exe file with your own.
  3. Important: Don't forget to change the account names in the USERS list to your own.
submitted by /u/Extra-Conflict5118
[link] [comments]

When will Nvidia fix the drivers for directx12 games?

Reddit Linux_Gaming - vor 6 Stunden 12 Minuten

That's my main reason why I haven't switched to Linux yet, but I really want to.

submitted by /u/Alexis_Almendair
[link] [comments]

Estou tentando baixar Genshin Impact.. mas nΓ£o tenho espaΓ§o(?)

Reddit Linux_Gaming - vor 6 Stunden 24 Minuten

https://preview.redd.it/8c4ugeosuecg1.png?width=1284&format=png&auto=webp&s=06a01199e548de62f45b5a71f8338ae7f986dc12

Eu gostaria de saber o porque na seleΓ§Γ£o do local do arquivo para baixar o jogo precisa ser tΓ£o confuso, porque tem tantos volumes de armazenamento e da onde eles saem? eu tenho apenas um HD e um SSD, sendo que neste local de seleΓ§Γ£o de pasta tem diversos volumes de tamanhos iguais.

NΓ£o sei se expliquei direito.. caso tenha ficado em duvida pode perguntar pra mim aqui
eu iniciei no linux ontem aff... ja to usando o reddit :p

submitted by /u/Status_Surround3007
[link] [comments]

Vesktop screenshare is amazing, but how do i fix the issue of people hearing themselves whenever i stream something?

Reddit Linux_Gaming - vor 7 Stunden 3 Minuten

I just wanted to preface this by saying that i don't use linux. I only posted on here since it seems people get reliable answers on here regarding Vesktop.

I installed vesktop as screensharing on the OG Discord app would just be horrible at times, despite me having alright internet. But ever since i got Vesktop, streaming things without my friends seeing it stutter or get bad quality is awesome. However. It comes with the issue of my friends hearing themselves on my stream.

how do i fix this?

submitted by /u/Brungala
[link] [comments]

Blackguards 1 GoG version glitches out via Heroic, but runs when funneled through Steam

Reddit Linux_Gaming - vor 7 Stunden 10 Minuten

I'm at wits end. When I install and run Blackguards 1 through Heroic Game Launcher, it executes fine, but when I create a character and jump into the first tutorial battle, the turn based combat instantly finishes my turn so that the easy enemy constantly attacks without me being able to take any action.

It's such a weird bug, since graphically and runtime wise, it seems to run fine. But alright, bugs happen. But then I installed the Steam version and that one works flawlessly.

But here's the kicker: Then I added the Heroic install as a non-steam game to Steam and ran it with the exact same Proton version (GE-10-28), and now it works too. So it can't be the executable, nor the Proton version right? What could Heroic be doing wrong? Any settings I can try? I already tried various settings like "Use Steam Runtime" but nothing has any effect.

Since I manage to run it through Steam, I could just play it that way. But this is such an absurd error; it turned into a weird obsession by now trying to figure out what is going on and how I can fix it.

Anyone got any clues or things I could try?

 

TL;DR: Game installed through HGL and run with GE-Proton10-28 has a weird ingame glitch. But when adding the same executable as a non-steam game to Steam run with the same Proton version, it works

submitted by /u/Sc4rlite
[link] [comments]

Seiten