Performance issue when connecting to an external display

Hey There!
I have been using Manjaro Linux for a couple of months and very pleased in general. however one issue that nags me is when I connect an external monitor ,suddenly my computer slows down to a crawl, with simply opening a Firefox window consuming almost 100% of my cpu; and restarting the user session would fix it.
is there any way to prevent it from occuring?
happens both with GNOME and XFCE.
Thank you

Hello,

Can we have more information about your system as described here ?

Are you using those DEs with the same user?

Hi, here are some logs I’ve pulled from my laptop

inxi -Fazi

Kernel: 5.9.11-3-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=98ebae9e-26d9-4ed8-ac8f-46bcba3ff4a4 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Xfce 4.14.3 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Dell product: Latitude E5450 v: N/A serial: <filter> 
  Chassis: type: 9 serial: <filter> 
  Mobo: Dell model: N/A serial: <filter> UEFI: Dell v: A13 date: 05/17/2016 
Battery:
  ID-1: BAT0 charge: 50.3 Wh condition: N/A/50.3 Wh volts: 8.7/7.4 
  model: SMP DELL F5WW543 type: Li-poly serial: <filter> status: Full 
CPU:
  Info: Dual Core model: Intel Core i5-5300U bits: 64 type: MT MCP 
  arch: Broadwell family: 6 model-id: 3D (61) stepping: 4 microcode: 2F 
  L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 18367 
  Speed: 499 MHz min/max: 500/2900 MHz Core speeds (MHz): 1: 499 2: 499 3: 499 
  4: 499 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  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: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:1616 
  Display: x11 server: X.Org 1.20.9 driver: intel unloaded: modesetting 
  alternate: fbdev,vesa display ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") 
  s-diag: 583mm (23") 
  Monitor-1: HDMI1 res: 1920x1080 dpi: 94 size: 520x310mm (20.5x12.2") 
  diag: 605mm (23.8") 
  OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 20.2.3 
  direct render: Yes 
Audio:
  Device-1: Intel Broadwell-U Audio vendor: Dell driver: snd_hda_intel 
  v: kernel bus ID: 00:03.0 chip ID: 8086:160c 
  Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:9ca0 
  Sound Server: ALSA v: k5.9.11-3-MANJARO 
Network:
  Device-1: Intel Ethernet I218-LM vendor: Dell driver: e1000e v: kernel 
  port: f080 bus ID: 00:19.0 chip ID: 8086:15a2 
  IF: eno1 state: down mac: <filter> 
  Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: f040 
  bus ID: 02:00.0 chip ID: 8086:095a 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 148.76 GiB (62.4%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda vendor: Micron model: SK hynix SC300 2.5 7MM 256GB 
  size: 238.47 GiB block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 0P00 scheme: GPT 
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci 
  v: 3.0 port: f060 bus ID: 00:1f.2 chip ID: 8086.282a rev: 03 

Partition:
  ID-1: / raw size: 48.83 GiB size: 47.81 GiB (97.92%) used: 21.33 GiB (44.6%) 
  fs: ext4 dev: /dev/sda4 
  ID-2: /home raw size: 181.34 GiB size: 177.49 GiB (97.88%) 
  used: 127.43 GiB (71.8%) fs: ext4 dev: /dev/sda3 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 42.0 C mobo: 37.0 C sodimm: 29.0 C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 196 Uptime: 3m Memory: 7.65 GiB used: 1.12 GiB (14.6%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1254 lib: 380 
  flatpak: 0 Shell: Bash v: 5.0.18 running in: xfce4-terminal inxi: 3.1.08 

sudo dmesg | grep VGA


[    0.850449] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.850449] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    1.744029] fb0: EFI VGA frame buffer device
[   18.090000] fb0: switching to inteldrmfb from EFI VGA
[   18.122652] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem

X org log

[    19.711] 
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[    19.712] Build Operating System: Linux Manjaro Linux
[    19.712] Current Operating System: Linux oz-latitudee5450 5.9.11-3-MANJARO #1 SMP PREEMPT Sat Nov 28 09:08:57 UTC 2020 x86_64
[    19.712] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=98ebae9e-26d9-4ed8-ac8f-46bcba3ff4a4 rw quiet apparmor=1 security=apparmor udev.log_priority=3
[    19.712] Build Date: 20 November 2020  09:03:19PM
[    19.712]  
[    19.712] Current version of pixman: 0.40.0
[    19.712] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    19.712] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    19.713] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec  2 21:38:58 2020
[    19.720] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    19.720] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    19.724] (==) No Layout section.  Using the first Screen section.
[    19.724] (==) No screen section available. Using defaults.
[    19.724] (**) |-->Screen "Default Screen Section" (0)
[    19.724] (**) |   |-->Monitor "<default monitor>"
[    19.726] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    19.726] (==) Automatically adding devices
[    19.726] (==) Automatically enabling devices
[    19.726] (==) Automatically adding GPU devices
[    19.726] (==) Automatically binding GPU devices
[    19.726] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    19.736] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[    19.736] 	Entry deleted from font path.
[    19.736] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[    19.738] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[    19.738] 	Entry deleted from font path.
[    19.738] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[    19.739] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    19.739] 	Entry deleted from font path.
[    19.739] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    19.739] 	Entry deleted from font path.
[    19.739] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    19.739] 	Entry deleted from font path.
[    19.739] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    19.739] 	Entry deleted from font path.
[    19.739] (==) FontPath set to:
	
[    19.739] (==) ModulePath set to "/usr/lib/xorg/modules"
[    19.739] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    19.739] (II) Module ABI versions:
[    19.739] 	X.Org ANSI C Emulation: 0.4
[    19.739] 	X.Org Video Driver: 24.1
[    19.739] 	X.Org XInput driver : 24.1
[    19.739] 	X.Org Server Extension : 10.0
[    19.743] (++) using VT number 7

[    19.743] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    19.974] (II) xfree86: Adding drm device (/dev/dri/card0)
[    20.018] (--) PCI:*(0@0:2:0) 8086:1616:1028:062b rev 9, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    20.025] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    20.025] (II) LoadModule: "glx"
[    20.042] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    20.104] (II) Module glx: vendor="X.Org Foundation"
[    20.105] 	compiled for 1.20.9, module version = 1.0.0
[    20.105] 	ABI class: X.Org Server Extension, version 10.0
[    20.105] (==) Matched intel as autoconfigured driver 0
[    20.105] (==) Matched modesetting as autoconfigured driver 1
[    20.105] (==) Matched fbdev as autoconfigured driver 2
[    20.105] (==) Matched vesa as autoconfigured driver 3
[    20.105] (==) Assigned the driver to the xf86ConfigLayout
[    20.105] (II) LoadModule: "intel"
[    20.106] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    20.121] (II) Module intel: vendor="X.Org Foundation"
[    20.121] 	compiled for 1.20.9, module version = 2.99.917
[    20.121] 	Module class: X.Org Video Driver
[    20.121] 	ABI class: X.Org Video Driver, version 24.1
[    20.121] (II) LoadModule: "modesetting"
[    20.122] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    20.142] (II) Module modesetting: vendor="X.Org Foundation"
[    20.143] 	compiled for 1.20.9, module version = 1.20.9
[    20.143] 	Module class: X.Org Video Driver
[    20.143] 	ABI class: X.Org Video Driver, version 24.1
[    20.143] (II) LoadModule: "fbdev"
[    20.149] (WW) Warning, couldn't open module fbdev
[    20.149] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    20.149] (II) LoadModule: "vesa"
[    20.150] (WW) Warning, couldn't open module vesa
[    20.150] (EE) Failed to load module "vesa" (module does not exist, 0)
[    20.150] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    20.152] (II) intel: Driver for Intel(R) HD Graphics
[    20.153] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    20.153] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    20.153] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    20.157] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20200715
[    20.157] (II) intel(0): SNA compiled from 2.99.917-912-gad5540f6
[    20.162] (WW) Falling back to old probe method for modesetting
[    20.168] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 5500
[    20.168] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[    20.168] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    20.168] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    20.168] (==) intel(0): RGB weight 888
[    20.168] (==) intel(0): Default visual is TrueColor
[    20.174] (II) intel(0): Output eDP1 has no monitor section
[    20.176] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[    20.176] (II) intel(0): Enabled output eDP1
[    20.176] (II) intel(0): Output HDMI1 has no monitor section
[    20.177] (II) intel(0): Enabled output HDMI1
[    20.177] (II) intel(0): Output DP1 has no monitor section
[    20.178] (II) intel(0): Enabled output DP1
[    20.179] (II) intel(0): Output HDMI2 has no monitor section
[    20.185] (II) intel(0): Enabled output HDMI2
[    20.185] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    20.185] (II) intel(0): Output VIRTUAL1 has no monitor section
[    20.186] (II) intel(0): Enabled output VIRTUAL1
[    20.186] (--) intel(0): Output eDP1 using initial mode 1366x768 on pipe 0
[    20.186] (--) intel(0): Output HDMI1 using initial mode 1280x720 on pipe 1
[    20.186] (==) intel(0): TearFree disabled
[    20.187] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    20.187] (==) intel(0): DPI set to (96, 96)
[    20.187] (II) Loading sub module "dri3"
[    20.187] (II) LoadModule: "dri3"
[    20.187] (II) Module "dri3" already built-in
[    20.187] (II) Loading sub module "dri2"
[    20.187] (II) LoadModule: "dri2"
[    20.187] (II) Module "dri2" already built-in
[    20.187] (II) Loading sub module "present"
[    20.187] (II) LoadModule: "present"
[    20.188] (II) Module "present" already built-in
[    20.188] (II) UnloadModule: "modesetting"
[    20.188] (II) Unloading modesetting
[    20.202] (II) intel(0): SNA initialized with Broadwell (gen8) backend
[    20.202] (==) intel(0): Backing store enabled
[    20.202] (==) intel(0): Silken mouse disabled
[    20.202] (II) intel(0): HW Cursor enabled
[    20.207] (==) intel(0): DPMS enabled
[    20.208] (==) intel(0): Display hotplug detection enabled
[    20.215] (II) intel(0): [DRI2] Setup complete
[    20.215] (II) intel(0): [DRI2]   DRI driver: i965
[    20.215] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    20.215] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[    20.215] (II) intel(0): hardware support for Present enabled
[    20.216] (II) Initializing extension Generic Event Extension
[    20.216] (II) Initializing extension SHAPE
[    20.217] (II) Initializing extension MIT-SHM
[    20.218] (II) Initializing extension XInputExtension
[    20.225] (II) Initializing extension XTEST
[    20.226] (II) Initializing extension BIG-REQUESTS
[    20.227] (II) Initializing extension SYNC
[    20.229] (II) Initializing extension XKEYBOARD
[    20.238] (II) Initializing extension XC-MISC
[    20.239] (II) Initializing extension SECURITY
[    20.240] (II) Initializing extension XFIXES
[    20.245] (II) Initializing extension RENDER
[    20.246] (II) Initializing extension RANDR
[    20.248] (II) Initializing extension COMPOSITE
[    20.249] (II) Initializing extension DAMAGE
[    20.250] (II) Initializing extension MIT-SCREEN-SAVER
[    20.251] (II) Initializing extension DOUBLE-BUFFER
[    20.252] (II) Initializing extension RECORD
[    20.253] (II) Initializing extension DPMS
[    20.254] (II) Initializing extension Present
[    20.255] (II) Initializing extension DRI3
[    20.256] (II) Initializing extension X-Resource
[    20.258] (II) Initializing extension XVideo
[    20.259] (II) Initializing extension XVideo-MotionCompensation
[    20.260] (II) Initializing extension GLX
[    20.493] (II) AIGLX: Loaded and initialized i965
[    20.494] (II) GLX: Initialized DRI2 GL provider for screen 0
[    20.495] (II) Initializing extension XFree86-VidModeExtension
[    20.496] (II) Initializing extension XFree86-DGA
[    20.497] (II) Initializing extension XFree86-DRI
[    20.497] (II) Initializing extension DRI2
[    20.533] (II) intel(0): switch to mode 1366x768@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    20.536] (II) intel(0): switch to mode 1280x720@60.0 on HDMI1 using pipe 1, position (0, 0), rotation normal, reflection none
[    20.542] (II) intel(0): Setting screen physical size to 361 x 203
[    20.985] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    20.988] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    20.989] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    20.989] (**) Power Button: Applying InputClass "system-keyboard"
[    20.989] (II) LoadModule: "libinput"
[    20.990] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    21.006] (II) Module libinput: vendor="X.Org Foundation"
[    21.006] 	compiled for 1.20.8, module version = 0.30.0
[    21.006] 	Module class: X.Org XInput Driver
[    21.006] 	ABI class: X.Org XInput driver, version 24.1
[    21.006] (II) Using input driver 'libinput' for 'Power Button'
[    21.006] (**) Power Button: always reports core events
[    21.006] (**) Option "Device" "/dev/input/event3"
[    21.006] (**) Option "_source" "server/udev"
[    21.031] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    21.031] (II) event3  - Power Button: device is a keyboard
[    21.032] (II) event3  - Power Button: device removed
[    21.058] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    21.058] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    21.058] (**) Option "xkb_model" "pc101"
[    21.058] (**) Option "xkb_layout" "us"
[    21.263] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    21.264] (II) event3  - Power Button: device is a keyboard
[    21.269] (II) config/udev: Adding input device Video Bus (/dev/input/event14)
[    21.269] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    21.269] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    21.269] (**) Video Bus: Applying InputClass "system-keyboard"
[    21.269] (II) Using input driver 'libinput' for 'Video Bus'
[    21.270] (**) Video Bus: always reports core events
[    21.270] (**) Option "Device" "/dev/input/event14"
[    21.270] (**) Option "_source" "server/udev"
[    21.278] (II) event14 - Video Bus: is tagged by udev as: Keyboard
[    21.279] (II) event14 - Video Bus: device is a keyboard
[    21.279] (II) event14 - Video Bus: device removed
[    21.314] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input15/event14"
[    21.315] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    21.315] (**) Option "xkb_model" "pc101"
[    21.315] (**) Option "xkb_layout" "us"
[    21.323] (II) event14 - Video Bus: is tagged by udev as: Keyboard
[    21.324] (II) event14 - Video Bus: device is a keyboard
[    21.328] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    21.328] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    21.328] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    21.328] (**) Power Button: Applying InputClass "system-keyboard"
[    21.329] (II) Using input driver 'libinput' for 'Power Button'
[    21.329] (**) Power Button: always reports core events
[    21.329] (**) Option "Device" "/dev/input/event1"
[    21.329] (**) Option "_source" "server/udev"
[    21.339] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    21.339] (II) event1  - Power Button: device is a keyboard
[    21.340] (II) event1  - Power Button: device removed
[    21.355] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    21.355] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    21.355] (**) Option "xkb_model" "pc101"
[    21.355] (**) Option "xkb_layout" "us"
[    21.363] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    21.364] (II) event1  - Power Button: device is a keyboard
[    21.373] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    21.373] (II) No input driver specified, ignoring this device.
[    21.373] (II) This device may have been added with another device file.
[    21.377] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    21.377] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    21.377] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    21.377] (**) Sleep Button: Applying InputClass "system-keyboard"
[    21.377] (II) Using input driver 'libinput' for 'Sleep Button'
[    21.377] (**) Sleep Button: always reports core events
[    21.377] (**) Option "Device" "/dev/input/event2"
[    21.377] (**) Option "_source" "server/udev"
[    21.384] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    21.385] (II) event2  - Sleep Button: device is a keyboard
[    21.386] (II) event2  - Sleep Button: device removed
[    21.408] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[    21.408] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    21.408] (**) Option "xkb_model" "pc101"
[    21.408] (**) Option "xkb_layout" "us"
[    21.416] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    21.417] (II) event2  - Sleep Button: device is a keyboard
[    21.427] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event15)
[    21.427] (II) No input driver specified, ignoring this device.
[    21.427] (II) This device may have been added with another device file.
[    21.430] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event16)
[    21.431] (II) No input driver specified, ignoring this device.
[    21.431] (II) This device may have been added with another device file.
[    21.434] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event17)
[    21.434] (II) No input driver specified, ignoring this device.
[    21.434] (II) This device may have been added with another device file.
[    21.441] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=9 (/dev/input/event18)
[    21.441] (II) No input driver specified, ignoring this device.
[    21.441] (II) This device may have been added with another device file.
[    21.444] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=10 (/dev/input/event19)
[    21.445] (II) No input driver specified, ignoring this device.
[    21.445] (II) This device may have been added with another device file.
[    21.447] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event10)
[    21.448] (II) No input driver specified, ignoring this device.
[    21.448] (II) This device may have been added with another device file.
[    21.451] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event11)
[    21.451] (II) No input driver specified, ignoring this device.
[    21.454] (II) This device may have been added with another device file.
[    21.457] (II) config/udev: Adding input device HDA Intel PCH Dock Line Out (/dev/input/event12)
[    21.458] (II) No input driver specified, ignoring this device.
[    21.458] (II) This device may have been added with another device file.
[    21.461] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event13)
[    21.461] (II) No input driver specified, ignoring this device.
[    21.461] (II) This device may have been added with another device file.
[    21.466] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event9)
[    21.468] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    21.468] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    21.468] (**) Dell WMI hotkeys: Applying InputClass "system-keyboard"
[    21.468] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[    21.468] (**) Dell WMI hotkeys: always reports core events
[    21.468] (**) Option "Device" "/dev/input/event9"
[    21.469] (**) Option "_source" "server/udev"
[    21.479] (II) event9  - Dell WMI hotkeys: is tagged by udev as: Keyboard
[    21.480] (II) event9  - Dell WMI hotkeys: device is a keyboard
[    21.485] (II) event9  - Dell WMI hotkeys: device removed
[    21.521] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:00/wmi_bus/wmi_bus-PNP0C14:00/PNP0C14:00-9DBB5994-A997-11DA-B012-B622A1EF5492/input/input10/event9"
[    21.521] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 10)
[    21.521] (**) Option "xkb_model" "pc101"
[    21.522] (**) Option "xkb_layout" "us"
[    21.533] (II) event9  - Dell WMI hotkeys: is tagged by udev as: Keyboard
[    21.534] (II) event9  - Dell WMI hotkeys: device is a keyboard
[    21.544] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    21.544] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    21.544] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    21.545] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[    21.545] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    21.545] (**) AT Translated Set 2 keyboard: always reports core events
[    21.545] (**) Option "Device" "/dev/input/event4"
[    21.545] (**) Option "_source" "server/udev"
[    21.554] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    21.554] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    21.562] (II) event4  - AT Translated Set 2 keyboard: device removed
[    21.598] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    21.598] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[    21.598] (**) Option "xkb_model" "pc101"
[    21.598] (**) Option "xkb_layout" "us"
[    21.609] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    21.609] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    21.618] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint TouchPad (/dev/input/event8)
[    21.618] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass "evdev touchpad catchall"
[    21.618] (**) AlpsPS/2 ALPS DualPoint TouchPad: Applying InputClass "libinput touchpad catchall"
[    21.618] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS DualPoint TouchPad'
[    21.618] (**) AlpsPS/2 ALPS DualPoint TouchPad: always reports core events
[    21.618] (**) Option "Device" "/dev/input/event8"
[    21.618] (**) Option "_source" "server/udev"
[    21.627] (II) event8  - AlpsPS/2 ALPS DualPoint TouchPad: is tagged by udev as: Touchpad
[    21.638] (II) event8  - AlpsPS/2 ALPS DualPoint TouchPad: device is a touchpad
[    21.639] (II) event8  - AlpsPS/2 ALPS DualPoint TouchPad: device removed
[    21.669] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event8"
[    21.669] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS DualPoint TouchPad" (type: TOUCHPAD, id 12)
[    21.672] (**) Option "AccelerationScheme" "none"
[    21.672] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) selected scheme none/0
[    21.672] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration factor: 2.000
[    21.672] (**) AlpsPS/2 ALPS DualPoint TouchPad: (accel) acceleration threshold: 4
[    21.678] (II) event8  - AlpsPS/2 ALPS DualPoint TouchPad: is tagged by udev as: Touchpad
[    21.682] (II) event8  - AlpsPS/2 ALPS DualPoint TouchPad: device is a touchpad
[    21.685] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint TouchPad (/dev/input/mouse1)
[    21.685] (II) No input driver specified, ignoring this device.
[    21.685] (II) This device may have been added with another device file.
[    21.688] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint Stick (/dev/input/event7)
[    21.688] (**) AlpsPS/2 ALPS DualPoint Stick: Applying InputClass "evdev pointer catchall"
[    21.688] (**) AlpsPS/2 ALPS DualPoint Stick: Applying InputClass "libinput pointer catchall"
[    21.688] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS DualPoint Stick'
[    21.688] (**) AlpsPS/2 ALPS DualPoint Stick: always reports core events
[    21.688] (**) Option "Device" "/dev/input/event7"
[    21.688] (**) Option "_source" "server/udev"
[    21.693] (II) event7  - AlpsPS/2 ALPS DualPoint Stick: is tagged by udev as: Mouse Pointingstick
[    21.695] (II) event7  - AlpsPS/2 ALPS DualPoint Stick: device is a pointer
[    21.697] (II) event7  - AlpsPS/2 ALPS DualPoint Stick: device removed
[    21.761] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event7"
[    21.761] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS DualPoint Stick" (type: MOUSE, id 13)
[    21.762] (**) Option "AccelerationScheme" "none"
[    21.762] (**) AlpsPS/2 ALPS DualPoint Stick: (accel) selected scheme none/0
[    21.762] (**) AlpsPS/2 ALPS DualPoint Stick: (accel) acceleration factor: 2.000
[    21.762] (**) AlpsPS/2 ALPS DualPoint Stick: (accel) acceleration threshold: 4
[    21.767] (II) event7  - AlpsPS/2 ALPS DualPoint Stick: is tagged by udev as: Mouse Pointingstick
[    21.768] (II) event7  - AlpsPS/2 ALPS DualPoint Stick: device is a pointer
[    21.774] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint Stick (/dev/input/mouse0)
[    21.774] (II) No input driver specified, ignoring this device.
[    21.774] (II) This device may have been added with another device file.
[    21.777] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    21.777] (II) No input driver specified, ignoring this device.
[    21.777] (II) This device may have been added with another device file.
[    21.782] (II) config/udev: Adding input device DELL Wireless hotkeys (/dev/input/event5)
[    21.782] (**) DELL Wireless hotkeys: Applying InputClass "evdev keyboard catchall"
[    21.782] (**) DELL Wireless hotkeys: Applying InputClass "libinput keyboard catchall"
[    21.782] (**) DELL Wireless hotkeys: Applying InputClass "system-keyboard"
[    21.782] (II) Using input driver 'libinput' for 'DELL Wireless hotkeys'
[    21.782] (**) DELL Wireless hotkeys: always reports core events
[    21.782] (**) Option "Device" "/dev/input/event5"
[    21.782] (**) Option "_source" "server/udev"
[    21.787] (II) event5  - DELL Wireless hotkeys: is tagged by udev as: Keyboard
[    21.787] (II) event5  - DELL Wireless hotkeys: device is a keyboard
[    21.789] (II) event5  - DELL Wireless hotkeys: device removed
[    21.838] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event5"
[    21.838] (II) XINPUT: Adding extended input device "DELL Wireless hotkeys" (type: KEYBOARD, id 14)
[    21.838] (**) Option "xkb_model" "pc101"
[    21.838] (**) Option "xkb_layout" "us"
[    21.845] (II) event5  - DELL Wireless hotkeys: is tagged by udev as: Keyboard
[    21.845] (II) event5  - DELL Wireless hotkeys: device is a keyboard
[    21.912] (II) intel(0): EDID vendor "BOE", prod id 1523
[    21.913] (II) intel(0): Printing DDC gathered Modelines:
[    21.913] (II) intel(0): Modeline "1366x768"x0.0   70.12  1366 1414 1446 1485  768 771 777 787 +hsync -vsync (47.2 kHz eP)
[    21.913] (II) intel(0): Modeline "1366x768"x0.0   60.00  1366 1414 1446 1506  768 771 777 830 +hsync -vsync (39.8 kHz e)
[    21.943] (--) intel(0): HDMI max TMDS frequency 300000KHz
[    21.948] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=9 (/dev/input/event18)
[    21.948] (II) No input driver specified, ignoring this device.
[    21.948] (II) This device may have been added with another device file.
[    21.950] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=10 (/dev/input/event19)
[    21.950] (II) No input driver specified, ignoring this device.
[    21.950] (II) This device may have been added with another device file.
[    21.952] (II) config/udev: Adding input device AlpsPS/2 ALPS DualPoint TouchPad (/dev/input/mouse1)
[    21.952] (II) No input driver specified, ignoring this device.
[    21.952] (II) This device may have been added with another device file.
[    21.953] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event15)
[    21.953] (II) No input driver specified, ignoring this device.
[    21.953] (II) This device may have been added with another device file.
[    21.956] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event16)
[    21.956] (II) No input driver specified, ignoring this device.
[    21.956] (II) This device may have been added with another device file.
[    21.958] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event17)
[    21.958] (II) No input driver specified, ignoring this device.
[    21.958] (II) This device may have been added with another device file.
[    21.958] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0 /dev/dri/card0
[    21.958] xf86: remove device 0 /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    21.958] failed to find screen to remove
[    21.964] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Wireless Device Mouse (/dev/input/mouse2)
[    21.964] (II) No input driver specified, ignoring this device.
[    21.965] (II) This device may have been added with another device file.
[    21.967] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Wireless Device System Control (/dev/input/event22)
[    21.967] (**) RAPOO RAPOO 2.4G Wireless Device System Control: Applying InputClass "evdev keyboard catchall"
[    21.968] (**) RAPOO RAPOO 2.4G Wireless Device System Control: Applying InputClass "libinput keyboard catchall"
[    21.968] (**) RAPOO RAPOO 2.4G Wireless Device System Control: Applying InputClass "system-keyboard"
[    21.968] (II) Using input driver 'libinput' for 'RAPOO RAPOO 2.4G Wireless Device System Control'
[    21.968] (**) RAPOO RAPOO 2.4G Wireless Device System Control: always reports core events
[    21.968] (**) Option "Device" "/dev/input/event22"
[    21.968] (**) Option "_source" "server/udev"
[    21.977] (II) event22 - RAPOO RAPOO 2.4G Wireless Device System Control: is tagged by udev as: Keyboard
[    21.977] (II) event22 - RAPOO RAPOO 2.4G Wireless Device System Control: device is a keyboard
[    21.979] (II) event22 - RAPOO RAPOO 2.4G Wireless Device System Control: device removed
[    22.000] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:24AE:2000.0002/input/input23/event22"
[    22.001] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Wireless Device System Control" (type: KEYBOARD, id 15)
[    22.001] (**) Option "xkb_model" "pc101"
[    22.001] (**) Option "xkb_layout" "us"
[    22.013] (II) event22 - RAPOO RAPOO 2.4G Wireless Device System Control: is tagged by udev as: Keyboard
[    22.014] (II) event22 - RAPOO RAPOO 2.4G Wireless Device System Control: device is a keyboard
[    22.020] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Wireless Device Consumer Control (/dev/input/event23)
[    22.020] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: Applying InputClass "evdev keyboard catchall"
[    22.020] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: Applying InputClass "libinput keyboard catchall"
[    22.020] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: Applying InputClass "system-keyboard"
[    22.020] (II) Using input driver 'libinput' for 'RAPOO RAPOO 2.4G Wireless Device Consumer Control'
[    22.020] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: always reports core events
[    22.020] (**) Option "Device" "/dev/input/event23"
[    22.020] (**) Option "_source" "server/udev"
[    22.030] (II) event23 - RAPOO RAPOO 2.4G Wireless Device Consumer Control: is tagged by udev as: Keyboard
[    22.031] (II) event23 - RAPOO RAPOO 2.4G Wireless Device Consumer Control: device is a keyboard
[    22.032] (II) event23 - RAPOO RAPOO 2.4G Wireless Device Consumer Control: device removed
[    22.050] (II) libinput: RAPOO RAPOO 2.4G Wireless Device Consumer Control: needs a virtual subdevice
[    22.050] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:24AE:2000.0002/input/input24/event23"
[    22.050] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Wireless Device Consumer Control" (type: MOUSE, id 16)
[    22.050] (**) Option "AccelerationScheme" "none"
[    22.050] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: (accel) selected scheme none/0
[    22.050] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: (accel) acceleration factor: 2.000
[    22.050] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: (accel) acceleration threshold: 4
[    22.060] (II) event23 - RAPOO RAPOO 2.4G Wireless Device Consumer Control: is tagged by udev as: Keyboard
[    22.060] (II) event23 - RAPOO RAPOO 2.4G Wireless Device Consumer Control: device is a keyboard
[    22.062] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: Applying InputClass "evdev keyboard catchall"
[    22.062] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: Applying InputClass "libinput keyboard catchall"
[    22.063] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: Applying InputClass "system-keyboard"
[    22.063] (II) Using input driver 'libinput' for 'RAPOO RAPOO 2.4G Wireless Device Consumer Control'
[    22.063] (**) RAPOO RAPOO 2.4G Wireless Device Consumer Control: always reports core events
[    22.063] (**) Option "Device" "/dev/input/event23"
[    22.063] (**) Option "_source" "_driver/libinput"
[    22.063] (II) libinput: RAPOO RAPOO 2.4G Wireless Device Consumer Control: is a virtual subdevice
[    22.063] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:24AE:2000.0002/input/input24/event23"
[    22.063] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Wireless Device Consumer Control" (type: KEYBOARD, id 17)
[    22.063] (**) Option "xkb_model" "pc101"
[    22.063] (**) Option "xkb_layout" "us"
[    22.067] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Wireless Device (/dev/input/event20)
[    22.067] (**) RAPOO RAPOO 2.4G Wireless Device: Applying InputClass "evdev keyboard catchall"
[    22.067] (**) RAPOO RAPOO 2.4G Wireless Device: Applying InputClass "libinput keyboard catchall"
[    22.067] (**) RAPOO RAPOO 2.4G Wireless Device: Applying InputClass "system-keyboard"
[    22.068] (II) Using input driver 'libinput' for 'RAPOO RAPOO 2.4G Wireless Device'
[    22.068] (**) RAPOO RAPOO 2.4G Wireless Device: always reports core events
[    22.068] (**) Option "Device" "/dev/input/event20"
[    22.068] (**) Option "_source" "server/udev"
[    22.077] (II) event20 - RAPOO RAPOO 2.4G Wireless Device: is tagged by udev as: Keyboard
[    22.079] (II) event20 - RAPOO RAPOO 2.4G Wireless Device: device is a keyboard
[    22.081] (II) event20 - RAPOO RAPOO 2.4G Wireless Device: device removed
[    22.098] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:24AE:2000.0001/input/input21/event20"
[    22.098] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Wireless Device" (type: KEYBOARD, id 18)
[    22.098] (**) Option "xkb_model" "pc101"
[    22.099] (**) Option "xkb_layout" "us"
[    22.111] (II) event20 - RAPOO RAPOO 2.4G Wireless Device: is tagged by udev as: Keyboard
[    22.112] (II) event20 - RAPOO RAPOO 2.4G Wireless Device: device is a keyboard
[    22.119] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Wireless Device Mouse (/dev/input/event21)
[    22.120] (**) RAPOO RAPOO 2.4G Wireless Device Mouse: Applying InputClass "evdev pointer catchall"
[    22.120] (**) RAPOO RAPOO 2.4G Wireless Device Mouse: Applying InputClass "libinput pointer catchall"
[    22.120] (II) Using input driver 'libinput' for 'RAPOO RAPOO 2.4G Wireless Device Mouse'
[    22.120] (**) RAPOO RAPOO 2.4G Wireless Device Mouse: always reports core events
[    22.120] (**) Option "Device" "/dev/input/event21"
[    22.120] (**) Option "_source" "server/udev"
[    22.131] (II) event21 - RAPOO RAPOO 2.4G Wireless Device Mouse: is tagged by udev as: Mouse
[    22.132] (II) event21 - RAPOO RAPOO 2.4G Wireless Device Mouse: device is a pointer
[    22.135] (II) event21 - RAPOO RAPOO 2.4G Wireless Device Mouse: device removed
[    22.159] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:24AE:2000.0002/input/input22/event21"
[    22.159] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Wireless Device Mouse" (type: MOUSE, id 19)
[    22.161] (**) Option "AccelerationScheme" "none"
[    22.161] (**) RAPOO RAPOO 2.4G Wireless Device Mouse: (accel) selected scheme none/0
[    22.161] (**) RAPOO RAPOO 2.4G Wireless Device Mouse: (accel) acceleration factor: 2.000
[    22.161] (**) RAPOO RAPOO 2.4G Wireless Device Mouse: (accel) acceleration threshold: 4
[    22.171] (II) event21 - RAPOO RAPOO 2.4G Wireless Device Mouse: is tagged by udev as: Mouse
[    22.172] (II) event21 - RAPOO RAPOO 2.4G Wireless Device Mouse: device is a pointer
[    38.622] (--) intel(0): HDMI max TMDS frequency 300000KHz
[    38.711] (II) intel(0): resizing framebuffer to 1920x1080
[    39.041] (II) intel(0): switch to mode 1920x1080@75.0 on HDMI1 using pipe 1, position (0, 0), rotation normal, reflection none
[    48.452] (--) intel(0): HDMI max TMDS frequency 300000KHz
[    49.661] (EE) event21 - RAPOO RAPOO 2.4G Wireless Device Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
[   108.960] (EE) event21 - RAPOO RAPOO 2.4G Wireless Device Mouse: client bug: event processing lagging behind by 14ms, your system is too slow
[   109.792] (EE) event21 - RAPOO RAPOO 2.4G Wireless Device Mouse: client bug: event processing lagging behind by 14ms, your system is too slow
[   226.241] (--) intel(0): HDMI max TMDS frequency 300000KHz
[   514.150] (EE) event20 - RAPOO RAPOO 2.4G Wireless Device: client bug: event processing lagging behind by 32ms, your system is too slow

I am using a Dell Latitude 5450.
I have used Manjaro Gnome edition until lrecently and than did a fresh install of XFCE edition, although now it seems that the computer is working slow in general when espacially when using Firefox or chromium.
When using Gnome rebooting with the display conncted would usually solve the proble. However with xfce the computer remains sluggish as long as its connected to the external display. when monitoring the CPU performance there is usually high cpu usage when opening FIrefox, when scrolling or when playing a youtube .

Thank you for the help.

Maybe related to the hardware acceleration of Firefox? Appears the same problem with other programs also?

I would try running (install intel-gpu-tools):

sudo intel_gpu_top

And have look at the gpu workload.