[Bug 1186896] New: AMD Rhyzen 7 4700H Renoir: brightness + ext screen don't work
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896 Bug ID: 1186896 Summary: AMD Rhyzen 7 4700H Renoir: brightness + ext screen don't work Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: opensuse@pohw.nl QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- ** Platform Info ** Distribution: Leap 15.2 Kernel: 5.3.18-lp152.75-default CPU: Rhyzen 7 4700U Graphics: # lspci -nnk | grep -A3 VGA 05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev c2) Subsystem: CLEVO/KAPOK Computer Device [1558:a500] Symptom: Changing the brightness of the laptop screen doesn't work. Turning the scroll wheel over de battery icon in the system tray does't do anything. No change in brightness. But I do get the mmediate and unexplainable popup of the external monitor widget (see attachment). Peculiarly, the settings are correctly registered. Before: rietgors:/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/backlight/acpi_video0 # cat actual_brightness max_brightness 21 49 After: rietgors:/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/backlight/acpi_video0 # cat actual_brightness max_brightness 36 49 Exactly the same happens when I directly echo values in the "brightness" device from the command line. No change in brightness and immediate popup of the external monitor widget. Some information you might find useful: xlgears: Accellaratioin seems to work normally. xlgears gives me > 3200 fps. xgamma: value changes are properly registered: koos@rietgors:~> xgamma -rgamma 0.2 -ggamma 0.4 -bgamma 0.6 -> Red 1.000, Green 1.000, Blue 1.000 <- Red 0.200, Green 0.400, Blue 0.600 However no change in color whatsoever. xbacklight: Doesn't work. koos@rietgors:~> xbacklight -get No outputs have backlight property Next to the default Leap 15.2 kernel, I've tried the following kernels: - kernel-default-5.13.rc3/rc4 from KOTD - kernel-default-5.12.9 from the Kernel Stable repo However those kernels don't work at all. They hang hard during the boot process. If I select the Fail Safe option from the boot menu, they both hang at the following location in the boot screen (typed over from photo, see attachment): [drm] amdgpu kernel modesetting enabled. Virtual CRAT table created for CPU amdgpu: Topology: Add CPU node fb0: switching to amdgpudrmfb from EFI VGA -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c1
--- Comment #1 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c2
--- Comment #2 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c3
--- Comment #3 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c4
--- Comment #4 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c5
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c6
--- Comment #6 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c7
--- Comment #7 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c8
--- Comment #8 from P
switching to amdgpudrmfb from EFI VGA
If there's anything I can do to help debug this, please let me know. If upgrading right now to Leap 15.3 is the next step, that's also ok (although if available I'd prefer alternative research options first. It's my production laptop. And I'm not eager to upgrading to a release which is just out). -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c11
--- Comment #11 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c12
--- Comment #12 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c13
--- Comment #13 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c14
--- Comment #14 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c15
--- Comment #15 from P
Hm, I'm confused. Now you're using which OS and which setup?
Leap 15.2
Is it about Leap 15.3 kernel + user-land, or still Leap 15.2, or about TW?
Still Leap 15.2. (I don't know what user-land means)
And is the main problem you're talking about is the brightness, and that's with amdgpu (i.e. without nomodeset), right?
Correct. Just to remove the confusion about 15.2 vs 15.3, I've just wiped my Leap 15.2 to install Leap 15.3. That should get me aligned with your baseline. And my current 15.2 setup it not very usable anyway. Unfortunately, the ISO boot image hangs when starting udev (see attachment: leap15.3_hangs_at_udev.jpg) After reading up on the boot params, I was able to boot from the Leap 15.3 stick using "acpi=off". I've tried many boot params, and this one was the only one I could boot with. The installation went ok. This comment is just written with the new Leap 15.3 Good news: Brightness and external screen work. So that's very nice. Bad news: without ACPI I have a single core, no Fn keys and no touchpad and probably more goodies. So it's still bad I suppose. But it does lead to the question if we should maintain this bug as is. Please provide direction. I'm now planning to wipe 15.3 again, repartition my drive and go for a multiboot config, so that I have a workable environment, but also an environment I can use to work on this bug. PS: I came across another webshop which also sells my laptop: https://laptopmetlinux.nl/product/clevo-nl51ru Surprisingly, they support 9 Linux configurations with this laptop, but openSUSE is not on the list. This could potentially be related to the udev issue. I'd be happy to work on this in any way you suggest. Please bare in mind I need some time to get me a workable multiboot system. So I might be unavailable for the next couple of weeks. I'm definitely going to try the list with the 9 distributions. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c16
--- Comment #16 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c17
--- Comment #17 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c18
--- Comment #18 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c19
--- Comment #19 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c20
--- Comment #20 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c21
--- Comment #21 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c22
--- Comment #22 from P
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c23
Fusion Future
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c24
--- Comment #24 from P
My laptop CPU is also Ryzen 7 4700U (HP ZHAN66 Pro A 14 G3), but brightness + ext screen work with default settings. I am using Tumbleweed 20210623.
I just downloaded and tried TW-20210623. Unfortunately I have the same outcome. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c25
--- Comment #25 from P
In anyway, please report the issue to upstream if it happens with TW kernel. The upstream report should go to gitlab.freedesktop.org Issues.
I've opened AMD issue 1637: https://gitlab.freedesktop.org/drm/amd/-/issues/1637 It was discovered this is actually an iommu problem. After adding `iommu=off` to the boot params I was able to successfully boot the laptop. I now have brightness + external screen. I'm now running on standard Leap 15.3 with the default kernel (5.3.18) :-) To avoid problems for future users, it may be useful to see if this iommu issue is something which can be queried/determined at boot time of the installer. Because the fix (`ommu=off`) is very simple, but I could never have figured this out without expert help. Running into runtime issues is one thing, but not even be able to start the installer is very unsettling. I was at the verge of returning the laptop to the webshop for a refund. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896
http://bugzilla.opensuse.org/show_bug.cgi?id=1186896#c26
--- Comment #26 from Takashi Iwai
participants (1)
-
bugzilla_noreply@suse.com