You are not logged in.

#26 2011-05-31 10:52:38

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,026

Re: SSNES - The SNES emulator that sucks less.

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

#27 2011-05-31 12:00:52

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

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

#28 2011-05-31 14:47:42

greatant
Member
Registered: 2011-02-12
Posts: 28

Re: SSNES - The SNES emulator that sucks less.

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

#29 2011-05-31 16:46:59

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Ye, I guess there's nothing I can do about broken drivers or SDL big_smile 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

#30 2011-06-07 10:15:52

mac1202
Member
Registered: 2011-05-24
Posts: 25

Re: SSNES - The SNES emulator that sucks less.

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

#31 2011-06-07 12:07:35

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

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

#32 2011-06-07 19:12:52

mac1202
Member
Registered: 2011-05-24
Posts: 25

Re: SSNES - The SNES emulator that sucks less.

I'm using libsnes 0.079-2 from aur. And 32 bits kernel with open source intel graphic driver.

Offline

#33 2011-06-07 20:08:02

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,026

Re: SSNES - The SNES emulator that sucks less.

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

#34 2011-06-07 23:48:31

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

mac1202 wrote:

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

#35 2011-06-08 10:11:59

mac1202
Member
Registered: 2011-05-24
Posts: 25

Re: SSNES - The SNES emulator that sucks less.

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

#36 2011-06-08 11:13:40

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

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

#37 2011-06-08 14:16:23

mac1202
Member
Registered: 2011-05-24
Posts: 25

Re: SSNES - The SNES emulator that sucks less.

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

#38 2011-06-21 10:43:10

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,026

Re: SSNES - The SNES emulator that sucks less.

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

#39 2011-06-21 20:37:02

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

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

#40 2011-06-22 00:30:46

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,026

Re: SSNES - The SNES emulator that sucks less.

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

#41 2011-06-23 08:37:14

unhappy
Member
Registered: 2011-06-10
Posts: 7

Re: SSNES - The SNES emulator that sucks less.

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

#42 2011-06-23 11:19:17

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

smile Seems like I forgot to add makedepends=('git') to the PKGBUILD, so that's fixed now at least.

Offline

Board footer

Powered by FluxBB