Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 16:00:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218262] [hwpstate] does not set overclocked frequency on AMD Ryzen CPU
Message-ID:  <bug-218262-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218262

            Bug ID: 218262
           Summary: [hwpstate] does not set overclocked frequency on AMD
                    Ryzen CPU
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: nbe@renzel.net

System: FreeBSD 12.0-CURRENT #0 334829e6c(drm-next)-dirty
CPU: AMD Ryzen 1700 OCed to 3400MHz

Direct after booting the frequency is 2700MHz. Trying to set it to the over-
clocked frequency 3400MHz results in:
---------------------------------------------------------------------------=
------
hwpstate0: setting P0-state on cpu0
hwpstate0: setting P0-state on cpu1
hwpstate0: setting P0-state on cpu2
hwpstate0: setting P0-state on cpu3
hwpstate0: setting P0-state on cpu4
hwpstate0: setting P0-state on cpu5
hwpstate0: setting P0-state on cpu6
hwpstate0: setting P0-state on cpu7
hwpstate0: setting P0-state on cpu8
hwpstate0: setting P0-state on cpu9
hwpstate0: setting P0-state on cpu10
hwpstate0: setting P0-state on cpu11
hwpstate0: setting P0-state on cpu12
hwpstate0: setting P0-state on cpu13
hwpstate0: setting P0-state on cpu14
hwpstate0: setting P0-state on cpu15
hwpstate0: result: P1-state on cpu0
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu1
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu2
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu3
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu4
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu5
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu6
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu7
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu8
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu9
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu10
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu11
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu12
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu13
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu14
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu15
hwpstate0: error: loop is not enough.
hwpstate0: set freq failed, err 6
---------------------------------------------------------------------------=
------

sysctl dev.cpu.0
---------------------------------------------------------------------------=
------
dev.cpu.0.cx_method: C1/hlt
dev.cpu.0.cx_usage_counters: 24787146
dev.cpu.0.cx_usage: 100.00% last 3273us
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_supported: C1/1/0
dev.cpu.0.freq_levels: 3400/3562 2700/2835 1550/1312
dev.cpu.0.freq: 2700
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0
dev.cpu.0.%location: handle=3D\_PR_.P000
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU
---------------------------------------------------------------------------=
------

That CPU runs at 3400MHz - both in BIOS and Ubuntu. Any ideas besides turni=
ng
off overclocking?



TIA and regards,
Nils

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218262-8>