[Linux] Segfault as normal user; Not responding to keyboard
Moderator: ZSNES Mods
[Linux] Segfault as normal user; Not responding to keyboard
I'm having some problems with ZSNES under linux (Slackware 10.0.)
1) If I run zsnes as a normal/non-root user, it displays everything up to "MMX support found and enabled" and then says "segmentation fault" and exits. It loads fine as root.
2) When I do get it running, it doesn't respond to my keyboard. The "Z" dialog appears and pressing the Z key does nothing.
I've tried compiling 1.36, compiling the 0803 WIP, and installing the 1.36 slackware package from linuxpackages.net. All behave in the same manner.
1) If I run zsnes as a normal/non-root user, it displays everything up to "MMX support found and enabled" and then says "segmentation fault" and exits. It loads fine as root.
2) When I do get it running, it doesn't respond to my keyboard. The "Z" dialog appears and pressing the Z key does nothing.
I've tried compiling 1.36, compiling the 0803 WIP, and installing the 1.36 slackware package from linuxpackages.net. All behave in the same manner.
Sounds like you don't have permissions to this file, first do a make clean in the zsnes directory. Then as root run the ./configure, make, make install (All seperate commands of course). Or you can try to chown it like so (I think) chown <your username here> zsnes. Without the bracket things obviously.
Some people are like slinky's not really good for anything but you can't help smile when one falls down the stairs.
No, I have permissions. It's set to read/execute for world. If I didn't have permission to run the file I wouldn't be able to run zsnes and see the segfault error message.
The second problem irks me more though as I could at least use the emulator if it responded to anything I did. I'm running it from CLI, not in xfree86/xorg-x11 or anything. It loads up fine (as root) and displays the "press "Z" to continue" dialog, but pressing Z doesn't do anything.
The second problem irks me more though as I could at least use the emulator if it responded to anything I did. I'm running it from CLI, not in xfree86/xorg-x11 or anything. It loads up fine (as root) and displays the "press "Z" to continue" dialog, but pressing Z doesn't do anything.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Make sure you have proper permission to ~/.zsnes an it's contents. Also make sure that if you don't have a standard US keyboard, that you try pushing every single button on your keyboard, especially the ones in the lower left.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
As a normal user, ~/.zsnes is owned by that user and permissions are fine.
I tried what you said with zsnes running as root and got past the dialog by pressing the "." key. Getting through dialogs didn't really work well; as far as the regular arrow keys go, only the "down" key functioned. The numpad arrow keys seemed to work a little better, but I didn't test much else.
I'm using a normal US keyboard (specifically this,) and it's being used via the PS/2 port.
I tried what you said with zsnes running as root and got past the dialog by pressing the "." key. Getting through dialogs didn't really work well; as far as the regular arrow keys go, only the "down" key functioned. The numpad arrow keys seemed to work a little better, but I didn't test much else.
I'm using a normal US keyboard (specifically this,) and it's being used via the PS/2 port.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Any chance you are using KDE?
Try deleting everything in /tmp
I don't know much about your keyboard, but it sounds like the keys are mapped differently then usual. Can you use the mouse to navigate? You should have no trouble setting the keys you desire to be used ingame in the input menus.
Try deleting everything in /tmp
I don't know much about your keyboard, but it sounds like the keys are mapped differently then usual. Can you use the mouse to navigate? You should have no trouble setting the keys you desire to be used ingame in the input menus.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
I'm running zsnes from the CLI, not from xfree86/xorg-x11. I just tested it in xfce4 running on xorg-x11 6.7.0 and it loaded fine and keys were mapped appropriately.
It segfaults under CLI but not under xorg-x11. Is this normal behavior? I'd rather run it without X11 as I'm using it on my television and I want the least amount of slow-down possible.
It segfaults under CLI but not under xorg-x11. Is this normal behavior? I'd rather run it without X11 as I'm using it on my television and I want the least amount of slow-down possible.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
If you compile SDL to use SVGA, that should work.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding