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

Few bugs detecting A10-5800K Trinity AMD APU #31

Closed
lrprawira opened this issue Jun 19, 2016 · 7 comments
Closed

Few bugs detecting A10-5800K Trinity AMD APU #31

lrprawira opened this issue Jun 19, 2016 · 7 comments
Assignees
Milestone

Comments

@lrprawira
Copy link

lrprawira commented Jun 19, 2016

[ccxex29@love-Inori ~]$ cpu-x -V
CPU-X:main.c:935: an error occurred while running command 'curl --max-time 1 -s http://x0rg.github.io/CPU-X/version.txt'
CPU-X 3.0.0 (version  is available)
Copyright © 2014-2016 Xorg

This is free software: you are free to change and redistribute it.
This program comes with ABSOLUTELY NO WARRANTY
See the GPLv3 license: <http://www.gnu.org/licenses/gpl.txt>

Built on Jun 19 2016, 22:08:21 (with GCC 6.1.1 20160501).
-- GTK       version: 3.20.6
-- NCURSES   version: 6.0.20150808
-- LIBCPUID  version: 0.3.0
-- LIBPCI    version: 3.5.1
-- LIBPROCPS version: 3.3.11
-- DMIDECODE version: 3.0
-- BANDWIDTH version: 1.1
[ccxex29@love-Inori ~]$ cpu-x -ovd
Root privileges are required to work properly
Some informations will not be retrievable
Setting label names
Skip call to dmidecode (need to be root)
Calling libcpuid for retrieving static data
Finding CPU technology
Calling libcpuid for retrieving CPU clock
Skip CPU MSR opening (need to be root)
Calling libprocps
Calling bandwidth
Finding devices
Finding graphic card driver
Calculating CPU usage
Identifying running system
Retrieving GPU temperature
No layout section was found in the file: '/etc/X11/xorg.conf'.
Please run 'aticonfig --initial' first or modify your configuration file manually and run aticonfig again.
aticonfig: parsing the command-line failed.
CPU-X:main.c:935: an error occurred while running command 'aticonfig --odgt | grep Sensor | awk '{ print $5 }''
CPU-X:core.c:873: failed to retrieve GPU temperature (No such file or directory)
Updating benchmark status
Finding CPU package in fallback mode
Retrieving motherboard informations in fallback mode
Retrieving CPU temperature in fallback mode
CPU-X:main.c:935: an error occurred while running command 'sensors | grep -i 'Core[[:space:]]*0' | awk -F '[+°]' '{ print $2 }''
CPU-X:core.c:1169: failed to retrieve CPU temperature (fallback mode)
Retrieving CPU voltage in fallback mode
CPU-X:main.c:935: an error occurred while running command 'sensors | grep -i 'VCore' | awk -F '[+V]' '{ print $3 }''
CPU-X:core.c:1194: failed to retrieve CPU voltage (fallback mode)
Replacing undefined labels by an empty string
Checking on Internet for a new version...
CPU-X:main.c:935: an error occurred while running command 'curl --max-time 1 -s http://x0rg.github.io/CPU-X/version.txt'
A new version of CPU-X is available!
Dumping data...
  >>>>>>>>>> CPU <<<<<<<<<<

    ***** Processor *****
          Vendor: AMD
       Code Name: Trinity X4
         Package: LGA775
      Technology: 28 nm
         Voltage: 
   Specification: AMD A10-5800K APU with Radeon(tm) HD Graphics 
          Family: 15 (F)
     Ext. Family: 21 (15)
           Model: 0
      Ext. Model: 16 (10)
           Temp.: 
        Stepping: 1
    Instructions: MMX(+), SSE (1, 2, 3S, 4.1, 4.2, 4A), AES, AVX, AMD-V, AMD64

    ***** Clocks *****
      Core Speed: 4391 MHz
      Multiplier: 
       Bus Speed: 
           Usage:   6.92 %

    ***** Cache *****
         L1 Data: 4 x   16 KB,  4-way
        L1 Inst.: 4 x   64 KB,  4-way
         Level 2: 4 x 2048 KB, 16-way
         Level 3: 

    ***** * *****
       Socket(s): 1
         Core(s): 4
       Thread(s): 4


  >>>>>>>>>> Caches <<<<<<<<<<

    ***** L1 Cache *****
            Size: 4 x   64 KB,  4-way
      Descriptor:  4-way set associative, 64-byte line size
           Speed: 85410.10 MB/s

    ***** L2 Cache *****
            Size: 4 x 2048 KB, 16-way
      Descriptor: 16-way set associative, 64-byte line size
           Speed: 38345.00 MB/s

    ***** L3 Cache *****
            Size: 
      Descriptor: 
           Speed: 


  >>>>>>>>>> Motherboard <<<<<<<<<<

    ***** Motherboard *****
    Manufacturer: ASRock
           Model: FM2A88M-HD+
        Revision:         

    ***** BIOS *****
           Brand: American Megatrends Inc.
         Version: P3.10
            Date: 05/05/2015
        ROM Size: 

    ***** Chipset *****
          Vendor: Advanced Micro Devices, Inc. [AMD]
           Model: FCH LPC Bridge


  >>>>>>>>>> Memory <<<<<<<<<<


  >>>>>>>>>> System <<<<<<<<<<
          Kernel: Linux 4.6.2-1-MANJARO
    Distribution: Manjaro Linux
        Hostname: love-Inori
          Uptime: 0 days, 9 hours, 4 minutes, 32 seconds
        Compiler: cc (GCC) 6.1.1 20160501
            Used:  4558 MB / 14339 MB
         Buffers:   394 MB / 14339 MB
          Cached:  3496 MB / 14339 MB
            Free:  5889 MB / 14339 MB
            Swap:     0 MB /  9242 MB


  >>>>>>>>>> Graphics <<<<<<<<<<
          Vendor: AMD (fglrx_pci driver)
           Model: Trinity [Radeon HD 7660D]
     Temperature: 


Freeing memory

Output Running cpu-x-git as Root

No layout section was found in the file: '/etc/X11/xorg.conf'.
Please run 'aticonfig --initial' first or modify your configuration file manually and run aticonfig again.
aticonfig: parsing the command-line failed.
CPU-X:main.c:935: an error occurred while running command 'aticonfig --odgt | grep Sensor | awk '{ print $5 }''
CPU-X:core.c:873: failed to retrieve GPU temperature (No such file or directory)
CPU-X:main.c:935: an error occurred while running command 'sensors | grep -i 'Core[[:space:]]*0' | awk -F '[+°]' '{ print $2 }''
CPU-X:core.c:1169: failed to retrieve CPU temperature (fallback mode)
CPU-X:main.c:935: an error occurred while running command 'curl --max-time 1 -s http://x0rg.github.io/CPU-X/version.txt'

Codename typed Trinity X4, The real name is Trinity A10
Package typed 'CPUSocket' or 'LGA775' It should be FM2/FM2+
The Bus Speed and Multiplier CPU are wrong.. (549.00 MHz and x8) it should be 100MHz and x44 Multiplier.

@TheTumultuousUnicornOfDarkness
Copy link
Owner

Thank you for this report.

  • For Codename, I can't change that. That's libcpuid which does that (see here). A10 has 4 cores, I don't understand what's wrong with X4.
  • I'll fix CPU Package detection, there is a bug somewhere.
  • About yours multipliers, minimum and maximum multipliers are displayed? Are they true?

@lrprawira
Copy link
Author

Thanks for the quick response

the minimum and maximum multipliers are showed wrong too i guess..
I can't read the full text.. can't resize window.. (12-...)

@TheTumultuousUnicornOfDarkness
Copy link
Owner

Ok, thank you. It seems APUs are badly supported by libcpuid, I need to fix this also.

Do you know why curl --max-time 1 -s http://x0rg.github.io/CPU-X/version.txt command fails? What happens when you run this command from a shell yourself?

@lrprawira
Copy link
Author

Sorry for a very late respond..
Its version is already been 3.0.0

@TheTumultuousUnicornOfDarkness
Copy link
Owner

About wrong multipliers, I can't fix this issue without more informations.
To help me, you can save the following source code in a apu_msr.c file. Then, you can open a terminal in the same directory, and build this code with:
gcc apu_msr.c -lcpuid -o apu_msr
You can run the produced binary by tapping ./apu_msr (as root). Please paste the output.

@TheTumultuousUnicornOfDarkness
Copy link
Owner

Bugs related to CPU-X are solved:

  • CPU socket name for Trinity X4: 6245a6c
  • CPU temperature report: c11cd92
  • Checking for a new version: 22bbc16

Because multipliers and bus clock are retrieved by libcpuid, I have opened a new issue on libcpuid project.
I close this issue. If you want more explanations or binairies to help me to debug wrong multipliers, your help will be greatly appreciated.

@TheTumultuousUnicornOfDarkness
Copy link
Owner

About CPU multipliers, it should be fixed since anrieff/libcpuid@4a07726. You can update libcpuid-git package to apply this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants