-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Baldur's Gate 3 (1086940) #4243
Comments
Hello @cwebster2, looks like there's several rough edges in the log, but |
Hi @kisak-valve, I agree in that assessment of the log. If there is anything i can test, i am happy to do so. |
I got the same issues, heres the log: |
Chiming in here to say that the GOG version of this game also crashes if you try to start it with the LariLauncher.exe, but seemingly works very well if you start the bg3.exe instead (not past the character creator yet). This is using wine-tkg 5.17 that I compiled for use with Tony Hawk's Pro Skater 1+2, and includes some additional patches if I remember correctly. I'll see if I can remember what those were, in case they can help. |
You are correct, i tried running bg3.exe with ordinary wine and it runs perfectly well. |
Managed to make it work (Proton 5.0.9) with a similar solution to what's required for Divinity 2: Run the following from your Baldur's Gate 3 main directory.
Little explanation: I had to basically trick Steam into thinking it's running the launcher but it's actually the executable. Edit: It crashes after character creation |
@przmkg Your driver version/compiler ( if there are multiple options exist) and gpu? |
@przmkg |
@Leopard1907 I have a 5700xt with Mesa 20.1.8 (llvm 10 I think). |
Tried the Vulkan version on Arch Linux (5700XT + Mesa 20.2). Just got a black screen, the Dx11 version runs fine. Here are the logs for the Vulkan version (Needed to compress it like ZIP) I also could run the Vulkan version with the AMDVLK drivers |
|
I have opened an issue on the Mesa GitLab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3607 in case you can provide more info or logs on what they may need. |
It needs vcrun2015 or 17 or 19 on newer versions of wine DX11 crashes after char creation on nvidia, AMDVLK, and RADV Here's a protonfix that works with my latest ge release on vulkan, as noted for AMD you currently need AMDVLK: 1086940.py
Drop it in to Proton-5.9-GE-7-ST/protonfixes/gamefixes/ |
I used protontricks to install dotnet48 with Proton 5.0-9. |
@MrCraigen what OS are you on? |
@GloriousEggroll Your patch worked like a charm; thanks! |
Just wanted to add to @MrCraigen comment, with some more explicit instructions:
|
I tested my installing dotnet48 into the game's wineprefix with protontricks and while the launcher appears to have some grapghical glitches, the game does launch and seems to be working fine. havent made it past character creation, and will update once i have some time in game |
Game works great! |
@1beb this gives me the error
|
Im using Manjaro KDE, I installed the protontricks through the AUR
What version of winetricks are you using with prontricks? I'm using winetricks 20200412. |
Proton installs a bunch of dependencies when the game is first launched through Proton for the first time, so for people using Lutris or Wine you'll need get those dependencies also. I don't know exactly what those dependencies are, but most likely they're the cause of your misery. For Proton (with dependencies installed) the game will refuse to start without tinkering (as in Play-button turns into "Loading" for a few seconds, then back to "Play"). |
I did the mentioned steps but it's still crashing. Tried AMDVLK and RADV.
Log: https://gist.github.com/Traxmaxx/826dcfed9d438d69a2438ea08ea4ecc5 |
@Traxmaxx |
you mean dotnetdesktop6 in winetricks or was that a typo? No wonder you would see a help command list. |
I was seeing multiple guides with protontricks dotnetdesktop6, is that winetricks only? That would make much more sense if that's the case lol |
As mentioned above by me, I experienced the same issue. Turns out the game has issues when you have .NET SDK installed on the system. |
No success on my end, tried the sed replace, protontricks, different Proton versions including experimental and GE. No clue what to look for here. This is with Also tried Running Mesa 24.0.6 |
I would also really appreciate some help. I've tried some other Steam games (Monster Train and Doom) which work fine, but BG3 just crashes when I try to launch it. I am running openSUSE Leap 15.6 on a Dell Precision 7550 Does anyone have any advice? When I click play the launcher starts without problems. When I then try to start with DX the game crashes instantly. When I try to start with Vulkan it hangs at a black screen. |
Is there any change if you use |
Unfortunately not. I get exactly the same behaviour from proton 8, 9, experimental and GE. |
Based on the ICDs listed in your I think following the steps here might be necessary if you haven't done them yet. |
Well spotted. Yes, I have the latest Nvidia drivers (550.90.07) installed. |
Interesting, thanks for the additional info! I noticed under the "vulkan" -> "icds" section of the runtime info that the nvidia file is in a different place than I would expect ( I think you can rule out whether the issue is the wrong GPU being used by overriding the list of available Vulkan loaders to only include the nvidia one by doing the following:
My hope is that running the Vulkan version of the game like this will at least get further than the blank screen you're seeing currently. If it doesn't, at least we'll be able to rule out the issue being the game trying to run on the integrated GPU. |
I added that launch option and sadly still get the same result: An instant crash when launching with DX and a hung black screen when launching with Vulkan. So I guess this is evidence for the nvidia implementation of Vulkan being used? |
Yeah, sounds like the issue isn't that it's trying to use the integrated GPU. I took a closer look at the log you provided from trying to launch the game; it looks like it's from trying to launch the DX11 version of the game (from the presence of If this log was from an attempt to launch with Vulkan, I'd be interested in seeing a log file from an attempt to launch with DX11! The fact that you're getting different behavior with DX11 and Vulkan means that something different is happening, but I have no idea what it could be if the DX11 version is getting launched when you try to use Vulkan as well. |
Certainly. Here are the log files you requested. BG3 DX11 The Vulkan log file is 45MB and so I can't upload it. Here is a Google Drive link to it instead. |
Comparing
In case it's helpful to know, I've mostly been stripping out |
OK here are Monster Train using Proton GE I trimmed the log files using grep, as you recommended. That was very helpful advice and much appreciated, thank you. |
Looks like BG3 is still using NVAPI with Proton Experimental, and Monster Train isn't. I haven't used Nvidia cards recently, but from some googling it seems like recent Proton versions proactively try to use some workarounds to get NVAPI working when it normally wouldn't be possible to enable, so I wonder if maybe something is going on with that. If you change the launch options for BG3 to |
With NVAPI disabled the crash is now instant on vulkan as opposed to a black screen that just hangs. Here are the logs. Once with Proton Experimental and once with GE. |
Oh, I only just realized that you're running the launcher specifically from Steam rather than the game itself; I always prefer to skip the launcher and have |
The launcher starts without any issues and I can selecte DX11 or Vulkan for starting the game. The crashes do not until I try to actually start the game from the launcher. |
Have been having a slightly different issue where the Vulkan option fails with a "failed to collect displays" error, while the DX11 option does start the game process and audio can be heard, but no graphical window is opening. I am using Arch Linux with SwayWM. Weirdly enough, it does work on my laptop, which also runs Arch+Sway. I have tried re-installing the game with a different Proton version (experimental, 9.0, 8.0), as well as setting |
My desktop and laptop both have AMD GPUs and CPUS, and my previous desktop had an AMD GPU and an Intel processor (but no integrated GPU). It's starting to sound like there might be something about dual integrated/discrete offloaded GPUs might be a common pattern with some of the issues (and honestly the one time in the past when I had a laptop with this setup I always found it pretty frustrating for stuff like this). I also run Arch but I've been using Plasma 6, so I'm not sure how much of the configuration would be specific to the desktop being used (since I know that with Wayland, the compositor ends up handling quite a lot compared to desktop environments in the past with X11). I'm not sure whether you've been trying other launch options or not, but here's what I've been running with lately with pretty good performance (consistently high framerate with close to max graphics settings on 1440p displays, although I do occasionally get a crash or two on the laptop, usually if I try to hit tab to open the group inventory UI quickly after a bunch of other inputs):
You'll need to tweak the ICD filenames (or remove the env var entirely if you're confident the right driver and GPU is getting used) if you're using AMDVLK, but if you're using the open source drivers in mesa the paths will be the same for you since we're both on Arch (not sure how other distros package things). If that doesn't fix things, you might want to try comparing the logs on your laptop and desktop to see where they differ. I'd also be interested to see how similar your failing config with the dual GPU setup is to the ones @gonneman has shared; maybe there's a common pattern where dual GPU setups are somehow getting mixed up when the info is passed through Proton to BG3 that's independent of the GPU vendor. |
@saghm Unfortunately your solution did not work for me. I have also tried disabling the iGPU completely through UEFI settings and using the AMDGPU PRO Vulkan drivers with no success, which makes me think it is caused by something unrelated to multi-GPU. I will try to test it on a fresh Arch + Sway install and compare the logs then. |
Just to make sure, did you verify that only the discrete GPU was detected by proton when running with the integrated GPU disabled? This is also something you might have to verify in the logs, but if something is wrong with how the info about dual GPUs is being presented to the game when running with proton, it's not something that necessarily would be fixed by changing the bios setting. Setting This isn't to say that there couldn't be something else causing the issues you're having of course, but at least from the info shared by the other user above about other games working but not BG3, it seems plausible that there's something incorrect in how the GPU settings are being detected by BG3, and dual GPU setups are notoriously finicky even when they're being used natively rather than via a compatibility layer pretending to be a different operating system. |
No, I have only verified that only one GPU is being detected via
To my understanding, since the iGPU is a Radeon Vega integrated into the 5700G, it would use the same driver as the 7900XTX dGPU, no? |
@saghm Do you have any other ideas as to what I could try to get BG3 running? |
Unfortunately, the only other thing I can think of is that it seems like some people have had issues with Steam installed via flatpak instead of a native package, but otherwise I'm pretty much out of ideas. |
I have a very similar black screen hanging problem with an Optimus MSI gaming laptop. Basic laptop spec.:
So I think the most important information is that it works on Ubuntu perfectly fine with different combinations of:
But in other distros it's not working, the game window just showing a black screen with a mouse cursor (BG3 game style cursor, not the default OS style). I tried many combinations, based on a lot of recommendation what I can found on the Internet:
Steam was always the distro provided package (or in the case of Ubuntu, the .deb package from the Steam website) and not Flatpak. Game is using the NVIDIA card, based on the output of 'nvidia-smi' or 'nvtop'. In-game graphic settings looks irrelevant, I tried to load with different graphicSettings.lfx files, like:
Right now I'm on:
Here are the latest logs: "Not-So-Fun" fact: It's working with Ubuntu 24.04, OpenSUSE Tumbleweed and Fedora also, on an older Optimus MSI laptop, which has an NVIDIA RTX 3080 Max-Q / Mobile dGPU and an Intel Core i7-11800H CPU (Intel UHD Graphics iGPU) Update: I recently realized something, before I posted the comment above. I don't remember that I tried this already or not, but right now:
|
That did it! I installed Steam via Flatpak and now BG3 works flawlessly (on ultra settings with DX11 to boot!). I'm feeling a little silly now for not trying this before posting here... |
Honestly, I feel like I should have thought of asking that earlier before asking you to try so many other things, but I'm thrilled that it's working for you now :) |
Flatpack version does seem to work fine, I do feel quite stupid for not trying that earlier lol. Although now it is more confusing as to why it doesn't work via the native package |
Compatibility Report
System Information
I confirm:
Symptoms
Game does not start. fails to run steamapps/common/Baldurs Gate 3/Launcher/LariLauncher.exe
Reproduction
Install game, click Play.
steam-1086940.log
The text was updated successfully, but these errors were encountered: