No graphs on Linux Lite (Linux 5.4.0-91-generic (x86_64)) on AMD Ryzen 7 3800X

37 views
Skip to first unread message

Alan UK

unread,
Jan 17, 2022, 7:15:05 AM1/17/22
to Psensor
Hi Thanks for this. I like the minimalist display showing the essentials.

I've just installed on a new PC with Linux Lite (Linux 5.4.0-91-generic (x86_64))  on AMD Ryzen 7 3800X but the graphs do not display. Yes, I did wait!


Thanks
Alan
PS I know this is meant to be clear and concise but it would be nice to have the motherboard temperature and fan speeds. This info is displayed in the bios but one can't run apps on the pc and access the bios at the same time. - tell me if I am wrong!  I ran s-tui stress option and the temp reached 75C.

Alan UK

unread,
Jan 17, 2022, 7:18:41 AM1/17/22
to Psensor
Ops, I dragged and dropped a screen shot and it has disappear. I'll try attaching.
PS. SSD temp would be nice :)
Screenshot_2022-01-17_10-45-49.png

Bernard Puga Slight

unread,
Jan 17, 2022, 7:44:38 AM1/17/22
to Alan UK, Psensor

Please confirm that you have installed “lm-sensors” and it is fully configured with “sensors-detect”. Likewise if you have installed hddtemp to see the temperature of the hard drives.

 

One way to check this is to enter the command "sensors" in the terminal.

 

On the screen where you don't see the graphics, try scrolling the left or right side of the window, many times the screen appears with just the text box, just scroll the box.

 

Also note that psensor has problems running under wayland but works fine under Xorg... it starts in X11 mode. On the other wayland I've found that there is no realtime scrolling of the graph, you have to press enter every time you want it to update.

 

Bernard

--
You received this message because you are subscribed to the Google Groups "Psensor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psensor-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psensor-users/6b366c80-c4e7-4849-9391-d405e7d9b14bn%40googlegroups.com.

image001.png

Alan UK

unread,
Jan 17, 2022, 10:05:46 AM1/17/22
to Psensor
Thank you Bernard for a quick reply.

“lm-sensors” is installed as well as hddtemp. However the description against hddtemp says it is for PATA, SATA or SCSI. I have a Samsung SSD in a M.2 slot.  I could not find the lm-sensors configuration file but running sensors shows the same 3 sensors as PSensor.

Re the graphs. I scrolled psensor off the screen and it suddenly resized to 1/2 the screen vertically, and showed the graphs rather distorted. It was OK once the window was resized to a letter-box shape.  As the free memory is near 100% and the CPU near 0% they both show as almost straight lines, but if I disable the free memory then the CPU is shown in detail. The graphs do scroll.

Are there modules I could install to show the SSD and the motherboard temps?

Alan
Screenshot_2022-01-17_14-40-48.png
Screenshot_2022-01-17_14-00-16.png

Bernard Puga Slight

unread,
Jan 17, 2022, 1:28:45 PM1/17/22
to Alan UK, Psensor

ok. First run the "sensors-detect" command in root mode, and configure the drivers for the sensors your machine has. See for reference:

https://wpitchoune.net/psensor/ http://manpages.ubuntu.com/manpages/trusty/man8/sensors-detect.8.html#:~:text=sensors%2Ddetect%20is%20an%20interactive,by%20the%20lm_sensors%20tool%20suite.

https://help.ubuntu.com/community/SensorInstallHowto

 

If you like you can also configure the fan speed control, so when there is little load the fans run slower and therefore with less noise. The command is fancontrol (it is also referred to in the liks).

 

As you haven't configured the sensors-detect it doesn't show you the fans, voltages, temperatures of each core, etc.

 

The temperatures of all the cores will appear automatic and if you have the hddtemp also, but there is a trick for the temperatures of the disks... you must have attributes so that you can read them.

 

First type in the terminal:

 

sudo hddtemp /dev/sd{a,b,c,d,e,f,g,h}; It will show you the temperature of disks "a" through "h".

 

sudo smartctl -A /dev/nvme0 in case your ssd is of type nvme

 

to know which disks you have you can type "df" and it will show you a list of disks and partitions... check which one is your m2 disk.

 

If you have same sansung disk

 

EVO SAMSUNG:

For "Samsung SSD 850 EVO 1TB" and other EVOS.

 

 

In case the disk is unknown to hddtemp:

 

check the SMART data output of the disk for the temperature sensor data and look for the "ID #" field.

 

Sudo smartctl /dev/sdb -a | grep -i Temp

 

190 Temperature_Celsius 0x0022 111 104 000 Old_age Always - 36

 

The first field is the sensors id # attribute, "190" in this case.

 

add an entry in the hddtemp database, located in /etc/hddtemp.db

 

Sudo echo "Samsung SSD 850 EVO 1TB" 190 C "Label for SSD 1TB" >> /etc/hddtemp.db

 

field 1: use a string or regular expression that matches the display name of the drive (as reported by hddtemp output)

field 2: SMART data field number (190 in this case)

field 3: temperature unit (C | F)

field 4: tag/comment string

now hddtemp knows how to read the data

 

Sudo hddtemp /dev/sdb

Alan UK

unread,
Jan 18, 2022, 6:31:37 AM1/18/22
to Psensor
Thanks Bernard. 

I ran sensors-detect and it only found 1 item:
  • Driver `k10temp' (autoloaded): * Chip `AMD Family 17h thermal sensors' (confidence: 9)
  • No modules to load, skipping modules configuration.
I ran sudo service kmod.start

Running sensors shows the same as before
  • radeon-pci-2b00 Adapter: PCI adapter
  • temp1: +31.0°C (crit = +120.0°C, hyst = +90.0°C)
  • k10temp-pci-00c3 Adapter: PCI adapter
  • Tdie: +27.1°C (high = +70.0°C)
  • Tctl: +27.1°C
I ran sudo apt install smartctl but it was unable to locate package so via package manager I installed gsmartctl

I then ran sudo smartctl -a /dev/nvme0n1  (my SSD) - see attachment - but could not see any ID field. grep filter shows
  • Warning Comp. Temp. Threshold: 82 Celsius
  • Critical Comp. Temp. Threshold: 85 Celsius
  • Temperature: 28 Celsius
  • Warning Comp. Temperature Time: 0
  • Critical Comp. Temperature Time: 0
  • Temperature Sensor 1: 28 Celsius
  • Temperature Sensor 2: 32 Celsius
Re Fans. fancontrol was not found so I ran sudo apt install fancontrol
On running I get
  • Loading configuration from /etc/fancontrol ... Error: Can't read configuration file
I ran sudo pwmconfig  and got
  • usr/sbin/pwmconfig: There are no fan-capable sensor modules installed
M/B is a MSI B550M with AMD Ryzen™ 7 3800X and Samsung 980 PRO PCIe 4.0 NVMe SSD 500GB

Thanks
Alan
Smartcntl re Samsung SSD.txt
Reply all
Reply to author
Forward
0 new messages