From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106228] amdgpu reads back brightness 0 (which is not true) if
checked before a brightness has been explicitly set
Date: Wed, 25 Apr 2018 03:43:32 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0708541439=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 9DBFF6E0F2
for ; Wed, 25 Apr 2018 03:43:32 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0708541439==
Content-Type: multipart/alternative; boundary="15246278120.E7Ce.10510"
Content-Transfer-Encoding: 7bit
--15246278120.E7Ce.10510
Date: Wed, 25 Apr 2018 03:43:32 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106228
Bug ID: 106228
Summary: amdgpu reads back brightness 0 (which is not true) if
checked before a brightness has been explicitly set
Product: DRI
Version: unspecified
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: jian-hong@endlessm.com
Created attachment 139091
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139091&action=3Dedit
The full dmesg
I have tried to install Linux OS on ASUS laptop which is equipped with AMD
Ryzen 5 2500U with Radeon Vega Mobile Gfx.
When the Linux installation completed and entered to the OS, the brightness=
of
display looks normal but the brightness bar is shown as the lowest level wi=
thin
the display's brightness GUI setting.
Also check "cat /sys/class/backlight/amdgpu_bl0/brightness" and it is 0.
After a system reboot, Brightness is dimmed to the lowest level.
Check "cat /sys/class/backlight/amdgpu_bl0/brightness" again and it is 12.
To make sure it is the problem that "system always reads back brightness 0 =
if
checked before a brightness has been explicitly set".
I disable all of the brightness setting applications, including masking
systemd-backlight service and than reboot.
"cat /sys/class/backlight/amdgpu_bl0/brightness" before set brightness manu=
ally
again and it reads back 0, but the brightness of display looks normal actua=
lly.
Then, if I drag the brightness bar in GUI, the actual brightness changes and
the "/sys/class/backlight/amdgpu_bl0/brightness" goes to the right value.
And, I reboot again, then the same things happen again.
I also tried this with kernel v4.17.0-rc2. It still has the same problem.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15246278120.E7Ce.10510
Date: Wed, 25 Apr 2018 03:43:32 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
106228
|
| Summary |
amdgpu reads back brightness 0 (which is not true) if checked=
before a brightness has been explicitly set
|
| Product |
DRI
|
| Version |
unspecified
|
| Hardware |
Other
|
| OS |
Linux (All)
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
DRM/AMDgpu
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
jian-hong@endlessm.com
|
Created attachment 139091 [details]
The full dmesg
I have tried to install Linux OS on ASUS laptop which is equipped with AMD
Ryzen 5 2500U with Radeon Vega Mobile Gfx.
When the Linux installation completed and entered to the OS, the brightness=
of
display looks normal but the brightness bar is shown as the lowest level wi=
thin
the display's brightness GUI setting.
Also check "cat /sys/class/backlight/amdgpu_bl0/brightness" and i=
t is 0.
After a system reboot, Brightness is dimmed to the lowest level.
Check "cat /sys/class/backlight/amdgpu_bl0/brightness" again and =
it is 12.
To make sure it is the problem that "system always reads back brightne=
ss 0 if
checked before a brightness has been explicitly set".
I disable all of the brightness setting applications, including masking
systemd-backlight service and than reboot.
"cat /sys/class/backlight/amdgpu_bl0/brightness" before set brigh=
tness manually
again and it reads back 0, but the brightness of display looks normal actua=
lly.
Then, if I drag the brightness bar in GUI, the actual brightness changes and
the "/sys/class/backlight/amdgpu_bl0/brightness" goes to the righ=
t value.
And, I reboot again, then the same things happen again.
I also tried this with kernel v4.17.0-rc2. It still has the same problem.<=
/pre>
You are receiving this mail because:
- You are the assignee for the bug.
=
--15246278120.E7Ce.10510--
--===============0708541439==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0708541439==--