View previous topic :: View next topic |
Author |
Message |
Lumpy Gravy n00b
Joined: 28 Dec 2016 Posts: 45 Location: France
|
Posted: Thu May 09, 2024 1:06 pm Post subject: [SOLVED]Baldur's Gate 3 crashes with kernel 6.6.30 |
|
|
Hello, since the kernel upgrade from 6.6.21 to 6.6.30, BG3 is launching, the save is loaded but the game crashes as soon as a spell is casted or the inventory is opened.
It works fine if I boot to the previous kernel.
I updated the kernel using "make syncconfig"
Code: | # diff kernel-config-6.6.21-gentoo-sensors /boot/config-6.6.30-gentoo
3c3
< # Linux/x86 6.6.21-gentoo Kernel Configuration
---
> # Linux/x86 6.6.30-gentoo Kernel Configuration
33c33
< CONFIG_LOCALVERSION="-sensors"
---
> CONFIG_LOCALVERSION=""
177c177
< CONFIG_GCC11_NO_ARRAY_BOUNDS=y
---
> CONFIG_GCC10_NO_ARRAY_BOUNDS=y
477c477
< CONFIG_SPECULATION_MITIGATIONS=y
---
> CONFIG_CPU_MITIGATIONS=y
488a489,490
> CONFIG_MITIGATION_RFDS=y
> CONFIG_MITIGATION_SPECTRE_BHI=y
649a652
> CONFIG_ARCH_CONFIGURES_CPU_MITIGATIONS=y |
Is it safe to get rid of the new options or should I wait for a new kernel or a new BG3 update?
Thanks.
Last edited by Lumpy Gravy on Sat Oct 26, 2024 7:38 am; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22673
|
Posted: Thu May 09, 2024 2:01 pm Post subject: |
|
|
Based on the names, none of those seem to me like they would explain your problem. You could try using make menuconfig to set them back as they were, but I doubt it will work. The more likely explanation is that some patch new in the newer kernel is interacting badly with the game. If you can find which patch it is, you could ask the kernel developers to revert or investigate. There are 1929 commits in v6.6.21..v6.6.30, so a bisect should only need log2(1929) = 11 steps.
Baldur's Gate 3 is proprietary software, which will interfere with testing, since the people you need to have look at this may not have it installed and may not want to buy it just to help you. Can you find any freely redistributable software which is also broken under these circumstances? |
|
Back to top |
|
|
Lumpy Gravy n00b
Joined: 28 Dec 2016 Posts: 45 Location: France
|
Posted: Thu May 09, 2024 3:14 pm Post subject: |
|
|
No, no other software seems broken but I haven't tried everything.
For now, I just boot on the older kernel when I want to play. |
|
Back to top |
|
|
shadowfly n00b
Joined: 21 Feb 2024 Posts: 25
|
Posted: Fri Oct 25, 2024 7:56 pm Post subject: |
|
|
In case it's not too late:
I did my playtrough between 2024-04 and 2024-08, and did not have problems when loading a save game. Maybe you are using Nvidia, and there is something wrong in the kernel with Nvidia.
I just tested to load a save in BG3, and it works (I also opened the inventory a few times).
I am running **6.6.51**.
What i found is that when running the game in Vulkan, the game was more prone to crashing, especially in Act 3. So i recommend you switch to DirectX (if you have not played trough the game already).
kinfo: | Steam: Flatpak
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.6.51-gentoo-shadowfly (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700X 8-Core Processor
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT |
|
|
Back to top |
|
|
Lumpy Gravy n00b
Joined: 28 Dec 2016 Posts: 45 Location: France
|
Posted: Sat Oct 26, 2024 7:40 am Post subject: |
|
|
No Nvidia, full AMD here but anyway, I'm now on 6.6.52 and there is no more trouble.
Thanks. |
|
Back to top |
|
|
|