High CPU usage from Xorg
With Mx Linux, the CPU usage by Xorg is about 30%. With Pop Os, with the same hardware, the usage is about 10% or slightly less.
The script below runs automatically at the start of the session (sometimes it fails, and I run it in the terminal).
Code: Select all
#!/bin/bash
xrandr --setprovideroutputsource NVIDIA-G0 modesetting
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 1600x0 --rotate normal --reflect normal --output HDMI-1-0 --mode 1600x900 --pos 0x0 --rotate normal --output DP-1-0 --mode 1920x1080 --pos 3520x0 --rotate normal
Code: Select all
top - 11:54:33 up 3 min, 1 user, load average: 0,46, 0,20, 0,07
Tarefas: 311 total, 1 em exec., 310 dormindo, 0 parado, 0 zumbi
%Cpu(s): 3,9 us, 0,7 sy, 0,1 ni, 95,3 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
MB mem : 15771,2 total, 12722,8 livre, 1404,9 usados, 1643,6 buff/cache
MB swap: 8192,0 total, 8192,0 livre, 0,0 usados, 13486,7 mem dispon.
PID USUARIO PR NI VIRT RES SHR S %CPU %MEM TEMPO+ COMANDO
2886 root 20 0 25,0g 187000 145604 S 36,4 1,2 0:55.92 Xorg
4441 userr 20 0 3591924 419620 200924 S 14,2 2,6 0:26.51 GeckoMain
4721 userr 20 0 2851384 248056 135284 S 6,3 1,5 0:12.26 Web Content
2913 root -51 0 0 0 0 S 1,3 0,0 0:02.15 irq/194-nvidia
3398 userr 20 0 559484 86148 65752 S 1,0 0,5 0:02.04 xfwm4
1783 root 20 0 0 0 0 S 0,7 0,0 0:01.05 nvidia-modeset/
4283 userr 20 0 393032 44440 33984 S 0,7 0,3 0:01.54 xfce4-terminal
4296 userr 20 0 305464 22992 18684 S 0,7 0,1 0:00.81 conky
4990 userr 20 0 501980 96736 77860 S 0,7 0,6 0:00.41 featherpad
23 root 20 0 0 0 0 S 0,3 0,0 0:00.72 ksoftirqd/2
79 root 20 0 0 0 0 I 0,3 0,0 0:00.85 kworker/u24:8-events_unbound
132 root 20 0 0 0 0 I 0,3 0,0 0:00.02 kworker/10:1-mm_percpu_wq
375 root 20 0 0 0 0 S 0,3 0,0 0:00.02 jbd2/nvme1n1p2-
3501 userr 20 0 1308876 21172 13776 S 0,3 0,1 0:00.66 pulseaudio
1 root 20 0 3292 1904 1748 S 0,0 0,0 0:00.31 init
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 rcu_par_gp
5 root 20 0 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0-events
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:0H-events_highpri
7 root 20 0 0 0 0 I 0,0 0,0 0:00.09 kworker/0:1-mm_percpu_wq
Code: Select all
System: Host: <filter> Kernel: 5.14.0-2mx-amd64 x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.0-2mx-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
Distro: MX-21_ahs_x64 Wildflower October 10 2021
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Dell product: G3 3500 v: N/A serial: <filter> Chassis: type: 10
serial: <filter>
Mobo: Dell model: 0W4V06 v: A00 serial: <filter> UEFI: Dell v: 1.9.0 date: 06/01/2021
Battery: ID-1: BAT0 charge: 44.1 Wh condition: 67.9/68.0 Wh (100%) volts: 15.2/15.2
model: SMP DELL 72WGV13 type: Li-poly serial: <filter> status: Unknown
CPU: Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A
family: 6 model-id: A5 (165) stepping: 2 microcode: EA L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399
Speed: 2241 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 1228 2: 933 3: 800 4: 800
5: 800 6: 800 7: 984 8: 800 9: 800 10: 801 11: 800 12: 800
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Dell driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:9bc4
Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Dell driver: nvidia
v: 470.63.01 bus ID: 01:00.0 chip ID: 10de:1f15
Display: x11 server: X.Org 1.20.13 driver: modesetting,nvidia
unloaded: fbdev,nouveau,vesa alternate: nv
resolution: 1920x1080~144Hz, 1600x900~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.2.3
direct render: Yes
Audio: Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: sof-audio-pci-intel-cnl
bus ID: 00:1f.3 chip ID: 8086:06c8
Device-2: NVIDIA TU106 High Definition Audio vendor: Dell driver: snd_hda_intel
v: kernel bus ID: 01:00.1 chip ID: 10de:10f9
Device-3: Texas Instruments PCM2902 Audio Codec type: USB
driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-1.1.2:8 chip ID: 08bb:2902
Sound Server: ALSA v: k5.14.0-2mx-amd64
Network: Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel port: 5000
bus ID: 00:14.3 chip ID: 8086:06f0
IF: wlan0 state: down mac: <filter>
Device-2: Realtek vendor: Dell driver: r8169 v: kernel port: 3000 bus ID: 3c:00.0
chip ID: 10ec:2502
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 931.51 GiB used: 201.59 GiB (21.6%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter>
rev: 2B2QEXM7 scheme: GPT
ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter>
rev: 3B2QEXM7 scheme: GPT
Partition: ID-1: / raw size: 923.25 GiB size: 907.69 GiB (98.31%) used: 201.59 GiB (22.2%)
fs: ext4 dev: /dev/nvme1n1p2
ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/nvme1n1p3
Sensors: System Temperatures: cpu: 60.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirror.ufam.edu.br/mx/mx/repo/ bullseye main non-free
2: deb http://mirror.ufam.edu.br/mx/mx/repo/ bullseye ahs
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http://repository.spotify.com stable non-free
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
Info: Processes: 299 Uptime: 13m Memory: 15.40 GiB used: 1.76 GiB (11.4%) Init: SysVinit
v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 10.2.1 alt: 10 Shell: quick-system-in
running in: quick-system-in inxi: 3.0.36
You do not have the required permissions to view the files attached to this post.