Patrick Schaaf has reported that the i915 driver is setting his
backlight very dim when he starts GDM.
https://bugzilla.kernel.org/show_bug.cgi?id=23472
It should be the dell-laptop platform driver controlling his backlight.
Gnome tries to restore the backlight settings through the dell_laptop
interface in sysfs but it fails. (Because the platform hardware refuses
to set the settings to what it thinks they already are).
regards,
dan carpenter
On Thu, Nov 25, 2010 at 12:33:01PM +0300, Dan Carpenter wrote:
> Patrick Schaaf has reported that the i915 driver is setting his
> backlight very dim when he starts GDM.
>
> https://bugzilla.kernel.org/show_bug.cgi?id=23472
>
> It should be the dell-laptop platform driver controlling his backlight.
>
> Gnome tries to restore the backlight settings through the dell_laptop
> interface in sysfs but it fails. (Because the platform hardware refuses
> to set the settings to what it thinks they already are).
I think I run into the same problem, xset dpms force standby is enough
to trigger it, after that the backlight will never come up again. I
need to suspend to ram to be able to see my screen again. The screen
is on, just the backlight is off. Not dimmed to low level: completely
off.
Ironically xset dpms force off will come up right... but all screen
powermanagement will start with standby, so I'm stuck for the last few
weeks in presentation mode to be able to work on 37-rc1... It was fine
in .36 and it broke in 37-rc1.
I reported it to [email protected] on 8 Nov but got no reply.
If you need me to test something let me know. It's super annoying when
I unplug the laptop and it exits presentation mode...
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
Thanks,
Andrea
On Thu, 2010-11-25 at 12:33 +0300, Dan Carpenter wrote:
> Patrick Schaaf has reported that the i915 driver is setting his
> backlight very dim when he starts GDM.
>
> https://bugzilla.kernel.org/show_bug.cgi?id=23472
>
> It should be the dell-laptop platform driver controlling his backlight.
>
> Gnome tries to restore the backlight settings through the dell_laptop
> interface in sysfs but it fails. (Because the platform hardware refuses
> to set the settings to what it thinks they already are).
As far as my instrumentation showed, gnome did try no such thing - there
were no setting calls through the backlight interface when I switch
between the GDM screen and text console.
I have now run with drm.debug=0x07 and noticed get/set backlight PWM
messages from intel_panel_get/set_backlight which became lower and lower
in value for each successive switching between GDM login screen and text
console, until reaching a low point and overflowing to 255255.
I append the extract of these kernel messages, as well as putting them
in the bugzilla entry linked above.
Hope this helps clarify the problems I'm seeing.
best regards
Patrick
On Sun, Nov 28, 2010 at 07:05:27PM +0100, Patrick Schaaf wrote:
> On Thu, 2010-11-25 at 12:33 +0300, Dan Carpenter wrote:
> > Patrick Schaaf has reported that the i915 driver is setting his
> > backlight very dim when he starts GDM.
> >
> > https://bugzilla.kernel.org/show_bug.cgi?id=23472
> >
> > It should be the dell-laptop platform driver controlling his backlight.
> >
> > Gnome tries to restore the backlight settings through the dell_laptop
> > interface in sysfs but it fails. (Because the platform hardware refuses
> > to set the settings to what it thinks they already are).
>
Keith Packard wrote in another thread that there were some patches
to address this in his git repo:
git://people.freedesktop.org/~keithp/linux-2.6 drm-intel-next
regards,
dan carpenter