Bug 1321266 - restore CONFIG_ACPI_REV_OVERRIDE_POSSIBLE to avoid regression on Dell XPS 13
Summary: restore CONFIG_ACPI_REV_OVERRIDE_POSSIBLE to avoid regression on Dell XPS 13
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 23
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1313434
TreeView+ depends on / blocked
 
Reported: 2016-03-25 06:29 UTC by James Cimino
Modified: 2016-05-29 02:18 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-27 13:31:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description James Cimino 2016-03-25 06:29:03 UTC
Description of problem:
Recent Fedora kernels for F23 have disabled the CONFIG_ACPI_REV_OVERRIDE_POSSIBLE option. This causes a regression on Dell XPS 13 (9343) severe problems with audio playback.

Version-Release number of selected component (if applicable):
kernel-4.4.2
kernel-4.4.3
kernel-4.4.4
kernel-4.4.5
kernel-4.4.6

How reproducible:
With any Fedora kernel 4.4.x so far

Steps to Reproduce:
1. Upgrade from kernel 4.3 to 4.4
2. reboot twice
3. try to play audio

Actual results:
No audio.

Expected results:
Audio is available.

Additional info:
This is a clear regression. Please restore previous behavior by re-enabling CONFIG_ACPI_REV_OVERRIDE_POSSIBLE.

Comment 1 James Cimino 2016-03-25 06:36:59 UTC
There is a discussion of this regression on LWN.
http://lwn.net/Articles/680324/

Summary:
- CONFIG_ACPI_REV_OVERRIDE_POSSIBLE only affects Dell XPS 13.
- The code in question sets a flag that causes the kernel to revert to its <= 4.2 behavior.
- The code is gated behind a DMI check that only runs on the specific laptop.

Comment 2 Enrico Tagliavini 2016-03-25 10:38:52 UTC
See also upstream bug. https://bugzilla.kernel.org/show_bug.cgi?id=114171

I don't think this is actually a pure kernel problem, a lot of userspace bits (mostly configs) are missing. First of all alsa-ucm should be installed and it's not, by default. Second an actual config matching laptops is missing. The actual config file[1] seems to be for a tablet. Result is jack detection (and automatic switch between speakers and headphones) is broken.

[1] http://git.alsa-project.org/?p=alsa-lib.git;a=tree;f=src/conf/ucm/broadwell-rt286;hb=HEAD

Comment 3 James Cimino 2016-04-05 08:18:08 UTC
(In reply to Enrico Tagliavini from comment #2)
> I don't think this is actually a pure kernel problem,
> a lot of userspace bits (mostly configs) are missing.

That's besides the point. Audio worked with previous kernels. Due to a kernel upgrade it is now broken.

This is a regression with an easy and known fix: simply restore CONFIG_ACPI_REV_OVERRIDE_POSSIBLE.

Fixing userspace bits is always welcome, but this should have been done in the first place when the kernel was modified (when CONFIG_ACPI_REV_OVERRIDE_POSSIBLE was removed).

Comment 4 Enrico Tagliavini 2016-04-05 08:45:30 UTC
Sure agreed with it. I was just pointing out the primary source of the problem and that user space adjustment is needed more than a kernel code fix. The CONFIG_ACPI_REV_OVERRIDE_POSSIBLE could be switched off again when the userspace is actually fixed / updated / correctly configured to handled this hardware in I2S mode.

Comment 5 Francisco Cribari 2016-04-05 21:16:04 UTC
I run Fedora 23 on a Dell XPS 13 notebook (model 9343, bios A07). Since I upgraded to kernel 4.4 I have no audio. I filed a bug report: 

https://bugzilla.redhat.com/show_bug.cgi?id=1313434

The problem persisted even after I upgraded alsa-lib and alsa-ucm to version 1.1.1-1. I filed a bug report: 

https://bugzilla.redhat.com/show_bug.cgi?id=1313434

This is my primary working machine and this bug has been causing me a lot of trouble.

Comment 6 James Cimino 2016-04-13 16:13:09 UTC
Laura Abbott and Justin Forbes: your input here would be appreciated.

Comment 7 Josh Boyer 2016-05-27 13:31:28 UTC
F23 was rebased to 4.5.y.


Note You need to log in before you can comment on or make changes to this bug.