Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Baldur's Gate 3 crashes with kernel 6.6.30
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Lumpy Gravy
n00b
n00b


Joined: 28 Dec 2016
Posts: 44
Location: France

PostPosted: Thu May 09, 2024 1:06 pm    Post subject: Baldur's Gate 3 crashes with kernel 6.6.30 Reply with quote

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.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21822

PostPosted: Thu May 09, 2024 2:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lumpy Gravy
n00b
n00b


Joined: 28 Dec 2016
Posts: 44
Location: France

PostPosted: Thu May 09, 2024 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum