Bug 989084 - Intel HD 4000 doesn't work with 3.10 kernel
Summary: Intel HD 4000 doesn't work with 3.10 kernel
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-27 12:52 UTC by The Source
Modified: 2013-10-27 23:20 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-08 16:46:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
diff fixing backlight issue for grub bootline (/boot/efi/EFI/fedora/grub.cfg) (914 bytes, patch)
2013-09-10 16:12 UTC, markusN
no flags Details | Diff

Description The Source 2013-07-27 12:52:30 UTC
Description of problem:
In recent kernel 3.10.3-300.fc19.x86_64 screen goes black when Xorg starts, nothing to do except reboot the system. Hardware: asus n56vb laptop, intel hd4000 video (intel core i7 3630QM). No errors in Xorg log. Works fine with 3.9.9-302.fc19.x86_64 kernel.

Version-Release number of selected component (if applicable):
3.10.3-300.fc19.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Justin Albstmeijer 2013-07-28 06:54:22 UTC
Same issue here with

Integrated Graphics Chipset: Intel(R) Ivybridge Mobile (GT2) / i965

Comment 2 Josh Boyer 2013-07-29 12:42:58 UTC
This might be a duplicate of 989093.  Please test the 3.10.4 build later today.

Comment 3 Justin Albstmeijer 2013-07-31 19:00:29 UTC
Tested kernel-3.10.4-300.fc19.x86_64, has the same problem/effect as kernel-3.10.3-300.fc19.x86_64.

Comment 4 The Source 2013-08-03 16:54:59 UTC
I confirm, in 3.10.4 problem still persists

Comment 5 markusN 2013-08-07 16:22:03 UTC
Same problem here (ASUS X202E, Intel HD4000, i3-3217U CPU) and
kernel 3.10.4-300.fc19.x86_64.

Workaround:
I discovered that "just" the brightness appears to be at 0. Using
the brightness related key on the keyboard switches it on.

Note: There was no such problem in F18, I just updated with fedup to F19.

lspci -nn | grep Intel
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
00:04.0 Signal processing controller [1180]: Intel Corporation 3rd Gen Core Processor Thermal Subsystem [8086:0153] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM76 Express Chipset LPC Controller [8086:1e59] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
00:1f.6 Signal processing controller [1180]: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller [8086:1e24] (rev 04)

Comment 6 Justin Albstmeijer 2013-08-07 18:47:42 UTC
Integrated Graphics Chipset: Intel(R) Ivybridge Mobile (GT2) / i965

I can confirm the workaround "adjusting brightness up" works for me too, good find markusN!

Comment 7 The Source 2013-08-08 13:51:47 UTC
This workaround doesn't work for me because function keys on my laptop is not always recognized properly. Some work only after login, some (calc, cam) can even scramble future function key sequences (what's the problem with asus laptop keyboards? function keys almost never worked properly). However I can type password 'blindly' and login, and brightness gets automatically adjusted to 100% after login.

Comment 8 markusN 2013-08-09 06:07:21 UTC
(In reply to The Source from comment #7)
> This workaround doesn't work for me because function keys on my laptop is
> not always recognized properly.

Confirmed for the brightness keys (kind of random behaviour).

> However I can type password 'blindly' and login, and brightness 
> gets automatically adjusted to 100% after login.

Also confirmed, I work like this at time rather than trying my
previous workaround.

I wonder if the value is store here (and initially at 0):
/sys/class/backlight/acpi_video0/brightness

Comment 9 markusN 2013-08-17 01:44:30 UTC
(In reply to markusN from comment #8)
> (In reply to The Source from comment #7)

The recent update to3.10.6-200.fc19.x86_64 did not help.
 
> > However I can type password 'blindly' and login, and brightness 
> > gets automatically adjusted to 100% after login.

Still valid.

Comment 10 The Source 2013-08-17 04:15:24 UTC
I'm now using 'provider output source' randr extension to render everything on nvidia card. I had to place some additional commands into login manager startup script to make such setup work properly. I found out that brightness on login screen is perfectly fine with 3.10.6 kernel in this case. I'm not sure if it will work with pure intel rendering but could you try placing 'xrandr --auto' into your login manager startup script? (for kdm it's /etc/kde/kdm/Xsetup)

Comment 11 markusN 2013-08-17 08:12:07 UTC
(In reply to The Source from comment #10)
> ... but could you try placing
> 'xrandr --auto' into your login manager startup script? (for kdm it's
> /etc/kde/kdm/Xsetup)

I am using lightdm-1.6.0-10.fc19.x86_64 and wonder where to find the
login manager startup script in this case. Or any other place to put
the command?

Comment 12 markusN 2013-08-17 21:29:18 UTC
OK, I found a new trick: I have added in file

/etc/profile

the line:

echo "80" > /sys/class/backlight/acpi_video0/brightness

Dirty hack but helpful.

Comment 13 markusN 2013-08-21 09:48:59 UTC
This bug report may be of interest:

https://bugzilla.kernel.org/show_bug.cgi?id=51231

as well as
https://bugzilla.kernel.org/show_bug.cgi?id=60682

Comment 14 markusN 2013-08-26 05:39:19 UTC
(In reply to markusN from comment #9)
> (In reply to markusN from comment #8)
> > (In reply to The Source from comment #7)
> > > However I can type password 'blindly' and login, and brightness 
> > > gets automatically adjusted to 100% after login.
> 
> Still valid.

The same with kernel 3.10.9-200.fc19.x86_64

Comment 15 markusN 2013-09-05 18:27:16 UTC
After login the backlight is 0%:

[root@oboe grassdata]# intel_backlight 
current backlight value: 0%

Like this it switch properly on:
[root@oboe grassdata]# intel_backlight 100
current backlight value: 0%
set backlight to 100%

The command is available in the RPM intel-gpu-tools.

Kernel 3.10.10-200.fc19.x86_64 still shows the backlight=0% bug.

Comment 16 markusN 2013-09-10 16:10:07 UTC
It seems that I found a solution:

Edit /boot/efi/EFI/fedora/grub.cfg and add to the grub bootline

acpi_backlight=vendor

See attachment "grub_intel_backlight_fix.diff" for the change.
Now also the Asus brightness function keys work properly and
no longer randomly.

See also Bug 991707 comment 23

Comment 17 markusN 2013-09-10 16:12:27 UTC
Created attachment 796069 [details]
diff fixing backlight issue for grub bootline (/boot/efi/EFI/fedora/grub.cfg)

Comment 18 Justin Albstmeijer 2013-09-10 17:56:01 UTC
markusN,

Thank you, works for me.

Gr, J

Comment 19 Josh Boyer 2013-09-18 20:42:34 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 19 kernel bugs.

Fedora 19 has now been rebased to 3.11.1-200.fc19.  Please test this kernel update and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 20 Josh Boyer 2013-10-08 16:46:52 UTC
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and attach the relevant data from the latest kernel you are running and any data that might have been requested previously.

Comment 21 markusN 2013-10-09 21:10:05 UTC
For the record:

As reported above, editing manually the boot option in
/boot/efi/EFI/fedora/grub.cfg helps. With each update, I add

acpi_backlight=vendor

(However, due to other severe bugs (alx driver bug, mei_me bug
which both fill the hard disk with log junk), I have to stick
with kernel 3.10.6, so not much to report here)

Comment 22 Mark Lamourine 2013-10-27 23:20:42 UTC
I'm finding that the work around does no solve the problem for kernel-3.11.6-200.fc19.x86_64

adding acpi_backlight=vendor to the /etc/sysconfig/grub GRUB_CMDLINE_LINUX variable still results in screen blank early in the boot process.


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