Try / Tempest

API abstraction layer for 3D graphics, UI and sound. Written in C++17 with Vulkan, DX12 and Metal support.
MIT License
86 stars 25 forks source link

Segmentation fault #11

Closed vic-ju closed 4 years ago

vic-ju commented 4 years ago

Engine is throwing SIGSEGV in copyUpsample when trying first memset on line 16.

Try commented 4 years ago

Hi, @vic-ju and thanks for bug-report!

Can you please provide more contextual information, and a stack-trace for this issue? Unfortunately line is not enough, since usage of copyUpsample depends on a GPU properties.

vic-ju commented 4 years ago

I'm using GCC 8.4 on Manjaro Linux and my system is a Dell XPS 9530. The error occurs right on startup. I just searched the web and it seems that there is no viable vulkan implementation for haswell integrated GPU on linux. My bad!

However, my laptop has a discrete GPU (NVIDIA GT750M) but the vulkan api does not recognize it. Instead it lists my integrated device two times?

Nevertheless here is the GDB backtrace: Backtrace1.txt

Edit: Seems like the problem really is caused by the incomplete intel drivers. I managed to start the game with my dedicated gpu and all seems to work fine.

Try commented 3 years ago

fixed in https://github.com/Try/OpenGothic/issues/74