Two quick questions to introduce this issue. I will post a more technical account in reply to myself soon.
Background
I am just moving over to LMDE Cinnamon from Mint 20 Mate. I wanted to check how the change affects CPU temperature (hopefully not noticeably so!) and installed psensor which I have not run for a couple of years so my memory of it may be hazy.
I runs but only shows the figures, not the graph. When run from a terminal Gdk is complaining about Nvidia drivers -- only this is an AMD machine with an embedded GPU in the CPU chip.
My memory is that I have run psensor in the past on this hardware, probably on Mate; though I have to admit I am not 100% certain that it would have been on Mate.
So my two initial questions are
1. Is there something I need to install to make Gdk work with Cinnamon? It is sufficiently installed to be able to complain, but might there be something else I should add to help it cope with AMD?
2. Are there AMD drivers I have to install separately, and if so how? The CPU is just over 2 years old, so long enough that I would have hoped that drivers should exist by now, especially in a distro based on Deb12.
My next post will contain a paste of a terminal session showing what the exact response is, then the config for psensor, and then inxi so please stand by if you want any of those... on the other hand feel free to ask for any other diagnostics
psensor: GTK support for AMD GPU in LMDE6
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: psensor: GTK support for AMD GPU in LMDE6
This is what happens when I run psensor from terminal as root
Attached below is a screenshot of the resulting window. My memory suggests that there should be a graph to the left og the pane with all the figures, and maybe no blank white pane to the right? The fact that the figures appear and look plausible suggests (to me) that the issue is not with lmsensor nor gtop2.
Here is the config file
And finally here is the inxi listing
Code: Select all
root@r-lmde-faye:~# psensor
[2024-01-02T06:21:27] [ERR] nvctrl: Failed to retrieve NVIDIA information.
(psensor:8363): Gdk-CRITICAL **: 06:21:28.477: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
^Z[1] Terminated psensor
[2]+ Stopped psensor
root@r-lmde-faye:~# killall psensor
Here is the config file
Code: Select all
root@r-lmde-faye:~# cat .psensor/psensor.cfg
[lmsensor k10temp-pci-00c3 Tctl]
color=#efef29292929
graph_enabled=true
[lmsensor nvme-pci-0100 Composite]
color=#fcfcafaf3e3e
graph_enabled=true
[lmsensor iwlwifi_1-virtual-0 temp1]
color=#fcfce9e94f4f
graph_enabled=true
[lmsensor amdgpu-pci-0500 edge]
color=#8a8ae2e23434
graph_enabled=true
[gtop2 cpu usage]
color=#72729f9fcfcf
graph_enabled=true
[gtop2 mem free]
color=#adad7f7fa8a8
graph_enabled=true
root@r-lmde-faye:~#
Code: Select all
oot@r-lmde-faye:~# inxi -Fxxxrz
System:
Kernel: 6.1.0-17-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
Desktop: Cinnamon v: 5.8.4 tk: GTK v: 3.24.38 wm: muffin dm: LightDM
v: 1.26.0 Distro: LMDE 6 Faye base: Debian 12.1 bookworm
Machine:
Type: Desktop Mobo: BESSTAR TECH model: DMAF5 v: V1.0 serial: N/A
UEFI: American Megatrends v: AF5NV402 date: 09/29/2020
CPU:
Info: quad core model: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP smt: enabled arch: Zen/Zen+ note: check rev: 1 cache:
L1: 384 KiB L2: 2 MiB L3: 4 MiB
Speed (MHz): avg: 1400 min/max: 1400/2100 boost: enabled volts: 1.2 V
ext-clock: 100 MHz cores: 1: 1400 2: 1400 3: 1400 4: 1400 5: 1400 6: 1400
7: 1400 8: 1400 bogomips: 33538
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports:
active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 05:00.0 chip-ID: 1002:15d8
class-ID: 0300 temp: 61.0 C
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 271x203mm (10.67x7.99")
s-diag: 339mm (13.33")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: 19W_LCD_TV res: 1024x768
hz: 75 dpi: 1626 size: 16x9mm (0.63x0.35") diag: 184mm (7.2") modes:
max: 1920x1080 min: 640x480
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Vega 8 Graphics
(raven LLVM 15.0.6 DRM 3.49 6.1.0-17-amd64) direct-render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:15de
class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp3x
v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel v: kernel
pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3
class-ID: 0403
API: ALSA v: k6.1.0-17-amd64 status: kernel-api
Server-1: PipeWire v: 0.3.65 status: n/a (root, process) with:
1: pipewire-pulse status: active 2: wireplumber status: active
3: pipewire-alsa type: plugin
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000
bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: e000
bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
Device-3: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie:
speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
IF-ID-1: eno1 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-2:3
chip-ID: 8087:0029 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0
lmp-v: 5.2 sub-v: 200f hci-v: 5.2 rev: 200f
Drives:
Local Storage: total: 238.47 GiB used: 8.78 GiB (3.7%)
ID-1: /dev/nvme0n1 vendor: Kingston model: OM8PDP3256B-A01
size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: EDFK0S03 temp: 51.9 C scheme: GPT
Partition:
ID-1: / size: 23.8 GiB used: 8.77 GiB (36.9%) fs: btrfs dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 486 MiB used: 11.9 MiB (2.4%) fs: vfat
dev: /dev/nvme0n1p1
ID-3: /home size: 23.8 GiB used: 8.77 GiB (36.9%) fs: btrfs
dev: /dev/nvme0n1p2
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 60.8 C mobo: N/A gpu: amdgpu temp: 60.0 C
Fan Speeds (RPM): N/A
Repos:
Packages: pm: dpkg pkgs: 2147
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb https://mirror.rackspace.com/linuxmint/packages faye main upstream import backport
2: deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
3: deb https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
4: deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
5: deb https://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
Info:
Processes: 292 Uptime: 1h 39m wakeups: 0 Memory: 15.32 GiB
used: 2.5 GiB (16.3%) Init: systemd v: 252 target: graphical (5)
default: graphical Compilers: gcc: 12.2.0 alt: 12 Shell: Bash (sudo)
v: 5.2.15 running-in: gnome-terminal inxi: 3.3.26
root@r-lmde-faye:~#
- AZgl1800
- Level 20
- Posts: 11184
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: psensor: GTK support for AMD GPU in LMDE6
I use Psensor, but do not use the Graph display, don't find it usefull, I just want the numbers.
this is from LM21.2 Cinnamon, I have LMDE6 in a virtual box, but not with Psensor there.
This is a Camera pix, as you can't get a Screenshot while Psensor is up.
Ignore the Red tint, I am using Qredshift because my eyes don't tolerate Blue since I have had Cataract lens replacements.
this is from LM21.2 Cinnamon, I have LMDE6 in a virtual box, but not with Psensor there.
This is a Camera pix, as you can't get a Screenshot while Psensor is up.
Ignore the Red tint, I am using Qredshift because my eyes don't tolerate Blue since I have had Cataract lens replacements.
Re: psensor: GTK support for AMD GPU in LMDE6
I'm using gkrellm since ages.
Works fine with my AMD gpu.
Works fine with my AMD gpu.