ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.11k stars 1.05k forks source link

Strider (235210) #603

Open kmanchet opened 6 years ago

kmanchet commented 6 years ago

Experienced no audio and graphical flickering while playing.

Distro: Solus CPU: i7 5500U GPU: AMD Radeon R7 M265 Kernel: 4.17

kisak-valve commented 6 years ago

Hello @kmanchet, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

kmanchet commented 6 years ago

Hello, sorry for the late reply! Here is my system information.

https://gist.github.com/kmanchet/f4a288f9d597c2be58be3d6265d31d28

rezzafr33 commented 6 years ago

I have working audio but has similar graphical glitches https://gist.github.com/rezzafr33/3f24326160b8c009f42cab34c725da48

corvusd commented 5 years ago

Whit this workaround the game work perfectly in wine-staging + dxvk. The problem in proton is that change the config file not work in the same way. Change the option, and save. Run the game and the file return to the original value. Even force the file to only read, the game not read the new value.

dragonfly-lover commented 5 years ago

@rezzafr33 how did you manage audio to work? I tried also Proton 3.16-5 with no luck.

rezzafr33 commented 5 years ago

@dragonfly-lover, i did nothing, it just works out of the box, albeit with graphical glitch.

dragonfly-lover commented 5 years ago

@rezzafr33 May Be some have the problem of missing codecs. I have Ubuntu 18.04 with ffmpeg 4.1. which package do you have installed?

rafaelgomesxyz commented 5 years ago

The game crashes for me, saying that the D3D device could not be created.

kisak-valve commented 5 years ago

Hello @gsrafael01, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

NRG-R9T commented 4 years ago

It runs really well but without sound.

Steam.log: https://gist.github.com/NRG-R9T/dc02edd0c34e8bfeff15cef87d78c477

system : https://gist.github.com/NRG-R9T/0bb49d16b0b4a868e35de2118ab3f232 Proton Default 5.0-1 Distro:Ubuntu 19.10 Kernel:5.3.0-29-generic RAM:16 GB GPU Driver:4.5 Mesa 19.3.0-devel - padoka PPA GPU:Radeon RX 580 CPU:AMD Ryzen 7 1800X Eight-Core

shoober420 commented 4 years ago

Compatibility Report

System Information

LOG: steam-235210.log

Symptoms

Crash on launch

NRG-R9T commented 4 years ago

Compatibility Report

System Information

I confirm:

error.log: Gist

Symptoms

It runs really well but without sound and music. Otherwise perfectly playable. tried to launch it with all the standard tinker launch options but with no success.

Reproduction

install and start

tristianc commented 4 years ago

Compatibility Report

Name of the game with compatibility issues: Strider (2014)
Steam AppID of the game: 235210

System Information

GPU: Radeon RX 480
Driver: 4.6 (Compatibility Profile) Mesa 20.1.4
Kernel version: 5.7.11-200.fc32.x86_64
Link to full system information report: https://gist.github.com/tristianc/ae7b3daae28a14e76501df47c812b64e
Proton version: 5.0-9

I confirm:

[*] that I haven't found an existing compatibility report for this game.
[*] that I have checked whether there are updates for my system available.

Symptoms

The install location of the game determines whether or not audio works:

My hunch is that audio will fail to work in Strider if it is installed in a dot folder.

Reproduction

  1. Create two directories to use as additional Steam libraries. Ensure that there is 4GB available in $HOME, enough for the Strider install: a. mkdir ~/.hiddenfolder b. mkdir ~/folder
  2. Add the folders to your Steam library by clicking Steam --> Settings --> Downloads --> Steam Library Folders
  3. Install Strider to ~/.hiddenfolder, created in step 2
  4. Start Strider and confirm that audio fails to play
  5. Quit Strider
  6. In your Steam library, right click on Strider --> Properties --> Local Files --> Move Install Folder
  7. Move the install folder to ~/folder
  8. Start Strider and confirm that audio plays
corvusd commented 3 years ago

<Comment before this one>

Awesome and very strange. Work for me. I do not understand what happen here. Anothers xaudio2 games work fine in .steam folder.

Greetings!

dragonfly-lover commented 3 years ago

unbeliavable, but after more than two years, i solved audio issue doing exactly what @tristianc pointed out. kudos to you tristianc! Probably the game search for audio files that it can't find because it can't imagine they are in an hidden directory. i wonder if this is the case for other games.

rezzafr33 commented 3 years ago

I see, no wonder i have no audio problem, I put my Steam Library on different partition and not under hidden/dot directory

Patola commented 2 years ago

Ok, this is quite weird... I have a laptop and a desktop with the very same Arch install, except for the GPU drivers (the laptop has RTX 3070, the desktop has RX 6800 XT). Using Proton 7.0-3 in all cases.

Configuration of desktop: https://gist.github.com/Patola/e51e3af1be3c7d233b8f14fb21be1aa6 Configuration of laptop: https://gist.github.com/Patola/4f8dba624e97724218fb5f1650c292c6

Looking at the proton logs, it seems that on the desktop it crashes at the start. But why? I am attaching the proton log from the desktop (where it crashes) and the laptop (where it works). steam-235210-laptop-runs-ok.log steam-235210-desktop-doesnt-start.log

Tried rebooting, tried changing proton (proton 6, proton 7 GE antes others) -- with the needed erasure of the compatdata prefix, of course --, tried verifying files, nothing made it work on the desktop.

Note: the desktop runs hundreds of other proton games with no issues at all. SteamVR is installed which in the case of at least one game would make the game crash at start, but SteamVR is also installed in the laptop (which I often use via ALVR / Oculus Quest 2).

kisak-valve commented 2 years ago

Hello @Patola, you might get lucky setting the game's launch options to something like taskset -c 0-15 %command% (https://www.pcgamingwiki.com/wiki/Strider_(2014)#Crashes).

Patola commented 2 years ago

That was a very good suggestion. HOWEVER, using taskset in any shape or form: with and without -a, right before the %command%, in a script ran by steam, with a mask like 0x7 or a list of CPUs like 0-3, 0,1,2,3, 0,1,2,3,4,5,6,7, 0-7, and even using numactl --physcpubind 0,1,2,3,4,5,6,7 instead of taskset for some reason did not work, the game still crashed at the start.

I was able to confirm that the issue is indeed the number of cores from the game itself, by turning off 2/3 of my CPU cores, as root: for a in 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23; do echo 0 > /sys/devices/system/cpu/cpu$a/online; done -- but that turns them off system-wide (echoing 1 turns them on again afterwards). That would be the dirtiest solution ever for just running a game. :-/

But by doing that, the game runs. So I've created a stupid script, strider.sh:

#!/bin/bash
for a in 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
do
  echo 0 | sudo tee /sys/devices/system/cpu/cpu$a/online
done
"$@" > /tmp/strider.log 2>&1
for a in 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
do
  echo 1 | sudo tee /sys/devices/system/cpu/cpu$a/online
done

And I changed my launch parameters to: /home/myuser/bin/strider.sh %command%

With that, it works. Awkwardly, but it works.

JuanVCS commented 2 years ago

Audio works out of the box now, at the very least with Proton 7.0-3