ValveSoftware / Proton

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

Wreckfest (228380) #758

Open mimattr opened 6 years ago

mimattr commented 6 years ago

Ubuntu 16.04, NVIDIA GTX 970, Proton 3.7-4 Beta:

Steam System Information

Test Result
Singleplayer Working as expected
Local Co-op N/A
Online Multiplayer Partially working^
Configuration ...
Input Steam Controller
Display 1920x1080
Fullscreen Yes
Preset Medium^^
VSync Off
API DX11

^ Using Server Browser causes application freeze ^^ Default graphics preset is Custom

HonkingGoose commented 6 years ago

Ubuntu 18.04, Nvidia GTX 780Ti, Proton 3.7-4 Beta:

Steam System Information

Test Result
Singleplayer Working as expected
Local Co-op Did not test
Online Multiplayer Causes Wine to crash on selecting a match
Configuration ...
Input Xbox 360 controller
Controller works? Yes

I would have added a proton log of the Wine crash, but this log is 1.1 gigabytes in size. So uploading that would not be very convenient.

xtrom0rt commented 6 years ago

Ubuntu 18.04.1 LTS (64 bit), Geforce GTX 970, Proton 3.7-6 Beta:

Steam System Information

Test Result
Starting the game in 32-bit mode  Steam loads the game for a while, then stops
Starting the game in 64-bit mode  Steam loads the game for a while, then stops

Error log

mimattr commented 5 years ago

Whitelist Request

System Information

I confirm:

Issues

kisak-valve commented 5 years ago

Is anyone seeing an issue with this game and Proton 3.16-6 that would block it from being whitelisted?

HonkingGoose commented 5 years ago

Hi @kisak-valve.

What works now that didn't before:

Issue that might prevent whitelisting:

I'm running Ubuntu 18.10 now, with Nvidia 410.78 drivers. I'm not sure if the Proton log actually has the crash of the wrapper?

Gist: https://gist.github.com/HonkingGoose/32f5d065a2ea8d6d43024c9749cbb28c Proton log 3.16-6: steam-228380.log

I'm a unsure of what's the recommended Nvidia driver branch nowadays for Proton. The 415 branch seems to have Vulkan things in it, the 396 branch is some kind of beta branch and 410 is mainline. So I'm getting confused as to what is the Nvidia driver branch I should be using to test things...

thepanu commented 5 years ago

@kisak-valve

For me single player works with no issues in Wreckfest. But multiplayer does not.

It does open the server browser and populates the list, but then crashes when I click on any of the servers. I am on the other hand able to create a LAN server and start a game with bots with no issues.

Proton log: steam-228380.log

kisak-valve commented 5 years ago

Hello @thepanu, your log has ...SteamLibrary/steamapps/common/Proton 3.7... which I read as Proton 3.7-8. Please retest with Proton 3.16-6.

thepanu commented 5 years ago

@kisak-valve Thanks. That helped. Now it works. I think that I had a thinking error on my part "obviously 3.7-8 is newer than 3.16-6 as I had that version selected in the settings.

kisak-valve commented 5 years ago

Switched to a whitelist request. For AMD gpu users, this game requires mesa 18.3.5 or newer for https://bugs.freedesktop.org/show_bug.cgi?id=109597.

Technomancer2 commented 5 years ago

Game will not start for me. I get the initial configuration screen and then a screen which says "Loading" for about a minute and then it just crashes out.

Log file : steam-228380.log

kisak-valve commented 5 years ago

Hello @Technomancer2, 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.

Technomancer2 commented 5 years ago

Here is the gist https://gist.github.com/Technomancer2/2297e9ac7d311f9c241eb014b1bcf5da

BieHDC commented 5 years ago

Anyone else unable to join multiplayer races? I get into the lobby, but setting myself ready does not ready me up. It holds that light green colour text colour and not full green. It works on windows.

mimattr commented 5 years ago

Anyone else unable to join multiplayer races?

@BieHDC Online multiplayer appears to work as expected (tested with Quick Match and Server Browser), can you add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-228380.log into your issue report, danke.

System Information

leillo1975 commented 5 years ago

I found a problem with my Logitech G29 wheel. If I use the last version of Proton (4.11-6) the game works but the wheel is not correctly calibrated. In the central position the wheel is turned to the right. When you test the wheel in configuration you can see taht something goes wrong. In adittion to that Force Feedback don't work. If I downgrade Proton to 4.2-9, everything works ok, the wheel is calibrated correctly and FFB works great. I think this is a very clear regression

steam-228380.log

kisak-valve commented 4 years ago

Wreckfest crashes with full system freeze

Issue transferred from https://github.com/ValveSoftware/Proton/issues/3192. @mroote posted on 2019-11-05T01:08:38:

Compatibility Report

System Information

I confirm:

Symptoms

The game will completely freeze my desktop with no ability to alt-tab or make any actions on the system like switch window sessions. I can only recover with a reboot to get back to the normal desktop.

The only error I can see being logged in the system logs are regarding a fault with the video card but I haven't found anything else that seems to stand out as causing this issue.

Nov 04 19:10:07 ghost kernel: NVRM: Xid (PCI:0000:01:00): 31, pid=647, Ch 00000043, intr 10000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_T1_4 faulted @ 0x5fff_55b17000. Fault is of type FAULT_PDE ACCESS_TYPE_READ

leillo1975 commented 4 years ago

I found a problem with my Logitech G29 wheel. If I use the last version of Proton (4.11-6) the game works but the wheel is not correctly calibrated. In the central position the wheel is turned to the right. When you test the wheel in configuration you can see taht something goes wrong. In adittion to that Force Feedback don't work. If I downgrade Proton to 4.2-9, everything works ok, the wheel is calibrated correctly and FFB works great. I think this is a very clear regression

steam-228380.log

New version of Proton (4.11-8) stills breaking Force Feedback in this and a lot of racing games. Other games like: -Project Cars 2 -Project Cars 1 -GT Legends -RACE 07

https://github.com/ValveSoftware/Proton/issues/3194

mroote commented 4 years ago

Just an update for https://github.com/ValveSoftware/Proton/issues/758#issuecomment-549619246. I seem to have resolved this issue by uninstalling the game and reinstalling. Must be some kind of corruption issue but reinstalling seems to have worked as it has not frozen for a few sessions now.

penguinpowernz commented 4 years ago

Game does not start for me, I have tried:

System Info

kisak-valve commented 4 years ago

Hello @penguinpowernz, you have a Sea Islands (CIK) generation AMD card, and Linux uses the radeon kernel module by default with this generation. The radeon kernel module is not compatible with Vulkan. Please give https://github.com/ValveSoftware/Proton/wiki/For-AMD-users-having-issues-with-non-OpenGL-games a read.

penguinpowernz commented 4 years ago

Thank you @kisak-valve it works great now, even multiplayer and PS3 sixaxis controller.

leillo1975 commented 4 years ago

I found a problem with my Logitech G29 wheel. If I use the last version of Proton (4.11-6) the game works but the wheel is not correctly calibrated. In the central position the wheel is turned to the right. When you test the wheel in configuration you can see taht something goes wrong. In adittion to that Force Feedback don't work. If I downgrade Proton to 4.2-9, everything works ok, the wheel is calibrated correctly and FFB works great. I think this is a very clear regression

steam-228380.log

The same problem stills on 4.11-9. If total degrees are a segment, the center is in 80% of this segment instead of 50%.

flukejones commented 4 years ago

Just noticed Wreckfest now has only a quarter of the speed it used to run at. In Windows I can run it at 100fps+ on Ultra, while in Linux it now only runs at 20-30fps, I used to get close to Windows fps, not sure when this happened as I've been wrapped up in work.

True for both fedora (5.3.16 kernel, 440 nvidia) and Ubuntu (5.4.5 kernel, 440 nvidia). Other games I run with Proton work swell still.

Update: Have tried with either/both ESYNC and FSYNC disabled. Tried 32bit. Various versions of Proton including GE. The difference between Windows and Proton on the same settings preset (Ultra) and a demolition derby with 24 cars is 100fps on Windows vs 15fps on Proton.

Visually the game looks perfect. Just runs ultra slow on ultra. I must not have noticed earlier because I was running it on high with free-sync monitor so it felt smooth. I only recently decided to compare performance vs Windows.

Update2: Changing resolution to lower doesn't help. Seems to have same FPS limits. Performance is related to what's on screen for example all 24 cars == ~20fps, do a U-turn and fps goes to 30-40fps.. Still a far cry from Windows performance. Decreasing graphics options gains fps, but still, it would be good to get the same performance level at the same graphics levels.

xpander69 commented 4 years ago

Performance seems lower for me also, though i didn't even know it since i don't use Windows. i'm getting 55-60 FPS when all 24 cars are in view at the start of the race, but actual racing its usually 90-120 FPS... it sounds good on paper, but looking at the windows perf in youtube it seems like ~2x worse perf:

Example: https://www.youtube.com/watch?v=xP6tsC82kAA

Now i have GTX 1080Ti (440.43.01), Ryzen 3700X and kernel 5.4.2 pds+fsync I also run similar settings as in this video. 2560x1440 all maxed, except i have MSAA 4x and FXAA off. He only has GTX 1070Ti there and a i7 6700K. Rest is same

Ofc we cannot hope to get windows perf, but at least 80-90% of the perf shouldn't be a issue i think.

Ofc i don't complain, cause i can enjoy the game with pretty OK framerates, but its seems its still nowhere where it should be.

thepanu commented 4 years ago

Anyone else having issues getting controllers working again? PS4 controller used to work without isses but now I can't get the game to recognize it. Steam does find and it works in other games.

leillo1975 commented 4 years ago

I found a problem with my Logitech G29 wheel. If I use the last version of Proton (4.11-6) the game works but the wheel is not correctly calibrated. In the central position the wheel is turned to the right. When you test the wheel in configuration you can see taht something goes wrong. In adittion to that Force Feedback don't work. If I downgrade Proton to 4.2-9, everything works ok, the wheel is calibrated correctly and FFB works great. I think this is a very clear regression steam-228380.log

The same problem stills on 4.11-9. If total degrees are a segment, the center is in 80% of this segment instead of 50%.

With Proton 5.0-2 this problem is not corrected. To play this game is nedded to use Proton 4.2-9

flukejones commented 4 years ago

Still appalling performance in Proton. Windows still averages 100fps with all 24 cars in view, at Ultra settings, while I get 25-30fps in Proton.

mroote commented 4 years ago

Anyone else having issues getting controllers working again? PS4 controller used to work without isses but now I can't get the game to recognize it. Steam does find and it works in other games.

I'm having the same issue. It doesn't seem to recognize my PS4 controller though it works in other Proton games. I tried changing the controller to be a generic xbox in the steam settings but none of the changes seemed to make a difference in detecting the controller.

flukejones commented 4 years ago

Nvidia drivers 440.66.07 (beta) which includes fixes for Doom: Eternal:

Added a workaround for Linux Steam Play title DOOM Eternal, which overrides application requested memory locations, to ensure performance-critical resources be placed in video memory [Linux]

boosted performance in Wreckfest by maybe double. It's still half of what I get in Windows with:

I also have an issue where if I don't have g-sync enabled, then the steam overlay FPS counter seems to show a cap of half my max refresh rate (50 for 100hz screen), and it never seems to dip below 33fps. G-sync enabled appears to allow higher fps, and also never dips below 33fps. Because of this I'm quite uncertain of the actual impact or fps accuracy, but the game is feeling very smooth.

The difference between 30fps in my previous comment and the 33fps in this comment is extremely noticeable. I couldn't even hint at what may be happening here.

flukejones commented 4 years ago

Just compared with Windows again with the above details and I get ~77fps in Windows fairly consistently with GPU@100% and CPU@~90%, while Linux fluctuates between 30-60fps with GPU@100% and CPU@~50%,

flukejones commented 4 years ago

Just tried 440.66.08 beta nvidia driver:

One of these fixes seems to have bumped performance in Wreckfest a bit more over the last *.07 Doom specific patch. Getting perhaps half of Windows performance in that game now (where it was about 1/4 before, then maybe 2/5 with the D:E patch).

440.66.08 looks like it reaches or surpasses Windows in some cases, with a minimum framerate of 45. It now feels very very smooth.

flukejones commented 4 years ago

I got a further boost of a few frames by turning off vsync. Seems to float around 50fps now. And for whatever reason, turning vsync off had a pretty massive impact depending on which screen I was running on:

laptop screen is 1920-1080

Also of note is when vsync was on the start of any new screen (like menu, track intro, race) seemed to be 30fps or so, and loads of frame time spiking, after ~20 seconds fps increased by 20-30fps but was still spiking.

I don't know if any of those observations are driver related. The D:E specific driver absolutely did increase performance though.

flukejones commented 4 years ago

Re: vsync issues above, this appears to be an Nvidia driver issue per link

leillo1975 commented 4 years ago

I found a problem with my Logitech G29 wheel. If I use the last version of Proton (4.11-6) the game works but the wheel is not correctly calibrated. In the central position the wheel is turned to the right (approximately at 80%, when the correct position must be 50%). When you test the wheel in configuration you can see that something goes wrong. In addittion to that Force Feedback don't work. If I downgrade Proton to 4.2-9, everything works ok, the wheel is calibrated correctly and FFB works great. I think this is a very clear regression

steam-228380.log

@aeikum , this problem (calibration) remains from 4.11 and stills on 5.0-6. Is needed to use Proton 4.2 to play this game with a wheel. Can you take a look?

mrpippy commented 4 years ago

@leillo1975 I've tested this with my G25 and 5.0-6, and I haven't experienced any calibration issues like you describe. Does this happen in other games?

Also, force feedback is working for me. I did recently find a kernel bug which was causing force feedback to not work on many games, and I'm running with the fix for that. I would try it out: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git/commit/?h=for-linus&id=09264098ff153f60866039d60b31d39b66f55a31

leillo1975 commented 4 years ago

This not happen in another games, only on this. If I use Proton 4.2 don't have this problem. I use a G29 Wheel. Is there a way to test that patch without compiling the kernel?

mrpippy commented 4 years ago

No, you'll need to recompile your kernel to test the patch. If it would be easier to recompile SDL2, someone previously figured out a workaround in SDL that's posted here: https://github.com/ValveSoftware/Proton/issues/2366#issuecomment-528539637

flukejones commented 4 years ago

Log file for my most recent run.

'noesync', 'nofsync' neither of these made any discernible difference to performance. Actual performance using the same Ultra quality settings in Windows results in 1/3 of performance under Linux, usually only when there is a lot on-screen (like 20+ cars && scenery).

steam-228380.log

leillo1975 commented 4 years ago

Really no one can take a look to the Logitech Wheel regression? If someone don't understand what is the problem I recorded this video: https://youtu.be/pWm-RKW8baM

leillo1975 commented 4 years ago

Really no one can take a look to the Logitech Wheel regression? If someone don't understand what is the problem I recorded this video: https://youtu.be/pWm-RKW8baM

My apologies, is my fault. A friend recommended Proton-GE to me because it works well for him and the same thing kept happening to me. But if it happens with official Proton and GE, I think it will be a configuration problem, right? I reset all the controls and redefined all the buttons and axles and now it works correctly. It's obvious that between versions 4.2 and 4.12 something changed in Proton with the way of detecting the steering wheels.

SORRY

flukejones commented 4 years ago

Nvidia driver 450.57 appears to almost double performance from what it was:

Windows however still gets 70-100fps, usually close to 100fps constant. But this is still a nice improvement and the game is much, much more playable.

EDIT: Just a very rough comparison to Windows here:

Windows frame rate is all over the show while in Linux it appears much more stable.

My comment above here is with the specs below, and on the external 1440p screen.

[luke@zephyrus]$ neofetch
             /////////////                luke@zephyrus 
         /////////////////////            ------------- 
      ///////*767////////////////         OS: Pop!_OS 20.04 LTS x86_64 
    //////7676767676*//////////////       Host: Zephyrus S GX502GW_GX502GW 1.0 
   /////76767//7676767//////////////      Kernel: 5.6.19-050619-lowlatency 
  /////767676///*76767///////////////     Uptime: 33 mins 
 ///////767676///76767.///7676*///////    Packages: 2315 (dpkg), 29 (flatpak) 
/////////767676//76767///767676////////   Shell: bash 5.0.16 
//////////76767676767////76767/////////   Resolution: 3440x1440, 1920x1080 
///////////76767676//////7676//////////   DE: GNOME 
////////////,7676,///////767///////////   WM: Mutter 
/////////////*7676///////76////////////   WM Theme: Pop 
///////////////7676////////////////////   Theme: Pop [GTK2/3] 
 ///////////////7676///767////////////    Icons: Pop [GTK2/3] 
  //////////////////////'////////////     Terminal: gnome-terminal 
   //////.7676767676767676767,//////      CPU: Intel i7-9750H (12) @ 4.500GHz 
    /////767676767676767676767/////       GPU: NVIDIA GeForce RTX 2070 Mobile 
      ///////////////////////////         GPU: Intel UHD Graphics 630 
         /////////////////////            Memory: 5461MiB / 31964MiB 
             /////////////

EDIT2: Also compared to results here the FPS on laptop screen is: min 90fps, max 140fps, avg 100fps. Haven't compared 1080p against windows yet.

flukejones commented 3 years ago

Unsure what in the previous comment was causing the performance issue. Might never find out.

In any case, using Proton 5.13 requires PROTON_HIDE_NVIDIA_GPU=1 for Nvidia powered PC. With this the game runs very very well.

zdzc commented 3 years ago

Game won't launch on Proton 5.13-1, but it works fine on Proton 5.0-9.

Steam System Information steam-228380.log

kisak-valve commented 3 years ago

Hello @zdzc, can you also include a Proton 5.13-1 log?

zdzc commented 3 years ago

Huh, apparently Proton doesn't produce a log while running the game with Proton 5.13-1, so I uploaded the wrong log version. Here's my Steam log when I tried to run the game.

steam-log.txt

flukejones commented 3 years ago

Unsure what in the previous comment was causing the performance issue. Might never find out.

In any case, using Proton 5.13 requires PROTON_HIDE_NVIDIA_GPU=1 for Nvidia powered PC. With this the game runs very very well.

Ignore this. It seems that Android ADB is the root cause of a whole lot of issues (including waking the GPU when running on a laptop with prime-offload mode)

aeikum commented 3 years ago

@zdzc Can you have Steam verify the Proton 5.13 files (right-click Proton 5.13, choose Properties, and then select Verify Files on the Local Files tab), and then try restarting the Steam client? I think it may have gotten confused when installing 5.13.

zdzc commented 3 years ago

@aeikum I already tried verifying game file and reinstalling, but the game still won't launch. I tried Proton 5.13 with other games and it doesn't work as well.

There's this error message that always appear when I'm using Proton 5.13.

/bin/sh: /home/zdzc/.local/share/Steam/steamapps/common/Wreckfest/Wreckfest_x64.exe: cannot execute binary file: Exec format error
aeikum commented 3 years ago

Yeah that indicates it can't find either Proton or the Steam Linux Runtime - Soldier application. It's trying to run the Windows executable directly, which obviously won't work. I'm not sure how Steam would get in this state.

zdzc commented 3 years ago

I see, I tried reinstalling Steam Linux Runtime -Soldier as well, but the game is still borked. I guess I will keep using Proton 5.0.9 in the meantime.