dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.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	[thread overview]
Message-ID: <bug-106228-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2002 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=106228

            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=139091&action=edit
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 within
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 manually
again and it reads back 0, but the brightness of display looks normal actually.
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3504 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-04-25  3:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-25  3:43 bugzilla-daemon [this message]
2018-05-08 19:45 ` [Bug 106228] amdgpu reads back brightness 0 (which is not true) if checked before a brightness has been explicitly set bugzilla-daemon
2018-05-08 21:06 ` bugzilla-daemon
2018-06-05 15:38 ` bugzilla-daemon
2018-07-23 18:32 ` bugzilla-daemon
2018-07-24 20:06 ` bugzilla-daemon
2018-07-25 10:05 ` bugzilla-daemon
2018-07-25 10:07 ` bugzilla-daemon
2018-07-25 19:26 ` bugzilla-daemon
2018-07-26  7:41 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-106228-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).