Other News about gaming on Linux

Compiling Proton 9.0.1

Reddit Linux_Gaming - 03. Mai 2024 - 06:07

Tonight, I downloaded the Proton 9.0.1 source, modified some of the build args, compiled the project, installed.it into the Steam directory, and tested it on DayZ. It was incredibly fast, smooth FPS, and stable. Am I crazy when I say it seems to be faster and more stable than Windows? Whatever, you can decide for yourself.

Get the source:

You don't need --branch proton-9.0-1 but it's nice to know how to explicitly download each individual version if you're not familiar with git.

git clone --recurse-submodules --branch proton-9.0-1 https://github.com/ValveSoftware/Proton.git proton901

Go into the Proton901 directory and open up Makefile.in with Mousepad or whatever editor you prefer. Find -Werror and remove that line. This gives me grief most of the time so removing it seems to do fine. However, it may cause the compiling to proceed without some necessary dependencies. I rolled the dice, myself, knowing that I installed a heap of dependencies.

Then find OPTIMIZE_FLAGS and change that line to "OPTIMIZE_FLAGS := -O2 -march=native" or even use -O3 if you want. I have been using O3 and it's been fine. I'm not going to make any claims about this, since this is your project to mess around with, try things out and have fun. I have tried some optimizations from the Gentoo people but found that they're not making big differences. I keep it simple. For me, -O3 -match=native is perfect.

CHECK BELOW FOR FURTHER OPTIMIZATIONS (for educational purposes only) before proceeding if you want.

cd proton901

mkdir build

cd build

../configure.sh --enable-ccache --build-name=proton901

make redist

Wait a while. The older the CPU, the longer you wait. If it stops and gives you an error then try to fulfill the dependency. Keep doing that until it doesn't produce a fatal error.

When it stops, if you see contents inside /proton901/build/redist then it probably worked. These are the files that you will copy into the Steam directory.

Create a directory here called Proton901: /home/<YOUR USERNAME HERE- CHANGE ME>/.steam/root/compatibilitytools.d/

Now copy the contents of the redist directory into the Proton901 directory.

Within the /.steam/root/compatibilitytools.d/ should be all of the directories that hold your various versions of Proton.

Set up Steam to use your Proton version: Start Steam->Settings->Compatibility->turn on Enable Steamplay for all titles AND select proton901 on the "Run with other titles" option. You can also go into the properties of each game in your library and select which Proton you want that game to use. Useful when some games work only on older Proton versions.

Now try running your favorite game with your newly compiled version of Proton! If everything works fine, great! If not, read the following:

You're going to need Docker installed but not the one that comes with Ubuntu. Google Docker and how to install the latest stable version on your distro.

You might need GCC 13.x because that's newer and some of the projects within Proton use operands that aren't supported in 12. Use a PPA, or even compile GCC yourself like I did from source.

There may be a handful of other dependencies needed and you could fill some of them just by using this commend: sudo apt-get build-dep wine sudo apt-get build-dep ffmpeg

Try others based upon the projects within the Proton directory until you stop getting errors. I'm sorry that I don't yet have a list of the most common dependencies!

Some common questions: "Why bother? What's the point?" I'm not sure if this can be done on Windows so it's just one more cool thing that we Linux gamers can do. It's also educational. I could swear my version has a little more pep and speed to it but I've never tested it.

"Can I share the files in /home/<my username>/.steam/root/compatibilitytools.d/ with my friends?" No, unless they have the exact same CPU that you do. The -march=native generates a binary that uses the OP codes of your specific CPU. Those binaries probably use CPU code that your friend's doesn't support and it will crash. Also, I have never tried this so there might be more entanglements. Give your friend this link and have them try it!

"Will GCC 14 create a faster Proton when it's released?" I really don't know but I'm reading that the GCC 14 improvements will affect certain CPUs and, in theory, it's possible.

OPTIMIZATIONS (for educational purposes only) I added some additional lines into the Markefile.in and they look something like this:

DAV1D_MESON_ARGS = \ -Doptimization=3 \ -Dc_args="-O3 -march=native" \ -Dcpp_args="-O3 -march=native" \ -Denable_tools=false \ -Denable_tests=false

FFMPEG_CONFIGURE_ARGS := \ --extra-cflags="-O3 -march=native" \ --extra-cxxflags="-O3 -march=native" \ --extra-objcflags="-O3 -march=native" \ --enable-shared \ --disable-static \ --disable-everything \ --disable-programs \ --disable-doc \

Modifying the build args for some proton projects can break the build but these all modify with the above optimizations just fine: DAV1D_MESON_ARGS GST_ORC_MESON_ARGS GSTREAMER_MESON_ARGS GST_BASE_MESON_ARGS GST_GOOD_MESON_ARGS FFMPEG_CONFIGURE_ARGS

Another technique that I use: At the Bash terminal while in the Proton directory, use this to fine the files you want to add GCC optimizations to: grep -r CFLAGS | grep vkd3d

From that I see a file that I can modify: vkd3d/configure.ac: [VKD3D_CFLAGS="-Wall -pipe"

I also search with: grep -r CFLAGS | grep O2

Just have fun with it. Using this technique you could possibly add or remove features that you want or ones you don't use.

UPDATE: Some peoples' builds failed due to Docker issues. Mine did too on Xubuntu so I used this guide and that solved it. https://docs.docker.com/engine/install/ubuntu/ There are guides for other distros too. This one for Fedora: https://docs.docker.com/engine/install/fedora/ Just find your distro on the page menu to the left and follow it.

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

Fallout 4 won't launch

Reddit Linux_Gaming - 03. Mai 2024 - 05:48

So idk if this is a linux issue but all of a sudden my fall out 4 won't open. I used different versions of protons I have no mods it just get nothing not the launcher or the game

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

Trying to Run Dark and Darker, but getting abysmal performance through lutris, struggling to track down the cause. Anyone got advice?

Reddit Linux_Gaming - 03. Mai 2024 - 04:18

Just did the lutris install thing they have, after trying to get it up and running through steam and proton. Couldn't work out what the issue was there, as nothing with protontricks failed when I went through the processes outlined on the net. So now with Lutris, getting barely 40fps with low settings using a 6750xt. Current defaults are wine-ge and it doesn't seem to work with any other wine versions.

If any folk got ideas, would appreciate it. Not familiar with Lutris so not sure where to hunt down logs.

submitted by /u/Klutzy-Discipline686
[link] [comments]

Splinter Cell: Chaos Theory crashes on save

Reddit Linux_Gaming - 03. Mai 2024 - 03:23

The error in question

I've recently got SCCT and had it set up pretty fine inside of Steam @ Flatpak on Arch. I've tried Proton 3.6, 5.0 and 8.0, and this window comes up the second I try to save the gameplay, either with F5 or using a pause menu entry. This is gamebreaking. How do I fix the issue? How to improve my debugging experience?

PROTON_LOG=1 outputs seemingly nothing relevant

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

What specs can run any games?

Reddit Linux_Gaming - 03. Mai 2024 - 02:20

My pc is kinda outdated and I can’t run a lot of modern games. At the lowest settings I’m lucky to get 50-60 fps on cyberpunk. Ark is a slideshow and games such as Jedi survivor run on 15fps. My budget is around £1.5k ($1900). Could I get a pc that could run pretty much any game at 90+ fps on medium settings?

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

Gamescope, multiple monitor and very ultra wide

Reddit Linux_Gaming - 03. Mai 2024 - 01:23

I have 3 displays, all of them 2560*1440
My working setup on ubuntu was to run games inside gamescope with this arguments :

gamescope -b --xwayland-count 1 -w 7680 -h 1440 -- mangohud %command%

Gamescope would run as an X11 application, allowing me to then run :

wmctrl -e 0,0,0,7680,1440 -i -r <WIN> ou WIN is the gamescope x11 id I got from wmctrl in the first place

That way, the game thinks it runs on a very wide display since it cannot see the underlying setup. And wmctrl would place the gamescope window on the rightmost display, but with a width of 3 times 2560, it would cover all my screen space

Basically, the eyefinity concept but for linux, allowing for a nice immersion. Worked nicely in Cyberpunk 2077 or Horizon Zero Dawn

Since I had paid leave days to take and nowhere to go, I've decided to migrate to Arch Linux and do some tinkering.

I have a working system with plasma 6, which was my first objective

The issue is that gamescope now starts as a native wayland window instead of a Xwayland one, meaning my trick with wmctrl is dead in the water. And the -b seems to be broken since I have kde decorations on the window

I have then 2 questions

1) is there a way to force gamescope to run in x11 mode (ie over XWayland) ?

2) is there a way to have the same approach in a wayland only setup ? wmctrl has no equivalent, and the whole wayland philosophy seems to be against manipulating windows positions and size anyway. I'm open to change compositor if necessary

I continue tinkering, if I found something, I will post an update if it can help someone

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

Fresh Steam (and system) install, Steam doesn't launch. [Arch Linux]

Reddit Linux_Gaming - 03. Mai 2024 - 00:29

I've done this many times (installed steam on a fresh system) and it worked as expected every time. Expect for today.

Output of steam:

bin_steam.sh[6466]: Setting up Steam content in /home/adam/.local/share/Steam gio: Setting attribute metadata::trusted not supported steam.sh[6466]: Running Steam on arch rolling 64-bit steam.sh[6466]: STEAM_RUNTIME is enabled automatically setup.sh[6550]: Updating Steam runtime environment... /home/adam/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found run.sh[11213]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig steam.sh[6466]: Can't find 'steam-runtime-check-requirements', continuing anyway tid(11244) burning pthread_key_t == 0 so we never use it [2024-05-02 22:27:49] Startup - updater built Jan 13 2024 00:51:43 [2024-05-02 22:27:49] Startup - Steam Client launched with: '/home/adam/.local/share/Steam/ubuntu12_32/steam' ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". 05/02 22:27:49 Init: Installing breakpad exception handler for appid(steam)/version(0)/tid(11244) crash_20240502222749_2.dmp[11247]: Uploading dump (out-of-process) /tmp/dumps/crash_20240502222749_2.dmp /home/adam/.local/share/Steam/steam.sh: line 798: 11244 Segmentation fault (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"

I reinstalled my whole system today. It didn't work on the previous install too (worked yesterday...)

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

Scroll wheel skipping

Reddit Linux_Gaming - 02. Mai 2024 - 23:32

I installed fedora 40 a few days ago and havet had many issues, but one annoying one i have is that when i switch direction while scrolling in some instances the first "click" is ignored. The places i have noticed this is the gnome workspace switcher, hotbar in Minecraft, wepon switching in Cyberpunk, most likely other games too. This is most annoying in Minecraft as i use the scroll wheel all the time. I am using xorg atm and the workspace switcher works as expected, so i understand it might be an issue of "deal with it til explicit sync is out" but if anyone know how to fix it, some help would be appreciated. If it helps im also using a Logitech g903.

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

Which OS should I go with?

Reddit Linux_Gaming - 02. Mai 2024 - 22:38

Resurrected my girlfriends old lenovo laptop and want to use it for normal everyday and some gaming (mostly emulation and older games on Steam).

I was debaiting between Manjaro or Mint but don't know which to go with or if there's a better option. Any suggestions or tips to get the best out of it?

P.S. It needs to be something I can dual boot because I also want to use it as a Kali machine to learn pentesting.

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

Steam games lagging hard or not booting at all (proton/Ubuntu)

Reddit Linux_Gaming - 02. Mai 2024 - 21:54

I recently switched to Ubuntu after hearing it could give me better performance. Have tried games that have run very smoothly on windows, yet they lag A LOT (could run TF2 on highest graphics settings with 60+ fps, but even with the lowest graphics settings I am struggling to get near anything remotely smooth framerates).

It seems that it is something that is possible to fix, my machine is running on 8gb ram (IK that isn't a lot, but it was enough back on windows...).

I am just left wondering what to do to inprove my performance as it wasn't an issue back on windows. Should I switch to a more gaming focused distro than Ubuntu or are there any settings that can help me get better performance, * it seems as if proton is causing lag, as other applications (non-games) run pretty fine.

Specs:

Hardware model: Lenovo Idea centre G5 14IMB05

Memory: (ram) 8.0 GiB

Processor: Intel®Core™i5-10400F CPU @ 2.90GHz × 12

Graphics: NV168

Disk capacity: 752.2 GB

OS Name: Ubuntu 22.04.4 LTS

OS Type: 64-bit

GNOME Version: 42.9

Windowing system: Wayland

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

Help to run apex legends on linux

Reddit Linux_Gaming - 02. Mai 2024 - 21:40

I was attempting to run apex legends on Linux and it takes an abhorrently long time to process vulkan shaders. Took approximately an hour to reach 63% and got even slower beyond that. My build is quite good, with an i3-13600kf and an nvidia 3060. I'm almost certain this should not be the case. Any help is appreciated.

Current steps taken to fix: Proton experimental instead of default (I assume hotfix) Enabling background shader compiling

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

“Proton installation could not be found!” :<

Reddit Linux_Gaming - 02. Mai 2024 - 21:19

Trying to mod Persona 3 Reload again after not playing for some time. Was able to launch it fine earlier but now I’m having some issues after trying to launch Reloaded II where the shortcut to launch the game modded doesn’t work anymore.

I am not a smart person, I just like silly video games. Could someone offer a solution..?

Protontricks was closed due to the following error: Proton installation could not be found! Please include this entire error message when making a bug report. Log messages: Found Steam directory at /home/deck/.local/share/Steam Found 1 Steam library folders Currently logged-in Steam user: (my steam username! Shortcut Launch P3R using Reloaded * (3915616154) does not have a prefix. It's either not a Proton app or it hasn't been launched yet. Found © Steam shortcuts running using Steam compatibility tools Using 'yad' as GUI provider Calling protontricks with the command: [° --no-background-wineserver'. '-no-term', '-c', 'wine /home/deck/PersonaModding/Reloaded-II/Release/Reloaded II. exe', '632360'] Running inside Flatpak sandbox, version 1.14.4. Using default Steam Runtime at /home/deck/.local/share/Steam/ubuntu12 32/steam- runtime WINETRICKS environment variable is not available. Searching from $PATH. Found 1 Steam library folders Currently logged-in Steam user: iamthebestcorky Shortcut Launch P3R using Reloaded * (3915616154) does not have a prefix. It's either not a Proton app or it hasn't been launched yet. Found 0 Steam shortcuts running using Steam compatibility tools The current device is a Steam Deck We're on a Steam Deck, checking if compatibility profile is available for the app App has Steam Deck compatibility profile with Proton version: proton-stable User has configured default Proton version (CompatToolMapping) : proton 9 Could not find configured Proton installation! Active Proton installation could not be found automatically.

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

Random distortion when using HDMI audio

Reddit Linux_Gaming - 02. Mai 2024 - 21:18

Arch Linux, Nvidia, Pipewire.

As the title says, I'm getting some kind of intermittent distortion only when using HDMI audio. It's not the crackling issue that people often have. It almost sounds like it could be interference, but I can't imagine where it would be coming from. I'm not exactly in a densely populated area. it's sort of a buzz/drone sound that's across most of the frequency spectrum but primarily the mids, and it kind of moves/evolves when it happens for a few seconds continuously.

I've tried some basic things like manually setting bitrate and buffer sizes, but it hasn't made a difference.

Just wondering if anyone else has run into this issue, and might know of a fix? It's incredibly annoying.

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

Steam isn't starting

Reddit Linux_Gaming - 02. Mai 2024 - 21:17

Simple thread;
Why has steam decided that it doesn't want to start now?
Arch user btw.

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

Does this means that my GPU is not working in Helldivers 2?

Reddit Linux_Gaming - 02. Mai 2024 - 20:49

as I'm playing Helldivers 2 I noticed that there is no GPU in the mangohud. I'm using rtx 3050 laptop GPU, and I'm using manjaro KDE.

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

Looking Glass

Reddit Linux_Gaming - 02. Mai 2024 - 20:23

https://looking-glass.io/docs/B7-rc1-21-ecd3692e/requirements/#connected-display

I've been looking into looking glass and I have a question whether my laptop which has an integrated AMD gpu and a dedicated Nvidia gpu where the latter routes it's output to the former instead of being connected to a display.

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

Separate, physical disk for playing League/Valorant?

Reddit Linux_Gaming - 02. Mai 2024 - 19:57

Hey, I'm not really happy to have Vanguard running 24/7 somewhere in depths of system kernel - especially that nobody is 100% sure what it really can do behind the scenes - we can only hope it detects cheats and nothing else. So I was wondering - if I purchase second NVme disk and install there windows 11 just for games - would that keep my primary disk with linux safe?

For clarity - On my main disk with linux - I do use secureboot + whole disk is encrypted using default debian crypt params. For second disk with windows - I would only run there those 2 games, no login to web browser, no work, no sending personal files there.

Also, prove me if I'm wrong but as these are 2 separate disks, I don't need to create some custom grub entries, right? I can just enter boot menu manually from keyboard every time I want to boot to my second drive.

Asking all of this cuz truth be told I miss League after all and I can pickup such disk for maybe $15.

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

Seiten