Proton: Assetto Corsa (244210)

Created on 22 Aug 2018  ·  115Comments  ·  Source: ValveSoftware/Proton

  1. Normally installed
  2. Play > First play installing dependencies MS Redist etc.
  3. Nothing happens afterwards
  4. Trying Play again
  5. Steam writes app running for a about a second and then cloud sync and nothing more.

Afterwards I went and enable user preferences of proton and here is a log file:
steam-244210.log

System specs:
Linux Mint 19 Cinammon
i7-3770k
16 GB RAM
GTX 660 Ti 2GB

Game compatibility - Unofficial

Most helpful comment

Actually the CSP x Wine compatability was achieved some time ago around v0.1.25.

I reported Ilya that CM works fine but CSP fails to inject for some reason and after short ping-pong debug session he came out with a set of overrides which nowadays can be found at extension/config/data_alt_mapping.ini file under section called [NAMES_WINE]. After that it became possible to run AC+CM+CSP under Wine.

I noticed some activity in this thread and decided to try Proton another time, so here is my comprehensive and precise guide for running AC+CM+CSP with Proton 5.0-1. It contain some tricks to make most of CSP features work as well as a pair of workarounds to prevent some type of crashes.

AC+CM+CSP

Prerequisites

  • protontricks - we will use it to operate on our prefix carefully

Road to working AC+CM

  1. Select Proton 5.0-1 as a compatibility tool for Assetto Corsa and install the game as usual.
  2. Try to run the game by hitting "Play" in Steam, it will fail, but it will create a prefix for us.
  3. Now let's remove the "Wine Mono Windows Support" using the next tool:
protontricks -c "wine uninstaller" 244210
  1. Install .NET Framework 4.0:
wget https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe
protontricks 244210 winxp
protontricks 244210 shell
cd -
wine dotNetFx40_Full_x86_x64.exe /q
exit
  1. Install .NET Framework 4.7.1:
wget https://download.microsoft.com/download/9/E/6/9E63300C-0941-4B45-A0EC-0008F96DD480/NDP471-KB4033342-x86-x64-AllOS-ENU.exe
protontricks 244210 win7
protontricks 244210 mscoree=native
protontricks 244210 shell
cd -
wine NDP471-KB4033342-x86-x64-AllOS-ENU.exe /q
exit
  1. Install Visual C++ 2015 libraries:
protontricks 244210 -q vcrun2015
  1. Install d3dcompiler_47:
protontricks 244210 d3dcompiler_47
  1. And switch to Windows 10 mode:
protontricks 244210 win10
  1. Link the loginusers.vdf file to let CM detect our Steam ID. Location of the file can vary for different Steam installations, for me it was found in $HOME/.steam/root/config/ on one machine and in $HOME/.steam/root/steam/config/ on another. Check your installation and correct 2nd command accordingly:
mkdir ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config
ln -s $HOME/.steam/root/config/loginusers.vdf ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config/loginusers.vdf
  1. Download Content Manager and extract its executable to AC installation directory. Rename it to Content Manager Safe.exe.
  2. Set custom launch options for Assetto Corsa to
~/.steam/root/steamapps/common/'Proton 5.0'/proton waitforexitandrun ~/.steam/root/steamapps/common/assettocorsa/'Content Manager Safe.exe'; echo %command%
  1. Now run the game via Steam again, CM should appear and ask about AC location. Hidden directories are not visible in its explorer, so you can get the path by executing something like this in terminal:
echo 'Z:\home\'$USER'\.steam\root\steamapps\common\assettocorsa'

Congratulations!
At this point you should have working Content Manager which is able to run single-user Assetto Corsa games as well as to connect to online servers. Now we can proceed to CSP installation.

Installing CSP

  • Keep in mind that Wine+CSP will force to turn down the volume of tyres and surface audio. It will complicate car control because the tires screech will become silent.
  • Driver model will disappear, only helmet will remain visible.
  1. Close CM.
  2. To make CSP injection possible add a new library override for dwrite. It should appear with "(native, builtin)" setting. Use the next command to run winecfg and navigate to the "Libraries" tab:
protontricks -c winecfg 244210
  1. Install CSP using CM by going to Settings > Custom Shaders Patch.
  2. Switch CSP version to 0.1.42.

⚠️ At this point AC will NOT work, please, proceed to the next section to tweak CSP.

Tweaking CSP

In Content Manager navigate to the Settings > Custom Shaders Patch. The next tweaks are required to make it work as well as it possible with Proton.

  • Disable the next extensions completely. Unfortunately, they don't work with Wine yet:

    • New loading screen

    • Taskbar

  • Windscreen FX - actually can be enabled if you remove all the files from the ~/.steam/root/steamapps/common/assettocorsa/extension/sfx directory. Windscreen FX depends on SFX by using the rain drops sound for rainy weather and there is a problem which makes it crash when it tries to load audio.
  • Car instruments - uncheck the "Use odometers" and "Navigators for some cars" ticks to prevent crashing with BMW M3 E30, Audi R8 and some other cars.
  • Smart Mirror - will cause crash if you join the server where virtual mirrors are forced on, to avoid it disable the virtual mirror by adding the following setting to the file located at ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/users/steamuser/Documents/Assetto Corsa/cfg/extension/smart_mirror.ini (create the file if not exists):
[PIECE_0]
ROLE=TOP
  • Fake Shadows FX - uncheck the "Properly project shadows on the ground" tick. It will allow to use various FX from Extra FX extension such as Motion blur, Temporal anti-aliasing, SSLR and other.

At this point you should have mostly working CSP. Sadly, the VAO patches are not loaded correctly under Wine, so you will not be able to see the VAO effect, but you can use SSAO or HBAO+ from Extra FX extension (but they consume some extra power).

Distorted audio problem

In Content Manager navigate to Settings > Assetto Corsa > Audio and turn down the "Tyres" and "Surface" sliders. It will disable these sounds for your car, however, it will not disable them for opponents, so they still be able to scare you with EXTRA-loud surface rustle sounds. I asked Ilya about possible solution of this problem and he said that theoretically there is should not be such problem. He said that maybe someday he will make an option to disable sound modifications completely to solve the audio problem, but there is no any eta.

Installing Sol

Download and install Sol 1.4.2 (or newer?) manually, copy the files by hand.
You can skip the extension/config/weather_fx.ini file because newer CSP contain some extra sections besides those which come with Sol 1.4.2, but I don't think that it's very important.

  • Enabling Sol applications is breaking something and requires the assettocorsa/extension/weather directory to be reinstalled from Sol archive. These applications known to partially work for me with clean Wine (non-Proton) installation, but for some reason it was not possible to make them run with Proton yet.

Notes

Proton-5.1-GE-1 is also known to work, but there is a problem with CM Steam ID detection. Linking the loginusers.vdf didn't help me, but eventually it was possible to make Steam ID work by copying CM configs from previously used Proton 5.0-1 prefix. The Proton-5.1-GE-1 build is known for a patch which solves the problem of a slow Kunos in-game UI, if you don't plan to use CSP, you can use this Proton build to improve the UI performance. However, if you use CSP there is no big difference, because CSP fixes UI problems by default with options which can be seen enabled at Content Manager > Settings > Custom Shaders Patch > General Patch settings > Custom fonts rendering section.

Tested with GTX 1060 and Vega 56.

All 115 comments

With Wine this game have a lot of problems with .Net installation (dotnet452). Probbably is needed to play it.
There are a lot of games with .net dependencies

Ahhh,the name of the game is "Assetto Corsa", not "Asseto Corsa". I think that correct this will be useful to search this issue

One thing (offtopic), simon50keda, are you the author of the Force Feedback Plugin for Euro Truck Simulator 2 (thanks for it)? Are you still working on it?

same problem here:
ubuntu 18.04
i7 4790k
AMD Radeon RX470 4Gb
16Gb RAM

This game is a mess to get to work, and it's all .net stuff. I have a tutorial on Reddit how I finally got it to work with Lutris, wine, winetricks, various .net tries, and DXVK. Here's hoping AC2, upcoming, is easier to get working.

Link to tutorial in reddit?

I had try but the game still not working, .net app verify say all work ok:-(

It works with this Lutris installer!!!!
https://lutris.net/games/install/8286/view
Take a look on it. I only have to change to Windows Vista in Wine configuration, but I know that there are people that play it "using" Windows 7 in configuration.

It's work on lutris, great.

@leillo1975 what distribution are you using? I tried installing it on Linux Min 19 trough Install on lutris web, installation went by (steam installs, AC was downloaded too) but when it tries to run it, it just creates a window and then dies. :/

I'm running into system argument exception:
https://pastebin.com/raw/2DpSEAgZ

I use Ubuntu 18.04. You set wine configuration to Windows Vista?? I had the same problem, but this change fixed the problem. I recorded a video playing the game with this installer: https://youtu.be/BV9FtJC7a7Y

Uh, later I got it working yeah. But I rain in another problem. Cinnamon or Lutris obviously has problems with making game full screen. During the "race" fps stated ~40 FPS but it surely wasn't anything like that, due to window not being fullscreen thus window manager was doing sth with it.

So did you by any chance change graphics settings somehow or?

I don't make anything special with it. I'm using a fullscreen mode Are you using a virtual desktop?

Nope, at least I haven't switched to it manually. Well I'm gonna purge everything and try again.

Assetto Corsa (244210)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/1669.
@DougBeney posted on 2018-10-02T01:50:10:

Compatibility Report

  • Name of the game with compatibility issues: Assetto Corsa
  • Steam AppID of the game: 244210

System Information

  • GPU: GTX 1050
  • Driver/LLVM version: nvidia 396
  • Kernel version: 4.15.0-36-generic
  • Link to full system information report as Gist

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.

Proton Log Gist

Symptoms

Launched game, Steam shows running next to the game's title, then it disappears and nothing else happens. Nothing pops up on my screen except for the "Preparing to Launch Assetto Corsa Steam dialog.

Reproduction

I am actually on a pretty fresh install I just did today. I used KDE Neon which is exactly the same as Ubuntu 18.04 or Kubuntu 18.04 except that it has a newer KDE version.

This should be reproducible on any Ubuntu 18.04 distribution.

Others' have had similar experiences and you can read about them on the unofficial Steam Compatibility Reports: https://spcr.netlify.com/app/244210

@leillo1975 thanks for the Vista trick! That did it for me.

Performance could still use some work. Had frame skipping on full resolution, which is only 1280x1024 btw.

Reproduced on Arch:

Compatibility Report

  • Name of the game with compatibility issues: Assetto Corsa
  • Steam AppID of the game: 244210

System Information

  • GPU: NVIDIA Corporation GeForce GTX 1080 Ti/PCIe/SSE2
  • Driver/LLVM version: NVIDIA 415.27
  • Kernel version: 4.20.7-arch1-1-ARCH
  • Link to full system information report as Gist
  • Proton version: 3.16-6 Beta

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.

Symptoms

Nothing happens when trying to launch the game. Running the winetricks commands from the Lutris install script makes a terminal pop up for a split second instead.

Attached Proton log is after installing the packages from the Lutris winetricks commands.
steam-244210.log

Update for anyone interested who had issues with running the game (@simon50keda ?):

Installing with Lutris on a 64 bit prefix using their script made it possible to start the launcher. The game itself was crashing, but installing the native d3dx11_43 and d3dcompiler_43 with winetricks made it possible to run the game smoothly. The wheel, FFB and such all work, and there are no graphical glitches.

Update for anyone interested who had issues with running the game (@simon50keda ?):

Installing with Lutris on a 64 bit prefix using their script made it possible to start the launcher. The game itself was crashing, but installing the native d3dx11_43 and d3dcompiler_43 with winetricks made it possible to run the game smoothly. The wheel, FFB and such all work, and there are no graphical glitches.

Thanks for the tip, I will update the script

@slavfox what about framerate and online?
@leillo1975 is the script updated already, I might try it this weekend.

Haven't tested online. Frames are around the same I'd get on Windows (1080ti, 3440x1440) at gfx settings maxed, they degrade extremely quickly as you enable the onscreen widgets. With just one or two widgets on screen I'm getting a comfortable 90-100 fps.

@simon50keda update: online works, but framerates are down to ~40.

This is the video compare performance on native windows 10, linux Xorg and linux wayland
https://youtu.be/7kVIZ51evDM

Initially I had "Enable DXVG" enabled and could not get past the launcher. After disabling that, I can get on the track, but everything is quite pink:

New Project

Someone take a look to this Lutris installer?
https://lutris.net/games/install/12720/view

This installer uses Steam for Linux and Proton. I try to install it, but it fails on use "protontricks"

Hmmm so if this would be true ... then it should work directly via SteamPlay install? Last time I tried (month ago) I had no luck except with the given lutris installer by leillo1975.

I don't think it works with straight Proton yet... Someone posted on ProtonDB their script for making it work with Proton here: https://pastebin.com/f5eUDcr0. Perhaps that could be merged with the Lutris script?

Well essentially this is it, This are exact steps I had to take with lutris to make it work.

I wonder if a manual .dotnet install isn't necessary anymore after Wine 4.6?

Modified version of the earlier script to be more automated for convenience: https://gist.github.com/Roliga/8493e33e4cbb7eccd4e5f0a831a3990d

I managed to reach the Assetto Corsa launcher with Proton 4.11-10 using a combination of all guides I could find on the internet, including the above scripts, but I can't load in any race, it seems that the resolution option is blank, which doesn't let the game start, as this is a bug that occurs on windows too. I've also tried lowering down all graphic settings, but it still won't load in.

Finally, it worked after reinstalling on proton 4.11-11. For anyone interested, here is what I did.
I created a new prefix as mentioned by /u/timothylake here.
The default launcher did open, but it would not load any race. So I installed Content Manager inside the assettocorsa folder. I had issues with Content Manager.exe , so I renamed it to Content Manager Safe.exe Then I put this to Assetto Corsa Launch Options, as suggested by Tritano here.
~/[steampath]/steamapps/common/'Proton 4.11'/proton waitforexitandrun ~/[steampath]/steamapps/common/assettocorsa/'Content Manager Safe.exe'; PROTON_USE_DXVK=1 echo %command%
Make sure [steampath] is the path to your steam installation, Proton version on the path matches your proton version, and the name of Content Manager matches the name your .exe has.
It works flawlessly, but make sure you turn off the overlay apps, because they cause lag.

Got AC running with good performance, even using Content Manager and Sol thanks to the tip from @Christopher-S-25 ;)
However, the FPS drop caused by the HUD/UI is kinda annoying. But there is a possible patch for the proton-tkg custom build (can be found here). Unfortunately building proton-tkg didn't work for me, so I'm wondering whether there is a way to get this patch included in the official Proton or to apply this separately to an AC bottle/install?

Glad I could help you @MrFuNK1 :D
I haven't tried any custom proton build, because it took me 2 months to find a proper solution for AC to run, so I'm a bit afraid it might break again.
BTW, I can't make Custom Shaders Patch work. Did you install it with Content Manager or manually with JSGME? I've tried both to no avail. It's like as if I haven't installed it at all when I enter a race... I mainly want to have working headlights, I just don't understand what I'm doing wrong. :/

@Christopher-S-25 I really did nothing more than running CM like you suggested and let it install CSP. I only installed Sol manually as suggested in the official guide 😉
Maybe you could share a screen of your config of CSP in CM so that we could compare? But maybe it could also be something related to the setup of Proton!? IIRC I did nothing special but following what the install scripts included 🤔

Aren't the CSP files supposed to go on the MODS folder? Well I just discovered that it doesn't do it at all. And when I press "scan again" on the installation on CM it can't find it and it prompts me to install it again. Maybe I could install CSP on my own somehow? :thinking:
EDIT: I checked again and I realized that it doesn't work with MODS folder, but I don't understand why it doesn't work, since all the other files are in place...
EDIT2: I'm sure it's not working, because I don't even have the custom taskbar although it's enabled in the CM Settings
EDIT3: All files are good, but the game acts as if I never installed it. Any help is appreciated

I cannot start up Assetto Corsa from Steam and also not from Lutris with the Steam Proton Version.
Does anybody have a solution?

I use lutris to play this game, and some days ago I make a petition to his devs to include a Wine-TKG with this fix activated, but i don't have a response. Perhaps if you leave a message on this thread showing interest, they could make it:
https://forums.lutris.net/t/please-include-a-wine-tkg-with-assetto-corsa-fix-activated/8108

@Christopher-S-25 what does the settings page show you? Mine looks like this:
grafik

Maybe you have, but still: Did you install all the dependencies that were included in the various install scripts floating around? CSP requires 64bit and Visual C++ Redistributable 2015 (x86) to run. So maybe there is a problem, although I thought that CM does identify any problems with the CSP install and would report.

@Christopher-S-25 and others, please let me apologize: I made a beginners mistake by simply assuming CSP was working because it installed via CM without problems and also all the configuration pages etc. were there. In reality all just appeared to be working, but in the game nothing works. That's a real pity. Again I'm very sorry!

But now I want to know how to get CSP and Sol working even more! Unfortunately it's too late today and I don't have a good idea at the moment where to start. So I will give it another go at one of the next days. In the mean time, any suggestions or tips would be appreciated of course!

No problem @MrFuNK1 . I'm glad I'm not the only one having this issue. I suspect it's the dwrite.dll because when I tried to override it to native (windows) with winecfg, CM would crash with an error from that dll. Practically, it could be a case similar to GTA V, where you have to override dinput8.dll to native (windows) in order for ScriptHookV to work. Anyone with more experience could possibly look on it. I could be wrong, but there is no other reason for it to totally ignore the CSP installation. It won't even throw any error, as if I never installed CSP.

Couldn't resist to do some more testing today. And I do have an result although not a positive.

First I tried to exclude that CM and Steam are somehow causing the error, so I switched to "Replacement" mode as suggested from the "About > Important Tips > Starter" page in CM. But despite this improves the integration, it did solve any CSP issues.
Next, I've set the Windows version to Windows 10 via Winecfg (Vista is not required anymore because I'm using CM) and I've removed the custom starting options for AC from Steam. Again, this did solve the problem.
Then I chose the same approach as @Christopher-S-25 by fiddling with the dwrite.dll. To cut a long story short, the dwrite.dll that seems to come with CSP and is saved in the root AC folder is the one that does the magic of injecting the shader patches into the game engine. Without that dll or a different one (native or builtin) you either get an error message that injecting wasn't possible or AC is just running without the shader patches.
With the CSP's dwrite.dll, the game starts without an error. But unfortunately the screen stays black all the time while the process is actively loading or working or whatever (i.e. it seems it did not die).

So the bottom line is: The CSP's dwrite.dll is required to get CSP working. The "UI patch" consequently should be applied to that one (if possible at all), but also there is something wrong with the CSP's dwrite.dll because seems to not work via Proton.

Maybe someone can assist from this point, telling me how I could get a log of what is going on in the background to identify any issues!?

I would surely want to reach out to the CSP maker(s), but I guess some more precise information will be required to tackle the problems and find solutions.

I did some further digging regarding dwrite.dll and here is the error from CM: assetto-corsa-fatal-error-dwrite-dll
It's obvious that this is not enough to examine the DLL itself for dependencies, so I ran Dependency Walker on WINE and here is the result: assetto-corsa-dwrite-dll-deps
Dependency Walker itself popped up an error while scanning the DLL, so maybe I should also try it on a Windows laptop to make sure the DLL is working on windows. Some googling I did suggests that DBGHELP.DLL could be causing problems, like on this reddit post. I'm not really sure though, might as well we contact CSP devs on discord to tell us what's up with dwrite.dll. Or we could first try what caught my eye on the Shaders Patch Page:
csptroubleshooting
The third bullet sounds like it could be the problem we are facing.

That troubleshoot information is outdated or irrelevant if using CM for the installation of CSP:
grafik
(the original shaders are still there, so replacing makes no sense)
Also when CM detects that dwrite.dll is missing it would ask you to re-install CSP and will again copy the dwrite.dll:
grafik
(CM recognizes this instantly, so renaming of the dwrite.dll immediate let CM show that error)

I will just boot windows in a couple of minutes and set everything up the same way as I did in Linux/Proton. I believe there will be no issue with launching AC with CSP/Sol. But I will report ;)

What doesn't make sense is why CM crashes along with CSP. Does it "preload" dwrite.dll before opening? Isn't it supposed to crash when the actual game opens or something? Anyway, I hope your windows tests are successful so we can make sure it's just wine-related. Then we can gather up all the information we have, and contact the devs. I hope they are willing to help since it's not a windows problem.

Strange, if I'm not mistaken CM did launch on my side even without the dwrite.dll - have you changed the dwrite.dll setup in winecfg?

My AC install on Windows seems a bit messy, but I don't have time to start with a fresh install. Anyway, latest CSP and Sol simply work directly. So it's definitely something that dwrite.dll does that is not supported by or does fight against something in WINE or Proton ;)

I tried running the DLL native again to get a screenshot of the error. Usually DLLs that are meant to mod a game need to run on native (windows), with GTA V and ScriptHookV being a similar case. The weird thing is that, dwrite.dll is able to crash the whole CM app. So I was curious why, since it only mods the game and not CM.

You probably have to set dwrite to "native,builtin" so both application custom module and actual one could be used.

Hmmm interesting, CM did open up, now it gives an error after pressing drive with the recommended version and when installing the latest I just get a black screen. Thanks for the tip @nsivov :P

"native,builtin" is what I have setup as well, so no wonder I did not get that error ;)

Seems like that setup is obviously better, but it won't load in any race now. I've tried turning off as many graphics improvements as possible, but that didn't change anything. I've no idea why it wouldn't load at all. Now it looks more like a game problem instead.

If you disable/remove CSP, you will see that AC launches normally. I'm sure it's an issue with CSP injecting the engine/shaders. So I suggest we should first involve the CSP guys and see where it gets us ;)

So guys, here are some good news for you!

I found, after a whole evening of trail and error, that AC is actually working via CM with CSP and Sol! At least on my end I found a setup of extensions that make CSP and Sol working. Not all those fancy effects are working now or available. Maybe this changes with patches to Proton or CSP in the future. And the greatest surprise: The UI problem is gone (no lag when UI elements are drawn on screen) so FPS are very high and performance is very good now!

So I do now highly recommend everyone to set up the game with CM and CSP. You even don't need to enable any extension, just the basic CSP already seems to fix the font drawing which may is the reason for the UI causing a drop in FPS.

The results from my trail and error was:

Extensions not working at all:

  • New loading screens
  • Taskbar
  • Windscreen FX

Extensions that work but have some limitations:

  • Smart mirror (incl. real mirror and pp in rear mirror)
    -- only works if virtual mirror is disabled
  • Track adjustments
    -- audio of tyres is exaggerated/distorted in some cases - some solutions: set "New sounds volume" to 0% may fixes distortion in chase cam although tyre squeaking on right channel only (needs verification), in cockpit view the distortion remains unchanged and reducing the tyre audio to 0 (ingame app or settings) is required
    -- Weather FX does also influence the sounds - in case of the problems with track adjustments also positively
    -- sound may interfer with other users of the driver
  • Extra FX
    -- Temporal anti-aliasing not working
    -- Local reflections (SSLR)
    -- Ambient occlusion
    -- Simple light bounce
    -- Volumentric lights
    -- Fog blur

I'm curious to see if that works for others as well as it did for me! Let me know so that we may end up with a new instruction on how to set up the game to work on Linux with Steam and Proton properly ;)

EDIT: Should have mentioned that I was using CSP 0.1.39 and Sol 1.4.1 ;)

@MrFuNK1 I just decided to troubleshoot with your method, but the setup of extensions that you said didn't make a difference for me. HOWEVER, I think I found a solution that truly makes the game work!!! Indeed maybe some extensions don't work, I haven't tested it yet. Here's what I did and I was left with my mouth open:

  1. I went to the Custom Shaders Patch Settings and I turned off all extensions apart from Lighting FX, which is the only thing I care about (hence more testing is needed)
  2. I went to the General Patch Settings and unchecked EVERYTHING apart from Shaders Patch active (obviously)

My guess is that Optimizations, CPU Optimizations and GPU Optimizations were causing issues during loading (Especially the Multi-threaded and smoother loading options under Optimizations)
If this method works for other people too, I will do more testing to make sure exactly which extensions work as well as with SOL.
I used CSP 0.1.39 without SOL, because I wanted to isolate possible issues from SOL.
EDIT: you can add me on steam if you want @MrFuNK1 :smile:
https://steamcommunity.com/id/Christopher_S_25

Yeah, I should have mentioned that I'm on Intel and NVIDIA with the official drivers. AMD users may not able to use the same features or the other way around. Also I believe you could get more features by setting up Proton with some things. Don't know if DXVK etc. could also make a difference 🤔
Anyhow, it's very good that CSP in the bare minimum configuration can change the game - literally!

With latest Proton (5.0-1) I experienced heavy flickering in CM. Disabling the hardware acceleration for the UI (Settings > Appearance > System: > Disable hardware acceleration for UI (not recommended)) fixed that for me.

On another note: When you are using SOL you will have to install that again if CSP is updated. If one combination works for you, you may consider disabling the automatic updating of CSP through CM.

Actually the CSP x Wine compatability was achieved some time ago around v0.1.25.

I reported Ilya that CM works fine but CSP fails to inject for some reason and after short ping-pong debug session he came out with a set of overrides which nowadays can be found at extension/config/data_alt_mapping.ini file under section called [NAMES_WINE]. After that it became possible to run AC+CM+CSP under Wine.

I noticed some activity in this thread and decided to try Proton another time, so here is my comprehensive and precise guide for running AC+CM+CSP with Proton 5.0-1. It contain some tricks to make most of CSP features work as well as a pair of workarounds to prevent some type of crashes.

AC+CM+CSP

Prerequisites

  • protontricks - we will use it to operate on our prefix carefully

Road to working AC+CM

  1. Select Proton 5.0-1 as a compatibility tool for Assetto Corsa and install the game as usual.
  2. Try to run the game by hitting "Play" in Steam, it will fail, but it will create a prefix for us.
  3. Now let's remove the "Wine Mono Windows Support" using the next tool:
protontricks -c "wine uninstaller" 244210
  1. Install .NET Framework 4.0:
wget https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe
protontricks 244210 winxp
protontricks 244210 shell
cd -
wine dotNetFx40_Full_x86_x64.exe /q
exit
  1. Install .NET Framework 4.7.1:
wget https://download.microsoft.com/download/9/E/6/9E63300C-0941-4B45-A0EC-0008F96DD480/NDP471-KB4033342-x86-x64-AllOS-ENU.exe
protontricks 244210 win7
protontricks 244210 mscoree=native
protontricks 244210 shell
cd -
wine NDP471-KB4033342-x86-x64-AllOS-ENU.exe /q
exit
  1. Install Visual C++ 2015 libraries:
protontricks 244210 -q vcrun2015
  1. Install d3dcompiler_47:
protontricks 244210 d3dcompiler_47
  1. And switch to Windows 10 mode:
protontricks 244210 win10
  1. Link the loginusers.vdf file to let CM detect our Steam ID. Location of the file can vary for different Steam installations, for me it was found in $HOME/.steam/root/config/ on one machine and in $HOME/.steam/root/steam/config/ on another. Check your installation and correct 2nd command accordingly:
mkdir ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config
ln -s $HOME/.steam/root/config/loginusers.vdf ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config/loginusers.vdf
  1. Download Content Manager and extract its executable to AC installation directory. Rename it to Content Manager Safe.exe.
  2. Set custom launch options for Assetto Corsa to
~/.steam/root/steamapps/common/'Proton 5.0'/proton waitforexitandrun ~/.steam/root/steamapps/common/assettocorsa/'Content Manager Safe.exe'; echo %command%
  1. Now run the game via Steam again, CM should appear and ask about AC location. Hidden directories are not visible in its explorer, so you can get the path by executing something like this in terminal:
echo 'Z:\home\'$USER'\.steam\root\steamapps\common\assettocorsa'

Congratulations!
At this point you should have working Content Manager which is able to run single-user Assetto Corsa games as well as to connect to online servers. Now we can proceed to CSP installation.

Installing CSP

  • Keep in mind that Wine+CSP will force to turn down the volume of tyres and surface audio. It will complicate car control because the tires screech will become silent.
  • Driver model will disappear, only helmet will remain visible.
  1. Close CM.
  2. To make CSP injection possible add a new library override for dwrite. It should appear with "(native, builtin)" setting. Use the next command to run winecfg and navigate to the "Libraries" tab:
protontricks -c winecfg 244210
  1. Install CSP using CM by going to Settings > Custom Shaders Patch.
  2. Switch CSP version to 0.1.42.

⚠️ At this point AC will NOT work, please, proceed to the next section to tweak CSP.

Tweaking CSP

In Content Manager navigate to the Settings > Custom Shaders Patch. The next tweaks are required to make it work as well as it possible with Proton.

  • Disable the next extensions completely. Unfortunately, they don't work with Wine yet:

    • New loading screen

    • Taskbar

  • Windscreen FX - actually can be enabled if you remove all the files from the ~/.steam/root/steamapps/common/assettocorsa/extension/sfx directory. Windscreen FX depends on SFX by using the rain drops sound for rainy weather and there is a problem which makes it crash when it tries to load audio.
  • Car instruments - uncheck the "Use odometers" and "Navigators for some cars" ticks to prevent crashing with BMW M3 E30, Audi R8 and some other cars.
  • Smart Mirror - will cause crash if you join the server where virtual mirrors are forced on, to avoid it disable the virtual mirror by adding the following setting to the file located at ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/users/steamuser/Documents/Assetto Corsa/cfg/extension/smart_mirror.ini (create the file if not exists):
[PIECE_0]
ROLE=TOP
  • Fake Shadows FX - uncheck the "Properly project shadows on the ground" tick. It will allow to use various FX from Extra FX extension such as Motion blur, Temporal anti-aliasing, SSLR and other.

At this point you should have mostly working CSP. Sadly, the VAO patches are not loaded correctly under Wine, so you will not be able to see the VAO effect, but you can use SSAO or HBAO+ from Extra FX extension (but they consume some extra power).

Distorted audio problem

In Content Manager navigate to Settings > Assetto Corsa > Audio and turn down the "Tyres" and "Surface" sliders. It will disable these sounds for your car, however, it will not disable them for opponents, so they still be able to scare you with EXTRA-loud surface rustle sounds. I asked Ilya about possible solution of this problem and he said that theoretically there is should not be such problem. He said that maybe someday he will make an option to disable sound modifications completely to solve the audio problem, but there is no any eta.

Installing Sol

Download and install Sol 1.4.2 (or newer?) manually, copy the files by hand.
You can skip the extension/config/weather_fx.ini file because newer CSP contain some extra sections besides those which come with Sol 1.4.2, but I don't think that it's very important.

  • Enabling Sol applications is breaking something and requires the assettocorsa/extension/weather directory to be reinstalled from Sol archive. These applications known to partially work for me with clean Wine (non-Proton) installation, but for some reason it was not possible to make them run with Proton yet.

Notes

Proton-5.1-GE-1 is also known to work, but there is a problem with CM Steam ID detection. Linking the loginusers.vdf didn't help me, but eventually it was possible to make Steam ID work by copying CM configs from previously used Proton 5.0-1 prefix. The Proton-5.1-GE-1 build is known for a patch which solves the problem of a slow Kunos in-game UI, if you don't plan to use CSP, you can use this Proton build to improve the UI performance. However, if you use CSP there is no big difference, because CSP fixes UI problems by default with options which can be seen enabled at Content Manager > Settings > Custom Shaders Patch > General Patch settings > Custom fonts rendering section.

Tested with GTX 1060 and Vega 56.

Hello I'm stuck in step 11, where you set launch options for Assetto Corsa to make CM work, the problem is that I have got the game in a NTFS disk which mixes WIndows&Linux games together, so how can you make this command
"~/.steam/root/steamapps/common/'Proton 5.0'/proton waitforexitandrun ~/.steam/root/steamapps/common/assettocorsa/'Content Manager Safe.exe'; echo %command%"
to the one where the actual game is installed in
"/mnt/D232B09032B07B55/Juegos/SteamLibrary/steamapps/common/assettocorsa/" ?

So I don't have to reinstall the entire game + mods, thanks
https://imgur.com/a/kWhXcfN

I'm not sure, but can you can try it like this?

~/.steam/root/steamapps/common/'Proton 5.0'/proton waitforexitandrun /mnt/D232B09032B07B55/Juegos/SteamLibrary/steamapps/common/assettocorsa/'Content Manager Safe.exe'; echo %command%"

It didn't do anything :/, also adding a ~ to /mnt/D232B09032B07B55/Juegos/SteamLibrary/steamapps/common/assettocorsa/'Content Manager Safe.exe'; echo %command%" didn't do anything, it stops.

You don't need to add a ~ to /mnt/... because ~ is a shortcut for the home directory of your user.
Run steam in a terminal to see the error message and make sure that you entered the command correctly because Steam UI makes it a bit tricky to paste text into that textbox.

fsync: up and running.
GameAction [AppID 244210, ActionID 3] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 244210, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 244210, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 244210, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 244210, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 244210 "", ProcID 15878, IP 0.0.0.0:0
Starting app 244210

Adding process 15878 for game ID 244210
GameAction [AppID 244210, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/marioarchpc/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
GameAction [AppID 244210, ActionID 3] : LaunchApp changed task to Completed with ""
Adding process 15879 for game ID 244210
Game removed: AppID 244210 "", ProcID 15878
Uploaded AppInterfaceStats to Steam
Exiting app 244210
No cached sticky mapping in ActivateActionSet.

@Marioh2451 recheck your custom launch options. Use arrow keys and mouse to navigate over the line of text and make sure that there is no any extra unwanted symbols like, maybe, " or something else.
Also, on GitHub you can use backticks to post terminal output or code: https://help.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax#quoting-code

@Marioh2451 recheck your custom launch options. Use arrow keys and mouse to navigate over the line of text and make sure that there is no any extra unwanted symbols like, maybe, " or something else.
Also, on GitHub you can use backticks to post terminal output or code: https://help.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax#quoting-code

What I did now, is move the game through steam from ntfs disk to steam root, I got it working but the problem is that in step 12, it doesn't really do anything at all, it doesn't show hidden folders as you can look in the image
https://imgur.com/WANzvhx

@Marioh2451 That's correct. It doesn't show hidden folders, but you can paste the line you got by executing that command in your terminal. Just paste it manually by Ctrl+V instead of pressing the "Change" button and opening that browser window.

@Marioh2451 That's correct. It doesn't show hidden folders, but you can paste the line you got by executing that command in your terminal. Just paste it manually by Ctrl+V instead of pressing the "Change" button and opening that browser window.

Okay, but now I have found out a new problem, CM doesn't detect my G29 input, I have rebooted and my G29 is actually working, but it doesn't get to work with CM inputs, I cannot get to put throttle, steering, etc. I have tried launching assetto corsa atm and it crashes, just to get in game options for that

@Marioh2451 Same for me, CM can't detect any controllers when running via Wine/Proton so I have to setup them using Kunos launcher.

@Marioh2451 Same for me, CM can't detect any controllers when running via Wine/Proton so I have to setup them using Kunos launcher.

Oh, i have fixed it by switching to PS3 mode

@Marioh2451 Same for me, CM can't detect any controllers when running via Wine/Proton so I have to setup them using Kunos launcher.

And also, If I want to go to Kunos Launcher, how do I get to it and then change back to CM?

To get Kunos launcher simply remove the launch options command line.

thanks @zezic ! I followed your guide and except for the change of version to install d3dcompiler_47 (only d3dcompiler_43 was available), the rest of the steps went well with Proton5.0.2.

I also skipped the installation of CSP. The game works fine except for the slow performance in-game when multiple UI HUBS are shown, but change Proton.5.0.2 to Proton-5.1-GE-2 solved that!
Game runs very well know!

Tested with GTX 970 / Ryzen 1600X

Somehow FFB broke and it doesn't work again, I have tried reinstalling the complete game and redoing what @zezic has said but game doesn't launch anymore somehow :/

https://streamable.com/1bf0m

Somehow FFB broke and it doesn't work again, I have tried reinstalling the complete game and redoing what @zezic has said but game doesn't launch anymore somehow :/

https://streamable.com/1bf0m

Here is a new video with terminal representing the issue @zezic

https://streamable.com/50rud

https://imgur.com/a/RHoE9DJ

I just installed AC and followed the instructions here (didn't do the part for the content manager though): https://www.reddit.com/r/assettocorsa/comments/d6ijqs/assetto_on_linux/

However, on launch I get an error that rundll32 couldn't be loaded and then "No video modes available. External component has thrown an exception". In the graphics option the resolutions list is then empty and no race can be started. The in-game benchmark runs and detects the correct resolution though.

Running Arch Linux, Steam (Native) and an nVidia GTX 670. Any thoughts? Thanks!

edit: Nevermind, I was missing the lib32-vulkan-icd-loader package for some reason.

Some extra notes regarding the AC content manager:

  • Don't use the "Create start menu option". Not that you should have any reason to do so, but it causes the application to stop launching completely after
  • The manager tries to get the user's steam ID from loginusers.vdf, but it doesn't exist inside the prefix. If you want online support, you can workaround this by symlinking or copying ~/.local/share/Steam/config/loginusers.vdf to <steam library dir>/steamapps/compatdata/244210/pfx/drive_c/Program Files (x86)/Steam/config/loginusers.vdf. You'll likely need to create the config subdirectory.
  • The content manager might offer the option to replace the main executable AssettoCorsa.exe with the content manager. Although this would likely be a cleaner way to launch the application (you presumably wouldn't need the launch options workaround) it doesn't appear to work for me.
  • This applies to the game itself as well as the content manager: consider making backups of the game dir and prefix, as there are a number of places where things can break. You can use cp -a --reflink=auto if you are using BTRFS for fast copies that don't take any extra space, due to its copy-on-write support.

I've updated CSP to the latest version (IIRC version is 0.1.50) and surprisingly the driver hands and body, as well as the pit workers are now visible!
Can anyone confirm?

Aside of this, does latest CSP together with latest SOL work for anyone? When I use the SOL weather system the game crashes, but if I use the default system it does not. Maybe there is an incompatible setting or it's just my system ;)

Edit: I accidentally wrote version 0.1.58, but of course it is 0.1.50 instead ;)

@MrFuNK1 I can confirm that fix for invisible driver arrived to 0.1.50 but what's even more important:

  • the distorted sounds of tyres and surfaces are fixed
  • VAO patches are working now
  • No problems with encrypted tracks like Shutoko

Thanks to Ilya!

The game does not render in VR for me even when setting it to OpenVR mode.

@MrFuNK1 I can confirm that fix for invisible driver arrived to 0.1.50 but what's even more important:

* **the distorted sounds of tyres and surfaces are fixed**

* **VAO patches are working now**

* No problems with encrypted tracks like Shutoko

Thanks to Ilya!

So then, maybe I will try to continue with your guide and install CSP, although the stability of the game is not good enough

@alexbrrsclnt Yeah. I think, now installing the CSP is definitely worth it because most of the problems are gone away. For example, the new loading screen and new taskbar are also working correctly in 0.1.50. Most of the issues were related to the way CSP searches for the functions to hook to and for some functions the algorithm worked different than under real Windows.

Probably, you can skip the whole section called "Tweaking CSP" as most of the functions are actually working for patch v0.1.50. Only thing I've not checked yet is the Smart Mirror behavior. Maybe it's also got a fix.

_P.S.: Encrypted tracks like Shutoko Revival Project are also loading correctly with 0.1.50._

Yeah, I contacted x4fab about the bugs, and he is willing to solve all the bugs we have on wine/proton with CM and CSP, like the encrypted cars bug I had with the brand new _Impreza 22B_ mod. So far he has done a great job, please leave a message here if you have any CM or CSP related bug with wine/proton.

So far the known bugs are:

  • Custom Fonts Rendering. From what I have heard, it should work with Proton GE, but on normal proton/wine, the race won't load with that option enabled.
  • Sol Weather App. I don't know if anyone else has this issue, but when the Sol Weather App is on, I can't load in a race, and some lua script breaks, which requires either Sol reinstall or lua script replacement.

Here are some fixes on the latest CM+CSP version that you might not know:

  • The new GUI apps provided from patch are _lag-free_, even with normal proton/wine.
  • There is an option on Settings->Content manager->Appearance called Disable Windows Transparency. Checking this option fixes potential CM crash after starting a race from CM.
  • Control settings now work on CM normally. The wheel gets properly detected and every button can be set through CM. (I have a G29 on ps3 mode)

If anyone needs help or more info, just tag/ping me here!

Did'nt try yet to install CSP but since past sunday I have problems in career mode after finish a race (currently final race in intermediate series 1) to get to the next series, because when I close the race in the game and come back to CM, a message says that I have cancelled the race when this is not the case.

Current version of CM (Lite) installed is 0.8.2096.36316 (x86). (Has CM some sort of autoupdate? _Edit: so yeah, indeed there is an autoupdate feature in CM_).
Another friend has the same problem with CM. He says that launching the native game, there is no problem to advance to the next race (I have to try yet).

Hi, i tried following @zezic guide, but I'm stuck on step 3, this is the output for protontricks -c "wine uninstaller" 244210:

[INFO] Found Steam directory at /home/riccardo/.steam/steam. You can also define Steam directory manually using $STEAM_DIR
[INFO] WINETRICKS environment variable is not available. Falling back to /usr/bin/winetricks
[INFO] Found 1 Steam library folders
[INFO] Found active Proton installation: Proton 4.11
[INFO] Using Proton installation at /home/riccardo/.steam/steam/steamapps/common/Proton 4.11
[INFO] WINE environment variable is not available. Setting WINE environment variable to Proton bundled version
[INFO] WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version
Traceback (most recent call last):
  File "/usr/bin/protontricks", line 405, in <module>
    game_appid = int(sys.argv[1])
ValueError: invalid literal for int() with base 10: '-c'

Edit: the proton version is 5.0-5 since I can't found the 5.0-1

@Greifent 5.0-5 will work as well. What's your protontricks version? Run the protontricks --version to check it. If it's less than 1.4, then, please, upgrade it to newer version. Also, as long as CSP got a nice Wine-compatibility update recently I can safely drop about a half of my guide. I will update it after current CSP preview build become public available.

In short terms, you already can omit the next sections of guide if you set the CSP version to 0.1.50:

  • Tweaking CSP - the whole section is not needed anymore because all problems were fixed

    • Distorted audio problem - fixed as well

Well, I can't run protontricks --version, this is the output:

[INFO] Found Steam directory at /home/riccardo/.steam/steam. You can also define Steam directory manually using $STEAM_DIR
[INFO] WINETRICKS environment variable is not available. Falling back to /usr/bin/winetricks
[INFO] Found 1 Steam library folders
[INFO] Found active Proton installation: Proton 4.11
[INFO] Using Proton installation at /home/riccardo/.steam/steam/steamapps/common/Proton 4.11
[INFO] WINE environment variable is not available. Setting WINE environment variable to Proton bundled version
[INFO] WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version
Traceback (most recent call last):
  File "/usr/bin/protontricks", line 405, in <module>
    game_appid = int(sys.argv[1])
ValueError: invalid literal for int() with base 10: '--version'

If I try to upgrade protontricks I can't, I can't even found it in the APT package manager.

@Greifent please, read the protontricks manual: https://github.com/Matoking/protontricks

Oh, I forgot it wasn't in the package manager, I reinstalled it, the version is 1.4.1

I managed to install CSP, do I need to install Sol?

@Greifent that's depends on your taste but most of the CSP users are using Sol as well because it provides nice weather appearance, some post processing tweaks and proper day/night cycle which you probably want to have on most online servers. You can try it and if it came out that you don't like it you can remove it later.

Ok thanks, I'll try to install it, have you any idea if the PS4 controller will work?
What about other mod (vehicle and tracks)?
Thanks for the help
Edit: I managed to setup the controller.

I have tried to launch the game, but it crash:
here is the error
AC\glrenderer.cpp (138): GLRenderer::vertex3f

I think I messed up something, I'm reinstalling everything

It is working without the CPS

@Greifent not all options on CSP work yet. Try disabling some and test again. If that doesn't work, then try reinstalling CSP, disable custom font rendering, and run everything else on default. If that doesn't fix it, maybe you are missing some dependencies. It would be useful to know what's your specs, if you have taken a look at the whole forum so you can confirm nothing of what we have said fixes it for you, if CM crashes after this, what proton you trying to run AC, and general useful info. Apparently, the game issues are different for AMD and NVIDIA graphics cards, and it could also end up being a driver issue. Try making big, sufficient and comprehensive comments, and if the problem persists, next time send a log as well.

@Christopher-S-25 right now I'm using it without CSP and it work fine, I don't care about a custom graphics, I'm doing fine with the default (I also have the details at medium, so I probably cannot use the CPS). BTW I have an I7-7700HQ, 16GB ram, GTX 1050 Mobile 4GB.
I'll retry in the future maybe, in that case I'll try what you said.
Thanks

I just notice an unexpected CPU usage: between 80% and 100%, only with one car at SPA, the only other program open is Spotify, any idea?
Edit: it happen also on other circuits, after 1 or 2 minutes playing

I noticed that other games have problem with the CPU usage, even playing Krunker on chromium sometimes make the CPU go up to 70%, so I don't think it is a game problem.

Solved, I cleaned the fan, now it work perfectly fine.

Interesting fact: adding PROTON_NO_ESYNC=1 to the launch options makes the game work much better on the servers with the very big maps like Shutoko Revival Project when there are many players (like 20 or more). Can anyone confirm?

Interesting fact: adding PROTON_NO_ESYNC=1 to the launch options makes the game work much better on the servers with the very big maps like Shutoko Revival Project when there are many players (like 20 or more). Can anyone confirm?

Will try it

I recently stumbled upon the following problem: AC doesn't load a race and falls back to the main menu after the black loading screen.

However, if I start Steam from the command line, the problem does not appear. It does appear if I start Steam from the menu (Xfce's Whisker Menu), dock (Cairo Dock), Lutris. Any ideas what might be the reason for such a weird behaviour? It seems to have emerged after some update (Arch Linux), but only affects AC, other Proton games like Project Cars work fine.

AC doesn't load a race and falls back to the main menu after the black loading screen.

I am having the exact same issue! I am so glad to have found this Issue here :)

I was hoping that starting steam from terminal woudl do the trick for me too. Sadly it did not :/

I am running on Ubuntu 18.04 LTS.

Edit I got it working! :tada:

I added these launch options: PROTON_NO_ESYNC=1;PROTON_USE_DXVK=1 %command%
And I am using the Proton-5.8-GE-2-MF custom proton from here: https://github.com/GloriousEggroll/proton-ge-custom/releases

Happy racing guys! So happy to play this on Linux :P

Edit 2 Sadly this does not completely fix the issue, maybe not even a bit. It was a coincidence that I was able to run a race. I notice that you have to try a couple of times to get it to load. I hope this can be fixed at some point. :'(

@ccostel Possibly it is a different issue, in my case it 100% reproducibly fails when Steam is launched from GUI and 100% reproducibly works when Steam is launched from terminal.

Update

I used protontricks to config wine to use Windows XP and Boom! It runs and I can race :)

I did have a hiccup though with the career mode. After I finish a challenge mouse clicks don't work :/

Hope this helps others too :)

@Photon89 I had the same error, that AC just worked from the terminal (maybe you remember me from another forum). Today I tried the latest version of Proton from GloriousEggroll, Proton-5.11-GE-2-MF and it seems to work with this one.

Has anybody experienced the issue that certain mods i.e. the Porsche 911 GT America or Shaun Clarks Ginetta GT4 fail to load when trying to start a race? There aren't other reports like this, so I think it's a problem with Wine/Proton, I can't confirm it though.
Content Manager says "Game Crashed - Some texture's format or size might be wrong" when I start a race with the Ginetta GT4 LHD. RHD version works.

I can't get CSP working... reading logs i found this...

13:59:36.805: → [ProcessExtension:242] GetProcessPathUsingManagement(): System.Management.ManagementException: Error code: 0x80041002
       at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.PropertyData.RefreshPropertyInfo()
       at System.Management.PropertyDataCollection.get_Item(String propertyName)
       at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
       at System.Management.ManagementBaseObject.get_Item(String propertyName)
       at AcTools.Utils.Helpers.ProcessExtension.<>c.<GetProcessPathUsingManagement>b__12_0(ManagementObject x)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
       at AcTools.Utils.Helpers.ProcessExtension.GetProcessPathUsingManagement(Int32 processId) (AcTools)
13:59:36.806: → [ProcessExtension:201] GetFilenameSafe(): Management failed! (AcTools)
13:59:36.819: → [ProcessExtension:208] GetFilenameSafe(): System.ComponentModel.Win32Exception (0x80004005): A 32 bit processes cannot access modules of a 64 bit process.
       at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
       at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
       at System.Diagnostics.Process.get_MainModule()
       at AcTools.Utils.Helpers.ProcessExtension.GetFilenameSafe(Process process) (AcTools)

is this a proton problem or a csp problem?

@ingmarcosp I'm not sure if the next trick will help you, but you can try.

To fix some of CM (and maybe CSP) issues I use a symlink to the Assetto Corsa installation directory. The symlink is placed at some handy path without spaces and special symbols, for me it's /home/zezic/assettocorsa. I use this path like Z:\home\zezic\assettocorsa for the setting called "Assetto Corsa folder" which can be found in CM > Settings > Content Manager > General section.

@ingmarcosp I'm not sure if the next trick will help you, but you can try.

To fix some of CM (and maybe CSP) issues I use a symlink to the Assetto Corsa installation directory. The symlink is placed at some handy path without spaces and special symbols, for me it's /home/zezic/assettocorsa. I use this path like Z:\home\zezic\assettocorsa for the setting called "Assetto Corsa folder" which can be found in CM > Settings > Content Manager > General section.

nop it dosen't work...

Proton 5.13 includes the fix for this bug https://bugs.winehq.org/show_bug.cgi?id=46955 which allows the in game apps to work at a reasonable frame rate.

I can't get CSP working... reading logs i found this...

13:59:36.805: → [ProcessExtension:242] GetProcessPathUsingManagement(): System.Management.ManagementException: Error code: 0x80041002
     at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
     at System.Management.PropertyData.RefreshPropertyInfo()
     at System.Management.PropertyDataCollection.get_Item(String propertyName)
     at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
     at System.Management.ManagementBaseObject.get_Item(String propertyName)
     at AcTools.Utils.Helpers.ProcessExtension.<>c.<GetProcessPathUsingManagement>b__12_0(ManagementObject x)
     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
     at AcTools.Utils.Helpers.ProcessExtension.GetProcessPathUsingManagement(Int32 processId) (AcTools)
13:59:36.806: → [ProcessExtension:201] GetFilenameSafe(): Management failed! (AcTools)
13:59:36.819: → [ProcessExtension:208] GetFilenameSafe(): System.ComponentModel.Win32Exception (0x80004005): A 32 bit processes cannot access modules of a 64 bit process.
     at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
     at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
     at System.Diagnostics.Process.get_MainModule()
     at AcTools.Utils.Helpers.ProcessExtension.GetFilenameSafe(Process process) (AcTools)

is this a proton problem or a csp problem?

I try to fix this by installling the vcredist 2013_x86, but it didnt work...

I think that the problem is that proton doesn't load the right dwrite.dll, from the CM discord tell me that the native only dwrite.dll is needed. when I put only native the game crash:
Captura de pantalla de 2020-11-02 16-38-38

What do you mean by "right" one? Proton can only use the one that it provides, 32-bit or 64-bit one. Unless application happens to ship with different module reusing same dwrite.dll name. If by putting native one you mean copying module from windows, it won't work.

What do you mean by "right" one? Proton can only use the one that it provides, 32-bit or 64-bit one. Unless application happens to ship with different module reusing same dwrite.dll name. If by putting native one you mean copying module from windows, it won't work.

If you put "native" means, that use the installed on the prefix or the used by the apllication, but in this case, proton is replacing

37133.204:0358:035c:trace:loaddll:build_module Loaded L"Z:\home\koxmoz\assettocorsa\DWrite.dll" at 0x7f1364360000: builtin

this library don't need to be rewrite, that is native of the CSP

I've got the problem that Steam doesn't properly install the game for me. It only installs the 'content' directory and misses out on the rest.
Anyone got a solution to this?
Proton is 5.13-1, if that matters, but actually that's before I even try to start it (which is where proton would come into play).

Edit: for some reason Steam only downloads the DLC and not the main game. Very strange?

Edit2: ok, got that fixed, for some reason steam linux runtime was selected as a tool for this app (I usually don't set specific ones). After removing that it installed correctly. Unfortunately dotnet472 does not install, so stuck there now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raikirii picture raikirii  ·  3Comments

shaphanpena1 picture shaphanpena1  ·  3Comments

shanefagan picture shanefagan  ·  3Comments

prototype99 picture prototype99  ·  3Comments

matou68 picture matou68  ·  3Comments