[Bug 1202566] New: Steam deck wakes up from hibernate with max brightness
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 Bug ID: 1202566 Summary: Steam deck wakes up from hibernate with max brightness Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: monkeyboyted@yahoo.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- echo 0x1e | sudo tee -a /sys/module/drm/parameters/debug [sudo] password for root: 0x1e -> echo disk | sudo tee -a /sys/power/state disk ~> dmesg > dmesg-suspend-from-disk-with-0x1e-enabled lsb_release -a LSB Version: n/a Distributor ID: openSUSE Description: openSUSE Tumbleweed Release: 20220817 Codename: n/a Linux steamdeck 6.0.0-rc1-1.gd997b88-default #1 SMP PREEMPT_DYNAMIC Thu Aug 18 14:44:01 UTC 2022 (d997b88) x86_64 x86_64 x86_64 GNU/Linux https://build.opensuse.org/project/show/home:tiwai:bsc1201418 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c1 --- Comment #1 from ted chang <monkeyboyted@yahoo.com> --- tree -a /sys/class/backlight/ /sys/class/backlight/ ��������� amdgpu_bl1 -> ../../devices/pci0000:00/0000:00:08.1/0000:04:00.0/backlight/amdgpu_bl1 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c2 --- Comment #2 from ted chang <monkeyboyted@yahoo.com> --- doof@steamdeck:~> cat /sys/class/backlight/amdgpu_bl1/actual_brightness 2 doof@steamdeck:~> cat /sys/class/backlight/amdgpu_bl1/brightness 2 doof@steamdeck:~> echo disk | sudo tee -a /sys/power/state disk doof@steamdeck:~> cat /sys/class/backlight/amdgpu_bl1/brightness 2 doof@steamdeck:~> cat /sys/class/backlight/amdgpu_bl1/actual_brightness 0 It seems like hibernates set the actual_brighttness to 0 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c3 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com --- Comment #3 from Takashi Iwai <tiwai@suse.com> --- AMDGPU can create backlight controls in several different ways, and we need to figure it out at first. Could you try to boot with drm.debug=0x0e, and give the dmesg output? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c4 --- Comment #4 from ted chang <monkeyboyted@yahoo.com> --- Created attachment 860941 --> http://bugzilla.opensuse.org/attachment.cgi?id=860941&action=edit dmesg output with 0x0e cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-6.0.0-rc1-3.g7bd57d5-default root=UUID=67e5381b-1f65-49ec-9b58-2e392c6b5d9a splash=silent resume=/dev/disk/by-uuid/eeb7aaf9-93ab-4dc2-841a-c09ada050b9f mitigations=auto quiet security=apparmor drm.debug=0x0e -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c5 --- Comment #5 from Takashi Iwai <tiwai@suse.com> --- Also, for the headphone and the speaker playback, I quickly fiddled with UCM profile. Below is a totally untested profile. Please expand it under /usr/share/alsa, and restart PA / pipewire. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c6 --- Comment #6 from Takashi Iwai <tiwai@suse.com> --- Oops, a wrong bug entry :) -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c7 --- Comment #7 from Takashi Iwai <tiwai@suse.com> --- (In reply to ted chang from comment #4)
Created attachment 860941 [details] dmesg output with 0x0e
cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-6.0.0-rc1-3.g7bd57d5-default root=UUID=67e5381b-1f65-49ec-9b58-2e392c6b5d9a splash=silent resume=/dev/disk/by-uuid/eeb7aaf9-93ab-4dc2-841a-c09ada050b9f mitigations=auto quiet security=apparmor drm.debug=0x0e
Thanks. This indicated the standard backlight. Could you test the following? - Boot without drm.debug option, but with amdgpu.backlight=0 option. - Verify whether you can control the backlight - If yes, turn on the debugging echo 0x0e > /sys/module/drm/parameters/debug then go to hibernate. Do resume, and get the dmesg output. Turn off the debug again echo 0x00 > /sys/module/drm/parameters/debug - If the backlight isn't controlled properly with amdgpu.backlight=0 option, try amdgpu.backlight=1 option instead. Then perform the same procedure as above (debug-on/hibernate/debug-off). Upload the dmesg output taken in the test above. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c8 --- Comment #8 from ted chang <monkeyboyted@yahoo.com> --- Created attachment 860951 --> http://bugzilla.opensuse.org/attachment.cgi?id=860951&action=edit amdgpu with debug activated The backlight slider works with amdgpu.backlight=0 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c10 --- Comment #10 from ted chang <monkeyboyted@yahoo.com> --- https://gitlab.freedesktop.org/drm/amd/-/issues/2131 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202566 http://bugzilla.opensuse.org/show_bug.cgi?id=1202566#c13 ted chang <monkeyboyted@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #13 from ted chang <monkeyboyted@yahoo.com> --- I do not use hibernate so I rarely notice hibernate bugs. I can confirm Tamara is right and it works. Closing this bug report. I do not think I need to post dmesg logs. Linux steamdeck.lan 6.2.0-rc6-1.g4fa09ed-default #1 SMP PREEMPT_DYNAMIC Sun Jan 29 22:23:29 UTC 2023 (4fa09ed) x86_64 x86_64 x86_64 GNU/Linux -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com