[FreeBSD 13] : KDE5/Plasma suddenly slows down ...

Hi everybody,

I've installed a fresh FreeBSD 13 few days ago with KDE5.

kf5-kdeclarative-5.82.0
kf5-kded-5.82.0
kf5-kdelibs4support-5.82.0
kf5-kdesignerplugin-5.82.0
kf5-kdesu-5.82.0
kf5-kdewebkit-5.82.0
mkdesktop-5.0
plasma5-kde-cli-tools-5.22.4
plasma5-kde-gtk-config-5.22.4
plasma5-kdecoration-5.22.4
plasma5-kdeplasma-addons-5.22.4
plasma5-polkit-kde-agent-1-5.22.4


I was building a cross gcc in a chrooted environment with a nullfs mount of gcc src when the system became unresponsive unless moves of the pointer.
The system didn't seem to be hung considering HD operations.
This happens all the times.

Pressing the on/off button doesn't trigger instinction immediately but one or two minutes after.

I wonder if someone has encountered this kind of trouble.

I would like to investigate further. But I don't know how. Is there a log file for KDE5/Plasma ? I didn't see anything in /var/log.

No error in Xorg.0.log, just few warnings :
Code:
[I]        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.268] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/misc/".
[    22.291] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/TTF/".
[    22.299] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/OTF/".
[    22.299] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/Type1/".
[    22.323] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/100dpi/".
[    22.338] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/75dpi/".
[    22.338] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    22.338] (WW) Disabling Keyboard0
[    22.338] (WW) Disabling Mouse0
[    22.955] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support[/I]
Never seen that on 12.2.

Very strange, isn't it ?
 
… all the times.

Pressing the on/off button doesn't trigger instinction immediately but one or two minutes after.

I wonder if someone has encountered this kind of trouble. …

Not all the time.

I don't imagine an issue with KDE Plasma.

Can you describe your hardware?

Share the result of a probe, if you like. The first of these two commands is a one-off:
  1. pkg install -y sysutils/hw-probe sysutils/lsblk sysutils/pciutils sysutils/usbutils
  2. kldload fusefs && hw-probe -all -upload
 
Thank you, grahamperrin and sorry for disturbing.
It was a fresh fbsd 13 installation, so I've preferred to go back to freebsd 12.2.
And the trouble has disappeared.

I confirm this trouble does not occur in text mode. I've observed it with KDE on stage.

I observe the same behaviour with fbsd 12.2/KDE plasma 5.22.

I guess baloo could be the cause because the default didn't exist on my previous fbsd 12.2 while baloo had been disabled.
My guess a mounted nullfs device and baloo_file can't live together; I don't exclude it could occur a race condition.

$ sysctl -a | grep ^hw
hw.machine: amd64
hw.model: Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
hw.ncpu: 4
hw.byteorder: 1234
hw.physmem: 9548382208
hw.usermem: 8421666816
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: amd64
hw.realmem: 9663676416
hw.nvidia.gpus.0.type: PCIe
hw.nvidia.gpus.0.uuid: GPU-c0e91822-7a71-6f83-0f25-00514df29a5d
hw.nvidia.gpus.0.vbios: 86.08.24.00.1f
hw.nvidia.gpus.0.irq: 267
hw.nvidia.gpus.0.model: GeForce GT 1030
hw.nvidia.registry.dwords:
hw.nvidia.registry.EnablePCIERelaxedOrderingMode: 0
hw.nvidia.registry.RegisterPCIDriver: 1
hw.nvidia.registry.DynamicPowerManagementVideoMemoryThreshold: 200
hw.nvidia.registry.DynamicPowerManagement: 0
hw.nvidia.registry.S0ixPowerManagementVideoMemoryThreshold: 256
hw.nvidia.registry.EnableS0ixPowerManagement: 0
hw.nvidia.registry.PreserveVideoMemoryAllocations: 0
hw.nvidia.registry.RmProfilingAdminOnly: 1
hw.nvidia.registry.NvLinkDisable: 0
hw.nvidia.registry.EnableUserNUMAManagement: 1
hw.nvidia.registry.EnableBacklightHandler: 1
hw.nvidia.registry.EnableStreamMemOPs: 0
hw.nvidia.registry.TCEBypassMode: 0
hw.nvidia.registry.IgnoreMMIOCheck: 0
hw.nvidia.registry.VMallocHeapMaxSize: 0
hw.nvidia.registry.KMallocHeapMaxSize: 0
hw.nvidia.registry.MemoryPoolSize: 0
hw.nvidia.registry.EnablePCIeGen3: 0
hw.nvidia.registry.RegisterForACPIEvents: 1
hw.nvidia.registry.EnableMSI: 1
hw.nvidia.registry.UsePageAttributeTable: 4294967295
hw.nvidia.registry.InitializeSystemMemoryAllocations: 1
hw.nvidia.registry.DeviceFileMode: 438
hw.nvidia.registry.DeviceFileGID: 0
hw.nvidia.registry.DeviceFileUID: 0
hw.nvidia.registry.ModifyDeviceFiles: 1
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.version: NVIDIA UNIX x86_64 Kernel Module 460.84 Wed May 26 20:14:59 UTC 2021
hw.acpi.cpu.cx_lowest: C1
hw.acpi.reset_video: 0
hw.acpi.handle_reboot: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.verbose: 0
hw.acpi.s4bios: 0
hw.acpi.sleep_delay: 1
hw.acpi.suspend_state: S3
hw.acpi.standby_state: NONE
hw.acpi.lid_switch_state: NONE
hw.acpi.sleep_button_state: S3
hw.acpi.power_button_state: S5
hw.acpi.supported_sleep_state: S3 S4 S5
hw.mca.cmc_throttle: 60
hw.mca.force_scan: 0
hw.mca.interval: 3600
hw.mca.count: 0
hw.mca.erratum383: 0
hw.mca.intel6h_HSD131: 0
hw.mca.amd10h_L1TP: 1
hw.mca.enabled: 1
hw.apic.timer_tsc_deadline: 0
hw.apic.eoi_suppression: 1
hw.apic.x2apic_mode: 0
hw.apic.enable_extint: 0
hw.intrs: irq0: attimer0:3 @cpu0(domain0): 0
hw.intrbalance: 0
hw.hv_vendor:
hw.clockrate: 3192
hw.via_feature_xcrypt: 0
hw.via_feature_rng: 0
hw.mds_disable: 0
hw.mds_disable_state: inactive
hw.spec_store_bypass_disable: 0
hw.spec_store_bypass_disable_active: 0
hw.ibrs_disable: 1
hw.ibrs_active: 0
hw.busdma.zone0.domain: 0
hw.busdma.zone0.alignment: 4096
hw.busdma.zone0.lowaddr: 0xffffffff
hw.busdma.zone0.total_deferred: 0
hw.busdma.zone0.total_bounced: 64483
hw.busdma.zone0.active_bpages: 1
hw.busdma.zone0.reserved_bpages: 0
hw.busdma.zone0.free_bpages: 1073
hw.busdma.zone0.total_bpages: 1074
hw.busdma.total_bpages: 1074
hw.dmar.timeout: 1000000
hw.dmar.batch_coalesce: 100
hw.dmar.tbl_pagecnt: 0
hw.vmbus.pin_evttask: 1
hw.hvtimesync.sample_verbose: 0
hw.hvtimesync.sample_thresh: 100
hw.hvtimesync.ignore_sync: 0
hw.storvsc.chan_cnt: 0
hw.storvsc.max_io: 512
hw.storvsc.ringbuffer_size: 262144
hw.storvsc.use_pim_unmapped: 1
hw.storvsc.use_win8ext_flags: 1
hw.hn.vf_xpnt_attwait: 2
hw.hn.vf_xpnt_accbpf: 0
hw.hn.vf_transparent: 1
hw.hn.vfmap:
hw.hn.vflist:
hw.hn.tx_agg_pkts: -1
hw.hn.tx_agg_size: -1
hw.hn.lro_mbufq_depth: 0
hw.hn.tx_swq_depth: 0
hw.hn.tx_ring_cnt: 0
hw.hn.chan_cnt: 0
hw.hn.use_if_start: 0
hw.hn.use_txdesc_bufring: 1
hw.hn.tx_taskq_mode: 0
hw.hn.tx_taskq_cnt: 1
hw.hn.lro_entry_count: 128
hw.hn.direct_tx_size: 128
hw.hn.tx_chimney_size: 0
hw.hn.tso_maxlen: 65535
hw.hn.udpcs_fixup_mtu: 1420
hw.hn.udpcs_fixup: 0
hw.hn.enable_udp6cs: 1
hw.hn.enable_udp4cs: 1
hw.hn.trust_hostip: 1
hw.hn.trust_hostudp: 1
hw.hn.trust_hosttcp: 1
hw.iavf.tx_itr: 122
hw.iavf.rx_itr: 62
hw.iavf.shared_debug_mask: 0
hw.iavf.core_debug_mask: 0
hw.iavf.enable_head_writeback: 0
hw.ixl.tx_itr: 122
hw.ixl.rx_itr: 62
hw.ixl.shared_debug_mask: 0
hw.ixl.core_debug_mask: 0
hw.ixl.enable_head_writeback: 1
hw.ixl.enable_vf_loopback: 1
hw.ixl.i2c_access_method: 0
hw.bxe.udp_rss: 0
hw.bxe.autogreeen: 0
hw.bxe.mrrs: -1
hw.bxe.max_aggregation_size: 0
hw.bxe.rx_budget: -1
hw.bxe.hc_tx_ticks: 50
hw.bxe.hc_rx_ticks: 25
hw.bxe.max_rx_bufs: 0
hw.bxe.queue_count: 4
hw.bxe.interrupt_mode: 2
hw.bxe.debug: 0
hw.psm.mux_disabled: 0
hw.psm.elantech_support: 1
hw.psm.trackpoint_support: 1
hw.psm.synaptics_support: 1
hw.psm.tap_timeout: 125000
hw.psm.tap_threshold: 25
hw.psm.tap_enabled: -1
hw.lower_amd64_sharedpage: 0
hw.instruction_sse: 1
hw.lazy_fpu_switch: 0
hw.bus.devctl_queue: 1000
hw.bus.devctl_disable: 0
hw.availpages: 2331148
hw.intr_storm_threshold: 1000
hw.xbd.xbd_enable_indirect: 1
hw.wi.debug: 0
hw.wi.txerate: 0
hw.watchdog.wd_last_u_secs: 0
hw.watchdog.wd_last_u: 0
hw.vtnet.rx_process_limit: 512
hw.vtnet.mq_max_pairs: 8
hw.vtnet.mq_disable: 0
hw.vtnet.lro_disable: 0
hw.vtnet.tso_disable: 0
hw.vtnet.csum_disable: 0
hw.usb.ums.debug: 0
hw.usb.uhid.debug: 0
hw.usb.ukbd.pollrate: 0
hw.usb.ukbd.no_leds: 0
hw.usb.ukbd.debug: 0
hw.usb.full_ddesc: 0
hw.usb.no_cs_fail: 0
hw.usb.proc.debug: 0
hw.usb.disable_port_power: 0
hw.usb.disable_enumeration: 0
hw.usb.power_timeout: 30
hw.usb.uhub.debug: 0
hw.usb.ugen.debug: 0
hw.usb.usb_lang_mask: 255
hw.usb.usb_lang_id: 9
hw.usb.template: -1
hw.usb.dev.debug: 0
hw.usb.timings.extra_power_up_time: 20
hw.usb.timings.resume_recovery: 50
hw.usb.timings.resume_wait: 50
hw.usb.timings.resume_delay: 250
hw.usb.timings.set_address_settle: 10
hw.usb.timings.port_resume_delay: 40
hw.usb.timings.port_powerup_delay: 300
hw.usb.timings.port_reset_recovery: 250
hw.usb.timings.port_root_reset_delay: 200
hw.usb.timings.port_reset_delay: 50
hw.usb.debug: 0
hw.usb.umass.throttle: 0
hw.usb.umass.debug: 0
hw.usb.no_shutdown_wait: 0
hw.usb.no_suspend_wait: 0
hw.usb.no_boot_wait: 0
hw.usb.ctrl.debug: 0
hw.usb.xhci.ctlstep: 0
hw.usb.xhci.dma32: 0
hw.usb.xhci.use_polling: 0
hw.usb.xhci.xhci_port_route: 0
hw.usb.xhci.debug: 0
hw.usb.xhci.ctlquirk: 1
hw.usb.xhci.streams: 0
hw.usb.uhci.loop: 0
hw.usb.uhci.debug: 0
hw.usb.ohci.debug: 0
hw.usb.ehci.lostintrbug: 0
hw.usb.ehci.iaadbug: 0
hw.usb.ehci.no_hs: 0
hw.usb.ehci.debug: 0
hw.broken_txfifo: 0
hw.syscons.sc_no_suspend_vtswitch: 0
hw.syscons.kbd_debug: 1
hw.syscons.kbd_reboot: 1
hw.syscons.bell: 1
hw.syscons.saver.keybonly: 1
hw.midi.seq.debug: 0
hw.midi.instroff: 0
hw.midi.dumpraw: 0
hw.midi.debug: 0
hw.midi.stat.verbose: 0
hw.snd.maxautovchans: 16
hw.snd.default_unit: 2
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: 1
hw.snd.verbose: 0
hw.snd.vpc_mixer_bypass: 1
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.basename_clone: 1
hw.snd.compat_linux_mmap: 0
hw.snd.syncdelay: -1
hw.snd.usefrags: 0
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.timeout: 5
hw.snd.latency_profile: 1
hw.snd.latency: 2
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
hw.sdhci.enable_msi: 1
hw.sdhci.quirk_set: 0
hw.sdhci.quirk_clear: 0
hw.sdhci.debug: 0
hw.puc.msi_disable: 0
hw.pci.host_mem_start: 2147483648
hw.pci.mcfg: 1
hw.pci.default_vgapci_unit: 0
hw.pci.enable_pcie_hp: 1
hw.pci.clear_pcib: 0
hw.pci.iov_max_config: 1048576
hw.pci.clear_aer_on_attach: 0
hw.pci.enable_aspm: 0
hw.pci.enable_ari: 1
hw.pci.clear_buses: 0
hw.pci.clear_bars: 0
hw.pci.usb_early_takeover: 1
hw.pci.honor_msi_blacklist: 1
hw.pci.msix_rewrite_table: 0
hw.pci.enable_msix: 1
hw.pci.enable_msi: 1
hw.pci.do_power_suspend: 1
hw.pci.do_power_resume: 1
hw.pci.do_power_nodriver: 0
hw.pci.realloc_bars: 0
hw.pci.enable_io_modes: 1
hw.pcic.pd6722_vsense: 1
hw.pcic.intr_mask: 57016
hw.cbb.debug: 0
hw.cbb.start_32_io: 4096
hw.cbb.start_16_io: 256
hw.cbb.start_memory: 2281701376
hw.pccard.cis_debug: 0
hw.pccard.debug: 0
hw.nvme.verbose_cmd_dump: 0
hw.nvme.use_nvd: 1
hw.nvd.delete_max: 1073741824
hw.mwl.rxdmalow: 3
hw.mwl.rxquota: 640
hw.mwl.txcoalesce: 8
hw.mwl.txbuf: 256
hw.mwl.rxbuf: 640
hw.mwl.rxdesc: 256
hw.mmcsd.cache: 1
hw.mmc.debug: 0
hw.mfi.mrsas_enable: 0
hw.mfi.msi: 1
hw.mfi.cmd_timeout: 30
hw.mfi.polled_cmd_timeout: 60
hw.mfi.detect_jbod_change: 1
hw.mfi.max_cmds: 128
hw.mfi.event_class: 0
hw.mfi.event_locale: 65535
hw.malo.pci.msi_disable: 0
hw.malo.txbuf: 256
hw.malo.rxquota: 256
hw.malo.rxbuf: 256
hw.malo.txcoalesce: 8
hw.kbd.keymap_restrict_change: 0
hw.ix.enable_rss: 1
hw.ix.enable_fdir: 0
hw.ix.unsupported_sfp: 0
hw.ix.enable_msix: 1
hw.ix.advertise_speed: 0
hw.ix.flow_control: 3
hw.ix.max_interrupt_rate: 31250
hw.em.max_interrupt_rate: 8000
hw.em.eee_setting: 1
hw.em.rx_process_limit: 100
hw.em.sbp: 1
hw.em.smart_pwr_down: 0
hw.em.rx_abs_int_delay: 66
hw.em.tx_abs_int_delay: 66
hw.em.rx_int_delay: 0
hw.em.tx_int_delay: 66
hw.em.disable_crc_stripping: 0
hw.cardbus.cis_debug: 0
hw.cardbus.debug: 0
hw.bge.allow_asf: 1
hw.bce.rx_ticks: 18
hw.bce.rx_ticks_int: 18
hw.bce.rx_quick_cons_trip: 6
hw.bce.rx_quick_cons_trip_int: 6
hw.bce.tx_ticks: 80
hw.bce.tx_ticks_int: 80
hw.bce.tx_quick_cons_trip: 20
hw.bce.tx_quick_cons_trip_int: 20
hw.bce.strict_rx_mtu: 0
hw.bce.hdr_split: 1
hw.bce.tx_pages: 2
hw.bce.rx_pages: 2
hw.bce.msi_enable: 1
hw.bce.tso_enable: 1
hw.bce.verbose: 1
hw.ath.bstuck: 4
hw.ath.txbuf_mgmt: 32
hw.ath.txbuf: 512
hw.ath.rxbuf: 512
hw.ath.anical: 100
hw.ath.resetcal: 1200
hw.ath.shortcal: 100
hw.ath.longcal: 30
hw.ata.ata_dma_check_80pin: 1
hw.an.an_cache_iponly: 1
hw.an.an_cache_mcastonly: 0
hw.an.an_cache_mode: dbm
hw.an.an_dump: off
hw.amr.force_sg32: 0
hw.aac.enable_msi: 1
 
Back
Top