You are not logged in.
Pages: 1
I don't know if this has been answered since I cant really explain it very well. I just reinstalled and this is the first time I have had this issue out of a good 30 fucking reinstalls at least. I wrote myself a script, and this script installed pulseaudio and its jazz along with alsa. This appears to be a problem because I didn't unmute alsa before hand. In pavucontrol, while playing audio, I can see the audio bouncing as if it was playing but cannot hear anything. Nothing is muted and all the correct sources are selected. I have tried several things such as setting master to unmute in alsamixer (but note it for some reason was already unmuted), amixer -q set Master unmute, removing pulseaudio and rebooting (but it was still unmuted in alsamixer). I am considering reinstalling yet again (as ive reinstalled 3 times today alone to test my script) but I am furious and don't WANT to do it again, so does anyone know how I can fix this? I am almost certain it is alsa and pulseaudio conflicting someway.
Last edited by Trist (2016-07-24 03:34:27)
Offline
I just reinstalled anyways just to see if that was the issue and apparently it isn't, I unmuted the audio in alsamixer before I even installed pulseaudio but I still have problems. I think pulseaudio for whatever reason is detecting my monitor as HDMI audio out with no other options available, I will google later I am tired, will report back to thread with a solution if I find one
Offline
Using pavucontrol (assuming pulseaudio has been re/installed) make sure that, under output devices, the "port" section is set correctly. Also make sure you dont have any devices (headphones), wireless or otherwise, that might be stealing the audio sink. A really easy way to test stuff is to run:
speaker-test -c2
For two channels of pink noise. Muck with settings until you hear the buzzing.
Good luck!
I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.
Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...
Offline
Post your script and the output of the following
aplay -lL
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs #While playing something
sudo fuser -v /dev/snd/*
Any alsa configuration files (/etc/asound.conf or ~/.asoundrc or similar jazz, although you should only have a single /etc/asound.conf as provided by pulseaudio-alsa) as it stands your post contains absolutely no information with which to help you except for your frustration which, while understandable, is completely useless in terms of helping you.
Offline
The only port available is "Digital Stereo (HDMI) Output". As soon as I unplugged my monitor it now says (Unplugged) at the end. My speakers however are 2.5mm standard and I cant find any mention in the following commands
Also my collection of scripts is just the Arch Wiki install and general recommendations, here is a link (though i already commented out pulseaudio in 3downloads.sh)
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=MID
HDA Intel MID, VT2020 Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, VT2020 Analog
Front speakers
surround21:CARD=MID,DEV=0
HDA Intel MID, VT2020 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, VT2020 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, VT2020 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, VT2020 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, VT2020 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, VT2020 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=MID,DEV=0
HDA Intel MID, VT2020 Digital
HDMI Audio Output
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: VT2020 Analog [VT2020 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 2: VT2020 Alt Analog [VT2020 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 3: VT2020 Digital [VT2020 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
pacmd list-cards
1 card(s) available.
index: 0
name: <alsa_card.pci-0000_01_00.1>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfbbfc000 irq 31"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aa50"
device.product.name = "Cypress HDMI Audio [Radeon HD 5800 Series]"
device.string = "1"
device.description = "Cypress HDMI Audio [Radeon HD 5800 Series]"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo>
sinks:
alsa_output.pci-0000_01_00.1.hdmi-stereo/#2: Cypress HDMI Audio [Radeon HD 5800 Series] Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#2: Monitor of Cypress HDMI Audio [Radeon HD 5800 Series] Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
pacmd list-sinks
1 sink(s) available.
* index: 2
name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9050
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 1837.15 ms
max request: 344 KiB
max rewind: 344 KiB
monitor source: 2
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 1837.33 ms; range is 0.50 .. 1837.33 ms
card: 0 <alsa_card.pci-0000_01_00.1>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfbbfc000 irq 31"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aa50"
device.product.name = "Cypress HDMI Audio [Radeon HD 5800 Series]"
device.string = "hdmi:1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "Cypress HDMI Audio [Radeon HD 5800 Series] Digital Stereo (HDMI)"
alsa.mixer_name = "ATI R6xx HDMI"
alsa.components = "HDA:1002aa01,00aa0100,00100200"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
active port: <hdmi-output-0>
pacmd list-sink-inputs
1 sink input(s) available.
index: 26
driver: <protocol-native.c>
flags:
state: DRAINED
sink: 2 <alsa_output.pci-0000_01_00.1.hdmi-stereo>
volume: mono: 65535 / 100% / -0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 1837.33 ms
sample spec: s16le 1ch 48000Hz
channel map: mono
Mono
resample method: copy
module: 9
client: 5 <ALSA plug-in [speaker-test]>
properties:
media.name = "ALSA Playback"
application.name = "ALSA plug-in [speaker-test]"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "31"
application.process.id = "766"
application.process.user = "trist"
application.process.host = "trist-arch"
application.process.binary = "speaker-test"
application.language = "en_US.UTF-8"
window.x11.display = ":0.0"
application.process.machine_id = "92e4bf4f540c4d2891fe6b59b03a9c41"
application.process.session_id = "c1"
module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [speaker-test]"
sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: root 376 F.... timidity
trist 612 F.... panel-7-mixer
/dev/snd/controlC1: trist 590 F.... pulseaudio
trist 612 F.... panel-7-mixer
/dev/snd/pcmC0D0p: root 376 F...m timidity
/dev/snd/pcmC1D3p: trist 590 F...m pulseaudio
/dev/snd/seq: root 376 F.... timidity
/dev/snd/timer: root 376 f.... timidity
/etc/asounds.conf
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}
# vim:set ft=alsaconf:
Offline
Alright it seems to be a permission issue, if I run timidity or audacious as root it will play, through alsa at least (i turned off pulseaudio autostart and killed it, music wont play when it is running as it doesn't detect my stereo i assume). Since I tried removing everything alsa and pulseaudio related audacious refuses to work standard user;
ERROR plugin-load.cc:72 [plugin_load]: /usr/lib/audacious/Container/cue.so could not be loaded: libcue.so.2: cannot open shared object file: No such file or directory
ERROR plugin-load.cc:72 [plugin_load]: /usr/lib/audacious/Input/cdaudio-ng.so could not be loaded: libcdio_cdda.so.2: cannot open shared object file: No such file or directory
ERROR plugin-load.cc:72 [plugin_load]: /usr/lib/audacious/Input/sid.so could not be loaded: libsidplayfp.so.4: cannot open shared object file: No such file or directory
ERROR plugin-load.cc:72 [plugin_load]: /usr/lib/audacious/General/lirc.so could not be loaded: liblirc_client.so.0: cannot open shared object file: No such file or directory
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to create IPC semaphore
ERROR util.cc:160 [audgui_simple_message]: ALSA error: snd_pcm_open failed: Permission denied.
and when I try to run timidity as standard user I get this output;
timidity D2_04.MID
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Couldn't open output device
Last edited by Trist (2016-07-23 22:27:59)
Offline
What do you define "removing anything ALSA and pulse related" with? You absolutely need some form of ALSA one way or the other. The problem here is that timidity (and to a lesser extent the panel-mixer, so kill that as well) start (as root no less) and request exclusive access to your soundcard (Shameless selfplug, read here for a bit more background information on what happens exactly). If you intend to have timidity working together with pulseaudio, you should start it as your own user (obviously stop the root started daemon first, use Systemd User Services to start an user owned timidity) and point it to the default ALSA device (I'd personally go with fluidsynth rather than timidity since it has native pulseaudio output support and is actively developed)
Last edited by V1del (2016-07-24 01:02:10)
Offline
I just decided to try to remove anything audio related and then reinstall them to see if that would miraculously fix it. I turned off timidity systemd service, uninstalled xfce4-mixer, turned on the pulseaudio autostart in /etc/pulse/client.conf, then rebooted, and suddenly my board shows up thanks a bunch man
Offline
Pages: 1