XFCE 4.12 ralentit et freeze régulièrement

Bonjour à tous,

C’est la première fois que je ne peux pas trouver de réponse parmi les sujets déjà postés, et pour cause : il s’agit d’abord de faire un diagnostic sur ma situation particulière.
Mon Debian XFCE 4.12 a tendance à ralentir et même freezer, particulièrement si je suis sur Internet et encore plus si je regarde une vidéo. Pas besoin que de nombreuses fenêtres soient ouvertes pour cela.

A toute fin utile, je copie ici les résultats de la commande “top” :

top - 19:52:16 up 52 min,  1 user,  load average: 1,12, 2,62, 2,15
Tasks: 162 total,   1 running, 161 sleeping,   0 stopped,   0 zombie
%Cpu(s):   2,9/1,2     4[||||                                                                                                ]
KiB Mem :  3928108 total,  2126964 free,  1447140 used,   354004 buff/cache
KiB Swap:  4071420 total,  3667420 free,   404000 used.  2100188 avail Mem 
  530 root      20   0  368424  50416  35156 S   5,4  1,3   2:04.06 Xorg                                                               
 3276 kevin     20   0  580708  36796  27476 S   3,4  0,9   0:04.04 xfce4-terminal                                                     
 2820 kevin     20   0 3231420 480648  74604 S   2,0 12,2   2:19.94 Web Content                                                        
 1201 kevin     20   0  177232  12020  10444 S   1,4  0,3   0:23.44 panel-22-cpugra                                                    
 3345 kevin     20   0   46952   3500   2936 R   1,4  0,1   0:00.78 top                                                                
 1089 kevin     20   0  222252    224      0 S   0,7  0,0   0:00.35 at-spi2-registr                                                    
 2739 kevin     20   0 2757244 135576  46636 S   0,7  3,5   0:48.16 Web Content                                                        
 2898 root      20   0       0      0      0 S   0,7  0,0   0:00.10 kworker/u8:1                                                       
 3009 kevin     20   0 2644284 122740  58400 S   0,7  3,1   0:09.33 Web Content                                                        
    1 root      20   0  206672    844      0 S   0,0  0,0   0:01.88 systemd                                                            
    2 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kthreadd                                                           
    3 root      20   0       0      0      0 S   0,0  0,0   0:00.02 ksoftirqd/0                                                        
    5 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/0:0H                                                       
    7 root      20   0       0      0      0 S   0,0  0,0   0:02.87 rcu_sched                                                          
    8 root      20   0       0      0      0 S   0,0  0,0   0:00.00 rcu_bh                                                             
    9 root      rt   0       0      0      0 S   0,0  0,0   0:00.01 migration/0                                                        
   10 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 lru-add-drain                                                      
   11 root      rt   0       0      0      0 S   0,0  0,0   0:00.01 watchdog/0                                                         
   12 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/0                                                            
   13 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/1                                                            
   14 root      rt   0       0      0      0 S   0,0  0,0   0:00.01 watchdog/1                                                         
   15 root      rt   0       0      0      0 S   0,0  0,0   0:00.01 migration/1                                                        
   16 root      20   0       0      0      0 S   0,0  0,0   0:00.00 ksoftirqd/1                                                        
   18 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/1:0H                                                       
   19 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/2                                                            
   20 root      rt   0       0      0      0 S   0,0  0,0   0:00.01 watchdog/2  

les indicateurs “load average” semblent élevés, n’est-ce pas ? mais l’utilisation CPU semble, elle, normale…

Pouvez-vous m’aider à poser un diagnostic et résoudre mon problème ?

Merci pour votre aide !

Salut Cracoucas bonsoir,

Je ne suis malheureusement qu’un médiocre help-desk , mais je vais essayer :slight_smile: .Déjà donnes quand même la configuration de ton pc et dit nous si tu as regardé du coté de la carte graphique.As-tu fais le test SMART sur ton disque, memtest et enfin nettoyage des minons éventuels dans le ventilo et partout dedans . Avec 4G de ram je ne vois pas pourquoi Xfce ralentit comme ça.Sur mon pc portable , j’ai Xfce avec 4G de ram et c’est une F1.Désolé si tu as déjà suivi ces pistes. Bon courage.

Merci Iblis pour ta réponse : elle m’oriente dans mes recherches !

Alors , voici la config d’après INXI :
CPU~Quad core Intel Pentium N3540 (-MCP-) speed/max~2247/2665 MHz Kernel~4.9.0-3-amd64 x86_64 Up~14 min Mem~3084.5/3836.0MB HDD~320.1GB(47.7% used) Procs~162 Client~Shell inxi~2.3.5

Et voici le résultat de l’analyse SMART sur sda (on dirait qu’il n’y a rien de critique) :

Model Family:     Western Digital Blue Mobile
Device Model:     WDC WD3200LPVX-22V0TT0
Serial Number:    WD-WX41A356N270
LU WWN Device Id: 5 0014ee 2613315f7
Firmware Version: 01.01A01
User Capacity:    320 072 933 376 bytes [320 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Wed Mar 25 20:01:42 2020 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		( 6900) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  81) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   144   142   021    Pre-fail  Always       -       1791
  4 Start_Stop_Count        0x0032   098   098   000    Old_age   Always       -       2069
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   093   093   000    Old_age   Always       -       5742
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       1489
191 G-Sense_Error_Rate      0x0032   001   001   000    Old_age   Always       -       322
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       123
193 Load_Cycle_Count        0x0032   176   176   000    Old_age   Always       -       73763
194 Temperature_Celsius     0x0022   113   093   000    Old_age   Always       -       30
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Ensuite, voici ma carte graphique :

00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)

Ce test me montre que je dispose apparemment de l’accélération 3D :

glxinfo | grep rendering
direct rendering: Yes

J’ai aussi testé ma carte graphique avec glxgear :

286 frames in 5.0 seconds = 57.175 FPS
300 frames in 5.0 seconds = 59.967 FPS
300 frames in 5.0 seconds = 59.949 FPS
300 frames in 5.0 seconds = 59.974 FPS
300 frames in 5.0 seconds = 59.945 FPS
300 frames in 5.0 seconds = 59.960 FPS
300 frames in 5.0 seconds = 59.979 FPS
300 frames in 5.0 seconds = 59.953 FPS
300 frames in 5.0 seconds = 59.961 FPS

Ensuite, j’essaie de récupérer les erreurs et les warnings concernant ma carte graphique avec :

cat /var/log/Xorg.0.log | grep "(EE)"

Erreurs :

[   170.160] (EE) libinput bug: timer offset negative (-10967)

Warnings :

[    43.334] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    43.848] (WW) Falling back to old probe method for fbdev
[    43.970] (WW) Falling back to old probe method for vesa

Voilà, je ne sais pas si ces infos peuvent être utiles pour diagnostiquer pourquoi mon PC ralentit souvent d’un coup.

Une idée Iblis ? Toute main secourante est bienvenue !