• AMD GPU , driver conky


    hey guys.

    Just installed Antergos KDE in last 48 hours… am new to Antergos and Arch… have been using various debian systems for the past 10 years … so far it looks good…

    My main difficulty is setting up GPU and conky to be able to read it
    I installed: xf86-video-ati
    but am wondering if the following is better: xf86-video-amdgpu
    but unsure of compatibility.

    My second difficulty is conky itself. I can read lots of data through the GUI software “Radeon Profile” however i want to display some of that on the desktop (which I used to do with fglrx and aticonfig), mainly gpu load, gpu fanspeed and clockspeed. GPU temp i have managed to read with sensors-detect.

    $ inxi -Fxxc0                    
    System:    Host: ...... Kernel: 4.14.9-1-ARCH x86_64 bits: 64 gcc: 7.2.1
               Desktop: KDE Plasma 5.11.4 (Qt 5.10.0) dm: lightdm Distro: Antergos Linux
    Machine:   Device: desktop Mobo: Gigabyte model: X58A-UD3R v: x.x serial: N/A BIOS: Award v: F5 date: 03/11/2010
    CPU:       Quad core Intel Core i7 930 (-MT-MCP-) arch: Nehalem rev.5 cache: 8192 KB
               flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 32101
               clock speeds: min/max: 1596/2793 MHz 1: 1596 MHz 2: 1596 MHz 3: 1596 MHz 4: 1596 MHz 5: 1596 MHz
               6: 1596 MHz 7: 1596 MHz 8: 1596 MHz
    Graphics:  Card: Advanced Micro Devices [AMD/ATI] Cayman PRO [Radeon HD 6950] bus-ID: 03:00.0 chip-ID: 1002:6719
               Display Server: x11 (X.Org 1.19.6 ) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
               Resolution: [email protected]
               OpenGL: renderer: AMD CAYMAN (DRM 2.50.0 / 4.14.9-1-ARCH, LLVM 5.0.1)
               version: 4.1 Mesa 17.3.1 (compat-v: 3.0) Direct Render: Yes
    Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6930/6950/6970/6990]
               driver: snd_hda_intel bus-ID: 03:00.1 chip-ID: 1002:aa80
               Card-2 Intel 82801JI (ICH10 Family) HD Audio Controller
               driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:3a3e
               Sound: Advanced Linux Sound Architecture v: k4.14.9-1-ARCH
    Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
               driver: r8169 v: 2.3LK-NAPI port: ce00 bus-ID: 0a:00.0 chip-ID: 10ec:8168
               IF: enp10s0 state: up speed: 1000 Mbps duplex: full mac: ........
    Drives:    HDD Total Size: 2272.5GB (37.9% used)
               ID-1: /dev/sda model: SanDisk_SDSSDXPS size: 240.1GB serial: 144843400787 temp: 27C
               ID-2: /dev/sdb model: SAMSUNG_HD103SJ size: 1000.2GB serial: S246JDWSC46608 temp: 33C
               ID-3: /dev/sdc model: WDC_WD10EARS size: 1000.2GB serial: WD-WMAV50676359 temp: 33C
               ID-4: USB /dev/sdd model: Extreme size: 32.0GB serial: AA011119141519170044-0:0 temp: 175C
    Partition: ID-1: / size: 21G used: 8.6G (44%) fs: ext4 dev: /dev/sda2
               ID-2: /home size: 74G used: 438M (1%) fs: ext4 dev: /dev/sda3
               ID-3: swap-1 size: 2.70GB used: 0.00GB (0%) fs: swap dev: /dev/sdc7
    Sensors:   System Temperatures: cpu: 46.0C mobo: 40.0C gpu: 48.0
               Fan Speeds (in rpm): cpu: 1092 fan-1: 1048 fan-3: 1101 fan-4: 840
    Info:      Processes: 225 Uptime: 3:12 Memory: 3063.2/24109.4MB Init: systemd v: 236 Gcc sys: 7.2.1
               Client: Shell (bash 4.4.121 running in konsole) inxi: 2.3.53
    
    
    
    
    $ lspci -k | grep -A5 -i vga
    03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cayman PRO [Radeon HD 6950]
            Subsystem: XFX Pine Group Inc. Cayman PRO [Radeon HD 6950]
            Kernel driver in use: radeon
            Kernel modules: radeon
    03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6930/6950/6970/6990]
            Subsystem: XFX Pine Group Inc. Cayman/Antilles HDMI Audio [Radeon HD 6930/6950/6970/6990]
    
    
    $ lsmod | grep radeon
    radeon               1642496  30
    i2c_algo_bit           16384  1 radeon
    ttm                   114688  1 radeon
    drm_kms_helper        192512  1 radeon
    drm                   434176  16 radeon,ttm,drm_kms_helper
    
    
    $ pacman -Ss xf86-video                 
    extra/xf86-video-amdgpu 1.4.0-1 (xorg-drivers)
        X.org amdgpu video driver
    extra/xf86-video-ati 1:7.10.0-1 (xorg-drivers) [installed]
        X.org ati video driver
    extra/xf86-video-dummy 0.3.8-2 (xorg-drivers)
        X.org dummy video driver
    extra/xf86-video-fbdev 0.4.4+12+ge0bce0d-1 (xorg-drivers) [installed]
        X.org framebuffer video driver
    extra/xf86-video-intel 1:2.99.917+802+gaf6d8e9e-1 (xorg-drivers)
        X.org Intel i810/i830/i915/945G/G965+ video drivers
    extra/xf86-video-nouveau 1.0.15-2 (xorg-drivers)
        Open Source 2D acceleration driver for nVidia cards
    extra/xf86-video-openchrome 0.6.0-2 (xorg-drivers)
        X.Org Openchrome drivers
    extra/xf86-video-sisusb 0.9.7-1
        X.org SiS USB video driver
    extra/xf86-video-vesa 2.3.4-4 (xorg-drivers xorg) [installed]
        X.org vesa video driver
    extra/xf86-video-vmware 13.2.1-3 (xorg-drivers)
        X.org vmware video driver
    extra/xf86-video-voodoo 1.2.5-9 (xorg-drivers)
        X.org 3dfx Voodoo1/Voodoo2 2D video driver
    community/xf86-video-qxl 0.1.5-5 (xorg-drivers)
        Xorg X11 qxl video driver
    
    
    

    For conky i have converted my 1.9 files to 1.10 and sorted all the errors… just unsure how to proceed…

    Any help is much appreciated
    Thanks

  • @Ant
    as an update i sorted the driver issue. all 3 scenarios work below
    xf86-video-ati installed
    xf86-video-amdgpu - which gives slightly better benchmark
    neither installed. where i assume the mesa drivers do the work.

    As for the second issue remains still outstanding regarding conky and pulling the GPU load and fanspeed from the CLI. (was easy with aticonfig of old )

    I have spent a few hours trying to get some ntfs drives writable. played with fstab and permisison for a while but issue was file-system corruption (fixed with ntfsfix /dev/sdxx)… in case it helps anyone else

  • @Ant said in AMD GPU , driver conky:

    aticonfig

    is comming with radeopn properitary driver and is not aviable with the opensource drivers…

    https://wiki.archlinux.org/index.php/AMD_Catalyst
    https://wiki.archlinux.org/index.php/ATI
    https://wiki.archlinux.org/index.php/AMDGPU

    But sensors should also be aviable with amdgpu:

    https://www.x.org/wiki/RadeonFeature/

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • so you will need to change the providers for the sensors to something the driver is providing:

    https://www.reddit.com/r/conky/comments/6apu8t/amd_gpu_usage_with_radeontop/

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • thanks for the replies @joekamprad

    running sensors-detect and then sensors outputs GPU temp only . (along with motherboard and CPU data)

    radeontop can output GPU load (which is a useful) along with a whole load of other data
    (full list… Event Engine, Vertex Grouper + Tesselator, Texture Addresser, Shader Export , Sequencer Instruction Cache , Shader Interpolator, Scan Converter, Primitive Assembly, Depth Block, Color Block. ). there is a dump argument… so I can grab the information.

    radeon-profile outputs some nice data in GUI format… i control balance-performance and Clock frequency (low/high) if i run it as sudo… I am indeed impressed with the application.
    however i am unsure how to pull the data so i can display in conky… normally datea is in hwmon directories or platform

    any assistance is much appreciated. thanks

    edit

    https://github.com/marazmista/radeon-profile/issues/82
    others maybe have issues too- although in the app i can see gpu usage/load

  • ${execi 2 sensors | grep Radeon | cut -c 16-19}
    #GPU${goto 60}Radeon HD 6950{alignr}${execi 2 sensors | grep Radeon | cut -c 16-19}°C
    

    looks possible to show loads:
    https://github.com/marazmista/radeon-profile/issues/57

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • also possible to install catalyst driver from ATI/AMD properitary:

    https://wiki.archlinux.org/index.php/AMD_Catalyst

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • @joekamprad said in AMD GPU , driver conky:

    ${execi 2 sensors | grep Radeon | cut -c 16-19}
    #GPU${goto 60}Radeon HD 6950{alignr}${execi 2 sensors | grep Radeon | cut -c 16-19}°C
    

    looks possible to show loads:
    https://github.com/marazmista/radeon-profile/issues/57

    unfortunately this doesn’t work as sensors is not picking up the information… it only picks up temperature…
    I think this has something to do with the kernel.

    $ sensors
    it8720-isa-0290
    Adapter: ISA adapter
    in0:          +1.28 V  (min =  +0.00 V, max =  +4.08 V)
    in1:          +1.65 V  (min =  +0.00 V, max =  +4.08 V)
    in2:          +3.33 V  (min =  +0.00 V, max =  +4.08 V)
    +5V:          +2.88 V  (min =  +0.00 V, max =  +4.08 V)
    in4:          +0.00 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
    in5:          +3.14 V  (min =  +0.00 V, max =  +4.08 V)
    in6:          +0.08 V  (min =  +0.00 V, max =  +4.08 V)
    5VSB:         +2.99 V  (min =  +0.00 V, max =  +4.08 V)
    Vbat:         +3.25 V  
    fan1:        1071 RPM  (min =   10 RPM)
    fan2:         957 RPM  (min =    0 RPM)
    fan3:         814 RPM  (min =    0 RPM)
    fan4:         850 RPM  (min =    0 RPM)
    temp1:        +39.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
    temp2:        +41.0°C  (low  = +127.0°C, high = +90.0°C)  sensor = thermal diode
    temp3:        +54.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
    intrusion0:  ALARM
    
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +47.0°C  (high = +80.0°C, crit = +100.0°C)
    Core 1:       +44.0°C  (high = +80.0°C, crit = +100.0°C)
    Core 2:       +49.0°C  (high = +80.0°C, crit = +100.0°C)
    Core 3:       +42.0°C  (high = +80.0°C, crit = +100.0°C)
    
    radeon-pci-0300
    Adapter: PCI adapter
    temp1:        +46.0°C  (crit = +120.0°C, hyst = +90.0°C)
    
    

    radeontop can pick up gpuload.
    it is the other information like gpu clock, memory clock that i was after

    @joekamprad said in AMD GPU , driver conky:

    also possible to install catalyst driver from ATI/AMD properitary:

    https://wiki.archlinux.org/index.php/AMD_Catalyst

    it states in the third paragraph in bold
    "Catalyst packages are no longer offered in the official repositories. It is no longer updated by AMD and does not support the latest Xorg, so installing an old Xorg is required."

    playing with Xorg i think will be more troublesome

  • @Ant said in AMD GPU , driver conky:

    playing with Xorg i think will be more troublesome

    surely 🙂

    there is also git version for radeontop at AUR https://aur.archlinux.org/packages/radeontop-git/

    https://www.mankier.com/1/radeontop

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • I’ve had the same problem since my brand new Athlon and Radeon FX from exactly a year ago when they came out. AMD did have a package but never continued developing it. They talk of open source but do little.

    As Above, So Below.
    As Below, So Above.

Posts 10Views 998
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.