Bug 58181 - [gma500] Maximum screen brightness capped at 80 under gma500
Summary: [gma500] Maximum screen brightness capped at 80 under gma500
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P3 low
Assignee: Patrik Jakobsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-15 06:44 UTC by Bruno Dias
Modified: 2016-03-23 18:28 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.9.2
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Bruno Dias 2013-05-15 06:44:53 UTC
As of the 3.9 kernel, the gma500 driver now properly supports setting the screen brightness, and the brightness keys work as intended, with one exception: The brightness is maxed out at 80.

I can set the brightness to 100 (The actual maximum) by writing to sys/class/backlight/psb-bl/brightness, as normal, but the actual brightness+ key won't raise it over 80. In a possibly unrelated issue, disconnecting or connecting the AC adapter causes the brightness level to reset to 80, if it is higher than 80.
Comment 1 Patrik Jakobsson 2013-05-27 11:00:44 UTC
Hi Bruno

Since changing screen brightness now "works" it has made other problems visible. This is something I'm gonna look into. I also have issues with setting the backlight from things like Unity and getting the wrong level after DPMS off/on and after suspend/resume.

I'll get back to you when I've had a chance to look at it.

Thanks
Patrik
Comment 2 Bruno Dias 2013-05-28 14:20:47 UTC
Thanks for the response, Patrik

To keep you up to date - I am now on kernel version 3.9.4 and this problem persists, and I've also been noticing brightness levels being wrong after suspend/resume. I'm curious about you mentioning Unity - have you been able to get Unity to a usable state under the gma500_gfx driver at all? Anything that leans heavily on OpenGL acceleration (Gnome shell 3 and Cinnamon for example) is unusably slow for me with this driver.

Thanks again,
Bruno
Comment 3 Patrik Jakobsson 2013-05-29 19:13:26 UTC
As for Unity, it's totally useless for me as well, but I include it in my testings. I almost have a working DDX with EXA so hopefully there will be the possibility for 2D accelerated X in 3.11 or 3.12. It might not be enough for compositing WM's but will help LXDE and friends.
Comment 4 Jani Nikula 2013-10-09 12:36:19 UTC
FYI, if the hotkeys work through acpi, they respect the brightness levels from BIOS. This means there's a fixed set of levels, the lowest of which may not be 0%, and the highest may not be 100%.

Disclaimer: I don't know how any of this works in gma500.
Comment 5 Patrik Jakobsson 2013-10-10 09:20:29 UTC
Then that is probably the reason for the 80% cap. It looks to me that the brightness is set twice (BIOS and driver) so that could be the problem for the other issues that I'm getting. Still on the todo-list though.

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