Bug 83459 - [hsw] Dual display Lenovo IdeaPad y510p requires i915.invert_brightness=1 to not dim screen
Summary: [hsw] Dual display Lenovo IdeaPad y510p requires i915.invert_brightness=1 to ...
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 21:34 UTC by Piotr Król
Modified: 2017-07-24 22:51 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg with drm.debug=0xe (115.86 KB, text/plain)
2014-09-11 19:41 UTC, Piotr Król
no flags Details
/sys/class/backlight (148 bytes, text/plain)
2014-09-11 19:42 UTC, Piotr Król
no flags Details

Description Piotr Król 2014-09-03 21:34:44 UTC
As advised on dri-devel@lists.freedesktop.org by Jani Nikula I would like to report that my Lenovo IdeaPad requires i915.invert_brightness=1 kernel parameter to not dim screen after boot. According to Jani 'this is highly unlikely to be the case on' my hardware. I use dual display with Samsung SyncMaster 931BF, latest kernel (3.17.0-rc3+) and Debian Jessie/Sid.

[12:39:34] pietrushnic:~ $ lspci -s 00:02.0  -vmm                                                                                                                                                                
Slot:   00:02.0                                                                                                                                                                                                  
Class:  VGA compatible controller                                                                                                                                                                                
Vendor: Intel Corporation                                                                                                                                                                                        
Device: 4th Gen Core Processor Integrated Graphics Controller                                                                                                                                                    
SVendor:        Lenovo                                                                                                                                                                                           
SDevice:        Device 3801                                                                                                                                                                                      
Rev:    06                                                                                                                                                                                                       
                                                                                                                                                                                                                 
[12:39:58] pietrushnic:~ $ lspci -s 00:02.0  -vmm -n                                                                                                                                                             
Slot:   00:02.0                                                                                                                                                                                                  
Class:  0300                                                                                                                                                                                                     
Vendor: 8086                                                                                                                                                                                                     
Device: 0416                                                                                                                                                                                                     
SVendor:        17aa                                                                                                                                                                                             
SDevice:        3801                                                                                                                                                                                             
Rev:    06 

If you need more information I would be glad to help with debugging and testing.

Regards,
Piotr Król
Comment 1 Jani Nikula 2014-09-11 16:23:14 UTC
Please attach dmesg with drm.debug=0xe from early boot to the problem, without the invert_brightness module parameter.

Can you adjust brightness?

What do you have in /sys/class/backlight?
Comment 2 Piotr Król 2014-09-11 19:41:49 UTC
Created attachment 106153 [details]
dmesg with drm.debug=0xe
Comment 3 Piotr Król 2014-09-11 19:42:14 UTC
Created attachment 106154 [details]
/sys/class/backlight
Comment 4 Piotr Król 2014-09-11 19:43:56 UTC
Yes I can adjust brightness using function keys.

/sys/class/backlight
└── intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

1 directory, 0 files
Comment 5 Piotr Król 2014-09-20 20:30:41 UTC
I have new observation, beacuse I'm using dual monitor setup (laptop + samsung over hdmi) I didn't realize that disconnecting HDMI and booting with i915.invert_brightness=1 cause laptop screen is black and I cannot increase brightness or switch to tty console. After removing i915 parameter y510p boots with normal scree brightness.

So it is definitely related with dual monitor configuration.
Comment 6 Jani Nikula 2014-09-23 07:50:56 UTC
Let me get this straight: without the external monitor everything works fine, and you don't need to use i915.invert_brightness=1? (And in fact the parameter breaks things in this setup.)
Comment 7 Piotr Król 2014-09-23 09:24:15 UTC
Exactly. The problem is that configuration with dual monitor start with dimmed screen without i915.invert_brightness=1, so option is needed, but when I add it permanently and want to take my laptop away (disconnect second monitor) I cannot see anything - screen is blank (this is not dimmed screen - this is other problem).
Comment 8 Jani Nikula 2014-09-23 13:14:02 UTC
Let's focus on *not* adding i915.invert_brightness=1. Is there a difference between booting with the external monitor connected vs. disconnected and hotplugged later?
Comment 9 Piotr Król 2014-09-23 22:33:51 UTC
No there is no difference in both cases laptop screen brightness going to 0. I checked on 3.17.0-rc3, rc5 and rc6.
Comment 10 Jani Nikula 2015-01-29 13:12:19 UTC
Long time no updates. Please try drm-intel-nightly branch of http://cgit.freedesktop.org/drm-intel
Comment 11 Jesse Barnes 2015-03-25 22:13:01 UTC
Timing out, hopefully it's not an issue anymore or the machine has been destroyed in a fire.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.