It is currently Thu May 23, 2013 5:23 pm

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Thu Apr 26, 2012 8:11 pm 
Offline
Snes9x White Belt

Joined: Thu Apr 26, 2012 8:00 pm
Posts: 8
Hello,

Today I cloned the git repo of snes9x onto my Debian wheezy system. I tried starting a Shadowrun.smc rom from -edited out-, and there was no sound output. The same rom (purified) did produce sound in Bsnes.

The git repo I cloned was from github, and is current to commit: 87c1717ac6cd3e8a821ce86e0b593863e3a949f7

At present I am starting snex9x form the commandline.

Is there steps I should take to begin sound debugging? is there perhaps a compilation option that would turn some form of debigging logs on? I would love to know how to diagnose the issue further to provide as much information as possible.

Code:
mike@sm-mike-thinkpad:~/workspace/snes9x$ lsb_release -a
No LSB modules are available.
Distributor ID:   Debian
Description:   Debian GNU/Linux testing (wheezy)
Release:   testing
Codename:   wheezy


Code:
Linux sm-mike-thinkpad 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux


mod edit: no ROM sites, this includes the name of the site, even if you didn't post a link.


Top
 Profile  
 
PostPosted: Thu Apr 26, 2012 9:13 pm 
Offline
Snes9x Purple belt
User avatar

Joined: Thu Nov 08, 2007 7:59 pm
Posts: 909
Location: /dev/null
Please don't mention where you got the ROM from; it's against forum policy.

All that matters is if the ROM is valid; when you start up the game, what color is the text that appears on the screen when you start the game?

_________________
Snes9x FAQs | Forum Rules
What operating system are you using? 32 or 64bit? Version of Snes9x? Is the text at the bottom of the window white when you load the game?
These suggestions are usually the solution to your issue!


Top
 Profile  
 
PostPosted: Thu Apr 26, 2012 9:41 pm 
Offline
Snes9x White Belt

Joined: Thu Apr 26, 2012 8:00 pm
Posts: 8
The text that says LoROM 8Mb... and such? It is White


Top
 Profile  
 
PostPosted: Thu Apr 26, 2012 9:49 pm 
Offline
Snes9x White Belt

Joined: Thu Apr 26, 2012 8:00 pm
Posts: 8
And more specifically:
"Shadowrun" [checksum ok] LoROM 8Mbits ROM+RAM+BAT, NTSC, SRAM:64Kbits, ID:^_, cCRC32:3F3DFF0


Top
 Profile  
 
PostPosted: Fri Apr 27, 2012 2:31 pm 
Offline
Snes9x Purple belt
User avatar

Joined: Thu Nov 08, 2007 7:59 pm
Posts: 909
Location: /dev/null
The bit that really matters is the [checksum ok] part; that's telling me that your ROM is legitimate and not patched or modified in any way. :)

So we know it's not the game in particular; have you tried adjusting the sound settings for Snes9x? Also, what sound card do you have?

(note that I don't know much about how linux works, so I'm a bit limited in my help here, haha)

_________________
Snes9x FAQs | Forum Rules
What operating system are you using? 32 or 64bit? Version of Snes9x? Is the text at the bottom of the window white when you load the game?
These suggestions are usually the solution to your issue!


Top
 Profile  
 
PostPosted: Fri Apr 27, 2012 3:59 pm 
Offline
Snes9x White Belt

Joined: Thu Apr 26, 2012 8:00 pm
Posts: 8
Intel Corporation 6 Series/C200 Series Chipset

Show as fully supported by Debian and Ubuntu


Top
 Profile  
 
PostPosted: Fri Apr 27, 2012 5:01 pm 
Offline
Official Win32 Porter/Dev
User avatar

Joined: Thu Aug 30, 2007 10:15 pm
Posts: 450
What output are you getting on the command line?


Top
 Profile  
 
PostPosted: Fri Apr 27, 2012 5:17 pm 
Offline
Snes9x White Belt

Joined: Thu Apr 26, 2012 8:00 pm
Posts: 8
./snes9x /home/mike/roms/Shadowrun.smc


Snes9x 1.53 for unix
Sound buffer size: 12800 (3200 samples)
Port 1: Pad #1. Port 2: <none>.
Found ROM file header (and ignored it).
Map_LoROMMap
"SHADOWRUN" [checksum ok] LoROM, 8Mbits, ROM+RAM+BAT, NTSC, SRAM:64Kbits, ID:_^__, CRC32:3F34DFF0
joystick: No joystick found.


Top
 Profile  
 
PostPosted: Fri Apr 27, 2012 11:45 pm 
Offline
Official GTK/Linux Porter/Dev
User avatar

Joined: Tue Oct 02, 2007 12:50 am
Posts: 395
Are you running pulseaudio? Try:
Code:
ps ax | grep pulse
and see if anything shows up. Snes9x unix only does OSS audio, which pulseaudio hates. It could also be that your kernel wasn't built with OSS compatibility mode support.


Top
 Profile  
 
PostPosted: Sun Apr 29, 2012 5:44 am 
Offline
Snes9x White Belt

Joined: Thu Apr 26, 2012 8:00 pm
Posts: 8
I do have pulse running it would seem:
Code:
mike@sm-mike-thinkpad:~/workspace/snes9x/unix$ ps aux | grep pulse
mike      3662  0.0  0.0 226136  5392 ?        S<l  22:31   0:00 /usr/bin/pulseaudio --start --log-target=syslog
mike      9647  0.0  0.0   7796   872 pts/1    S+   22:44   0:00 grep pulse


I am working now on getting it stopped and OSS up and running. I have never used it before.


Top
 Profile  
 
PostPosted: Sun Apr 29, 2012 3:56 pm 
Offline
Snes9x White Belt

Joined: Thu Apr 26, 2012 8:00 pm
Posts: 8
I may be SOL:

Code:
mike@sm-mike-thinkpad:~/workspace/snes9x/unix$ osstest
Sound subsystem and version: OSS 4.2 (b 2005/201201282142) (0x00040100)
Platform: Linux/x86_64 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012


NOTICE! You don't have any audio devices available.
        It looks like your audio hardware was not recognized
        by OSS.
          
        If you have installed OSS just a moment ago then it may be necessary to.
        to rebot the system before trying to use the device(s).


Top
 Profile  
 
PostPosted: Sun Apr 29, 2012 8:45 pm 
Offline
Hero of Hyrule | Official Port Recruiter

Joined: Mon May 24, 2004 5:06 pm
Posts: 2490
Location: 255.255.255.255
Rebot the system...? :?

But yeah, first thing I would've made sure of is if you're getting sound in other applications. This can isolate it from a Snes9X issue to something more system wide.

_________________
Image

Unofficial Test Monkey For:
* Snes9X GX (Wii)
* Snes9X EX (Android)
* Snes9X 64-bits

ZSNES|Ben Heck|NSRT|Bob Smiley


Top
 Profile  
 
PostPosted: Mon Apr 30, 2012 5:42 pm 
Offline
Snes9x White Belt

Joined: Thu Apr 26, 2012 8:00 pm
Posts: 8
Oh there was a reboot in there believe me. Actually sound in all other applications was working fine, when I installed the OSS Kernelplugins it all died so I had to rool back. This laptop is fairly new, but the Intel Chipset is pretty standard, maybe something funky with the deteciton? or maybe it is abstracted away. I am not sure. I am still working on it.


Top
 Profile  
 
PostPosted: Mon Apr 30, 2012 6:36 pm 
Offline
Snes9x Yellow Belt

Joined: Tue May 03, 2011 2:35 pm
Posts: 191
your chipset is standard but not old; less than one year means likelihood of it being fully supported by everything is questionable at best.

also, while the hda interface is on the chipset, the actual audio controller is supplied by a third party (e.g. Realtek), adding a little complexity to the situation.

is your system currently configured to use alsa under pulseaudio? you may need to disable alsa as well (or configure oss emulation within alsa - apparently this can introduce significant latency, though).

disclaimer: i haven't run linux on a personal machine in 5+ years. i won't be able to provide anything in terms of useful detail, sorry.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group