dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 210263] New: brightness device returns ENXIO (?) on brightness restore at boot, with bootoption "quiet"
Date: Wed, 18 Nov 2020 22:33:02 +0000	[thread overview]
Message-ID: <bug-210263-2300@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=210263

            Bug ID: 210263
           Summary: brightness device returns ENXIO (?) on brightness
                    restore at boot, with bootoption "quiet"
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.9.8
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: plusfabi@gmail.com
        Regression: No

Created attachment 293729
  --> https://bugzilla.kernel.org/attachment.cgi?id=293729&action=edit
dmesg

Following: https://github.com/systemd/systemd/issues/17645

If I set kernel boot option "quiet", systemd fails to restore brightness level
with error

Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.

At boot.

full journal output is: 

journalctl -b -1 -u systemd-backlight@backlight:amdgpu_bl0.service
-- Logs begin at Thu 2020-09-17 08:15:00 CEST, end at Tue 2020-11-17 14:19:18
CET. --
Nov 17 14:15:15 frigg systemd[1]: Starting Load/Save Screen Backlight
Brightness of backlight:amdgpu_bl0...
Nov 17 14:15:15 frigg systemd-backlight[325]: amdgpu_bl0: Failed to write
system 'brightness' attribute: No such device or address
Nov 17 14:15:15 frigg systemd[1]:
systemd-backlight@backlight:amdgpu_bl0.service: Main process exited,
code=exited, status=1/FAILURE
Nov 17 14:15:15 frigg systemd[1]:
systemd-backlight@backlight:amdgpu_bl0.service: Failed with result 'exit-code'.
Nov 17 14:15:15 frigg systemd[1]: Failed to start Load/Save Screen Backlight
Brightness of backlight:amdgpu_bl0.


This is an AMD Renoir system, with AMD Ryzen 5 4500U APU,

This happens only, if I set 'quiet' as boot option. If I remove it, brightness
restore works fine.

If I boot with quiet set, after login I can do 

systemctl start systemd-backlight@backlight:amdgpu_bl0.service

And it will successfully restore my brightness level.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2020-11-18 22:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 22:33 bugzilla-daemon [this message]
2021-02-02 11:32 ` [Bug 210263] brightness device returns ENXIO (?) on brightness restore at boot, with bootoption "quiet" bugzilla-daemon
2021-02-10 11:19 ` bugzilla-daemon
2021-02-10 16:10 ` bugzilla-daemon
2021-07-29 13:23 ` bugzilla-daemon
2021-12-02  8:35 ` bugzilla-daemon
2022-01-05 21:25 ` bugzilla-daemon
2022-01-08 13:05 ` bugzilla-daemon
2022-01-12 15:08 ` 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-210263-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.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).