You are not logged in.

#1 2022-03-12 07:50:11

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 223

[SOLVED] The Witcher 2: "Segmentation fault"

Heya...

Well, everything is in the title. Again and again, it seems to become a tradition.

I want to launch The Witcher 2 (for Linux, not via Wine) => the launcher fires up => I click on Play the game => nothing happens. When I launch the witcher2 executable with the console, it just shows me, with no more information:

Segmentation fault

It seems like other people got this problem recently ( https://steamcommunity.com/app/20920/di … 860501253/ ), notably on Arch, so it wouldn't be a bad idea to try finding the origin of this issue.
Also, it feels bad to get this error whileas the game was perfectly working with my Arch config since the time I've installed it. Could it be due to the update I made recently? It would mean in this case the game doesn't have its own libraries to rely on.. that's dumb.

Last edited by byjove01 (2022-03-16 17:33:57)

Offline

#2 2022-03-12 09:05:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [SOLVED] The Witcher 2: "Segmentation fault"

The people that made  the "port" (it's still wine just a custom weirdly mangled whatever) used a strange format to pack the executable, which has seen a kernel regression in 5.16, so you could test a 5.15 LTS kernel. However this being a broken userspace program makes this still a kernel bug that should and needs to get fixed there (there's a bug report about this somewhere can't find it right now though)

Offline

#3 2022-03-12 09:37:52

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 223

Re: [SOLVED] The Witcher 2: "Segmentation fault"

Oh ok, then I guess I just have to wait? I am a bit scared by the idea to install a previous kernel, doesn't it risk to break some packages or settings into my computer?

Offline

#4 2022-03-12 10:19:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [SOLVED] The Witcher 2: "Segmentation fault"

5.15 is the current LTS kernel you can safely install them side by side via the linux-lts package and configure your bootloader to boot either.

FWIW found the bug/respectively fix: https://github.com/torvalds/linux/commi … dcfa898fbf so should be fixed at the latest in whatever 5.17 release, but it's likely this will get backported to stable as well.

Last edited by V1del (2022-03-12 10:27:02)

Offline

#5 2022-03-16 17:31:12

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 223

Re: [SOLVED] The Witcher 2: "Segmentation fault"

Ok thanks you very much

Offline

Board footer

Powered by FluxBB