ValveSoftware / Proton

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

Derail Valley (588030) #2301

Open FictionX opened 5 years ago

FictionX commented 5 years ago

Compatibility Report

System Information

I confirm:

Log too big to be added - even zipped.

Symptoms

Game crashes as soon as a controller (tested with Vive wands or xbox 360 controller) is turned on. If they're turned on before the game is started, it crashes as soon as the game checks for input.

This also happens for games Onward and VR Trivia Battle

Switching to Proton v 3.7-8, the games do not crash when the controllers are active (but instead they have other 3.7-related issues like missing objects).

Reproduction

Start game, confirm that it responds to input from the HMD - and then turn on a controller. The game will crash. SteamVR and the Steam client remains unaffected.

kisak-valve commented 4 years ago

Derail Valley sound crackling and echoing (588030)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/3808. @Thulium-Drake posted on 2020-04-26T22:45:22:

Compatibility Report

System Information

I confirm:

steam-588030.tar.bz2.zip NOTE: Remove .zip (github's rules...) and it's 522MB when unpacked :-)

Symptoms

Playing the game is OK, but seems to suffer from serious issue with sound. When running the game from Steam (which requires no additional setup at all), it works, but the frame rate suffers and all the sounds are echoing/cracking.

I have also tried running the game with a different version of WINE via Lutris (I just pointed Lutris at the executable delivered by Steam), which does not have this problem. It also has a better framerate and smoother gameplay.

So this has to have something to do with something that's on or off in "lutris-fshack-5.6-2-x86_64"

Reproduction

  1. Install game from Steam
  2. Run it using Proton 5.0 (or any version or Proton-GE)
  3. Notice awful sound and impacted framerate
  4. Install Lutris
  5. Configure a new game using lutris-fshack-5.6-2-x86_64 as the runner and run the game
  6. Notice smooth framerates and good sound
  7. ???
  8. Profit!
writequit commented 4 years ago

Yeah same, even after their big update I had scratchy sound. Ran it with lutris, which I never used before, DXVK, no sound issues but laggy mouse movement, unplayable. Putting up with the scratchy sound under Proton now.

writequit commented 4 years ago

Sound works perfectly under proton 4.11. Game seems to run smoother also.

writequit commented 4 years ago

Also it was crashing occasionally under proton 5.07, under 4.11 I've played for about 4 hours and no crash.

Thulium-Drake commented 4 years ago

Yeah same, even after their big update I had scratchy sound. Ran it with lutris, which I never used before, DXVK, no sound issues but laggy mouse movement, unplayable. Putting up with the scratchy sound under Proton now.

I've used lutris fshack-5.6.2, no lag whatsoever :-)

Sound works perfectly under proton 4.11. Game seems to run smoother also.

Indeed it does! +1

writequit commented 3 years ago

This seems to be fixed under proton 5.13.

RAD750 commented 1 year ago

With the new Simulator update the game runs extremely erratically on my system.

System Information

GPU: RX480 4GB
Driver/LLVM version: LLVM 15.0.6, DRM 3.49, 6.2.6-76060206-generic (0x67df)
Version: 22.3.5
Kernel version: POP!_OS 6.2.6-76070206-generic

Results

With all versions of Proton: game runs at 1-2FPS regardless of the graphics At random I can manage to get the game playable at 60fps with High settings, but jsut going to the main menu and back causes the performance to drop to 1-2FPS steam-588030-PROTON8.0_USEWINED3D.zip

I should add that by dropping the resolution to 800x600 the game is somewhat playable even at high settings, with around 30fps. But at my usual 1440x900 it's just unplayable.

Thulium-Drake commented 1 year ago

I'm running with these specs:

OS: Debian 12
GPU (from lspci): Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] (rev c5)
    Subsystem: Sapphire Technology Limited Sapphire Radeon RX 6700 [1da2:e445]
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

Driver (Debian package) firmware-amd-graphics:
  Installed: 20230210-5

CPU Model name:            AMD Ryzen 9 5950X 16-Core Processor

Works like a charm with default Steam Proton, I did have one (1) crash right after installing the update, not sure what caused it, but I did have old debugger launch options set. I removed those and set PROTON_USE_WINED3D=1 as recommended on ProtonDB.

I'm running with the following settings in 1920x1200: image

And it's been coasting along with 60 FPS for a few hours now

RAD750 commented 1 year ago

@Thulium-Drake What version of Proton are you running? I tried a clean install on a totally different computer, that has a clean install of Pop!_OS 22.04, and I have the same problem as my main desktop. If I add PROTON_USE_WINED3D=1 I get a black screen with proton experimental.

Specs: i5-3470 32GB RAM RX 6500 XT 4GB

Thulium-Drake commented 1 year ago

I'm using Steam's default, which I think is Proton 8.0-2 at the moment

EDIT: no, wait, it's using Proton 7.0-6 according to the Compatibility menu :-)

RAD750 commented 1 year ago
Okay trying with your version and USE_WINED3D, and the result is no longer 2FPS, but instead some graphical glitches even with the same settings as you. The game looks very dark and the menu is also extremely dark. At minimal settings there are also other graphical glitches. The "reflections" settings seems to affect this. ![immagine](https://github.com/ValveSoftware/Proton/assets/12469744/a933f464-48b1-461f-80bc-93adcbc400bd)
At these settins it works well. ![immagine](https://github.com/ValveSoftware/Proton/assets/12469744/35d3b453-f689-4fb7-a118-e16a42b54236)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev c7) (prog-if 00 [VGA controller])
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

CPU Intel core i7-4790k, 32GB RAM. Uname -a Linux prodesk 6.2.6-76060206-generic #202303130630~1685473338~22.04~995127e SMP PREEMPT_DYNAMIC Tue M x86_64 x86_64 x86_64 GNU/Linux

OpenGL renderer string: AMD Radeon RX 480 Graphics (polaris10, LLVM 15.0.6, DRM 3.49, 6.2.6-76060206-generic)

So this would suggest there is a regression with Proton 8 (incl. Experimental), as the game just displays black on it.

RAD750 commented 1 year ago

However after going to the main menu and back, I'm back to 2FPS and severe graphics glitches, so it didn't solve anything in the end...

immagine

The most frustrating thing is that when it does work, it works at 60fps no problem and with no glitches

RAD750 commented 1 year ago

Okay I solved these issues on the other desktop, will try later on the main desktop. Apparently it's caused by the "Reflections slider", setting it to very high gets rid of them, anything less causes severe bugs. RX6500xt with driver 22.0.0 and Proton 7.0-6 and USE_WINED3D set to 1.

Thulium-Drake commented 1 year ago

So I did some extra testing, with and without PROTON_USE_WINED3D=1. Apart from that I didn't change any game settings.

Without:

With:

The only thing I didn't mention, I'm running the following kernel:

Linux 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux

RAD750 commented 1 year ago

@Thulium-Drake I get different results than you do...

Without:

7.0-6 crashes
8.0-2 works with no glitches but 5-6FPS at best, and it makes the entire DE lag (not just the game!) as long as the game is running. Putting the pause on has no effect.
experimental, same as 8.0-2

immagine

With:

7.0-6 works fine, but graphical glitches as before depending on settings, and also performance is low compared to windows.
8.0-2 crashed after the menu
experimental crashed after the menu

It does the same on both PCs: Kernel: Linux prodesk 6.2.6-76060206-generic #202303130630~1685473338~22.04~995127e SMP PREEMPT_DYNAMIC Tue M x86_64 x86_64 x86_64 GNU/Linux on both POP!_os 22.04 on both AMD Radeon RX480 4GB or AMD Radeon RX6500xt Intel Core i7-4790k or Intel Core i5-3470 32 GB RAM on both

Inxi for the main PC: https://gist.github.com/RAD750/7d1c1c3a359115e50387ebc498244ece

So it's either a regression in the kernel, some problem of Pop OS or some other problem, but not hardware related...

Thulium-Drake commented 1 year ago

I see you have the game running in Windowed mode, did you also notice these things when running the game in fullscreen?

Apart from that, I'm not well-versed enough in all the graphics libraries that come with Wine/Proton to tell you what's missing. Maybe someone else can chime in there?

RAD750 commented 1 year ago

I did both tests in Windowed as well as in Full screen, and there was no noticeable difference on both machines. I must add that other Proton games work fine, and also when I was still a beta tester for the game, switching from the beta to the old version (Overhauled) also made the game run fine. One of the devs suggested it is because they moved from a forward render path, to a deferred one.

RAD750 commented 1 year ago

It would appear that Diesel Railcar Simulator (another Unity game) suffers from the same 4FPS issue when running on dxvk, so this would suggest a vulkan issue on my end rather than an issue with Derail Valley. The question is: how to troubleshoot that?

Thulium-Drake commented 1 year ago

Hmm, don't really know :/ as I mentioned, I'm not too familiar with the intricate details of the libraries involved in making it go.

What you might want to try is running the game using Lutris instead of steam (if the DRM allows for that), as that will at least give you some extra options to change in regards of versions of graphics libraries:

image

This is my config for Battle.net and I needed to change the VKD3D version to 2.8 to make Diablo 4 run at all for example.