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

Pop OS: Game hangs upon startup, yet previously didn't on the same computer and without changing anything. #504

Open
nambona890 opened this issue Aug 2, 2022 · 2 comments

Comments

@nambona890
Copy link

nambona890 commented Aug 2, 2022

The previous day, I had compiled a clean build of this. However, upon trying to open it today, the game hangs, displays the background, and plays no audio, before eventually I'm told that it's not responding.

2022-08-02_11-27

I'm running 64-bit Pop OS 22.04, with an AMD Ryzen 7 3700X, and an Nvidia GeForce RTX 3070.

Attempting to fix it, I have deleted all config and local files for it, redownloaded and compiled a completely clean build, upgraded all my packages, restarted multiple times, but nothing worked.

While attempting to debug this, here's what I found:

  • When running it in the terminal, there are no errors and the last thing that is printed is option: 'skip_intro', value: 'false'
  • When running it in the terminal as sudo, there are two errors:
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused
SDL_OpenAudio error: ALSA: Couldn't open audio device: Connection refused
  • When running a debug build in GDB, the last things that are printed say that two new threads were spawned.
  • When interrupting that debug build in GDB with Ctrl+C, I get this:
0x00007ffff7b14764 in __libc_open64 (file=0x21c8f80 "/dev/input/js0", oflag=524290) at ../sysdeps/unix/sysv/linux/open64.c:41
41	../sysdeps/unix/sysv/linux/open64.c: No such file or directory.

I've been pulling my hair out trying to figure out what's going on, and I don't know what could be the issue, especially considering it was working perfectly fine the other day.

@fgsfdsfgs
Copy link
Collaborator

fgsfdsfgs commented Aug 2, 2022

Looks like the issue might not be in sm64ex. Try running it with a different SDL audio driver, e. g. SDL_AUDIODRIVER=dummy ./sm64.whatever

@nambona890
Copy link
Author

Looks like the issue might not be in sm64ex. Try running it with a different SDL audio driver, e. g. SDL_AUDIODRIVER=dummy ./sm64.whatever

I gave that a go, but it still hangs.
However, when running in sudo, the two errors that appeared previously don't appear anymore.

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

No branches or pull requests

2 participants