Audio devices


EvilDragon

Administrator
Staff member
Joined
Mar 4, 2003
Messages
29,751
Age
43
Location
Ingolstadt
Didn't try it with Kirby64, but it sometimes happens.
According to daveshah, we need a kernel patch to deactivate the uplink, but it's possible.
Doing it temporarily is possible, but the stream needs to be started first.
 

Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,471
I'm curious as to why when I plug in a USB soundcard, pulseaudio totally ignores it. I didn't know pulseaudio needed that much manual configuration, it's usually fairly automatic on other PCs. Why is it different on the Pyra?
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
14,142
Location
Somewhere off the coast of the EU
It may be worth considering that Kirby 64 was quite a late release on the N64, being released 4 years after Super Mario 64 in 2000. I know that I had a lot of trouble emulating Mario Tennis on my Pandora which was also released the same year. Other games released this year include ExciteBike 64 and TLoZ:Majora's Mask (although that title shares quite a lot of code with Oracle of Time which is one of the main games they tune the emulator to be able to play). Probably written from scratch games like Mario Tennis and Kirby 64 pull a lot of tricks on the hardware, so probably stress out the emulator more.
 

netcat

Very Active Member
Joined
May 3, 2016
Messages
312
Location
city of thieves
I'm curious as to why when I plug in a USB soundcard, pulseaudio totally ignores it. I didn't know pulseaudio needed that much manual configuration, it's usually fairly automatic on other PCs. Why is it different on the Pyra?
Ok so silence isn't actually your thing..

Have you tried?:

Code:
$ lsusb                 # is your device registering?
$ pulseaudio -k         # maybe restarting will solve it?
$ lsof /dev/snd/*       # is another process hanging on to your device? -> kill it then restart

I can usually get pulsaudio to do what I want with the above commands. Jack is supposed to be better though, would be nice if that (just) worked.
Post automatically merged:

And who knows - maybe not even on every system!
I find this statement unsettling.
 
Last edited:

Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,471
Yes, this is very interesting - and will help with debugging, as it seems that only Kirby64 seems to reproduce this reliably now.
And who knows - maybe not even on every system!
I have now had Wario Land 4 do it while playing it through Ducktape mGBA as well.
Post automatically merged:

Ok so silence isn't actually your thing..

Have you tried?:

Code:
$ lsusb                 # is your device registering?
$ pulseaudio -k         # maybe restarting will solve it?
$ lsof /dev/snd/*       # is another process hanging on to your device? -> kill it then restart

I can usually get pulsaudio to do what I want with the above commands. Jack is supposed to be better though, would be nice if that (just) worked.
I will give these a try. The device works, just only through ALSA directly.
 
  • Like
Reactions: rSl

aTc

Very Active Member
Joined
Apr 25, 2009
Messages
221
A bit late maybe, but the reason pulseaudio doesn't pick up devices is because I disabled pulseaudio's automatic driver loading (module-udev-detect).
If it's enabled, it makes a huge mess of wrongly configured audiio devices from the various alsa devices on pyra.
On earlier kernels it would even completely lock up, because it started to probe devices that didn't really exist.
So I disabled it, and manually load only the driver for the internal speakers/headphone to get those working.

It's one of those areas that still needs a bit work.(Where it seems that most of that work is to do with the half broken soundcard drivers).
 

Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,471
A bit late maybe, but the reason pulseaudio doesn't pick up devices is because I disabled pulseaudio's automatic driver loading (module-udev-detect).
If it's enabled, it makes a huge mess of wrongly configured audiio devices from the various alsa devices on pyra.
On earlier kernels it would even completely lock up, because it started to probe devices that didn't really exist.
So I disabled it, and manually load only the driver for the internal speakers/headphone to get those working.

It's one of those areas that still needs a bit work.(Where it seems that most of that work is to do with the half broken soundcard drivers).
Ohhhh, so I just need to add the devices into pulseaudio's conf file myself? I can probably figure that out.
 
Top