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#67134 - [linux-firmware] No sound in headphones.

Attached to Project: Arch Linux
Opened by luntik2012 (luntik2012) - Sunday, 28 June 2020, 00:02 GMT
Last edited by freswa (frederik) - Sunday, 28 June 2020, 00:09 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

Crackling headphones, no sound. Speakers sound is ok.

Additional info:
* package version(s)

20200519.8ba6fa6-1

* config and/or log files etc.

Attached lsmod, aplay, lspci (anything else needed?)

* link to upstream bug report, if any

Steps to reproduce:

install package

Workaround:

install 20200421.78c0348-1
   log (11.6 KiB)
This task depends upon

Comment by loqs (loqs) - Sunday, 28 June 2020, 13:21 GMT
Do the headphones use bluetooth? The only changes between 20200421 and 20200519 were to bluetooth and wireless ethernet.

git.diff is the output of git diff 20200421..20200519 for the linux-firmware git repo
git.log is the output of git log 20200421..20200519 for the linux-firmware git repo
   git.diff (20.1 KiB)
   git.log (6.2 KiB)
Comment by luntik2012 (luntik2012) - Sunday, 28 June 2020, 17:00 GMT
@loqs

no, usual 3.5 jack
Comment by loqs (loqs) - Sunday, 28 June 2020, 17:06 GMT
Just downgrading the firmware package to 20200421.78c0348-1 then rebooting without changing anything else and the issue is no longer reproducible?
Comment by luntik2012 (luntik2012) - Monday, 29 June 2020, 05:24 GMT
@loqs yes. I've tried to use previous kernel version and lts kernel version before, didn't help
Comment by loqs (loqs) - Monday, 29 June 2020, 21:05 GMT
git.files lists files that have changed or been added between the two releases. No files were removed between the two releases.
Please identify which file(s) trigger the issue.
You could also bisect [1] between the two releases and identify the commit that caused the issue.

[1] https://wiki.archlinux.org/index.php/Bisecting_bugs_with_Git
Comment by luntik2012 (luntik2012) - Tuesday, 30 June 2020, 06:19 GMT
@loqs

OK, I'll recheck my issue again. If it's linux-firmware issue, I'll record a video for both package versions demonstrating bug, or 'll close issue otherwise.
Comment by deadpyxel (deadpyxel) - Tuesday, 30 June 2020, 14:50 GMT
Just for completeness sake, I just experienced this bug after a restart. Tried the proposed workaround and no audio output from headphones, while laptop speakers are fine. I'm running the kernel `5.7.6-arch1-1`.
Comment by loqs (loqs) - Tuesday, 30 June 2020, 15:25 GMT
@deadpyxel if you upgraded the kernel as well as the firmware see  FS#67135 .
Comment by deadpyxel (deadpyxel) - Tuesday, 30 June 2020, 15:40 GMT
Last kernel update I did was on 2020-06-25, and I was using it fine before. Last update on linux-firmware was 2020-05-29. Do you think it is related?
Comment by loqs (loqs) - Tuesday, 30 June 2020, 16:04 GMT
@deadpyxel sound stopped working after the kernel update not after the linux-firmware update?
If so can you not test downgrading the kernel?
Comment by deadpyxel (deadpyxel) - Tuesday, 30 June 2020, 16:32 GMT
Alright, I got some time and did some tests, this is indeed related to #67135 . I tested the following combinations with the respective results:

- kernel : 5.7.6-arch1-1 + linux-firmware: 20200519.8ba6fa6-1 = no sound on headphones/laptop speakers fine
- kernel : 5.7.6-arch1-1 + linux-firmware: 20200421.78c0348-1 = no sound on headphones/laptop speakers fine
- kernel : 5.7.5-arch1-1 + linux-firmware: 20200519.8ba6fa6-1 = no sound on headphones/laptop speakers fine
- kernel : 5.7.5-arch1-1 + linux-firmware: 20200421.78c0348-1 = OK

I am unable to test on lts-kernel, but would probably work at leas with linux-firmware 20200421.78c0348-1. Would be good if we got a confirmation for that (I think).

As an answer to the question. The sound was working fine after multiple restarts I did between 28th and 29th. just today, at morning, when I restarted it was broken. Like I said, my last update of the related applications was in the dates mentioned. Sorry for the confusion. All was working fine until this morning, so there may be another suspect (even thought I didn't update anything besides firefox today, and it was broken before firefox update)
Comment by loqs (loqs) - Tuesday, 30 June 2020, 20:40 GMT
Can you can locate the causal commit in linux-firmware when using 5.7.5-arch1-1 or the causal commit in linux 5.7.6-arch1-1 when using linux-firmware 20200421.78c0348-1 ?
Comment by deadpyxel (deadpyxel) - Tuesday, 30 June 2020, 21:24 GMT
Sorry if this is a bad question, but how would I achieve that?
Comment by deadpyxel (deadpyxel) - Tuesday, 30 June 2020, 21:55 GMT
Sorry if this is a bad question, but how would I achieve that?
Comment by loqs (loqs) - Wednesday, 01 July 2020, 14:36 GMT
See attached file for step by step instructions for linux-firmware bisection.
Edit:
Please reboot before every test.

Loading...