[Bug 1113721] New: PA doesn't recognize USB soundcards (probably after update)
http://bugzilla.novell.com/show_bug.cgi?id=1113721 Bug ID: 1113721 Summary: PA doesn't recognize USB soundcards (probably after update) Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound Assignee: tiwai@suse.com Reporter: nettezzaumanaa@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello ppl, we're hit by this one: https://bbs.archlinux.org/viewtopic.php?id=241404 after today's update (please see zypper.log in attached file with other logs) PA stopped recognizing my USB soundcard that is in docing station connected internally via usb with following message Oct 29 12:39:26 linux-1b6m pulseaudio[2604]: [pulseaudio] module-alsa-card.c: Failed to find a working profile. Oct 29 12:39:26 linux-1b6m pulseaudio[2604]: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="2" name="usb-Generic_USB_Audio_200901010001-00" card_name="alsa_card.usb-Generic_USB_Audio_200901010001-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed. after some playing with that I've found a solution that is to use_ucm=no into /etc/pulse/default.pa, that it looks like this: .ifexists module-udev-detect.so load-module module-udev-detect use_ucm=no .else somebody please review this one, tried with two different usb soundcards, reproduced in both cases ... logs are attached .. regards, dan -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c1 --- Comment #1 from Daniel Pecka <nettezzaumanaa@gmail.com> --- Created attachment 787533 --> http://bugzilla.novell.com/attachment.cgi?id=787533&action=edit attached logs fix proposed in first comment -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c2 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nettezzaumanaa@gmail.com Flags| |needinfo?(nettezzaumanaa@gm | |ail.com) --- Comment #2 from Takashi Iwai <tiwai@suse.com> --- Try libasound2 package in OBS home:tiwai:branches:openSUSE:Leap:15.0:Update http://download.opensuse.org/repositories/home:/tiwai:/branches:/openSUSE:/L... If this works, the fix is already in queue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c3 Daniel Pecka <nettezzaumanaa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(nettezzaumanaa@gm | |ail.com) | --- Comment #3 from Daniel Pecka <nettezzaumanaa@gmail.com> --- Hello Takashi ... thanks for the prompt response .. I've tried dup --from your repo (so it took alsa, libasound2 and libasound2-32bit) and the issue with not recognizing usb card was indeed gone BUT there were several side-effects 1) it didn't properly restore on reboot volume/mute levels/state 2) computer had (and this is indeed weird - maybe not related but I just tried it 2 times with your alsa) very very slow UEFI before booting kernel .. ^^ please review your packages, otherwise I'd tell, that they bring additional issues and should be rejected ... regards, dan ps. maybe we could just specify ``use_ucm=no'' by some better condition (udev or etc/pulse/default.pa) like some model family or bus type or such like, becausae this fix works good without any artifacts -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c4 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Takashi Iwai <tiwai@suse.com> --- (In reply to Daniel Pecka from comment #3)
Hello Takashi ...
thanks for the prompt response .. I've tried dup --from your repo (so it took alsa, libasound2 and libasound2-32bit) and the issue with not recognizing usb card was indeed gone BUT there were several side-effects
Are you 100% sure that they are really the side effect of these updates? The package update contains *only* the correction of a typo in a UCM profile.
1) it didn't properly restore on reboot volume/mute levels/state
Which device are you talking about? This is likely irrelevant, so please open another bug with more detailed information.
2) computer had (and this is indeed weird - maybe not related but I just tried it 2 times with your alsa) very very slow UEFI before booting kernel ..
Ditto, this has definitely nothing to do with these packages. Please open another report and check which package update triggered it (by reverting the update, etc).
ps. maybe we could just specify ``use_ucm=no'' by some better condition (udev or etc/pulse/default.pa) like some model family or bus type or such like, becausae this fix works good without any artifacts
It breaks other things badly. It might work for your case, but it doesn't mean that it's correct... *** This bug has been marked as a duplicate of bug 1112292 *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c5 --- Comment #5 from Daniel Pecka <nettezzaumanaa@gmail.com> --- hmm ... disabling ucm ain't likely the proper way around, because after checking what ucm is, it's indeed solving the headache by cutting head off: https://gavv.github.io/blog/pulseaudio-under-the-hood/ your fix does it also ... so it's workaround and not solving the problem .. please review that .. from this perspective, I'd NOT consider the fix from queue as acceptable .. can you please confirm this ? does queued fix just disable ucm ? regards, dan -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c6 --- Comment #6 from Takashi Iwai <tiwai@suse.com> --- My latest fix isn't about disabling UCM at all; it just corrects some typos in a UCM profile that was added in the previous update which is supposedly preventing working PA on some systems. Please don't mix up things. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c7 Daniel Pecka <nettezzaumanaa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com Flags| |needinfo?(tiwai@suse.com) --- Comment #7 from Daniel Pecka <nettezzaumanaa@gmail.com> --- Created attachment 787561 --> http://bugzilla.novell.com/attachment.cgi?id=787561&action=edit new logs Hello, sorry, I don't want to be a troublemaker, but your "fix" breaks completely the PA .. yes, card works then, but everything else is broken including kmix, capabilities and so on ... please review new logs ... `broken' version is with your fix, no-ucm is just disabled ucm for usb card regards, dan I have to reopen that, outcome of fix is doom (with the exception, that on the surface cards works automatically) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c8 Daniel Pecka <nettezzaumanaa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE |--- --- Comment #8 from Daniel Pecka <nettezzaumanaa@gmail.com> --- review logs, proposed patch breaks PA completely, just diff them -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c9 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(tiwai@suse.com) | --- Comment #9 from Takashi Iwai <tiwai@suse.com> --- (In reply to Daniel Pecka from comment #8)
review logs,
proposed patch breaks PA completely, just diff them
What diff? Sorry, I really don't understand what you're meaning. First of all, you need to revert the updated packages, makes everything working again. Then upgrade one by one. Once when you figure out which one breaks what, then please report. And, as usual, you can try to remove the pulse config ~/.config/pulse to be sure, too. PA often chokes itself by keeping its own broken config. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c10 --- Comment #10 from Daniel Pecka <nettezzaumanaa@gmail.com> --- Created attachment 787570 --> http://bugzilla.novell.com/attachment.cgi?id=787570&action=edit alsa/libasound2/libasound2-32bit == 1.1.5-lp150.5.6.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c11 --- Comment #11 from Daniel Pecka <nettezzaumanaa@gmail.com> --- attaching AGAIN logs from your packages ... see them. They break PA even worse than it was before, wiping profiles, messing volume channels, etc .. !!!! compare that please with ``tiwai-no-ucm.txt'' from previous attachment, I am providing you hard data, what more I can do for you ?? dan ps: previous attachment was:
tar tzvf pulse-logs-1113721-20181029.tgz -rw-r--r-- dpecka/users 27191 2018-10-29 16:45 tiwai-broken.txt -rw-r--r-- dpecka/users 30812 2018-10-29 16:52 tiwai-no-ucm.txt
pps. ofc I wiped my user's ~/.config/pulse, ofc I tried with your packages, ofc I did rollback back to repo-update version (current is alsa/libasound2* == 1.1.5-lp150.5.3.1.x86_64) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c12 --- Comment #12 from Daniel Pecka <nettezzaumanaa@gmail.com> --- SORRY for little confusion ... filename from last file is tiwai-no-ucm.txt.1, it is from my shell history so please ignore filename .. it contains (as you could see) ucm-enabled cards (use_ucm=yes for all in the list) in tgz is tiwai-no-ucm.txt which has GOOD filename and the usb card is configured without ucm (use_ucm=no) sorry for this minor point of confusion in filenames dan -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c13 --- Comment #13 from Takashi Iwai <tiwai@suse.com> --- (In reply to Daniel Pecka from comment #11)
attaching AGAIN logs from your packages ... see them. They break PA even worse than it was before, wiping profiles, messing volume channels, etc .. !!!!
Where? And, which device are you talking about? Sorry, the report is very much confusing, and I can't parse your complaints. Please describe more precisely *which* device are you testing and which application doesn't work. With the new UCM profile, some old setup might become incompatible, sure. If that's the case, it's an application bug. And, if you're speaking of Dell dock, there is no hardware volume control on it. But PA still provides it. This was confirmed on local machines here. The fix was confirmed to for all other people's machines as-is. The behavior change on some application might be expected, but this is the designed change; the UCM profile provides the proper switching of the headphone and the line-out jacks on the dock that totally failed without UCM profile in the past. So again, please be more specific about the breakage. No one can help without proper problem descriptions. As stated in the original URL for Arch and others, the cause was already addressed and it's *exactly* what my fix does. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c14 --- Comment #14 from Takashi Iwai <tiwai@suse.com> --- (In reply to Takashi Iwai from comment #13)
And, if you're speaking of Dell dock, there is no hardware volume control on it. But PA still provides it.
For avoiding further confusion: PA provides a software volume control, and that's all. The hardware has no volume control as is (due to the bug in the firmware, we disable it). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1113721 http://bugzilla.novell.com/show_bug.cgi?id=1113721#c15 Daniel Pecka <nettezzaumanaa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |DUPLICATE --- Comment #15 from Daniel Pecka <nettezzaumanaa@gmail.com> --- setting as duplicate of #1112292 ,, no point of fighting on two fronts *** This bug has been marked as a duplicate of bug 1112292 *** -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com