Laggy Xorg functions + High Xorg CPU Usage with DISTRIB_RELEASE=20.2.1

Ever since the last round of updates I have had an Xorg process that habitually takes up approx. 30% of the cpu. This is accompanied by a laggy GUI. Software tends jitter and the mouse stops every other second. This only affects X (i.e sound is fine). Here is an output of an Xorg log session:

[  3854.338] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  3854.338] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[  3854.338] Build Operating System: Linux Manjaro Linux
[  3854.338] Current Operating System: Linux manjaro 5.10.2-2-MANJARO #1 SMP PREEMPT Tue Dec 22 08:14:42 UTC 2020 x86_64
[  3854.338] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 root=UUID=012f712f-339d-4750-918e-1e79f4dbe61c ro quiet splash nomodeset=1 cryptdevice=UUID=a6126523-ca36-4d08-ba80-1446d3df6b9a:luks-a6126523-ca36-4d08-ba80-1446d3df6b9a root=/dev/mapper/luks-a6126523-ca36-4d08-ba80-1446d3df6b9a splash apparmor=1 security=apparmor udev.log_priority=3
[  3854.338] Build Date: 16 December 2020  10:33:32PM
[  3854.338]  
[  3854.338] Current version of pixman: 0.40.0
[  3854.338] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  3854.338] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3854.338] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 10 02:55:22 2021
[  3854.338] (II) Module ABI versions:
[  3854.338] 	X.Org ANSI C Emulation: 0.4
[  3854.338] 	X.Org Video Driver: 24.1
[  3854.338] 	X.Org XInput driver : 24.1
[  3854.338] 	X.Org Server Extension : 10.0
[  3854.339] (--) using VT number 1

[  3854.339] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  3854.339] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3854.340] (--) PCI:*(1@0:0:0) 10de:1f82:1462:8d92 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[  3854.340] List of video drivers:
[  3854.340] 	amdgpu
[  3854.340] 	ati
[  3854.340] 	intel
[  3854.340] 	nouveau
[  3854.340] 	nvidia
[  3854.340] 	radeon
[  3854.340] 	modesetting
[  3854.340] (II) LoadModule: "amdgpu"
[  3854.340] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[  3854.345] (II) Module amdgpu: vendor="X.Org Foundation"
[  3854.345] 	compiled for 1.20.8, module version = 19.1.0
[  3854.345] 	Module class: X.Org Video Driver
[  3854.345] 	ABI class: X.Org Video Driver, version 24.1
[  3854.345] (II) LoadModule: "ati"
[  3854.345] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[  3854.345] (II) Module ati: vendor="X.Org Foundation"
[  3854.345] 	compiled for 1.20.8, module version = 19.1.0
[  3854.345] 	Module class: X.Org Video Driver
[  3854.345] 	ABI class: X.Org Video Driver, version 24.1
[  3854.345] (II) LoadModule: "intel"
[  3854.345] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  3854.348] (II) Module intel: vendor="X.Org Foundation"
[  3854.348] 	compiled for 1.20.9, module version = 2.99.917
[  3854.348] 	Module class: X.Org Video Driver
[  3854.348] 	ABI class: X.Org Video Driver, version 24.1
[  3854.348] (II) LoadModule: "nouveau"
[  3854.348] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  3854.350] (II) Module nouveau: vendor="X.Org Foundation"
[  3854.350] 	compiled for 1.20.8, module version = 1.0.16
[  3854.350] 	Module class: X.Org Video Driver
[  3854.350] 	ABI class: X.Org Video Driver, version 24.1
[  3854.350] (II) LoadModule: "nvidia"
[  3854.350] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  3854.350] (II) Module nvidia: vendor="NVIDIA Corporation"
[  3854.350] 	compiled for 1.6.99.901, module version = 1.0.0
[  3854.350] 	Module class: X.Org Video Driver
[  3854.350] (II) LoadModule: "radeon"
[  3854.350] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[  3854.353] (II) Module radeon: vendor="X.Org Foundation"
[  3854.353] 	compiled for 1.20.8, module version = 19.1.0
[  3854.353] 	Module class: X.Org Video Driver
[  3854.353] 	ABI class: X.Org Video Driver, version 24.1
[  3854.353] (II) LoadModule: "modesetting"
[  3854.353] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  3854.354] (II) Module modesetting: vendor="X.Org Foundation"
[  3854.354] 	compiled for 1.20.10, module version = 1.20.10
[  3854.354] 	Module class: X.Org Video Driver
[  3854.354] 	ABI class: X.Org Video Driver, version 24.1
[  3854.354] (II) NOUVEAU driver 
[  3854.354] (II) NOUVEAU driver for NVIDIA chipset families :
[  3854.354] 	RIVA TNT            (NV04)
[  3854.354] 	RIVA TNT2           (NV05)
[  3854.354] 	GeForce 256         (NV10)
[  3854.354] 	GeForce 2           (NV11, NV15)
[  3854.354] 	GeForce 4MX         (NV17, NV18)
[  3854.354] 	GeForce 3           (NV20)
[  3854.354] 	GeForce 4Ti         (NV25, NV28)
[  3854.354] 	GeForce FX          (NV3x)
[  3854.354] 	GeForce 6           (NV4x)
[  3854.354] 	GeForce 7           (G7x)
[  3854.354] 	GeForce 8           (G8x)
[  3854.354] 	GeForce 9           (G9x)
[  3854.354] 	GeForce GTX 2xx/3xx (GT2xx)
[  3854.354] 	GeForce GTX 4xx/5xx (GFxxx)
[  3854.354] 	GeForce GTX 6xx/7xx (GKxxx)
[  3854.354] 	GeForce GTX 9xx     (GMxxx)
[  3854.354] 	GeForce GTX 10xx    (GPxxx)
[  3854.354] (II) NVIDIA dlloader X Driver  455.45.01  Thu Nov  5 23:01:05 UTC 2020
[  3854.354] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  3854.354] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3854.437] (++) Using config file: "/root/xorg.conf.new"
[  3854.437] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3854.437] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3854.437] (==) ServerLayout "layout"
[  3854.437] (**) |-->Screen "Screen0" (0)
[  3854.437] (**) |   |-->Monitor "Monitor0"
[  3854.437] (**) |   |-->Device "Device0"
[  3854.437] (**) |   |-->GPUDevice "Card0"
[  3854.437] (==) Automatically adding devices
[  3854.437] (==) Automatically enabling devices
[  3854.437] (==) Automatically adding GPU devices
[  3854.437] (==) Automatically binding GPU devices
[  3854.437] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3854.437] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  3854.437] 	Entry deleted from font path.
[  3854.437] (**) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/TTF
[  3854.437] (**) ModulePath set to "/usr/lib/xorg/modules"
[  3854.437] (**) Extension "COMPOSITE" is enabled
[  3854.437] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3854.437] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -22
[  3854.437] Number of created screens does not match number of detected devices.
  Configuration failed.
[  3854.437] (EE) Server terminated with error (2). Closing log file.

and here is a screengrab of the process with the GUI top output.

Please inform me of any required details and how to execute such information grabs and they will be ameliorated posthaste. I am in an unusable state and not sure what to do next. I have mhwd -i xf86-video-nvidia, mhwd -i xf86-video-nouveau'd. I have seeped into a sphere of inseccent seccasion.

I bow to your inevitable wisdom.

Hello,

From where did you get those commands?
Please see here how to provide good information about your hardware and system:

1 Like

Hello @bogdancovaciu

From where did you get those commands?

So, I did a search on mhwd for drivers, and I received a couple of hits. I then installed all display drivers in turn. There was xf86-video-vesa, xf86-video-modesetting. It was a cornucopia of drivers. I tried all 16 combinations of those installations to see if anything would work. Of course, I also tried reinstalling Xorg via sudo pacman -S Xorg and installing the whole group. I installed the linux-latest-drivers package

Did you, perhaps, have any suggestions as to troubleshooting this issue? I am dumping everything suggested in the link you provided as per your request, with a dmsg log, a journalctl log, part 1, part 2, part 3 and part 4 of the manjaro-logs-helper log (it was too big to fit in one file practically).

Apologies for the deluge, but you did not cite what messages you needed specifically to help solve the problem. Hopefully one of these logs assists you assisting me. Please let me know if you need more information.

You are mixing packages that get installed by pamac or pacman commands with what mhwd does. Is not the same.
mhwd -l
will show you what drivers are available for your system

mhwd -li
wil show what drivers you installed via mhwd script

If you have an Nvidia GPU and want to use the proprietary driver then run:
sudo mhwd -a pci nonfree 0300

If you want to use the nouveau drivers for it then you run:
sudo mhwd -a pci free 0300

Is all documented in the wiki Configure Graphics Cards - Manjaro

For intel and AMD gpus you run the same command.
sudo mhwd -a pci free 0300

If you require for some reason (still don’t know what your hardware is, as you did not share it) the xf86-video-nouveau package, then you install that one via pacman or pamac.
pamac install xf86-video-nouveau

doesn’t exist, it never existed not as mhwd inclusion, nor as package …

How did you do that exactly because such package doesn’t exist?
Maybe you refer to the linux-latest metapackage, but that is strict to the kernel.

1 Like

Hello @bogdancovaciu

here is an output of lshw, as per your request for device information:

manjaro
    description: Desktop Computer
    product: B365M D3H (Default string)
    vendor: Gigabyte Technology Co., Ltd.
    version: Default string
    serial: Default string
    width: 64 bits
    capabilities: smbios-3.1.1 dmi-3.1.1 smp vsyscall32
    configuration: boot=normal chassis=desktop family=Default string sku=Default string uuid=B4022E03-9904-EB05-BA06-F00700080009
  *-core
       description: Motherboard
       product: B365M D3H-CF
       vendor: Gigabyte Technology Co., Ltd.
       physical id: 0
       version: x.x
       serial: Default string
       slot: Default string
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: F2
          date: 08/13/2019
          size: 64KiB
          capacity: 16MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer acpi usb biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: 35
          slot: System board or motherboard
          size: 32GiB
        *-bank:0
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2666 MHz (0.4 ns)
             product: CT8G4DFS8266.M8FE
             vendor: 859B
             physical id: 0
             serial: E30F5017
             slot: ChannelA-DIMM0
             size: 8GiB
             width: 64 bits
             clock: 2666MHz (0.4ns)
        *-bank:1
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2666 MHz (0.4 ns)
             product: CT8G4DFS8266.M8FE
             vendor: 859B
             physical id: 1
             serial: E30F53E8
             slot: ChannelA-DIMM1
             size: 8GiB
             width: 64 bits
             clock: 2666MHz (0.4ns)
        *-bank:2
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2666 MHz (0.4 ns)
             product: TEAMGROUP-UD4-2666
             vendor: Fujitsu
             physical id: 2
             serial: 01A407CE
             slot: ChannelB-DIMM0
             size: 8GiB
             width: 64 bits
             clock: 2666MHz (0.4ns)
        *-bank:3
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2666 MHz (0.4 ns)
             product: CT8G4DFS8266.C8FE
             vendor: 859B
             physical id: 3
             serial: E420D98B
             slot: ChannelB-DIMM1
             size: 8GiB
             width: 64 bits
             clock: 2666MHz (0.4ns)
     *-cache:0
          description: L1 cache
          physical id: 3b
          slot: L1 Cache
          size: 512KiB
          capacity: 512KiB
          capabilities: synchronous internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 3c
          slot: L2 Cache
          size: 2MiB
          capacity: 2MiB
          capabilities: synchronous internal write-back unified
          configuration: level=2
     *-cache:2
          description: L3 cache
          physical id: 3d
          slot: L3 Cache
          size: 16MiB
          capacity: 16MiB
          capabilities: synchronous internal write-back unified
          configuration: level=3
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
          vendor: Intel Corp.
          physical id: 3e
          bus info: cpu@0
          version: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
          serial: To Be Filled By O.E.M.
          slot: U3E1
          size: 1964MHz
          capacity: 5GHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities cpufreq
          configuration: cores=8 enabledcores=8 threads=16
     *-pci
          description: Host bridge
          product: 8th/9th Gen Core 8-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S]
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 0d
          width: 32 bits
          clock: 33MHz
          configuration: driver=skl_uncore
          resources: irq:0
        *-pci:0
             description: PCI bridge
             product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 0d
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:121 ioport:e000(size=4096) memory:f6000000-f70fffff ioport:e0000000(size=301989888)
           *-display
                description: VGA compatible controller
                product: TU117 [GeForce GTX 1650]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nvidia latency=0
                resources: irq:136 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
           *-multimedia
                description: Audio device
                product: NVIDIA Corporation
                vendor: NVIDIA Corporation
                physical id: 0.1
                bus info: pci@0000:01:00.1
                version: a1
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:17 memory:f7080000-f7083fff
        *-generic UNCLAIMED
             description: System peripheral
             product: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
             vendor: Intel Corporation
             physical id: 8
             bus info: pci@0000:00:08.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm cap_list
             configuration: latency=0
             resources: memory:f714e000-f714efff
        *-usb
             description: USB controller
             product: 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:132 memory:f7130000-f713ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 5.9.16-1-MANJARO xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 5.09
                capabilities: usb-2.00
                configuration: driver=hub slots=16 speed=480Mbit/s
              *-usb:0
                   description: Bluetooth wireless interface
                   product: CSR8510 A10
                   vendor: Cambridge Silicon Radio, Ltd
                   physical id: 1
                   bus info: usb@1:1
                   version: 88.91
                   capabilities: bluetooth usb-2.00
                   configuration: driver=btusb maxpower=100mA speed=12Mbit/s
              *-usb:1
                   description: Video
                   product: Genius Webcam
                   vendor: KYE Systems corp.
                   physical id: 2
                   bus info: usb@1:2
                   version: 50.02
                   serial: Genius Audio
                   capabilities: usb-2.00
                   configuration: driver=snd-usb-audio maxpower=256mA speed=480Mbit/s
              *-usb:2
                   description: Mouse
                   product: USB OPTICAL MOUSE
                   physical id: d
                   bus info: usb@1:d
                   version: 1.00
                   capabilities: usb-1.10
                   configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
              *-usb:3
                   description: Keyboard
                   product: usb keyboard
                   vendor: SZH
                   physical id: e
                   bus info: usb@1:e
                   version: 1.10
                   capabilities: usb-1.10
                   configuration: driver=usbhid maxpower=98mA speed=2Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.9.16-1-MANJARO xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.09
                capabilities: usb-3.00
                configuration: driver=hub slots=8 speed=5000Mbit/s
              *-usb
                   description: Mass storage device
                   product: DataTraveler 3.0
                   vendor: Kingston
                   physical id: 7
                   bus info: usb@2:7
                   version: 1.10
                   serial: 0C9D9210E3AEE4110977023C
                   capabilities: usb-3.20 scsi
                   configuration: driver=usb-storage maxpower=504mA speed=5000Mbit/s
        *-communication
             description: Communication controller
             product: 200 Series PCH CSME HECI #1
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:134 memory:f714d000-f714dfff
        *-sata
             description: SATA controller
             product: 200 Series PCH SATA controller [AHCI mode]
             vendor: Intel Corporation
             physical id: 17
             bus info: pci@0000:00:17.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: sata msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:131 memory:f7148000-f7149fff memory:f714c000-f714c0ff ioport:f050(size=8) ioport:f040(size=4) ioport:f020(size=32) memory:f714b000-f714b7ff
        *-pci:1
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #19
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:122
        *-pci:2
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #20
             vendor: Intel Corporation
             physical id: 1b.3
             bus info: pci@0000:00:1b.3
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:123
        *-pci:3
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #21
             vendor: Intel Corporation
             physical id: 1b.4
             bus info: pci@0000:00:1b.4
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:124 memory:f7200000-f74fffff
           *-network
                description: Wireless interface
                product: BCM4360 802.11ac Wireless Network Adapter
                vendor: Broadcom Inc. and subsidiaries
                physical id: 0
                bus info: pci@0000:04:00.0
                logical name: wlp4s0
                version: 03
                serial: c6:f7:9c:f9:10:80
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) latency=0 multicast=yes wireless=IEEE 802.11
                resources: irq:16 memory:f7400000-f7407fff memory:f7200000-f73fffff
        *-pci:4
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #3
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:125
        *-pci:5
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #4
             vendor: Intel Corporation
             physical id: 1c.3
             bus info: pci@0000:00:1c.3
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:126
        *-pci:6
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #6
             vendor: Intel Corporation
             physical id: 1c.5
             bus info: pci@0000:00:1c.5
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:127
        *-pci:7
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #7
             vendor: Intel Corporation
             physical id: 1c.6
             bus info: pci@0000:00:1c.6
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:128
        *-pci:8
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #8
             vendor: Intel Corporation
             physical id: 1c.7
             bus info: pci@0000:00:1c.7
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:129
           *-pci
                description: PCI bridge
                product: IT8892E PCIe to PCI Bridge
                vendor: Integrated Technology Express, Inc.
                physical id: 0
                bus info: pci@0000:09:00.0
                version: 71
                width: 32 bits
                clock: 33MHz
                capabilities: pci pm subtractive_decode bus_master cap_list
        *-pci:9
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #9
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:130
        *-isa
             description: ISA bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-memory UNCLAIMED
             description: Memory controller
             product: 200 Series/Z370 Chipset Family Power Management Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 00
             width: 32 bits
             clock: 33MHz (30.3ns)
             capabilities: bus_master
             configuration: latency=0
             resources: memory:f7144000-f7147fff
        *-multimedia
             description: Audio device
             product: 200 Series PCH HD Audio
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=32
             resources: irq:135 memory:f7140000-f7143fff memory:f7120000-f712ffff
        *-serial
             description: SMBus
             product: 200 Series/Z370 Chipset Family SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.4
             bus info: pci@0000:00:1f.4
             version: 00
             width: 64 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: irq:16 memory:f714a000-f714a0ff ioport:f000(size=32)
        *-network
             description: Ethernet interface
             product: Ethernet Connection (2) I219-V
             vendor: Intel Corporation
             physical id: 1f.6
             bus info: pci@0000:00:1f.6
             logical name: eno1
             version: 00
             serial: b4:2e:99:eb:ba:f0
             size: 100Mbit/s
             capacity: 1Gbit/s
             width: 32 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
             configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.9.16-1-MANJARO duplex=full firmware=0.2-4 ip=192.168.1.148 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
             resources: irq:133 memory:f7100000-f711ffff
     *-pnp00:00
          product: Motherboard registers
          physical id: 1
          capabilities: pnp
          configuration: driver=system
     *-pnp00:01
          product: Motherboard registers
          physical id: 2
          capabilities: pnp
          configuration: driver=system
     *-pnp00:02
          product: Standard LPT printer port
          physical id: 3
          capabilities: pnp
          configuration: driver=parport_pc
     *-pnp00:03
          product: 16550A-compatible COM port
          physical id: 4
          capabilities: pnp
          configuration: driver=serial
     *-pnp00:04
          product: Motherboard registers
          physical id: 5
          capabilities: pnp
          configuration: driver=system
     *-pnp00:05
          product: Motherboard registers
          physical id: 6
          capabilities: pnp
          configuration: driver=system
     *-pnp00:06
          product: PnP device INT3f0d
          vendor: Interphase Corporation
          physical id: 7
          capabilities: pnp
          configuration: driver=system
     *-pnp00:07
          product: Motherboard registers
          physical id: 8
          capabilities: pnp
          configuration: driver=system
     *-pnp00:08
          product: Motherboard registers
          physical id: 9
          capabilities: pnp
          configuration: driver=system
     *-pnp00:09
          product: Motherboard registers
          physical id: a
          capabilities: pnp
          configuration: driver=system
     *-pnp00:0a
          product: Motherboard registers
          physical id: b
          capabilities: pnp
          configuration: driver=system
  *-power UNCLAIMED
       description: To Be Filled By O.E.M.
       product: To Be Filled By O.E.M.
       vendor: To Be Filled By O.E.M.
       physical id: 1
       version: To Be Filled By O.E.M.
       serial: To Be Filled By O.E.M.
       capacity: 32768mWh
  *-scsi
       physical id: 2
       bus info: scsi@6
       logical name: scsi6
       capabilities: scsi-host
       configuration: driver=usb-storage

My apologies. I forgot to inform you that I have tried installing the free/nonfree drivers in the way you mentioned. No change was seen in the tasks that were running, nor in the lag that really does make this system quite unusable.

p.s. as per your quotes, they are reffering to typos. Again, apologies. Indeed, there is no xf86-video-nvidia. This was meant to be video-nvidia. As for the second quote, there is no justice in the world, but I installed linux-latest-nvidia and X would not start. I had to remove this package to start X again. It’s been a journey.

Is there any other information that you need to assist me? Could you notify me if you have any inkling as to a solution?

Edit: This is the output from mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
          video-nvidia            2020.11.30               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

Does this help? What would that usb warning be about?

You are on a Desktop PC with a GeForce GTX 1650.
No need to install metapackages. Also you don’t have to install all drivers.

Run this commands to remove the unnecessary ones:
sudo mhwd -r pci video-linux
sudo mhwd -r pci video-modesetting

And to make sure you have the proper config and set the modules to load for your Nvidia GPU, run:
sudo mhwd -f -i pci video-nvidia
then
sudo mhwd-gpu --setmod nvidia --setxorg /etc/X11/mhwd.d/nvidia.conf
then reboot the system
systemctl reboot

I suggest to switch to 5.10 kernel once you reboot. To install it run:
sudo mhwd-kernel -i linux510

That will also install the correct nvidia modules package … Reboot again.

1 Like

In the running of the commands you have mentioned, at the command sudo mhwd -f -i pci video-nvidia, I have received the error message in the output:

> Removing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils' required by cuda
Error: pacman failed!
Error: script failed!

Will this be an issue for all my cuda programs? How do i navigate this error while keeping cuda? Is this possible?

Thank you so much for your help so far @bogdancovaciu

Remove CUDA first then.
pamac uninstall cuda
then try again

In principle you should be safe just removing the unnecessary drivers and run this command

but because is unsure you have a proper config, the force command to reinstall video-nvidia seemed to be a good idea.

1 Like

Hello @bogdancovaciu

Thank you for your kind suggestions. Unfortunately, having run everything you have suggested successfully, I am still left with the same problem. I wonder, is there any other logs that might assist you? I am happy to provide whatever is needed. I am really trying to fix this issue

p.s. this is a completely new install of Manjaro. I installed it on this machine yesterday. Does this help?

can you provide

inxi -Fza 
sudo journalctl -b0 | curl -F 'f:1=<-' ix.io
1 Like

hello @stephane

So glad you could assist in assiting me. Here is the output of that inxi command:

  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=012f712f-339d-4750-918e-1e79f4dbe61c ro quiet splash 
  cryptdevice=UUID=a6126523-ca36-4d08-ba80-1446d3df6b9a:luks-a6126523-ca36-4d08-ba80-1446d3df6b9a 
  root=/dev/mapper/luks-a6126523-ca36-4d08-ba80-1446d3df6b9a splash 
  apparmor=1 security=apparmor udev.log_priority=3 
  Desktop: GNOME 3.38.2 tk: GTK 3.24.24 wm: gnome-shell 
  dm: GDM 3.38.2.1, LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Gigabyte product: B365M D3H v: N/A serial: <filter> 
  Mobo: Gigabyte model: B365M D3H-CF v: x.x serial: <filter> 
  UEFI: American Megatrends v: F2 date: 08/13/2019 
CPU:
  Info: 8-Core model: Intel Core i9-9900K bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 9E (158) stepping: D (13) 
  microcode: DE L2 cache: 16 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 115232 
  Speed: 4783 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 4783 2: 4799 
  3: 4741 4: 4596 5: 4798 6: 4742 7: 4543 8: 4743 9: 4741 10: 4760 11: 4565 
  12: 4651 13: 4720 14: 4583 15: 4709 16: 4892 
  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 mitigation: TSX disabled 
  Type: tsx_async_abort mitigation: TSX disabled 
Graphics:
  Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: Micro-Star MSI 
  driver: nvidia v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:1f82 
  Display: x11 server: X.Org 1.20.10 compositor: gnome-shell driver: nvidia 
  display ID: :1 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") 
  s-diag: 583mm (23") 
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 305 size: 160x90mm (6.3x3.5") 
  diag: 184mm (7.2") 
  OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 
  direct render: Yes 
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a2f0 
  Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:10fa 
  Device-3: KYE Systems (Mouse Systems) Genius Webcam type: USB 
  driver: snd-usb-audio,uvcvideo bus ID: 1-2:3 chip ID: 0458:6006 
  serial: <filter> 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:
  Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: kernel 
  port: f000 bus ID: 00:1f.6 chip ID: 8086:15b8 
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
  Device-2: Broadcom BCM4360 802.11ac Wireless Network Adapter driver: wl 
  v: kernel modules: bcma port: e000 bus ID: 04:00.0 chip ID: 14e4:43a0 
  IF: wlp4s0 state: dormant mac: <filter> 
Drives:
  Local Storage: total: 2.79 TiB used: 306.19 GiB (10.7%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB 
  size: 931.51 GiB block size: physical: 512 B logical: 512 B 
  speed: 6.0 Gb/s serial: <filter> rev: 4B6Q 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM006-2DM164 
  size: 1.82 TiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: CC26 
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Kingston 
  model: DataTraveler 3.0 size: 57.76 GiB block size: physical: 512 B 
  logical: 512 B serial: <filter> rev: PMAP 
Partition:
  ID-1: / raw size: 931.21 GiB size: 915.6 GiB (98.32%) 
  used: 263.69 GiB (28.8%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0 
  mapped: luks-a6126523-ca36-4d08-ba80-1446d3df6b9a 
  ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 480 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 27.8 C mobo: 16.8 C gpu: nvidia temp: 40 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 35% 
Info:
  Processes: 371 Uptime: 9m wakeups: 0 Memory: 31.31 GiB 
  used: 2.02 GiB (6.5%) Init: systemd v: 247 Compilers: gcc: 10.2.0 
  Packages: pacman: 1449 lib: 410 flatpak: 0 Shell: Zsh v: 5.8 
  running in: gnome-terminal inxi: 3.2.01 

and the link to that journalctl pipe

Thank you so much in advance for your time.

You installed two display managers … As per logs, i’ll leave others to read them and take care of this further.
Cheers!

1 Like

Thank you @bogdancovaciu, you have assisted greatly. @stephane et al, is how would I ameliorate this situation? Would the removing of one of these display managers solve my problem? How would I go about doing this?

you will have after with time update bios motherboard

what have you done exactly to get gdm and lightdm ?
have installed gnome and added Xfce ?

The problem has magically dissapeared! I removed LightDM, rebooted exactly 4 times and there was no change. Then, left the computer for a day. I came back just now, expecting the same issue but, I booted up and it was fine. The issue is just gone. No trace of it. This exact same thing has happened to me on two separate occasions with Manjaro. There is some Xorg/Xorg related process that engages a large amount of CPU, no attempt to solve the problem works, then, after a couple of days, the problem magically disappears. I’m very confused, somewhat happy, but I would also like to know what happened.

@stephane thanks for the link. Couldn’t hurt to update the BIOS. As for the gdm/LightDM issue, I’m not sure. I definitely did not touch Xfce. This Manjaro install is very new and so the only changes to it from scratch are software installations and driver install/re-installs to ameliorate this issue. Is there any way to find out?