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

Segmentation fault #187

Closed
AngeloCorr99 opened this issue Jun 19, 2023 · 4 comments
Closed

Segmentation fault #187

AngeloCorr99 opened this issue Jun 19, 2023 · 4 comments
Assignees
Labels

Comments

@AngeloCorr99
Copy link

Attempting to run any game from the terminal results in a segmentation fault. For example:

./scripts/games/eduke32.sh: line 25: 6180 segmentation fault

Attempting to run it in any other way results in nothing.
(Running on a Pi 3 B+ with a fresh install of Raspberry Pi OS)

@jmcerrejon jmcerrejon self-assigned this Jun 19, 2023
@jmcerrejon jmcerrejon added the bug label Jun 19, 2023
@jmcerrejon
Copy link
Owner

jmcerrejon commented Jul 1, 2023

32 or 64 bits? Remember this game is compiled for 32 bits (Thinking about compiling it for arm64).

@jmcerrejon
Copy link
Owner

After some research, It's an issue with resolutions. I tried 1280x720 and It works. All others I tried, showed segmentation fault. I compiled the engine again, always with the same result, so It's some kind of issue with RPi. Try 1280x720 OpenGL and tell me If It's working on your side. I let the issue open until your answer a few days more.

@AngeloCorr99
Copy link
Author

AngeloCorr99 commented Jul 2, 2023

After some research, It's an issue with resolutions. I tried 1280x720 and It works. All others I tried, showed segmentation fault. I compiled the engine again, always with the same result, so It's some kind of issue with RPi. Try 1280x720 OpenGL and tell me If It's working on your side. I let the issue open until your answer a few days more.

I tried changing the resolution under preferences and then screen configuration, and it didn't work. Is there another way I can change the resolution? Or is there something I have to do when I launch the game?

Edit: some games like doom work now. Other games like duke nukem 3D don't.

@jmcerrejon
Copy link
Owner

It depends on the engine, so there is nothing I can do. I change the resolution in the first window (try software rendered instead, too). I think is a problem detecting the monitor.
Another possibility is to use another engine (not eduke32), but I need to compile it. Try the game Blood. The engine support Duke Nukem, and I could use it in my script replacing the first one.
I'll dive into that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants