Probleme mit protontricks und Assetto Corsa

Photon

Commodore
Registriert
Apr. 2006
Beiträge
5.036
Hallo Community,

ich habe letztens was Doofes getan: Habe irgendwo eine Anleitung ausgegraben, nach der man das Problem von Assetto Corsa fixen kann, dass die Framerate umso mehr einbricht, je mehr HUD-Elemente angezeigt werden. Dafür musste man zu Proton GE wechseln, was jedoch dazu geführt hat, dass AC gar nicht mehr lief.

Nun möchte ich also Schadensbegrenzung betreiben und AC zumindest mit dem stabilen Proton zum Laufen bringen. Dafür soll man ja Proton 5.0.10 nutzen, AC einmal starten, damit einige Libraries nachgezogen werden und dann via Protontricks einige weitere Libraries installieren. Das versuche ich nun und scheitere daran, dass der Prozess nicht abgeschlossen wird. Befehl und Ausgabe sehen so aus:

Bash:
$ protontricks 244210 dotnet472
/home/photon/.cache/protontricks/proton/Proton 5.0/bin/bwrap-launcher: Zeile 83: /run: Ist ein Verzeichnis
/home/photon/.cache/protontricks/proton/Proton 5.0/bin/bwrap-launcher: Zeile 83: exec: /run: Kann nicht ausführen: Ist ein Verzeichnis
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20220411 - sha256sum: 69856050cfe9d97902dfd68c1ad42a10a4be0fe76660744126d7e3ed75610495 with wine-5.0-655-g2409bd1 and WINEARCH=win64
Executing w_do_call dotnet472
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet472
------------------------------------------------------
warning: This package (dotnet472) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet462
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet462
------------------------------------------------------
warning: This package (dotnet462) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet461
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet461
------------------------------------------------------
warning: This package (dotnet461) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet46
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet46
------------------------------------------------------
warning: This package (dotnet46) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet45
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet45
------------------------------------------------------
warning: This package (dotnet45) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet40
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet40
------------------------------------------------------
warning: This package (dotnet40) may not fully work on a 64-bit installation. 32-bit prefixes may work better.
------------------------------------------------------
------------------------------------------------------
warning: dotnet40 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_remove_mono
------------------------------------------------------
warning: Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call winxp
Executing mkdir -p /media/Daten/Steam/steamapps/compatdata/244210
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_winxp
Der Vorgang wurde erfolgreich abgeschlossen
Setting Windows version to winxp
Executing /home/photon/.cache/protontricks/proton/Proton 5.0/bin/wine regedit C:\windows\Temp\set-winver.reg
Executing /home/photon/.cache/protontricks/proton/Proton 5.0/bin/wine64 regedit C:\windows\Temp\set-winver.reg
------------------------------------------------------
warning: Running /home/photon/.cache/protontricks/proton/Proton 5.0/bin/wineserver -w. This will hang until all wine processes in prefix=/media/Daten/Steam/steamapps/compatdata/244210/pfx terminate
------------------------------------------------------

Abgesehen von den vielen Warnungen sehe ich gleich in den ersten zwei Zeilen Fehler, die mir sagen dass ein "/run" ein Verzeichnis sein soll, jedoch weiß ich nicht genau, wo es liegt, um es zu überprüfen. Der Aufruf findet sich im Skript bwrap-launcher und sieht so aus:

Bash:
exec "$STEAM_RUNTIME_PATH"/run --share-pid --launcher \
"${mount_params[@]}" -- \
--socket="$PROTONTRICKS_TEMP_PATH/launcher.sock"

Leider weiß ich nicht, was mein $STEAM_RUNTIME_PATH ist und kann ihn in dem Skript auch nicht ausgeben lassen, da dieser beim Aufruf von Protontricks neu generiert wird, also jede Änderung überschrieben wird. Wenn ich einfach im Terminal $STEAM_RUNTIME_PATH ausgeben lasse, kommt eine leere Ausgabe heraus.

Sollten weitere Infos wichtig sein, liefere ich sie gerne nach. Verwendet wird Arch Linux, vollständig aktualisiert, und protontricks 1.8.1 aus dem AUR.

Viele Grüße,
Photon
 
run soll ausgeführt werden, ist in deinem Fall aber scheinbar ein Verzeichnis. STEAM_RUNTIME_PATH könnte /home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/ sein. Dort wäre jetzt das einzige Skript mit dem Namen run, welches ich finden konnte. Leider kann ich dir ansonsten nicht bei deinem Problem helfen. Kannst den Pfad ja mal direkt einsetzen und gucken was passiert. Direkt ausgeführt kommt folgende Ausgabe:
pressure-vessel-LOG-0x100: An executable to run is required
 
  • Gefällt mir
Reaktionen: Photon
Hmm, die Datei finde ich auch, die liegt bei mir allerdings in einem anderen Verzeichnis, da ich einen externen Ordner für die Steam-Library nutze. Vielleicht verursacht die externe Steam-Library ja das Problem?
 
Jetzt bekomme ich folgende Ausgabe beim Versuch via protontricks vcrun2013 zu installieren:

Code:
warning: /home/photon/.cache/protontricks/proton/GE-Proton7-16/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "/home/photon/.cache/protontricks/proton/GE-Proton7-16/bin/wine: line 155: /media/Daten/Steam/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/pressure-vessel-launch:  No such file or directory"

Und tatsächlich gibt es da kein "pressure-vessel-launch":

Bash:
$ ls /media/Daten/Steam/steamapps/common/SteamLinuxRuntime_soldier/pressure-vessel/bin/
pressure-vessel-adverb         pv-bwrap
pressure-vessel-locale-gen     steam-runtime-launch-client
pressure-vessel-test-ui        steam-runtime-launcher-service
pressure-vessel-try-setlocale  steam-runtime-launch-options
pressure-vessel-unruntime      steam-runtime-system-info
pressure-vessel-wrap
 
Es war offenbar ein Bug in Protontricks 1.8.1, mit Version 1.8.2 läuft es (war im AUR leider nur via protontricks-git zu bekommen, weil der Maintainer von protontricks offenbar inaktiv ist). Das Problem ist also so weit gelöst.

Jetzt hab ich bloß noch das Problem, dass die Assetto Corsa UI in einem Rechteck recht kleiner Abmessungen läuft, so dass manche Menüelemente nicht reinpassen und nicht angeklickt werden können...

edit: Hab via winecfg einen virtuellen Desktop mit den Abmessungen meiner Monitorauflösung aktiviert, das Problem hat sich also erledigt. Jetzt versuche ich noch einen zweiten Anlauf mit Proton GE, das soll ja das HUD-Problem mit dem FPS-Einbruch etwas entschärfen. Mal gucken, ob danach wieder nichts funktioniert. :)
 
Zuletzt bearbeitet:
Noch ein letzter Post, auch wenn ich Gefahr laufe ins Selbstgespräch zu versinken. Hier ist, was für mich funktioniert hat:

1. Arbeite Schritte 1 bis 19 aus https://gist.github.com/ANBAL534/8057b5200ace9bdd98795b627e550ba0 durch
=> Man hat ein spielbares AC, allerdings ist das Menü-UI nicht im Vollbild sondern sitzt in einem kleinen Rechteck ohne Fensterdekorationen. Deshalb geht es weiter:

2. Aktiviere einen virtuellen Wine-Desktop mittels
Bash:
WINEPREFIX="~/Steam/steamapps/compatdata/244210/pfx" winecfg
und dort unter "Grafik > Emuliere virtuellen Bildschirm" Haken setzen und die eigene Bildschirmauflösung als Desktopgröße eintragen (ggf. den Pfad des WINEPREFIX anpassen, wenn man eine externe Steambibliothek verwendet).
=> Es läuft alles im virtuellen Desktop, also im Vollbild und man kann es minimieren und auch zu anderen Desktops wechseln. Aber die FPS sind noch recht niedrig, vor allem wenn irgendwelche HUD-Elemente aktiviert sind. Deshalb noch ein letzter Schritt:

3. Herunterladen und Installiere von Proton GE 6.13 nach folgender Anleitung: https://www.gamingonlinux.com/2021/...md-fidelityfx-super-resolution-resizable-bar/ Danach in den Eigenschaften von Assetto Corsa in Steam die Kompatibilität von Proton 5.0-10 auf Proton-6.13-GE-1 ändern.
=> In meinem Fall haben sich die FPS von 40-50 auf 120-150 verdreifacht.
 
Zurück
Oben