-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Segmentation fault for tiles with Arch Linux 4.8.7-1/Mesa DRI Intel HD 520 #19285
Comments
How much RAM do you have?
Related to #19171? At the very least, something to do with loading tilesets... |
Seems the graphics driver is also suspicious... |
Does Cataclysm launch successfully on another Linux Kernel version? Does it work with Wayland? |
The graphics driver indeed does look suspicious. Sorry if this is unrelated to CDDA. Memory at the time of running/segfault: Mem: 7.7G (total) 771M (used) 6.2G (free) 188M (shared) 692M (buff/cache) 6.5G (available) I'll try Wayland when I get home! |
Unfortunately, I get the exact same behaviour/crash/stack trace for Wayland/Weston. |
Would it work if you change default tile set in
I guess it's something related to the graphics driver, but it would be nice if we could do something to avoid the crash. |
Huh. Changing that from ChestHole to deon (randomly picked) fixes the problem and lets me run the game. I can test the other tilesets later, if you want me to! |
I think ChestHole takes the most memory of all tilesets, true or false? |
I see a similar crash on my Ubuntu 16.04 laptop:
|
What might be the cause in your opinion? Related to RAM, video memory, or hardware? |
I would guess it is texture-memory-related, perhaps either SDL or the intel driver not gracefully handling running out of texture space; it is failing in a SDL_CreateTextureFromSurface call. FWIW with the SDL_gpu changes applied I don't get a failure on the same hardware. |
From some experimentation the crash seems to be triggered by the number of textures, rather than just outright texture size. So CDDA should reduce the number of individual textures it creates to work around it. |
Did not the experience the issue with a recently compiled version. Closing this. |
This continues to be an issue as at aa9a300 (yes, it's been broken for almost a year now). Please reopen.
|
Huh, I tried very hard to reproduce that but didn't manage. Sorry & reopened. |
Probably related to hardware, OS version, software package version, graphics driver version, etc. so when you're not experiencing the issue anymore, perhaps someone else is still able to reproduce it on his/her computer. |
You are absolutely right, sorry about that. |
Dupe of #21317 |
This might not be related to Cataclysm, at all, but I've only observed it with CDDA for now. Trying to run a freshly built (8943e1e) CDDA (Tiles! Console works!) results in a segmentation fault.
Stack trace attached.
st.txt
The text was updated successfully, but these errors were encountered: