Steam launch options linux

Steam launch options linux

Lately, a lot of Linux steam games seem unable handle screen resolutions changes properly in current Linux systems (perhaps only when using the nvidia driver?). For example, you set the in-game resolution to change to half of HD, such as 960×540, and often times anywhere from one to all of the following happens:

— The system screen resolution doesn’t actually change. A window of the selected resolution’s dimensions is just stretched out to the full desktop resolution.

— If the resolution does apparently change, there is some sort of bug where the full desktop is still rendered, while the screen slides around it as the mouse moves. The game screen gets moved away from view.

— If the resolution does apparently change, upon exiting the game the screen doesn’t return to the original resolution.

— Upon exiting the game, sometimes the display resolution gets bugged out and can’t even be returned to the desktop resolution manually. You need to restart X / log off to correct it.

It could be an SDL, X11, or another type of bug causing this. I don’t know. All I know is that changing around the resolution manually with xrandr does not cause these issues. With non-steam games, I can use a wrapper script to change the resolution with no issues. Currently, I sometimes resort to changing the resolution manually before starting a steam game that I know has the issues above. I would like to know if there is a way to do something similar from within steam?

Источник

Steam launch options linux

Easily set launch options for your Windows/Linux Steam games (single/multiple/all) via CLI on Linux

This script allows you to apply common launch options for your Steam Windows/Linux games simultaneously without touching any Steam GUI options. The script runs and works only on Linux.

You can update launch options for single games, selected group of games or your all games.

You can customize your launch options via interactive shell prompt, offered by the script.

Advantages:

  • apply massive amount of launch options instantly. No more clicking through Steam GUI options.
  • apply launch options for single games, multiple games or all your games

Disadvantages:

  • runs only on Linux
  • can’t update launch options while Steam client is running

Linux Steam Client

Linux/Windows games on your Steam game library

Just run bash steam_launchoptions.sh and follow the instructions.

You can select multiple games by using following syntaxes:

How-to: Selecting a single Windows/Linux game

On the game selection prompt, use the following syntax:

which stands for «Select game 3 from the presented list (which is shown during script execution)»

How-to: Selecting individual games

On the game selection prompt, use the following syntax:

which stands for «Select games 1, 2 and 5 from the presented list (which is shown during script execution)»

How-to: Selecting all Windows/Linux games

On the game selection prompt, use the following syntax:

stands for «Select all games from the presented list (which is shown during script execution)»

How-to: Clearing all launch options

When the script asks you to type launch options, just leave it pure blank. The script will tell you that launch options will be emptied for the games you will choose.

You can clear & customize launch options for single/multiple/all games, depending on your further choises.

This repository uses GPLv3 license. See LICENSE for details.

About

Easily set launch options for your Windows/Linux Steam games (single/multiple/all) via CLI on Linux

Читайте также:  Linux смена времени консоль

Источник

Steam launch options linux

I currently play the Titanfall 2 Multiplayer with Proton 5.0-10 and want to add/update the [advanced] launch options in Origin because the Steam launch options are ignored (mangohud still works but the game related ones do not).

But because the Origin client blocks setting the launch options when the game is running I can never add/update them since as soon as the game is stopped and I would be able to do it the Origin window is automatically closed too.

Is there a way to only start the Origin client without starting the game to add/update the [advanced] launch options?

(It would also be extra nice if this would work for all games that are started via the Origin client, but I take anything that would work)

It is not the correct WINEPREFIX, you have 2 ways of running it

My guess would be to manually launch Origin using and from the prefix of the game, and once open, set the options you want/need there, close Origin and test launching from Steam as usual to see if the options are kept.

Edit
In order to do so:
Set the WINEPREFIX= variable to the absolute path for the game, starting from /, then use the path to the installation directory for proton and use proton run or dist/bin/wine to run Origin from the path to the drive_c directory inside the game’s prefix.

My guess would be to manually launch Origin using and from the prefix of the game, and once open, set the options you want/need there, close Origin and test launching from Steam as usual to see if the options are kept.

Edit
In order to do so:
Set the WINEPREFIX= variable to the absolute path for the game, starting from /, then use the path to the installation directory for proton and use proton run or dist/bin/wine to run Origin from the path to the drive_c directory inside the game’s prefix.

Thanks for the reply but I still don’t really know how to manually run Origin (I have no experience using wine besides wine and an exe file as argument).

For Titanfall 2 the Steam ID is 1237970 so my WINEPREFIX would be:

The Proton version should be Proton 5.0 (I checked what was listed in htop:

But what are the arguments that I should run now?

Источник

Steam launch options linux

Steam Tinker Launch

Steam Tinker Launch (short stl) is a Linux wrapper tool for use with the Steam client which allows customizing and start tools and options for games quickly on the fly (see Features)

By using a versatile configuration structure it is both easy to set up and flexible.

stl works with Linux native games and with games using Proton! (Some features (f.e. ReShade) are only available for games using Proton) (Non-Steam games added to Steam are supported as well)

There are two ways to use stl with Steam. Either as Steam Launch Option or as Steam Compatibility Tool (simply enabling it as global default Steam Compatibility Tool works fine as well)

(of course you’re using this tool at your own risk and you’re responsible which 3rd party programs you launch with it)

Game specific use

When starting a game a small Wait requester will pop up. If within a short waiting period (default 2 seconds) the spacebar is pressed the Main Menu will open where everything can be configured comfortably. When done with configuring (or when the requester timeouts) the game will be started regularly with all tools and options configured.

Читайте также:  Astra linux офисные пакеты

Installation via Package Management

Arch Linux via AUR (f.e. using yay): yay -S steamtinkerlaunch

Solus has an official package: sudo eopkg install steamtinkerlaunch

If stl is not in your package management yet, just sudo make install

stl depends on several other programs which need to be installed as well. Check the Installation wiki

Several great people already mentioned stl on their platforms/channels.

Thanks a lot to you all! 👍

(no specific order, list might be incomplete)

  • podiki(who also contributed to stl) wrote a huge Boiling Steam article
  • ekianjo made a Q&A
  • Hex DSL made a youtube video
  • tuxfoo made a youtube video
  • Linux Game Cast already mentioned stl in their castsseveraltimes

Feel free to contribute to the project — there are many possibilities to do so:

  • implement new features
  • make good bug reports
  • suggest new features
  • maintain a package for your distribution
  • add translations
  • find out how cool it is and tell others 🙂

Got and idea or suggestions, but don’t want to open an issue? Visit /r/SteamTinkerLaunch/

When stl is started for the first time it will create its default configuration structure. Almost everything can be configured with the built-in Main Menu, but optionally also with a graphical text editor. It might be a good idea to start with configuring everything in the Main Menu to your needs

If you want to get an overview over the Steam Tinker Launch features, but the huge wiki is too overwhelming, you might want to check the articles and videos of many cool people!

All Configuration Files are self-contained documented and always growing, so not every option is documented in here. For a general overview what can be configured, just check the wiki or simply browse through the Main Menu, which covers almost everything available.

The initial Wait Requester acts as gate to the Main Menu. If selected within a timeout the Start Menu will open, else the game starts seamlessly with all configurations set.

Logs are written into the LOGDIR defined in the Global Menu / Global Config. The verbosity of the logfile depends on WRITELOG (write logfile if not 0, increase verbosity from 1-2 (1:less, 2:all)) in the same location. There are several logfiles, those which are written mostly are the game specific ones ($SteamAppId.log)

stl also has several command line which can also be useful outside steam. For available options please check stl help

About

Linux wrapper tool for use with the Steam client for custom launch options and 3rd party programs

Источник

Steam launch options linux

I don’t think it will make a 50% difference, But gamemode should give you a little boost at least

in the launch options of the game (right click, properties) Type

Also just put up the settings, If it runs at 150 fps like that on Windows, You should be able to get at least 160 fps on Linux with the same settings 😛

At least, I heard CSGO runs better on Linux than on Windows.

Why it does not do so out of the box could have a bunch of reasons. Do you see any errors in the terminal maybe?

Is it a fresh install? And have you customized anything special?

I don’t play CSGO myself sadly, but I would love to help you where possible 🙂

glxinfo -B output :

I have already tried to install more recent Mesa drivers from custom repository but the problem still here.

I see «Total available memory» is not 4GB but 8GB, is it normal ?

Читайте также:  Linux файлы виртуальных машин

I have already tried a lot of different settings :

it dont run better on linux. CS:GO runs better on Win. but if you use game mode as you said it runs a lot better but its stil run better on windows i have used over 3000 hours in that game i can feel the difference.

Hmm, This video shows it performs 15.24% better on Linux 🙂

I’m always amazed and puzzled by how little love Valve put into reworking their own very successful titles for better linux support, while doing so much to improve the platform itself.

edit: IIRC @Rogue’s input is consistent to benchmark data on Phoronix if you dig up some old win/linux comparison articles there.

If the recent rumors are to be believed, CS:GO should be getting it’s long overdue Source2 / Vulkan update any day now.

OP’s glxinfo looks fine. Just ya know. mesa gl. AMD prop drivers are worse.

I don’t use AMD so I can’t test any of the myriad tweaks I’ve seen for CS:GO, but it’s very likely that the long term fix to this is already in the pipe and we’re just waiting for deployment.

Isn’t RADV a Vulkan thing? If so it’s useless as CS:GO doesn’t use Vulkan.

Settings for fullscreen and resolution can be configured in-game without issue.

You can’t change the tickrate for servers as a client. The official servers do not use 128 tickrate (AFAIAA) though community servers might.

For Source 1 games like CS:GO, fps_max should either be 2x refresh rate + 1 (so 121 if you have a 60Hz monitor) or 0 (which uncaps it) or something very high like 999.

-novid and -nojoy have no effect on performance

-threads is not necessary on Linux, in my experience

-high is redundant if you’re already using GameMode

mat_disable_fancy_blending, cl_forcepreload, r_dynamic, and limitvsconst don’t make a big difference. Test the game with and without them to make sure they actually help in your case.

Thank you for the information.

The performance still bads, I need at least 100+fps all the time to have a playable game.

Valve needs to work on this, I can accept a decrease of 10-20% on fps but not +50%.

Do you have any advice (exept changing for RTX 2080)?

It is sad if we need a 800$ video card to have correct perfomances on a 10 years old native linux game.

I have tried to remove useless parameters, but the game still running with bad perfomance.

gamemode is already installed.

What performances should I have on my setup ?

have you found a fix ?

glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
Version: 20.2.6
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Источник

Оцените статью