LinHES Forums
http://forum.linhes.org/

SPDIF problem with ZSNES
http://forum.linhes.org/viewtopic.php?f=2&t=18919
Page 1 of 1

Author:  TheErk [ Thu Sep 04, 2008 4:27 pm ]
Post subject:  SPDIF problem with ZSNES

Ok guys, I need help. This is about to drive me nuts. First, I'm a noob to Linux. Knoppmyth is my first time out and although I've learned quite a bit, I just can't figure this one out.

I'm using SPDIF out and it works great for all Myth stuffs. DTS and DD work fine, Nestopia works fine, music works fine, etc. etc.

But I just can't get the darn thing to work with ZSNES. What's frustrating is that after reading a TON of threads, a couple that I even posted on saying it was fixed :shock:, I got it to work a couple of times and then it just stopped. At this point, I just want to start back over from the start. Just imagine that I know NOTHING and want to troubleshoot from ground zero. Where do I start?

HELP! and thanks.

--TheErk

Author:  jigawho [ Thu Sep 04, 2008 9:27 pm ]
Post subject: 

What soundcard are you using?

Normally when I have problems like this it is due to a problem with (or lack of) an asound.conf file. Try putting the one from this page:
http://www.phoronix.com/forums/showthread.php?t=556

in your /etc/ folder. It works for my av710 ( at least it did last time I checked with zsnes).

Author:  TheErk [ Fri Sep 05, 2008 8:08 am ]
Post subject: 

It's a Diamond XtremeSound - 7.1 with coax outputs. I had read some good things on it and like I said earlier, it works with everything but zsnes. My spdif is on hw 0,2. Where exactly would I need to change that, all of the hw's or just a couple?

Also would it be safe to copy that and paste into nano? I've ran into problems in the past with doing that due to hidden characters.

THANKS!

--TheErk

Author:  jigawho [ Fri Sep 05, 2008 9:49 am ]
Post subject: 

Since that asound.conf is only for digital, I would change all the references to hw 0,1 to hw 0,2 and see if that works

you shouldn't have problems copying it since it's code, not text.

Author:  TheErk [ Sat Sep 06, 2008 1:13 pm ]
Post subject: 

nope didn't work, in fact, no sound worked at all after using that.

Here's my aplay -l

card 0: CMI8768 [C-Media CMI8768], device 0: CMI8738-MC8 [C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8768 [C-Media CMI8768], device 1: CMI8738-MC8 [C-Media PCI 2nd DAC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8768 [C-Media CMI8768], device 2: CMI8738-MC8 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0


Any more ideas?

--TheErk

Author:  TheErk [ Mon Sep 08, 2008 2:48 pm ]
Post subject: 

Here's the config that I was trying to use. Oddly enough, it will work sometimes and the only commonality that I've been able to find is sometimes the view recording will lock the system then I ctrl-alt-backspace to restart and THEN it will work. Weird.


# ~/.asoundrc or /etc/asound.conf
# ALSA configuration file





pcm.!default {
type plug
slave.pcm "digital-hw"
}

ctl.!default {
type hw
card 0
}

pcm.analog {
type plug
slave.pcm "analog-hw"
}

ctl.analog {
type hw
card 0
}

pcm.mixed-analog {
type plug
slave.pcm "dmix-analog"
}

ctl.mixed-analog {
type hw
card 0
}

pcm.digital {
type plug
slave.pcm "digital-hw"
}

ctl.digital {
type hw
card 0
}

pcm.mixed-digital {
type plug
slave.pcm "dmix-digital"
}

ctl.mixed-digital {
type hw
card 0
}

pcm.analog-hw {
type hw
card 0
}

ctl.analog-hw {
type hw
card 0
}

pcm.digital-hw {
type hw
card 0
device 2
}

ctl.digital-hw {
type hw
card 0
}

pcm.dmix-analog {
type dmix
ipc_key 1234
slave {
pcm "analog-hw"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
}

ctl.dmix-analog {
type hw
card 0
}

pcm.dmix-digital {
type dmix
ipc_key 1235
slave {
pcm "digital-hw"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
}

ctl.dmix-digital {
type hw
card 0
}


This is the basic config file from the alsa project site:

pcm.cmipci {
type hw
card 0
}

ctl.cmipci {
type hw
card 0
}


Do I need to combine these somehow?

Thanks,
TheErk

Author:  mythman13 [ Mon Sep 08, 2008 3:10 pm ]
Post subject:  view recording lock

TheErk wrote:
Oddly enough, it will work sometimes and the only commonality that I've been able to find is sometimes the view recording will lock the system then I ctrl-alt-backspace to restart and THEN it will work. Weird.

I don't think it is your hardware causing this since I get my frontend locking up (blank screen) when you actually start to play a recording. I have no idea why this happens either but I think it is to do with finding a bookmark or something on a digital recording. I don't know any fix to this yet and so I Ctrl-Alt-Backspace or just wait for it to settle down (it usually exits back to menu after a few minutes...)

Author:  TheErk [ Mon Sep 08, 2008 3:35 pm ]
Post subject: 

I'm not all that concerned about the lockup so much as the why it might work after the lockup and then a cold boot. Anything look odd in my config?

Thanks,
TheErk

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/