Bug 368221

Summary: Unable to adjust display brightness on Dell laptop, powerdevil messages in journalctl
Product: [Plasma] Powerdevil Reporter: Jamie <jamiesexton35>
Component: generalAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: justin.zobel
Priority: NOR    
Version: 5.7.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jamie 2016-09-04 01:11:09 UTC
This seems to be a bug with either the Powerdevil configuration but looks related to the Xorg driver, I had previously added this but should have reported properly instead of just on the ubuntu bugtracker https://bugs.launchpad.net/bugs/1503168. I haven't tried that fix yet with the latest Manjaro but it does also apply as well with both Kubuntu 16.10 and Manjaro with all updates including the Intel DRM nightly drivers from git. This seems to affect multiple types of Dell laptops also including the Studio 1737 and N7010 (both about 10 years old) and both with integrated Intel HD graphics. The Kubuntu install is since Alpha release, and the Manjaro install since 8/15 and is running 4.8.0-rc4-mainline as well. Appears the issue has resurfaced since the KDE 5.x branch. Will add additional bug report from Kubuntu 16.10 as well for secondary verification and information reporting


Reproducible: Always

Steps to Reproduce:
1.Use the function keys to adjust brightness
2.Watch the brightness bar go from none to full and back




Actual Results:  
End result, no change in display brightness but does log some journalctl error messages when checking with `journalctl -xe --no-pager|grep -C10 bright`




Expected Results:  
screen backlight brightness should have changed

inxi -SG

```
System:    Host: Manjaro-N7010 Kernel: 4.8.0-rc4-mainline x86_64 (64 bit) Desktop: KDE Plasma 5
           Distro: Manjaro Linux
Graphics:  Card: Intel Core Processor Integrated Graphics Controller
           Display Server: X.Org 1.17.4 driver: intel Resolution: 1600x900@60.28hz
           GLX Renderer: Mesa DRI Intel Ironlake Mobile GLX Version: 2.1 Mesa 12.0.1
```

Latest KDE frameworks and version from Manjaro
kdeinit5 --version

```
Qt: 5.7.0
KDE: 5.25.0
```

journalctl --no-pager -u user@1000.service 

```
Sep 03 18:48:40 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Sep 03 18:48:40 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         Output:  66
Sep 03 18:48:40 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         Property:  Backlight
Sep 03 18:48:40 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         State (newValue, Deleted):  0
Sep 03 18:48:40 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Sep 03 18:48:40 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         Output:  66
Sep 03 18:48:40 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         Property:  Backlight
Sep 03 18:48:40 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.help
```

Manjaro-N7010 ~]$ journalctl -xe --no-pager|grep -C10 bright | tail -30

```
Sep 03 18:58:01 Manjaro-N7010 kdeinit5[793]: powerdevil: Brightness changed!!
Sep 03 18:58:01 Manjaro-N7010 kdeinit5[793]: powerdevil: Screen brightness value max:  15
Sep 03 18:58:01 Manjaro-N7010 kdeinit5[793]: powerdevil: Screen brightness value:  5
Sep 03 18:58:01 Manjaro-N7010 kdeinit5[793]: powerdevil: Brightness changed!!
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: Screen brightness value:  5
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: Screen brightness value max:  15
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: set screen brightness value:  6
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: Screen brightness value max:  15
Sep 03 18:58:02 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Sep 03 18:58:02 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         Output:  66
Sep 03 18:58:02 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         Property:  Backlight
Sep 03 18:58:02 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         State (newValue, Deleted):  0
Sep 03 18:58:02 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Sep 03 18:58:02 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         Output:  66
Sep 03 18:58:02 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         Property:  Backlight
Sep 03 18:58:02 Manjaro-N7010 kscreen_backend_launcher[881]: kscreen.xcb.helper:         State (newValue, Deleted):  0
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: Screen brightness value:  6
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: Brightness changed!!
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: Screen brightness value max:  15
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: Screen brightness value:  6
Sep 03 18:58:02 Manjaro-N7010 kdeinit5[793]: powerdevil: Brightness changed!!
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QXcbConnection: XCB error: 2 (BadValue), sequence: 40176, resource id: 54525956, major code: 142 (Unknown), minor code: 3
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QXcbConnection: XCB error: 2 (BadValue), sequence: 40211, resource id: 52428805, major code: 142 (Unknown), minor code: 3
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QPainter::begin: Paint device returned engine == 0, type: 2
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QPainter::save: Painter not active
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QPainter::translate: Painter not active
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QPainter::scale: Painter not active
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QPainter::worldTransform: Painter not active
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QPainter::setPen: Painter not active
Sep 03 18:58:10 Manjaro-N7010 plasmashell[888]: QPainter::setBrush: Painter not active
```
Comment 1 Justin Zobel 2020-11-12 23:00:07 UTC
Thanks for the report Jamie.

I've just tested this on my Dell Inspiron and I cannot reproduce this issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Bug Janitor Service 2020-11-27 04:33:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-12-12 04:34:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!