Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37284 - [pulseaudio] 4.0-3 breaks analog output on Gigabyte Z77X-UD5H mobo with Realtek ALC898 codec

Attached to Project: Arch Linux
Opened by Gun Onen (gun26) - Friday, 11 October 2013, 01:43 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 15 October 2013, 22:05 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After installing pulseaudio 4.0-3 in testing, the analog output for speakers disappears from mixer (pavucontrol and Gnome 3.10 stock mixer). Deleting users's ~/.config/pulse doesn't help. Downgrading to 4.0-2 brings back analog output.

Additional info:
* package version(s)
* config and/or log files etc.
System-wide and user's config are both stock.

Steps to reproduce:
Install pulseaudio 4.0-3
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 15 October 2013, 22:05 GMT
Reason for closing:  Works for me
Comment by Gun Onen (gun26) - Friday, 11 October 2013, 16:10 GMT
no change with 4.0-4. I still need to downgrade to 4.0-2 to get analog output back.
Comment by Jan Alexander Steffens (heftig) - Saturday, 12 October 2013, 19:37 GMT
Can you bisect between 4.0 (good) and f81e3e1 (bad), please?
Comment by Gun Onen (gun26) - Sunday, 13 October 2013, 05:22 GMT
I'd never bisected with git before, but I found some instructions online and git ended up telling me:

ecf3ab2b5788c85c237eeb6429bd1d525b9ac0cc is the first bad commit
commit ecf3ab2b5788c85c237eeb6429bd1d525b9ac0cc
Author: David Henningsson <david.henningsson@canonical.com>
Date: Tue Jun 4 15:41:57 2013 +0200

alsa-mixer: Add "Line Out" path

If there is a "Line Out" jack present, then add this path. The fallback
analog-output will be a subset of this path and removed.

I only use the "Line Out Jack" or "Line Out Front Jack" for actual jack
detection - without anything connected to the front jack, it makes little
sense to enable the port.
(Another option could perhaps be to use different paths for stereo line out
and surround line outs, but that could be a possible future improvement.)

:040000 040000 d2d71862f4b343f545e9d8bc153dffd97043bf8a 61208610738814695730c33455ad43a65f9add6c M src
Comment by Jan Alexander Steffens (heftig) - Sunday, 13 October 2013, 05:26 GMT
Okay, that should be enough info to start with. Please go to
https://bugs.freedesktop.org/enter_bug.cgi?product=PulseAudio&component=alsa
to submit an upstream bug report, then post the link to it here.
Comment by Gun Onen (gun26) - Sunday, 13 October 2013, 06:02 GMT Comment by Gun Onen (gun26) - Monday, 14 October 2013, 17:01 GMT
Jan, I got lots of help from Raymond at https://bugs.freedesktop.org/show_bug.cgi?id=70419 and he referred me to their  bug 69676 , to which David Henningsson posted a patch that is now in their mainline. So I tried building pulseaudio with your PKGBUILD but pulling mainline and analog sound works. I know these git snapshots are all transitory to accommodate bluez 5.0 until their next release, so if no one else has my problem I'm happy to stay with mainline. If others have the problem I did you might use a newer snapshot that incorporates David Henningsson's patch from  bug 69676 . I don't want to cause you to waste time on this so I guess it's fine to close this bug if you want. I can test anything else as well if you need. Thanks again.
Comment by Jan Alexander Steffens (heftig) - Monday, 14 October 2013, 17:45 GMT
That patch (commit 798525b) is in the "bad" releases you tested, which were commit 35fea57 ("4.0-3") and f81e3e1 ("4.0-4"), so your explanation doesn't fit. Which commit did you build? Did you alter anything but the source= line?
Comment by Gun Onen (gun26) - Monday, 14 October 2013, 19:38 GMT
The one that git bisect identified was the one in my second comment here, ecf3ab2 dated June 4. The one Henningsson posted at https://bugs.freedesktop.org/show_bug.cgi?id=69676 is dated September 23. I built current mainline, v4.0.58.g22aac4e, using your PKGBUILD but turning it into a git PKGBUILD by incorporating what I saw in /usr/share/pacman/PKGBUILD-git.proto. I tried to change your PKGBUILD as little as possible. If the September 23 patch is actually in 4.0-3 and 4.0-4, then that must not be why current mainline works for me. Sorry for the confusion.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 15 October 2013, 13:15 GMT
22aac4e is 4 months old, and hardly current. In fact, it is the commit right before ecf3ab2.
Comment by Gun Onen (gun26) - Tuesday, 15 October 2013, 16:45 GMT
Then I guess I misinterpreted what Raymond put in his first comment at their tracker. In any case mainline is working for me so I'm hopeful upstream's next release will be good as well. Since no one else seems to have this problem with the git snapshots in 4.0-3 and 4.0-4 it's not a big deal. I can stay on the latest git version for now, this is a fast system and building locally is no hardship.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 15 October 2013, 16:46 GMT
You misunderstood me. What you built is an old version. The git snapshots I made are the newest mainline (master).
Comment by Gun Onen (gun26) - Tuesday, 15 October 2013, 22:04 GMT
oh DUH! I now see what I did, I used the same checkout I bisected with, so it didn't advance to head. I just tried again starting with a fresh checkout, this time building v4.0.270.g9490a06 which really is up to date, and it worked (clearing ~/.config/pulse with pulseaudio not running) . Then on a hunch I reinstalled 4.0-4, again clearing user config just to be sure, and it worked too! I now think what happened earlier with 4.0-3 and 4.0-4 was that I hadn't cleared user config. Also, starting pulseaudio the first time with no config, it defaults to headphones rather than line out. Once line out is selected, the analog output to speakers works. When it didn't work the first time and I didn't see analog output as one of the choices, I jumped to the wrong conclusion. Sorry for wasting your time, Jan.

Loading...