Bug 1405747 - Changing screen brightness freezes xorg - severe regression.
Summary: Changing screen brightness freezes xorg - severe regression.
Keywords:
Status: CLOSED DUPLICATE of bug 1342755
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 24
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-18 03:54 UTC by Stuart D Gathman
Modified: 2019-01-09 12:54 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-16 01:14:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stuart D Gathman 2016-12-18 03:54:01 UTC
Description of problem:
Changing screen brightness by any means instantly freezes xorg.

Version-Release number of selected component (if applicable):
All 4.8.x releases, last freeze that got me:
kernel-4.8.13-200.fc24.x86_64
xorg-x11-drv-intel-2.99.917-24.20160712.fc24.x86_64

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)

How reproducible:
always

Steps to Reproduce:
1. press brightness key OR click on brightness slider in power manager
2. OR plug in laptop after it's been on battery
3. OR boot laptop (it restores screen brightness at boot)

Actual results:
xorg freezes anywhere from 10 secs to infinity.  Even if xorg isn't running, the kernel sits in a spin lock for the 10 secs before timing out.

Expected results:
Normal operation.  Earlier kernels were logging a kernel oops since early 2016, but didn't crash xorg.

Additional info:
bz#1342755 is the report of the kernel oops.  This more serious regression has made 4.8 kernels unusable.

Work around: try to disable all adjustments of screen brightness.  Unfortunately, cinnamon has started insisting on dimming the screen when plugging in the AC adapter - which often permanently freezes xorg.
I'm working on disabling the systemd unit that sets screen brightness
as boot time (which it does twice, adding at least 20 seconds to boot time).

Comment 1 Stuart D Gathman 2016-12-18 04:05:21 UTC
The last time xorg hung permanently, it actually was defunct.

Comment 2 Stuart D Gathman 2016-12-18 04:08:13 UTC
Also, when xorg freezes permanently, while the network is still active, and you can log in remotely, systemctl reboot (or poweroff) will not complete.  It freezes trying to shutdown.  You have to force power off.

Comment 3 Stuart D Gathman 2016-12-19 00:39:13 UTC
Still broken in 4.8.14.  Switching from text console back to GUI console also sets brightness (and hangs xorg).  Logging in to GUI sets brightness and hangs xorg (usually not permanently).  I haven't found a way to globally disable changes in brightness.

Comment 4 Stuart D Gathman 2017-01-16 01:14:35 UTC

*** This bug has been marked as a duplicate of bug 1342755 ***


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