Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Automobilista 2 (1066890)

Open leillo1975 opened this issue 6 years ago • 42 comments

Compatibility Report

  • Name of the game with compatibility issues: Automobilista 2
  • Steam AppID of the game: 1066890

System Information

  • GPU: NVIDIA GeForce GTX-1060-6GB
  • Driver/LLVM version: 440.64
  • Kernel version: 5.3
  • Link to full system information report as Gist: https://gist.github.com/leillo1975/db654fd0c71ce0baf57c1cca5bef3525
  • Proton version: 5.0-5

I confirm:

  • [x] 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-1066890.log

Symptoms

The game works almost perfectly with a good framerate and Logitech G29 FFB compatibility (I use new-lg4ff, but I don't know if it works with kernel driver) except for:

When I try to use Alt-Tab to switch to another window, the game goes to a black screen. This problem is related to another Madness Engine games like Project Cars ( https://github.com/ValveSoftware/Proton/issues/244 ) and Project Cars 2 ( https://github.com/ValveSoftware/Proton/issues/908 ) .

EDITED: Problem with Spotter and Engineer voices is a game problem. This functionality is not included yet on the Early Access. Sorry!

Reproduction

Simply install and play. No fixes and workarounds

leillo1975 avatar Apr 09 '20 15:04 leillo1975

I can confirm that the game works fine, including FFB with my Logitech G27 using new-lg4ff, also multiplayer works fine.

I have same issues with alt+tab and Spotter and Enginer audios.

Using Proton 5.0.5

alexbrrsclnt avatar Apr 09 '20 16:04 alexbrrsclnt

Unfortunately the application consistently crashes SteamVR during the start of each race, as also reported with Project CARS 2 #908 (tested on Ubuntu 19.10 using Valve Index)

Screenshot

System Information

I confirm:

  • [x] that I have checked whether there are updates for my system available.

Reproduction

  1. Select the title within your Library using the Steam client and press the Play button
  2. Launch Automobilista 2 in Steam VR mode
  3. Select SINGLE RACE > START from the title screen and wait for the race to start

mimattr avatar Apr 11 '20 07:04 mimattr

@mimattr please add a VR report for Automobilista 2 on protondb so that folks know that it does not work. I was already tempted to buy it. Luckily I did not.

StefanTT avatar Apr 11 '20 10:04 StefanTT

Problem with Spotter and Engineer voices is a game problem. This functionality is not included yet on the Early Access: https://forum.reizastudios.com/threads/a-question-about-spotter-and-engineer-sounds.10015/#post-64198

Sorry!

leillo1975 avatar Apr 11 '20 15:04 leillo1975

What wheel you use?

leillo1975 avatar Jun 05 '20 23:06 leillo1975

Now, with Proton 5.13-1, when you do an Alt-Tab, the game don't go to black screen, but lost the inputs. You can't use the wheel and the keyboard, and then you must kill the game to exit.

leillo1975 avatar Nov 10 '20 08:11 leillo1975

@leillo1975 @StefanTT Unfortunately this application still fails to launch successfully and now crashes SteamVR during the initial "Reiza Studios" loading/startup screen and requires a Force Quit (Alt + F4)

System Information

I confirm:

  • [x] that I have checked whether there are updates for my system available.

steam-1066890.log

Reproduction

  1. Select the title within your Library using the Steam client and press the Play button
  2. Launch Automobilista 2 in Steam VR mode

mimattr avatar Nov 13 '20 21:11 mimattr

Now, with Proton 5.13-1, when you do an Alt-Tab, the game don't go to black screen, but lost the inputs. You can't use the wheel and the keyboard, and then you must kill the game to exit.

Possible workarounds:

  • set ingame to borderless fullscreen (I lost VRR capability when I run with PROTON > 5.13) OR
  • install gamescope (AMDGPU/INTEL? nvidia may be broken)
  • launch with

gamescope -w1920 -h1080 -f %command%

This wraps the fullscreen window, SUPER+F toggles fullscreen, Alt-Tab seems to keep focus this way , sometimes my menu hangs and I have to toggle fullscreen , but ingame seems to run ok (I'm on AMDGPU) with proton 5.13

EDIT: also tested now with current Proton 7

ZakMcKrack3n avatar Aug 07 '21 19:08 ZakMcKrack3n

another probably better way to fix the lost inputs problem / black screen is to start the game in it's own Xorg server, aka: start steam as the window manager by editing ~/.xinitrc

Manoa1911 avatar Sep 19 '21 00:09 Manoa1911

In the last Proton Experimental, there are a fix for Alt-Tab issue for Project Cars 3. This game uses the same engine (Madness) that this game and Project Cars 2.

Using Proton Experimental, and a Logitech G29 with new-lg4ff, after doing Alt-Tab, the game reacts to the wheel, but it looses a lot of effects, and seems there are not FFB (if you move the wheel quckly you feel the counter-steer). Same problem in Project Cars 2. @aeikum

leillo1975 avatar Oct 27 '21 20:10 leillo1975

Using Proton Experimental, and a Logitech G29 with new-lg4ff, after doing Alt-Tab, the game reacts to the wheel, but it looses a lot of effects, and seems there are not FFB (if you move the wheel quckly you feel the counter-steer). Same problem in Project Cars 2.

Using new-lg4ff and Alt-Tabbing looses all control input from the wheel (Logitech Driving Force GT), keyboard / mouse and steam controller work fine.

ZakMcKrack3n avatar Nov 07 '21 16:11 ZakMcKrack3n

Hi! regarding this issue https://github.com/ValveSoftware/Proton/issues/245#issuecomment-1044738007 I want to share my logs with both proton 6.3.8 and proton 7.0.1 in Automobilista 2, not detecting my G27 wheel with the last one.

AMS2_Proton6.3.8_log.tar.gz AMS2_Proton7.0.1_log.tar.gz

alexbrrsclnt avatar Feb 20 '22 18:02 alexbrrsclnt

I have the same problem that @alexbrrsclnt with my G29. There are a problem with wheels on the new proton version that affects a lot of games. Please fix it.

Here there are a possible solution: https://github.com/ValveSoftware/Proton/issues/2366#issuecomment-1062822328

leillo1975 avatar Mar 13 '22 12:03 leillo1975

~Since 7.0 UDP connection to local listening UDP server (PORT 5606) seems to fail.~ Using 6.3 the game can connect to externally started Crew Chief instance / simple python3 server that listens on 5606 for UDP data.

Not sure if this some sort of sandboxing feature or not.

Edit: UDP connection now seems to work ok with current proton 7

ZakMcKrack3n avatar Mar 18 '22 05:03 ZakMcKrack3n

Since 7.0 UDP connection to local listening UDP server (PORT 5606) seems to fail. Using 6.3 the game can connect to externally started Crew Chief instance / simple python3 server that listens on 5606 for UDP data.

Not sure if this some sort of sandboxing feature or not.

What? you must explain how to install Crew Chief with AMS2!!!

leillo1975 avatar Mar 18 '22 09:03 leillo1975

What? you must explain how to install Crew Chief with AMS2!!!

You can "just" install crew chief into another wine prefix and start it before the game, but only in project cars 1 udp mode it will work.

If I remember correctly you need winetricks dotnet472 (this takes aeons on my machine, go watch a movie or two) and then install crew chief into it, not sure if dotnet install still works correctly with current wine (I think I used my asetto corsa prefix from proton 5.11-ge something :+1: ).

Start it and set it to project cars 1 udp mode , start ams2 and set export to pc1 mode for udp, at race start with proton 6.3 you should get a radio message. ~So far it was a bit flaky on my side and sometimes just stopped working and hogged 1 cpu in the end, maybe only good for one race or so.~

EDIT: apparently dotnet is broken with Proton > V5 , not sure if this also is true for wine as well , so maybe use lutris with older wine as runners or bottles (did not test that one yet , also manages wine prefixes and its versions)

EDIT (reg. crewchief flakyness): @leillo1975 Using Proton-5.11-GE-1-MF glorious eggroll release (https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/5.11-GE-1-MF) that was base to run my asetto corsa and disabling nAudio , the audio no longer cuts out, other 5.x releases may also work, seems everything higher breaks some form of .net compatibility.

ZakMcKrack3n avatar Mar 18 '22 17:03 ZakMcKrack3n

But a question. You use the same Wine/proton instance to execute Crew Chief and the game?

I got Crew Chief running with Lutris using Wine, and the game booted with Proton 6.3 on Steam (Linux).

It's not clear to me, the preset you use in Crew Chief is the one from AMS2 or the one from Pcars1?

In the game there are 3 options in System, would that be ok? AMS2System

leillo1975 avatar Mar 18 '22 19:03 leillo1975

But a question. You use the same Wine/proton instance to execute Crew Chief and the game?

No, a separate one, starting another process instead of AMS2 when starting the game in steam is too complicated most of the time.

It's not clear to me, the preset you use in Crew Chief is the one from AMS2 or the one from Pcars1?

Only project cars 1 mode works, other modes use "shared memory" which can not be accessed (maybe would work when starting ams2 through crew chief in the same prefix, but I think protonfix dotnet installation does not work with 6.3 prefix)

In the game there are 3 options in System

Shared memory can be turned of, it will not be used with project cars 1 mode (udp)

ZakMcKrack3n avatar Mar 19 '22 09:03 ZakMcKrack3n

For anyone able to debug this udp issue without the need of a telemetry program, this python script can be used to dump data once a race/practice/time trial begins (with proton 6.3 that is):

simpleUdpDump.py:

import socket
UDP_IP = "0.0.0.0"
UDP_PORT = 5606
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.bind((UDP_IP, UDP_PORT))

while True:
  data, addr = sock.recvfrom(8192)
  print("received data: %s" % data)

Running python simpleUdpDump.py in a terminal will dump the udp data to console whenever the game has any udp output enabled in the system setting by setting frequency to any number from 1 to 9 (the higher the number, the lower the update frequency) With proton 7 there is no output as the game somehow cant connect to the local server anymore.

ZakMcKrack3n avatar Mar 20 '22 22:03 ZakMcKrack3n

I found the problem! I was using pcars1 (64 bit) preset, but I had to select pCars1 (Network Mode). Now works great. Thanks a lot!

leillo1975 avatar Mar 25 '22 11:03 leillo1975