You are not logged in.

#1 2024-04-17 05:44:21

useraddition
Member
Registered: 2013-06-07
Posts: 107

Sound Open Firmware driver silent on zsnes and bsnes emulator apps

Hi I am having a problem since I bought a new computer - HP Laptop 17t-cn200 - I have sof firmware package installed for alsa and pulse, but some apps are having problems running sound particularly my Super Nintendo emulator. Has anyone else have this problem?

Offline

#2 2024-04-17 09:14:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,825

Re: Sound Open Firmware driver silent on zsnes and bsnes emulator apps

Your normal userspace application is not going to specifically have issues with the underlying driver firmware, this is likely down to wrong configuration. Configure BSNES to use the pulse backend, install lib32-libpulse and configure zsnes to use pulseaudio,

If this is insufficient, during "not working" post

aplay -lL
sudo fuser -v /dev/snd/*
pactl list sinks
pactl list sink-inputs

Offline

#3 2024-04-17 17:29:33

useraddition
Member
Registered: 2013-06-07
Posts: 107

Re: Sound Open Firmware driver silent on zsnes and bsnes emulator apps

This is the result of "aplay -lL"

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=sofhdadsp
    sof-hda-dsp, 
    Default Audio Device
usbstream:CARD=sofhdadsp
    sof-hda-dsp
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[krazybastid@archlinux ~]$ sudo fuser -v /dev/snd/*
[sudo] password for krazybastid: 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  krazybastid    593 F.... volumeicon

This is the result of "pactl list sinks"

Connection failure: Connection refused
pa_context_connect() failed: Connection refused

Then I did: "pactl list sink-inputs"

Connection failure: Connection refused
pa_context_connect() failed: Connection refused

Any thoughts?

Offline

#4 2024-04-17 17:35:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,825

Re: Sound Open Firmware driver silent on zsnes and bsnes emulator apps

Your general environment is setup for pulseaudio but it isn't running. How do you start your graphical environment and if via startx, make sure your xinitrc is loading the correct setup: https://wiki.archlinux.org/title/Xinit#xinitrc

FWIW, what's your output for

pacman -Qs 'wire|pulse'
systemctl --user status pulseaudio
sudo journalctl -b

Offline

Board footer

Powered by FluxBB