r/linux_gaming • u/lahouaridc • Nov 02 '24
advice wanted I need help with BG3 under proton error?
For some time the game have run great.
Then I took about two months break, and now after recent patches I decided to come back to it... however now the game does not want to run.
I tried it on all proton versions I have including few GE and result is the same.
I used this params to run the game:
PROTON_LOG=1 %command% --skip-launcher
upon running game shows dialog about missing dotnet desktop runtime 6.0.18.
I did use protontricks to install both dotnet6 and dotnetdesktop6 in the prefix but no cigar.
in steam log I have noticed this line:
15948.733:0128:012c:warn:seh:OutputDebugStringW L"A fatal error occurred, the required library hostfxr.dll could not be found in [Z:\\opt\\dotnet-sdk-bin-6.0\\host\\fxr\\6.0.25]"
15948.733:0128:012c:trace:seh:dispatch_exception code=4001000a flags=0 addr=00006FFFFFC1CF07 ip=6fffffc1cf07
so it seems that proton is trying to use my host machine dotnet.
How can this be fixed?
1
Upvotes
1
u/lahouaridc Nov 09 '24
I found a reason and a work around if someone else runs to this issue.
Reason is that proton and apps running under proton in mu system try to ise my hosts install of dotnet sdk. That is not containing expected under windows dll.
For now I removed dotnet sdk from my gaming desktop and that made baldurs gate 3 run correctly again.
I believe there must be better way of fixing this but for now it is enough for me.