Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Dirt 3 (321040)

Open leillo1975 opened this issue 7 years ago • 49 comments
trafficstars

I only obtain a Black Screen (I can see DXVK_HUD). This is my error log:

steam-321040.log

And this is my System infomation: https://gist.github.com/leillo1975/bd9c738c5d2aae6b44ef0569c2c218c7

leillo1975 avatar Aug 27 '18 20:08 leillo1975

Sorry, the second time I started the apliaction works , and runs awesome with no errors and a excellent framerate....I can't explain. Only one thing, my Logitech G27 wheel is not detected, but my Steam Controller works perfect

leillo1975 avatar Aug 27 '18 20:08 leillo1975

Intermittently have (presumably) the same problem as the OP - either nothing launches, or a black screen launches (and I can't close the black screen, I have to reboot my PC).

When I get in-game, it works pretty much perfectly: 60fps on max settings, and my Logitech F310 gamepad works out of the box with Proton 3.7-5 beta (it didn't work at all with Proton 3.7-3). My Logitech G29 wheel doesn't seem to get picked up at all though.

Can't seem to load up my save file from steam cloud - it says that it's corrupted, but I vaguely recall encountering this in Windows too

System Info

hswhite33 avatar Sep 01 '18 23:09 hswhite33

Won't start on my machine.

hzulla avatar Sep 05 '18 11:09 hzulla

It appears that this game is affected by #165. This workaround fixes the issue on Nvidia GPUs.

System info: https://gist.github.com/vanyasem/f787469ec8c50cdd3728340ef4c73269 20180909135925_1

vanyasem avatar Sep 09 '18 11:09 vanyasem

Some days ago I try to play DIRT but only havea black screen with the DXVK_HUD in the top left corner or the Screen. If I switch to Proton 3.7.3 it works again. The black screen is displayed with 3.7.5 and 3.7.6 beta

leillo1975 avatar Sep 09 '18 11:09 leillo1975

@leillo1975 this is most likely not related, as it works for me with 3.7-6. Please check the issue that I linked above.

vanyasem avatar Sep 09 '18 11:09 vanyasem

Thanks vanyasem, now works with 3.7.6 Beta!

leillo1975 avatar Sep 09 '18 12:09 leillo1975

There is something very strange about the behaviour of this game.

On my Radeon RX 470 system using the FOSS drivers from Padoka's PPA, at the first launch I only got a black screen with the Dirt 3 logo in the middle. This screen captured the mouse input in a way that made the mouse cursor invisible even when switching away from the game's screen by changing window focus with something like alt+tab or when switching to a different workspace. So I effectively couldn't kill the process using the System Monitor GUI because the mouse was captured, and the only way to kill the process was to do it via a terminal (I was able to open one with ctrl+alt+T) with the command kill -s 9 <process ID>.

After running the game a second time (with absolutely no modifications or changes to anything at all) I got past the initial logo and was presented with the AMD Gaming Evolved and the Codemasters intro videos. After that, crash.

Third launch, the game seems to work completely normally. I was able to play the game at 1080p, 8xMSAA, and the highest other graphical settings at a solid 60 fps. Radeontop showed the maximum GPU usage was around 67%. From this play session I got a whopping 16 MB log that was mostly due to a 170782.964:0025:0075:err:d3d:wined3d_debug_callback 0x7f0f700: "GL_INVALID_ENUM in glMatrixMode(mode)". message being repeated over and over. I forgot to copy/rename this log and it was lost the next time I ran the game.

Fourth launch: completely black screen, no logo or anything else. htop doesn't show the process taking any CPU cycles really, and iotop doesn't show any IO activity. No significant GPU activity from radeontop either so no 3D stuff is running. This is the log: https://gist.github.com/veikk0/8c8f319177cc26b8000924156a2df66a

Sixth launch: black logo screen like the first launch, except my cursor isn't being held hostage. As the game didn't progress beyond this screen after about a minute of waiting and the process was only using about 2 percent of a single CPU core, I killed the .exe via the System Monitor. Log: https://gist.github.com/veikk0/16a5fb18992a99c6fcf661e9c50e6724

Seventh launch: same thing as the previous launch, except wine64 is taking up 100% of one CPU core. Not sure if I just didn't notice it on previous launches. No other system activity, even IO, so it's not like it's busy loading game data or anything. Log: https://gist.github.com/veikk0/c501fd0044eaf45a63b531b190a50076

This testing was done on Proton 3.7-6. Switching to Proton 3.7-6 Beta made no difference, black logo screen still, except this time dirt3_game.exe was taking two CPU cores to the max. No IO activity.

This isn't actually the first time I'm trying out the game. I tried launching the game a few times before, on the same system but with a Radeon R7 260X video card and stock 18.04 FOSS graphics drivers, and and on the same system but using my current Radeon RX 470 with the default 18.04 FOSS graphics drivers. All of these attempts resulted in the mouse-captured logo screen issue and I didn't pursue the issue further at those times.

I would also include other logs but I can't see proton_run and the associated files in my /tmp/. Has this method been replaced by the current way of logging?

My system info: https://gist.github.com/veikk0/d0ebb1ddda8f9582d1799df343bfefe5

veikk0 avatar Sep 20 '18 09:09 veikk0

Intermittently have (presumably) the same problem as the OP - either nothing launches, or a black screen launches (and I can't close the black screen, I have to reboot my PC).

When I get in-game, it works pretty much perfectly: 60fps on max settings, and my Logitech F310 gamepad works out of the box with Proton 3.7-5 beta (it didn't work at all with Proton 3.7-3). My Logitech G29 wheel doesn't seem to get picked up at all though.

Can't seem to load up my save file from steam cloud - it says that it's corrupted, but I vaguely recall encountering this in Windows too

System Info

CTRL+ALT+F3 log in, run top to find the PID of the game then kill -9 (PID) then CTRL+Alt+F2 to get back to your still running Desktop session.

lucifertdark avatar Sep 20 '18 10:09 lucifertdark

I was testing if there was a GPU hang still happening with Intel Mesa and it seems fixed. However, the game froze after it being open for a long time. The messages that appeared when it froze are:

21553.818:0008:002a:err:ntdll:RtlpWaitForCriticalSection section 0x7297f68 "?" wait timed out in thread 002a, blocked by 0057, retrying (60 sec)

I noticed other Wine software can cause this message when opening, it's strange DiRT 3 triggered it after being open for so long.

System specifications and the log.

FurretUber avatar Sep 29 '18 00:09 FurretUber

System Information

I confirm:

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

steam-321040.log

Symptoms

Experiencing the same issue and as @leillo1975 and others

I only obtain a Black Screen

Result is the same using DXVK_CONFIG_FILE with NVAPI workaround:

  • dxgi.customDeviceId = E366
  • dxgi.customVendorId = 1002

Reproduction

  • Select the title within your Library using the Steam client and press the Play button

mimattr avatar Oct 01 '18 13:10 mimattr

Dirt 3 Complete Edition (321040)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/1734. @kassindornelles posted on 2018-10-13T23:06:58:

Whitelist Request

  • Name of the game to be whitelisted: Dirt 3 Complete Edition
  • Steam AppID of the game: 321040

System Information

  • GPU: GTX 750 2 GB
  • CPU: Intel Core 2 Quad Q9550 2.83 Ghz
  • Driver/LLVM version: NVIDIA Vulkan 396.54.09, works too on 396.54 stable release
  • Kernel version: Liquorix 4.18
  • Link to full system information report as Gist: https://gist.github.com/kassindornelles/a3f9c31a31b5b6cef5be3d23254b7e08
  • Proton version: 3.16-1 Beta

Tested on Antergos Linux, Ubuntu 18.04.1 and Elementary OS. in all of this distros works out of the box.

I confirm:

  • that pressing the Play button in the Steam client is sufficient.
  • that runtime config options are not necessary to run the game.
  • that no workarounds are necessary
  • Performance is great.

Issues

  • I haven't experienced any issues.

kisak-valve avatar Oct 13 '18 23:10 kisak-valve

Tried this again briefly with Proton 3.16-1 beta

Game still launches with a black screen sometimes; but now when I get in-game, my Logitech G29 wheel works. I have to manually configure it, but I think this is the same in Windows. Wheel buttons don't seem to work in menus, but in-race works fine.

System info

hswhite33 avatar Oct 14 '18 02:10 hswhite33

With Proton 3.16-1 Beta there is graphics degradation on resolution 960x540 compared to 3.7-8 Beta.

System specifications, steam-321040.log, dirt3_game_dxgi.log and dirt3_game_d3d11.log

The entire game has difference, but it is already noticeable in the first video:

3.7-8 Beta: 20181013223830_1

3.16-1 Beta: 20181013224254_1

FurretUber avatar Oct 14 '18 02:10 FurretUber

Tried this again briefly with Proton 3.16-1 beta

Game still launches with a black screen sometimes; but now when I get in-game, my Logitech G29 wheel works. I have to manually configure it, but I think this is the same in Windows. Wheel buttons don't seem to work in menus, but in-race works fine.

System info

It works!

Thanks for the advice. With my g27 and setting degrees to 240º (using pyLinuxWheel ) I can drive in game with force Feedback

leillo1975 avatar Oct 14 '18 10:10 leillo1975

I feel that the wheel don't work properly, I don't play in Windows to this game, but... is possible that the wheel is detected like a gamepad?

leillo1975 avatar Oct 14 '18 14:10 leillo1975

Scaling regression in Proton 3.16-1 is now being tracked in #1739.

kisak-valve avatar Oct 14 '18 22:10 kisak-valve

3620.221:0008:0057:err:ntdll:RtlpWaitForCriticalSection section 0x19cb4f0 "?" wait timed out in thread 0057, blocked by 0034, retrying (60 sec)
3622.179:0008:002a:err:ntdll:RtlpWaitForCriticalSection section 0x7299998 "?" wait timed out in thread 002a, blocked by 0057, retrying (60 sec)

Is happening after 10 minutes playing with Proton 3.16-2 Beta, freezing the game.

With 3.16 this is being very common, while before 3.16 that happened only once since the first Steam Play release (3.7-3), in more than 100 hours and sessions as long as 16 hours (replays playing to test GPU bugs, don't worry).

steam-321040.log

Edit: the following link has a video showing how the game freezes when that messages appear:

https://cdn.discordapp.com/attachments/457747189616214019/502177833234464792/result.webm

FurretUber avatar Oct 17 '18 17:10 FurretUber

System Information

  • GPU: Intel HD Graphics 630 (i7-7700K)
  • Driver/LLVM version: mesa 18.2.3
  • Kernel version: 4.18.16
  • Proton version: 3.16
  • ArchLinux

I get black screen as reported, I was able to make the game run fine by setting PROTON_NO_D3D11=1, the only issue remaining is that it gets stuck on start at random, sometimes it starts fine, sometimes not (I currently pkill the game and start again). I was also able to avoid the black screen just by setting PROTON_LOG=1, without PROTON_NO_D3D11=1. I dunno why the log would make any difference for it to work.

oblitum avatar Nov 02 '18 20:11 oblitum

I think DiRT 3 fails to start because it fails to start the audio streams. It opens two audio streams by default and I noticed that every time no audio stream is open when the game is open it fails to start. If the stream is open then the game works.

It's important to say that the audio streams are open BEFORE the video starts.

Also, if setting to make the WINEPREFIX use alsa instead of pulse, it's possible to see there is a consistent problem with the audio streams, constantly being destroyed and recreated, which cause sound quality degradation. That happens with pulseaudio, but it's not visible, only audible.

FurretUber avatar Nov 03 '18 17:11 FurretUber

@FurretUber do you mean the game works for you only if you're playing some audio before starting it?

There's a very old issue with Linux audio playback which I fix employing a continuous silent noise daemon in the background (through play -qn). Not sure if it's related to what you mean, but due to this service I think I shouldn't be affected. My system is always running a silent noise in the background.

oblitum avatar Nov 03 '18 18:11 oblitum

No, I mean that it seems to fail to start because it fails to create the audio stream. Maybe the failure to create the audio stream is a consequence and not the cause, but I observed the following:

-Creates audio streams on startup: works; -Don't create audio streams on startup: fails;

Here is a video showing a replay showing the audio issue in-game. Maybe that stream problems causes the game freeze if they happen on startup:

https://www.youtube.com/watch?v=iowAAAWcQlE

Edit: another important factor: memory allocation stops earlier too. It stops after allocating around 205 MB of RAM then it freezes. When it works it allocates that 205 MB, the audio streams start (this game opens two streams) and then it allocates more memory.

When it fails it allocates 205 MB of RAM and the audio stream never starts.

Edit 3 (Edit 2 was a typo): Winamp with Wine 3.19 has the same problem:

https://cdn.discordapp.com/attachments/457747189616214019/508309069375995904/saidawine.webm

FurretUber avatar Nov 03 '18 19:11 FurretUber

@FurretUber, since you mentioned that audio issue, I've recalled I also had audio issues with Sonic Generations that made the game unplayable. Adding PROTON_NO_ESYNC=1 solved it there, and since I started using it with Dirt 3 too, the game isn't hanging at random on launch anymore, I've just started the game 5 times in a row, no issues. My current "Launch Options" is PROTON_NO_ESYNC=1 PROTON_NO_D3D11=1 %command%.

oblitum avatar Nov 03 '18 21:11 oblitum

PROTON_NO_ESYNC=1 makes the game always open successfully and there are no longer any fatal freezes happening in the middle of the game. The performance hit of this option with 3.16-5 Beta seems much smaller than with previous versions.

I reported the sound problems at WineHQ Bugzilla as it is happening with upstream Wine too. Hopefully I provided enough information there to allow them to discover what the root cause is.

It's important to say this sound issue harms the performance in a significant way because creating and destroying an audio stream 15 times per second causes some significant load on pulseaudio.

FurretUber avatar Dec 17 '18 12:12 FurretUber

@FurretUber If you want to have audio ingame, just change variable in /home/$USER/.steam/steam/steamapps/compatdata/321040/pfx/drive_c/users/steamuser/My Documents/My Games/DiRT3/hardwaresettings/hardware_settings_config.xml

audio mixing from "software" to "rapture3d"

fervi avatar Dec 30 '18 11:12 fervi

I can confirm that game needs esync to be disabled , otherwise game won't boot and stay at black screen.

After disabling esync ,game works and gameplay is very smooth. No problems so far.

Leopard1907 avatar Jan 29 '19 09:01 Leopard1907

Dirt 3 Complete Edition launch just fine with the latest proton version, don't have any issue with esync. played for more than 2 hours without any issue.

ghost avatar Jan 30 '19 22:01 ghost

There is a regression on 3.16-7 Beta. Game doesn't start anymore.

Leopard1907 avatar Feb 22 '19 13:02 Leopard1907

Hello @Leopard1907, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

kisak-valve avatar Feb 22 '19 13:02 kisak-valve

I had a similar problem with all games once Proton updated to 3.16-7 Beta, all the games complained that they couldn't find libvulkan.so and failed to start. The only way to fix was to close Steam, delete the directory Steam/steamapps/common/Proton 3.16 Beta/ and the file Steam/steamapps/appmanifest_996510.acf, and restart Steam. Proton 3.16 Beta will be downloaded and it should work again.

Specifically about DiRT 3, I still need to use PROTON_NO_ESYNC=1 to make it work reliably. A shame as this option is the difference between 60 and 35 FPS.

FurretUber avatar Feb 22 '19 13:02 FurretUber