Open mhwombat opened 4 years ago
Please, show the PA debug output: https://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems
@perexg Thank you for responding. Here's the info:
Output of pulseaudio -vvvvv
is here
Output of pacmd ls
is here
# pulseaudio --system
W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set.
W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set.
N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode.
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
E: [pulseaudio] main.c: Failed to find user 'pulse'.
Ok, this hardware consists from four cards:
HDA analog - which is not used at all (no codec is connected to the PCI bridge) HDA HDMI USB Front Audio USB Main Audio
The 'Failed to find a working profile' belongs to the empty HDA card which should not active at the kernel driver level in my opinion. @tiwai ?
Could you switch between 'USB Front' and 'USB Main' card manually in PA (use pavucontrol app - settings / profiles or the pactl command line).
Yes, the board is TRX40 and the recent AMD platform, and there are already a few TRX40 devices in the deny list of snd-hda-intel. But this machine seems to have a wrong PCI SSID (that isn't board-unique but keeps the chipset generic one from AMD). Maybe the BIOS update will fix that PCI SSID?
Could you switch between 'USB Front' and 'USB Main' card manually in PA (use pavucontrol app - settings / profiles or the pactl command line).
I will try that. But just so you know, my speakers aren't plugged into a USB port; they're plugged into the "line out" jack.
Could you switch between 'USB Front' and 'USB Main' card manually in PA (use pavucontrol app - settings / profiles or the pactl command line).
@perexg Sorry, but I'm not clear on what you're suggesting that I do, or how to do it in either pactl or pavucontrol. I'm really confused between cards, drivers, sinks, modules, streams, etc.
The TRX40 boards use 2 integrated USB audio chips which leads to this confusion. The USB driver represents this hardware as two ALSA USB cards (Main and Front). Just try to select the "Aorus Master Main Audio" card and corresponding profile in pavucontrol. It seems that PA creates only iec958 sink for it, so you may give a try.
Note that there are three playback devices for the main usb card:
card 3: Audio [Aorus Master Main Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Audio [Aorus Master Main Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Audio [Aorus Master Main Audio], device 3: USB Audio [USB Audio #3]
Subdevices: 1/1
Subdevice #0: subdevice #0
So it may be possible that another PCM device is connected to Line Out for this hardware. You may try to find the right path using the direct ALSA commands. Try speaker-test -D hw:3,1
and speaker-test -D hw:3,3
on the command line, too. The PA uses only hw:3,0
PCM device. The mixer settings may be changed via alsamixer -c 3
.
Actually I have forgotten to create two UCM profiles for those Gigabyte Aorus Master boards. They should be similar like USB-Audio/Realtek-ALC1220-VB-Desktop, but there will be two for both main and front headphone. Maybe it's a good chance to write and test such ones...
It's possible to "merge" those two cards into one profile via UCM now. I believe that it may be more understandable for users.
Success!
The TRX40 boards use 2 integrated USB audio chips which leads to this confusion. The USB driver represents this hardware as two ALSA USB cards (Main and Front). Just try to select the "Aorus Master Main Audio" card and corresponding profile in pavucontrol. It seems that PA creates only iec958 sink for it, so you may give a try.
In pavucontrol, on the "Configuration" tab, I have three cards (I think the icon represents a card) listed. None of them are named "Aorus Master Main Audio". The cards and profile options are listed below.
Here's are the profile settings that worked for me:
USB Audio: Off USB Audio: Analog Stereo Output Navi 10 HDMI Audio: Off
The issue is resolved to my satisfaction, so please feel free to close it. But if you do more work related to this motherboard, and I can help in any way, please let me know. I can experiment with other settings for you.
Just a note: The 'Line Out Jack' control / presence detection does not work properly in this case.
I can get audio through my headphones, but not through my speakers.
Basic checks:
I think the cause might be this
module-alsa-card.c: Failed to find a working profile.
Here is the output of alsa-info_alsa-info.sh.