Skip to contentSkip to conversation

New: amdgpu: clock management is disabled for the 4K resolution with polaris 10

Bug 201991 [email protected] 2 participants 7 messages Dec 14, 2018 – Apr 29, 2022

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 201991
           Summary: amdgpu: clock management is disabled for the 4K
                    resolution with polaris 10
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.18.0,4.20.0-rc6, drm-next-4.21-wip
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 280019
--> https://bugzilla.kernel.org/attachment.cgi?id=280019&action=edit
simple app for the amdgpu sys interface

When the Xfce desktop is visible at 4K and idling, the engine clock is fixed at level 6: 1220MHz and you can not change that. The temperature is 38 C. When the monitor is sleeping, then the engine clock is 300Mhz. The automatic power management works with 2560x1600 and lower resolutions as espected. I tested with my python app and I have latest drivers, including firmware files. My monitor is ASUS VP28UQG and I use the display port.

System:
Host: ryzenpc Kernel: 4.20.0-rc6 x86_64 bits: 64 Desktop: Xfce 4.12.4
Distro: Debian GNU/Linux buster/sid
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME B350M-K v: Rev X.0x
serial: <root required> UEFI [Legacy]: American Megatrends v: 4023
date: 08/20/2018
CPU:
6-Core: AMD Ryzen 5 1600 type: MT MCP speed: 2851 MHz
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480] driver: amdgpu v: kernel
Display: x11 server: X.Org 1.20.3 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: 3840x2160~60Hz OpenGL:
renderer: Radeon RX 570 Series (POLARIS10 DRM 3.27.0 4.20.0-rc6 LLVM 7.0.1)
v: 4.5 Mesa 19.0.0-devel (git-9ebc00f 2018-12-13 bionic-oibaf-ppa)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 201991] amdgpu: clock management is disabled for the 4K resolution with polaris 10

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

nancy ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from nancy ([email protected]) ---
(In reply to fin4478 from comment #0)

Quoted 1 line

simple app for the amdgpu sys interface

You might consider if you are trying out radeon-profile.

https://github.com/marazmista/radeon-profile

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 201991] amdgpu: clock management is disabled for the 4K resolution with polaris 10

In reply to [email protected]

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

--- Comment #2 from [email protected] ---
(In reply to nancy from comment #1)

Quoted 9 lines

(In reply to fin4478 from comment #0)

Quoted 1 line

simple app for the amdgpu sys interface

You might consider if you are trying out radeon-profile.

https://github.com/marazmista/radeon-profile

That uses the same sysfs api and uses old qt or special modules (like qtchartview) that are not compatible with latest qt packages. In other words that app is broken on several distributions. When programming simple GUIs, use python gtk that does not break so easily.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 201991] amdgpu: clock management is disabled for the 4K resolution with polaris 10

In reply to [email protected]

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

--- Comment #3 from [email protected] ---
Adding amdgpu.ppfeaturemask=0xffffffff to the kernel command line makes the powerplay feature to work normally at 4K.
uname -r
4.20.0-rc3+

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 201991] amdgpu: clock management is disabled for the 4K resolution with polaris 10

In reply to [email protected]

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

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 201991] amdgpu: clock management is disabled for the 4K resolution with polaris 10

In reply to [email protected]

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

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from [email protected] ---
the above kernel command line is still necessary in 2022 with mesa 22. Why has this not been fixed in source to not need the clock/voltage adjustment parameter for automatic clocks when using 4K monitor output?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 201991] amdgpu: clock management is disabled for the 4K resolution with polaris 10

In reply to [email protected]

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

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Alex Deucher ([email protected]) ---
The driver set minimum required clocks to meet the required bandwidth and voltage for the attached displays. When you enable overclocking (via the bit in ppfeaturemask), that gets partially disabled to allow the user to manually adjust the clocks at their own risk.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.