mirror of
https://github.com/gopher64/gopher64.git
synced 2026-04-26 23:45:58 +03:00
[GH-ISSUE #662] Gopher crashes on start game when using a specific controller profile on Linux #115
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gopher64#115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maxmousee on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/gopher64/gopher64/issues/662
Whilst trying to use the N64 Bluetooth Controler for NSO, GoPher crashes after a profile is assigned.
That happens when I try to start a game, regardless of which game.
It works with the default profile or using another controller
OS: Fedora Linux 43 (Workstation Edition) x86_64
GPU: AMD Radeon RX 7900 XT
Kernel: Linux 6.18.6-200.fc43.x86_64
CPU: AMD Ryzen 7 7800X3D
Memory: 6.48 GiB / 62.40 GiB
@maxmousee commented on GitHub (Jan 26, 2026):
I'm willing to help fix this, but my experience with Rust is very limited
Thanks for all the hard work, this project is awesome!
@maxmousee commented on GitHub (Jan 26, 2026):
thread 'n64' (3) panicked at src/ui/input.rs:146:14:
Invalid button
note: run with
RUST_BACKTRACE=1environment variable to display a backtrace@loganmc10 commented on GitHub (Jan 26, 2026):
Thanks, this is very helpful. Are you able to share your config.json file? It is probably in AppData/gopher64 somewhere
@loganmc10 commented on GitHub (Jan 26, 2026):
Actually, I think I see the problem, can you try this build (the zip file should show up at the bottom once the build is complete):
https://github.com/gopher64/gopher64/actions/runs/21373294511
@maxmousee commented on GitHub (Jan 26, 2026):
Sure :) btw I changed that line to _ => sdl3_sys::gamepad::SDL_GamepadButton::MISC1, and at least it doesn't crash anymore, but I will try your build and I will share my conf
Thank you so much
@maxmousee commented on GitHub (Jan 26, 2026):
Yes, this works! :D Awesome, I will share my config soon
@loganmc10 commented on GitHub (Jan 26, 2026):
The config isn't needed, I just wanted to config it was trying to use a button that wasn't mapped, but it seems that is the case
@maxmousee commented on GitHub (Jan 26, 2026):
Thanks again, saved my game night haha :)
@loganmc10 commented on GitHub (Jan 26, 2026):
I'm going to close this since it is fixed in master, I don't know when there will be a new release, but until then you can use the github build. Thanks for the assistance.