ValveSoftware / Proton

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

Project Cars 2 (378860) #908

Open leillo1975 opened 6 years ago

leillo1975 commented 6 years ago

It installs prerequisites and it executes showing the first screens and then it get blocked. With wine the game runs in menus, but fails when load a race.

https://gist.github.com/leillo1975/93f3b9ee02cb2b47e8de00dfe40f6957

EDIT: The game crash to desktop when try to get a online list of games

kisak-valve commented 6 years ago

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

leillo1975 commented 6 years ago

steam-378860.log

leillo1975 commented 6 years ago

Today, I started again the game with Proton 3.7.6Beta and now it works in menus, but when I try to start a a race it crashes during loading. This is my last log:

steam-378860.log

The problem is the same with 3.7.3

ah- commented 6 years ago

The loading crash is in the process of being fixed, follow https://github.com/doitsujin/dxvk/issues/641 for details. Runs perfectly now for me, hopefully everything will be out in the near future.

screenshot from 2018-09-16 20-21-53

leillo1975 commented 6 years ago

Thanks a lot, @ah- it's very complicated for me compiling, but I see that @doitsujin will take care of this problem. Can you share the file that you compiled to replace PCars2.exe? Perhaps in a close future we can enjoy this fantastic game on Linux without this fixes. Only one thing, I see that you are quite adept at fixing problems. You I don't have idea if you own Project Cars 1. It works perfect with proton, even with Force Feedback in my G27, but I have an notice when the game try to save the profile and the progress. I opened an issue about this P.Cars 1 problem: https://github.com/ValveSoftware/Proton/issues/244

ah- commented 6 years ago

Haha, if you can't wait then place the two dlls in the attachment in $HOME/.steam/steam/steamapps/common/Proton 3.7/dist/lib64/wine/dxvk and it should run.

pcars.zip

Sorry, don't have Project Cars 1, and not quite enough time to go and debug that. Just really wanted to get Project Cars 2 working :)

leillo1975 commented 6 years ago

@ah- You are my man!!! It works. Thanks a lot The game is playable now! There are a problem, it has nothing to do with this, it's a proton problem. I can use my Logitech G27 wheel, calibrate it (pedals included), but the force feedback don't work (in PCars1 works)

whizse commented 6 years ago

You can use WINEDEBUG with +dinput to log what FF effects the game is trying to use. On my system I get a lot of "Effect gain requested but no effect gain functionality present." and "Sample period requested but no sample period functionality present." and none of those effects are implemented in the driver. I sadly think the lack of force feedback in the game is just incomplete drivers.

leillo1975 commented 6 years ago

It's a pity. There are a lot of games I suspect that have the same problem... Great games like rfactor2 or Automobilista. At least Assetto Corsa, and AC Competizione works well

leillo1975 commented 6 years ago

I don't have idea of developing, debuggin and this kind of things, but Maybe this project has something to do with the subject .... https://steamcommunity.com/groups/linuxff/discussions/0/405692224235574471/

I think that Valve could take a look of this problems with wheels on Linux. A lot of racing games could be benefit by a more complete drivers

mimattr commented 6 years ago

Whitelist Request

System Information

I confirm:

Issues

kisak-valve commented 6 years ago

Hello @mimattr, the request to switch this to a white list request is denied because a demo counts as an independent test case for Proton and is not a reliable indicator of compatibility with the full game version. Additionally, the tested Proton version must be an unmodified version from Steam.

mimattr commented 6 years ago

Appreciate the explanation @kisak-valve and apologies for any confusion, a separate ticket has now been created (#1603)

As an aside it's great to see a title with planned native SteamOS support finally working on Linux! :wink:

leillo1975 commented 6 years ago

Please Valve, fix feedback in wheels

leillo1975 commented 6 years ago

FIXED!!!!!!!!!!!!!!!!!!!!

It works perfect, with Force Feedback in my G27 Wheel! Thanks a lot, Valve! :)))

whizse commented 6 years ago

@leillo1975 That's very interesting! The demo (at least for me) still doesn't work with FF. Was it a game update or Proton update that fixed it? If possible, could you try the demo as well?

leillo1975 commented 6 years ago

There is an beta update of proton (3.7.7 Beta). With this version the game now runs without fixes and with Force Feedback. Play Online make the game crash. About F.Feedback: if you make an Alt-Tab, this feature get lost

leillo1975 commented 6 years ago

One question, two days ago the game was updated, and now I don't have force feedback. Can you say me if yoy have the same issue?

Thanks

madbad commented 6 years ago

I'm experiencing the same "Missing Force Feedback" issue after the game update, it worked before the update.

ah- commented 6 years ago

Still works for me, I do have working FF via https://github.com/atar-axis/xpadneo.

leillo1975 commented 6 years ago

@ah- what controller you use?

ah- commented 6 years ago

It's a recent Xbox controller, not quite sure what the exact model is.

leillo1975 commented 6 years ago

Our problem is with Logitech Wheels.

madbad commented 6 years ago

Do anyone else also get stuck at 75% loading when trying to get into a race with AI ?

leillo1975 commented 6 years ago

After the last Proton beta (3.16-4Beta) PCars2 works online and don't crash to desktop. Unfortunately, after game's update one month ago , Force Feedback stills missing. Please Valve, take a look on this. It's a great game

kisak-valve commented 6 years ago

Project CARS 2 (378860)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/1889. @GottaSlay posted on 2018-11-02T17:36:21:

Compatibility Report

System Information

I confirm:

steam-378860.log

Symptoms:

Game crashes on launch.

Reproduction:

Just try to launch the game.

leotada commented 5 years ago

Do anyone else also get stuck at 75% loading when trying to get into a race with AI ?

@madbad Yes in Fedora 29, it worked applying this option to true: PROTON_NO_ESYNC=1

leotada commented 5 years ago

For me Logitech G27 not works the pedals right, only the wheel and without FF.

leillo1975 commented 5 years ago

For me Logitech G27 not works the pedals right, only the wheel and without FF.

What distro and Proton version you are using?

I would like to post here a link to a thread in the Project Cars 2 official Forums if you want to participate:

http://forum.projectcarsgame.com/showthread.php?65098-Multiplayer-with-Linux-Steam-Play-Proton

leotada commented 5 years ago

For me Logitech G27 not works the pedals right, only the wheel and without FF.

What distro and Proton version you are using?

Sorry, worked after I have configured manually all the triggers in the game. Fedora 29, 3.16.

seibacks commented 5 years ago

One question, two days ago the game was updated, and now I don't have force feedback. Can you say me if yoy have the same issue?

Thanks

you can download the previous version of project cars 2 (in which the FFB was working) using this trick:

https://www.reddit.com/r/Steam/comments/611h5e/guide_how_to_download_older_versions_of_a_game_on/

I am really curious if is a game fault or a proton fault, let me know if that works for you

EDIT: in this case the download command should be:

download_depot 378860 378861 4000032546361002812

this should download the september 10 version of the game

leillo1975 commented 5 years ago

One question, two days ago the game was updated, and now I don't have force feedback. Can you say me if yoy have the same issue? Thanks

you can download the previous version of project cars 2 (in which the FFB was working) using this trick:

https://www.reddit.com/r/Steam/comments/611h5e/guide_how_to_download_older_versions_of_a_game_on/

I am really curious if is a game fault or a proton fault, let me know if that works for you

EDIT: in this case the download command should be:

download_depot 378860 378861 4000032546361002812

this should download the september 10 version of the game

I try to download it, but In don't have enought space in my home directory. I don't know If I could download it to another location (my games are in another disk)

seibacks commented 5 years ago

One question, two days ago the game was updated, and now I don't have force feedback. Can you say me if yoy have the same issue? Thanks

you can download the previous version of project cars 2 (in which the FFB was working) using this trick: https://www.reddit.com/r/Steam/comments/611h5e/guide_how_to_download_older_versions_of_a_game_on/ I am really curious if is a game fault or a proton fault, let me know if that works for you EDIT: in this case the download command should be: download_depot 378860 378861 4000032546361002812 this should download the september 10 version of the game

I try to download it, but In don't have enought space in my home directory. I don't know If I could download it to another location (my games are in another disk)

hhhmmm... maybe creating a symbolic link in the place where steam is downloading the content to a folder in your other disk???

leillo1975 commented 5 years ago

One question, two days ago the game was updated, and now I don't have force feedback. Can you say me if yoy have the same issue? Thanks

you can download the previous version of project cars 2 (in which the FFB was working) using this trick:

https://www.reddit.com/r/Steam/comments/611h5e/guide_how_to_download_older_versions_of_a_game_on/

I am really curious if is a game fault or a proton fault, let me know if that works for you

EDIT: in this case the download command should be:

download_depot 378860 378861 4000032546361002812

this should download the september 10 version of the game

IT WORKS!!!!! With the previus version Force Feedback works fine. I think that Linux users should pressure PCars2 developers to make the game work again with a new patch. I made a thread on P.Cars forum to ask for this. Please show your support: http://forum.projectcarsgame.com/showthread.php?65547-Broken-compatibility-with-F-Feedback-in-Steam-Play-Proton-(Linux)-with-latest-patch&p=1550570#post1550570

seibacks commented 5 years ago

One question, two days ago the game was updated, and now I don't have force feedback. Can you say me if yoy have the same issue? Thanks

you can download the previous version of project cars 2 (in which the FFB was working) using this trick: https://www.reddit.com/r/Steam/comments/611h5e/guide_how_to_download_older_versions_of_a_game_on/ I am really curious if is a game fault or a proton fault, let me know if that works for you EDIT: in this case the download command should be: download_depot 378860 378861 4000032546361002812 this should download the september 10 version of the game

IT WORKS!!!!! With the previus version Force Feedback works fine. I think that Linux users should pressure PCars2 developers to make the game work again with a new patch. I made a thread on P.Cars forum to ask for this. Please show your support: http://forum.projectcarsgame.com/showthread.php?65547-Broken-compatibility-with-F-Feedback-in-Steam-Play-Proton-(Linux)-with-latest-patch&p=1550570#post1550570

NICE !!!

Anyway I think valve can solve the issue through proton, the developers of PC2 are not going to make changes in the game because of a linux issue...

Do anyone else also get stuck at 75% loading when trying to get into a race with AI ?

I had this problem with the demo version, and even some crashes, I fixed all these issues rising the FD limit: https://forum.manjaro.org/t/increase-fd-limits-to-let-steam-play-works-reliably/56270

madbad commented 5 years ago

Do anyone else also get stuck at 75% loading when trying to get into a race with AI ?

I had this problem with the demo version, and even some crashes, I fixed all these issues rising the FD limit: https://forum.manjaro.org/t/increase-fd-limits-to-let-steam-play-works-reliably/56270

Great, this solved the problem for me.

Now the only issue remaining is the missing ForceFeedback (I will give a try on downloading the old pCars2 version since it was working with that).

seibacks commented 5 years ago

I can confirm it after buy the full game:

ForceFeedback working on Project cars 2 - 1.7.0.0

ForceFeedback NOT working on Project cars 2 - 1.7.1.0

xpander69 commented 5 years ago

Same issue here. FFB doesn't work log reveals that:

107214.718:002f:006d:err:dinput:effect_Download SDL_HapticNewEffect failed (Effect type 128): Haptic: Effect not supported by haptic device.
107214.734:002f:006d:err:dinput:effect_Download SDL_HapticNewEffect failed (Effect type 128): Haptic: Effect not supported by haptic device.

i tried to search what this effect type 128 is, but didnt find anything. I guess i have to downgrade to older version also. The Game works superbly other than that. Just need my FFB

edit: ok managed to downgrade to 2 months old version. FFB works great. What an enjoyable experience. However like mentioned already, alt+tab will kill FFB again, have to restart the game.

the same Haptic Effect type 128 errors are still on the log, so that doesnt break the FFB on the newer version i guess, theres something else.

seibacks commented 5 years ago

There's a huge difference between playing with and without Force Feedback, for me is a mandatory feature...

I found this (related with dirt 4, but also with FFB): https://github.com/ValveSoftware/Proton/issues/992#issuecomment-441951034

Apparently in wine 3.20 it works, but it doesn't explain why is working with the previous version of PC2 and not with the latest... maybe is working with a specific implementation of FFB??? really weird...

leillo1975 commented 5 years ago

Apparently in wine 3.20 it works, but it doesn't explain why is working with the previous version of PC2 and not with the latest... maybe is working with a specific implementation of FFB??? really weird...

We'll have to wait for Proton to upgrade to version 3.20.

wleoncio commented 5 years ago

I can confirm it after buy the full game:

ForceFeedback working on Project cars 2 - 1.7.0.0

ForceFeedback NOT working on Project cars 2 - 1.7.1.0

Came here to second this. On the other hand, online works with 1.7.1.0 and breaks with 1.7.0.0. I'd rather have FFB, so I'm keeping the game downgraded, but it sucks having to choose. Moreover, 1.7.0.0 crahes sometimes, either before the start screen or when starting an event. I am using Ubuntu 18.04, Nvidia GTX 650 Ti BOOST with proprietary drivers and a Logitech Driving Force GT wheel.

kisak-valve commented 5 years ago

Project Cars 2 photo mode not working

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2217. @wleoncio posted on 2019-01-14T16:43:15:

Compatibility Report

System Information

I confirm:

Proton log gist: https://gist.github.com/wleoncio/41ad3c33d0459d54a95cbe312028ecbe

Symptoms

Photo mode does not work

Reproduction

  1. Start the game and get on track (game mode doesn't matter)
  2. Pause the game and choose "photo mode"
  3. Try to take a photo by pressing "take photo" or pressing the left mouse button

(alternatively)

  1. Start the game and go to "private testing", then "vehicle select"
  2. Choose "Showroom" and "Photo mode"
  3. Try to take a photo by pressing "take photo" or pressing the left mouse button

Instead of taking the photo, the game temporarily freezes, with the shutter sound repeating indefinitely. Pressing "Esc" goes back to "photo mode" and game can be played normally. Photo is not taken, as it won't show up in "My Profile / Images" and the "Snap snap snap" achievement for taking a photo doesn't pop up. steam-378860.log


@wleoncio commented on 2019-01-14T17:05:15

I've also tried with nvidia driver 415.25 and game version 1.7.1 (OP using 1.7.0) with same results.

Kreyren commented 5 years ago

any ETA on force feedback?

viggy96 commented 5 years ago

I haven't been able to launch the game recently, possibly due to a game update, though not sure of the cause. I'm running Ubuntu, Radeon VII GPU, and Padoka Stable Mesa. I've been able to run this game before on my setup.

leillo1975 commented 5 years ago

Force Feedback stills not working with the last version of Proton (4.2)

xpander69 commented 5 years ago

Yeah, confirming, no go with 4.2 for me either and no go with custom proton-tkg 4.4.r8 either. Something with native steam client killing the FFB? as the FFB works fine with regular wine 4.1 to 4.4

edit: Whoops wrong post. I was thinking its Dirt Rally 2.0 issue. Don't mind me. But probably both have similar issue anyway.

leillo1975 commented 5 years ago

Yeah, confirming, no go with 4.2 for me either and no go with custom proton-tkg 4.4.r8 either. Something with native steam client killing the FFB? as the FFB works fine with regular wine 4.1 to 4.4

edit: Whoops wrong post. I was thinking its Dirt Rally 2.0 issue. Don't mind me. But probably both have similar issue anyway.

@xpander69 , you have Force Feedback with Wine in this game?

xpander69 commented 5 years ago

Yeah, confirming, no go with 4.2 for me either and no go with custom proton-tkg 4.4.r8 either. Something with native steam client killing the FFB? as the FFB works fine with regular wine 4.1 to 4.4 edit: Whoops wrong post. I was thinking its Dirt Rally 2.0 issue. Don't mind me. But probably both have similar issue anyway.

@xpander69 , you have Force Feedback with Wine in this game?

yes i had (with wine-staging 4.2). but i haven't tested now, i was posting in the wrong place, thinking it was Dirt Rally 2.0

seibacks commented 5 years ago

Same here, still no FFB with proton 4.2 on the latest version of the game.

Still works on the old version of the game.

viggy96 commented 5 years ago

I get the following error in when trying to run Project Cars 2:

>0 0x00007fe21036615b SDL_GL_UnloadLibrary+0xa9eb() in libsdl2-2.0.so.0 (0x00007fe21069e624)
0x00007fe21036615b SDL_GL_UnloadLibrary+0xa9eb in libsdl2-2.0.so.0: movzwl  0x0000000000000002(%rsi),%eax

The game runs fine when I run it with wine steam via Lutris.