Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ryzen 9700x processor parameters are displaying incorrectly #429

Open
1 task done
MisterDnuts opened this issue Jan 3, 2025 · 7 comments
Open
1 task done

Ryzen 9700x processor parameters are displaying incorrectly #429

MisterDnuts opened this issue Jan 3, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@MisterDnuts
Copy link

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

After deploying via Flatpak: unable to read temperature sensors; maximum frequency is incorrect.
2025-01-03 10-29-31屏幕截图

System info:
2025-01-03 10-28-11屏幕截图

It works perfectly on my 8745H laptop running Fedora 41.

Expected Behavior

No response

Steps to Reproduce

No response

Debug Logs

Expand logs
REPLACE THIS SENTENCE WITH THE TERMINAL OUTPUT OF THE AFOREMENTIONED COMMAND.

Environment

No response

Anything Else?

No response

@MisterDnuts MisterDnuts added the bug Something isn't working label Jan 3, 2025
@nokyan
Copy link
Owner

nokyan commented Jan 4, 2025

Hi, thanks for the issue.
Please attach debug logs.

@MisterDnuts
Copy link
Author

Hi, thanks for the issue. Please attach debug logs.

how can i get the debug logs with flatppak? flatpak run net.nokyan.Resources seems didn't return sth useful
image

@nokyan
Copy link
Owner

nokyan commented Jan 6, 2025

how can i get the debug logs with flatppak? flatpak run net.nokyan.Resources seems didn't return sth useful

Run flatpak run --env=RUST_LOG=resources=debug net.nokyan.Resources

@MisterDnuts
Copy link
Author

MisterDnuts commented Jan 7, 2025

Run flatpak run --env=RUST_LOG=resources=debug net.nokyan.Resources

Here's the boot log
resources.log

@nokyan
Copy link
Owner

nokyan commented Jan 7, 2025

Run flatpak run --env=RUST_LOG=resources=debug net.nokyan.Resources

Here's the boot log resources.log

Thank you. Do you mind running cat /sys/class/hwmon/hwmon2/temp1_input as well as lscpu in your terminal and send me the output?

@MisterDnuts
Copy link
Author

Thank you. Do you mind running cat /sys/class/hwmon/hwmon2/temp1_input as well as lscpu in your terminal and send me the output?

(base) cai@workstation:~$ cat /sys/class/hwmon/hwmon2/temp1_input 
0
(base) cai@workstation:~$ lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          48 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   16
  On-line CPU(s) list:    0-15
Vendor ID:                AuthenticAMD
  Model name:             AMD Ryzen 7 9700X 8-Core Processor
    CPU family:           26
    Model:                68
    Thread(s) per core:   2
    Core(s) per socket:   8
    Socket(s):            1
    Stepping:             0
    Frequency boost:      enabled
    CPU(s) scaling MHz:   39%
    CPU max MHz:          8572.2646
    CPU min MHz:          3000.0000
    BogoMIPS:             7599.98
    Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr
                           sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_
                          v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx
                          16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic c
                          r8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_co
                          re perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 i
                          brs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpci
                          d cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni 
                          avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm
                          _mbm_local avx_vnni avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lb
                          rv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthres
                          hold avic v_vmsave_vmload vgif x2avic v_spec_ctrl avx512vbmi umip pku ospke avx512_vbmi2
                           gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect m
                          ovdiri movdir64b overflow_recov succor smca fsrm avx512_vp2intersect flush_l1d amd_lbr_p
                          mc_freeze
Virtualization features:  
  Virtualization:         AMD-V
Caches (sum of all):      
  L1d:                    384 KiB (8 instances)
  L1i:                    256 KiB (8 instances)
  L2:                     8 MiB (8 instances)
  L3:                     32 MiB (1 instance)
NUMA:                     
  NUMA node(s):           1
  NUMA node0 CPU(s):      0-15
Vulnerabilities:          
  Gather data sampling:   Not affected
  Itlb multihit:          Not affected
  L1tf:                   Not affected
  Mds:                    Not affected
  Meltdown:               Not affected
  Mmio stale data:        Not affected
  Reg file data sampling: Not affected
  Retbleed:               Not affected
  Spec rstack overflow:   Not affected
  Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP always-on; RSB filling; P
                          BRSB-eIBRS Not affected; BHI Not affected
  Srbds:                  Not affected
  Tsx async abort:        Not affected

@nokyan
Copy link
Owner

nokyan commented Jan 8, 2025

Thank you for running the commands.
Resources uses both of these command outputs for display in the CPU section. If these values are wrong, Resources will also just show you the wrong statistics. I don't think there's much I can do about that, I'm afraid.
If it's possible, you can try updating your kernel. Maybe the incorrect values are due to an older kernel, given that your CPU is very new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants