You are not logged in.
what do you make out of this?
$ ssnes smw_all_star.smc
SSNES [WARN] :: GL VSync has not been enabled!
Segmentation fault
i dont know how to debug this...sorry
Offline
Sounds like a driver issue if anything. Intel chip by any chance? Tried XVideo driver?
If you're able you could try getting a backtrace from gdb of a non-stripped build that would be nice. I think the PKGBUILD strips by default, dunno.
Last edited by Themaister (2011-05-31 12:02:42)
Offline
ssnes-zip works great with square brackets now, thanks.
I get the same VSync message.
ATI video card using the open source drivers with VSync enabled in drivers and in ssnes.cfg.
Offline
Ye, I guess there's nothing I can do about broken drivers or SDL If you get tearing, there's always the XVideo driver which should hopefully work better for the open source drivers. Well, I added a fallback so it tries to use glXSwapInterval{SGI,MESA} if SDL failed to set VSync at least. Might or might not fix it.
Last edited by Themaister (2011-05-31 21:37:28)
Offline
Hello trying ssnes but it segfault with every video drivers. Here my config file http://pastebin.com/pw7uzUfg
edit : segfaut with libsnes-performance.so but work with libsnes-compat.so, but my netbook isn't powerfull enough.
Last edited by mac1202 (2011-06-07 11:36:58)
Offline
This is a libsnes bug that I had to patch a couple of versions ago, did you try the latest libsnes from AUR?
You have 64-bit kernel + proprietary nVidia driver by any chance?
Offline
I'm using libsnes 0.079-2 from aur. And 32 bits kernel with open source intel graphic driver.
Offline
im having the same problem, and im unable to debug this thing.....gonna try on another install with an ati card (and 64bit)
EDIT: It did work correctly.
Last edited by eldragon (2011-06-07 20:23:38)
Offline
I'm using libsnes 0.079-2 from aur. And 32 bits kernel with open source intel graphic driver.
Hm, it seems that the libsnes bug I found does apply to 32-bit as well. You have any way to test on 64-bit as well?
EDIT: I verified a segfault in libsnes on my 32-bit netbook, but when I tried to get better dumps with debugging symbols, it ... worked fine. <_<
Last edited by Themaister (2011-06-08 00:23:34)
Offline
Using gdb i get this
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ssnes...done.
(gdb) run Dragon\ Quest\ VI\ -\ Maboroshi\ no\ Daichi\ \(J\)\ \[T-Eng.90_NoPrgress\].smc
Starting program: /usr/bin/ssnes Dragon\ Quest\ VI\ -\ Maboroshi\ no\ Daichi\ \(J\)\ \[T-Eng.90_NoPrgress\].smc
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0xb71b80c9 in SNES::PPU::Sprite::render() () from /usr/lib/libsnes-performance.so
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0xb71b80c9 in SNES::PPU::Sprite::render() () from /usr/lib/libsnes-performance.so
(gdb) continue
Continuing.
Program terminated with signal SIGSEGV, Segmentation fault.
.
Offline
Indeed. I got the same error. For now, you should be able to use the snes9x libsnes:
https://github.com/Themaister/snes9x-libsnes.
Go into unix/ and do ./configure && make.
Offline
Work with snes9x-libsnes. But now I have some problem with my joypad the character move alone without touching the stick. Work well on snes9x so giving up ssnes.
Edit : using xboxdrv instead of xpad and setting a 40% deadzone make it work correctly.Maybe you should add an option to set a deadzone in gamepad options.
Last edited by mac1202 (2011-06-08 19:10:01)
Offline
with latest libsnes update, it started working....even if its slow sometimes. i get no vertical sync which might be the cause of it
Offline
mac1202: Deadzone is supported. The option you're looking for is input_axis_threshold. A character moving by itself probably means the driver is reporting strange values that are not normalized around 0. I use xpad driver myself and have no issues at least.
eldragon: What's your CPU? Due to a possible issue in either GCC or libsnes, I had to compile libsnes performance with -O2 rather than -O3 to avoid segfault, which could make it a tad slower.
Last edited by Themaister (2011-06-21 20:40:27)
Offline
Genuine Intel(R) CPU T2080
hope that helps. anyway, seems more like a vsync issue since it runs ok randomly using super mario all stars (mario world 3)
Offline
It's not compiling for me, am I doing something wrong?
It says
/tmp/yaourt-tmp-kana/aur-ssnes-git/./PKGBUILD: 行 26: git: コマンドが見つかりません
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build ssnes-git.
(The Japanese part reads: Line: 26: git: Command not found)
Then I fix the line (instead of "if" there was "fi") but next I get:
/tmp/yaourt-tmp-kana/aur-ssnes-git/./tmp.yIJntrg8su: 行 33: 予期しないトークン `}' 周辺に構文エラーがあります
(The Japanese part reads: Line 33: unexpected token ... Syntax error ...)
Now, since I don't know anything about programming, I don't know how to fix this. ó_ò
edit: I don't know if this is of any relevance, but I'm using 64bit.
edit2: OK, problem solved, git wasn't even installed. ^___^ Sorry for this pointless post.
edit3: and I wanted to say thank you!! When I tried to play different ROMS on bnes they didn't work. Once I found a ROM version that did work, it was really laggy and the sound was so bad, it hurt my ears. Now I've tried SSNES and the ROM that didn't work before now works, but what's more, now without any of the before mentioned annoyances - even without any tweaking! - it works flawlessly! Thanks a lot man!
Last edited by unhappy (2011-06-23 09:03:31)
Offline