Skip to content
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

Game crash on linux #704

Open
MisterHyde opened this issue Dec 18, 2024 · 6 comments
Open

Game crash on linux #704

MisterHyde opened this issue Dec 18, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@MisterHyde
Copy link

I am playing it for half an hour now and it randomly crashes while I am walking around in the city Khorinis.
The version I am using is 7a42d18. The OS is an arch linux with 6.12.4 kernel and the nvidia 565.77-5 driver version.

Here is the crash log:

---crashlog(DeviceLostException(device is lost))---
GPU: NVIDIA GeForce GTX 1060 6GB
#1: std::unexpected() - /usr/lib/libstdc++.so.6(_ZSt10unexpectedv+0) [0x706c5e69752a]
#2: std::unexpected() - /usr/lib/libstdc++.so.6(+0xae1f6) [0x706c5e6ae1f6]
#3: Tempest::Detail::vkAssert(VkResult) - /home/felix/AUR/OpenGothic/build/opengothic/libTempest.so(_ZN7Tempest6Detail8vkAssertE8VkResult+0x120) [0x706c5eb3feb0]
#4: Tempest::Detail::VFence::wait(unsigned long) - /home/felix/AUR/OpenGothic/build/opengothic/libTempest.so(_ZN7Tempest6Detail6VFence4waitEm+0x46) [0x706c5eb44d76]
#5: MainWindow::render() - /home/felix/AUR/OpenGothic/build/opengothic/Gothic2Notr(_ZN10MainWindow6renderEv+0xa6) [0x5778ba67a826]
#6: Tempest::X11Api::implProcessEvents(Tempest::SystemApi::AppCallBack&) - /home/felix/AUR/OpenGothic/build/opengothic/libTempest.so(_ZN7Tempest6X11Api17implProcessEventsERNS_9SystemApi11AppCallBackE+0x5e) [0x706c5eb631ee]
#7: Tempest::X11Api::implExec(Tempest::SystemApi::AppCallBack&) - /home/felix/AUR/OpenGothic/build/opengothic/libTempest.so(_ZN7Tempest6X11Api8implExecERNS_9SystemApi11AppCallBackE+0x1b) [0x706c5eb6394b]
#8: main - /home/felix/AUR/OpenGothic/build/opengothic/Gothic2Notr(main+0x218) [0x5778ba510a18]

Thanks in advance for your help.

@MisterHyde MisterHyde added the bug Something isn't working label Dec 18, 2024
@Abendlied
Copy link

Hi @MisterHyde,

just checking, did you start the game from your manual build (the version 7a42d18 you are referring to) or did you start an AUR build?

@MisterHyde
Copy link
Author

Hi I did built it manually because the AUR seems like it is orphaned

@Try
Copy link
Owner

Try commented Dec 18, 2024

Hi, @MisterHyde and thanks for report!

DeviceLostException

Basically something has crashed on GPU side, and we do not have much information here, other than "something went wrong"

Can you share what graphics setting are you using and command line arguments?

@MisterHyde
Copy link
Author

Hi, I have not changed anything on the graphics setting and calling the script in the following way:

Gothic2Notr.sh -g ~/Games/gothic-2/drive_c/GOG\ Games/Gothic\ 2\ Gold/

And the settings are:

  • Extended Configuration: Everything set to yes
  • Visual Settings:
    • The two slider on maximum
    • Range of View=300%;
    • ObjectFading=200%
    • Sky Effects to yes
  • Video settings: Graphic card is the one in the crash.log and Resolution is set to full
  • Performace/Quality: High Performance

Also the game has the following output on terminal. You can find it here crash.txt, because it is quite a bit. I don't know if they are related to the crash.

@Try
Copy link
Owner

Try commented Dec 19, 2024

I've looked a bit into this today:
Can't quite reproduce crash in later Nvidia; long term we can integrate VK_NV_device_diagnostic_checkpoints, to have more info after gpu-crash.

However before that, can suggest to toggle off some settings in Extended Configuration menu. Or maybe toggle off mesh-shading (-ms 0 in command line)

@MisterHyde
Copy link
Author

With the settings toggled of in Extended Confiugration it does not crash anymore. I hadn't have the time to investigate which settings was causing the crash, I will report if I was able to test it.

Thanks for your effort to enable us to play that awesome game :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants