Getting a very frequent warning about an undefined "toString" from wayland

When I use journalctl to check errors and warnings I see this message pop up over and over, like a thousand entries in just a day.

Jan 19 11:41:51 ls-system kwin_wayland[1765]: file:///usr/share/kwin/scripts/forceblur/contents/ui/main.qml:51: TypeError: Cannot read property 'toString' of undefined
Jan 19 11:42:01 ls-system kwin_wayland[1765]: file:///usr/share/kwin/scripts/forceblur/contents/ui/main.qml:51: TypeError: Cannot read property 'toString' of undefined
Jan 19 11:42:02 ls-system kwin_wayland[1765]: file:///usr/share/kwin/scripts/forceblur/contents/ui/main.qml:51: TypeError: Cannot read property 'toString' of undefined
Jan 19 11:42:02 ls-system kwin_wayland[1765]: file:///usr/share/kwin/scripts/forceblur/contents/ui/main.qml:51: TypeError: Cannot read property 'toString' of undefined
Jan 19 11:42:09 ls-system kwin_wayland[1765]: file:///usr/share/kwin/scripts/forceblur/contents/ui/main.qml:51: TypeError: Cannot read property 'toString' of undefined
Jan 19 11:42:09 ls-system kwin_wayland[1765]: file:///usr/share/kwin/scripts/forceblur/contents/ui/main.qml:51: TypeError: Cannot read property 'toString' of undefined

The offending code in the script is on line 51.

client.windowId.toString(16)

When I open the script with Kate, the output in the lower left flashes and gives me this warning.

[06:53:27 ![](dialog-scripts) LSP Client Warning] Failed to find server binary: qmlls6

Please check your PATH for the binary

See also https://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/qmlls for installation or details

[06:53:28 ![](dialog-scripts) LSP Client Warning] Failed to find server binary: qmlls6

Please check your PATH for the binary

See also https://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/qmlls for installation or details

I have used Pacman -Q to see if qmlls or qmlls6 were installed and got nothing.
I then used Pacman -S to see if they were available for install and got nothing again.

I then checked the Archlinux package search on their website, and neither qmlls or qmlls6 show up.

Thanks for any help.

Edit:

After doing a little more digging qmlls is part of QML 6.6 so I’m going to install qt6-declarative from the extra repository, since it appears that qmlls comes as part of the QT declarative package, and see if that helps. :grin:

Any other advice would be appreciated.

Results from garuda-inxi

System:
  Kernel: 6.7.0-zen3-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=42a722c1-c908-4063-a286-219c5a073447 rw rootflags=subvol=@
    quiet resume=UUID=38ab94fb-bc83-42ba-8f2b-f55f41ce96f6 nosgx loglevel=3
    ibt=off
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_wayland vt: 1
    dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Laptop 15-dw0xxx v: Type1ProductConfigId
    serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: HP model: 85F5 v: 39.46 serial: <filter> UEFI: Insyde v: F.63
    date: 08/24/2023
Battery:
  ID-1: BAT1 charge: 41.2 Wh (100.0%) condition: 41.2/41.0 Wh (100.4%)
    volts: 12.7 min: 11.4 model: COMPAL PABAS0241231 type: Li-ion
    serial: <filter> status: full
CPU:
  Info: model: Intel Pentium Silver N5030 socket: U3E1 bits: 64 type: MCP
    arch: Goldmont Plus level: v2 built: 2017 process: Intel 14nm family: 6
    model-id: 0x7A (122) stepping: 8 microcode: 0x22
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 224 KiB
    desc: d-4x24 KiB; i-4x32 KiB L2: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1711 high: 3100 min/max: 800/3100 base/boost: 1100/1100
    scaling: driver: intel_cpufreq governor: schedutil volts: 0.7 V
    ext-clock: 100 MHz cores: 1: 800 2: 2147 3: 800 4: 3100 bogomips: 8755
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel GeminiLake [UHD Graphics 605] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3184
    class-ID: 0300
  Device-2: Quanta HP TrueVision HD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 0408:5365
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 res: 1366x768 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast surfaceless: drv: iris wayland: drv: iris x11:
    drv: iris inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.3-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 605 (GLK 3)
    device-ID: 8086:3184 memory: 3.31 GiB unified: yes display-ID: :1.0
  API: Vulkan v: 1.3.274 layers: 3 device: 0 type: integrated-gpu name: Intel
    UHD Graphics 605 (GLK 3) driver: mesa intel v: 23.3.3-arch1.1
    device-ID: 8086:3184 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 16.0.6 128 bits) driver: mesa llvmpipe
    v: 23.3.3-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_apl bus-ID: 00:0e.0
    chip-ID: 8086:3198 class-ID: 0403
  API: ALSA v: k6.7.0-zen3-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8821ce v: N/A modules: rtw88_8821ce
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 1000 bus-ID: 02:00.0
    chip-ID: 10ec:c821 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth 4.2 Adapter driver: btusb v: 0.8 type: USB
    rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:2 chip-ID: 0bda:b00a
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 465.76 GiB used: 66.63 GiB (14.3%)
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABF050
    family: 2.5" HDD MQ01ABF... size: 465.76 GiB block-size: physical: 4096 B
    logical: 512 B sata: 3.0 speed: 6.0 Gb/s tech: HDD rpm: 5400
    serial: <filter> fw-rev: 3C temp: 34 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 1y 186d 19h cycles: 618
    Old-Age: g-sense error rate: 1176
Partition:
  ID-1: / raw-size: 196.2 GiB size: 196.2 GiB (100.00%)
    used: 53.99 GiB (27.5%) fs: btrfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1
  ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
    used: 584 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/sda4 maj-min: 8:4
  ID-3: /home raw-size: 196.2 GiB size: 196.2 GiB (100.00%)
    used: 53.99 GiB (27.5%) fs: btrfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1
  ID-4: /opt raw-size: 256.84 GiB size: 256.84 GiB (100.00%)
    used: 12.64 GiB (4.9%) fs: btrfs block-size: 4096 B dev: /dev/sda2
    maj-min: 8:2
  ID-5: /var/log raw-size: 196.2 GiB size: 196.2 GiB (100.00%)
    used: 53.99 GiB (27.5%) fs: btrfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1
  ID-6: /var/tmp raw-size: 196.2 GiB size: 196.2 GiB (100.00%)
    used: 53.99 GiB (27.5%) fs: btrfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 11.72 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3
  ID-2: swap-2 type: zram size: 3.39 GiB used: 404.8 MiB (11.7%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 229 Uptime: 5m wakeups: 0 Memory: total: 4 GiB note: est.
  available: 3.39 GiB used: 2.26 GiB (66.5%) igpu: 64 MiB Init: systemd v: 255
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1369 libs: 407 tools: octopi,paru Shell: Bash v: 5.2.21
  running-in: konsole inxi: 3.3.31
Garuda (2.6.22-1):
  System install date:     2024-01-07
  Last full system update: 2024-01-20
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

Please, garuda-inxi!

See also https://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/qmlls for installation or details
2 Likes

First post edited to swap out results of inxi -F with garuda-inxi.

After installing qt6-declarative and rebooting, the entire screen, except for the system tray, was greyed out. I removed qt6-declarative and rebooted, screen has color again.

installing qt6-declarative was not a good solution.

Can you try with an x11 session, unless you necessarily need Wayland?
I had not checked the details, sorry.
That script is not for wayland. See upstream:

And the last commit two years ago! :thinking:

1 Like

Yeah, I did that, and now I just get new warnings about things being undefined. LOL

Apparently, no one wins at this game.

Is kwin-forceblur necessary for the plasma desktop on Garuda? I mean it’s part of the install package from the iso so assumed it was, but if it’s not something necessary for the system I don’t mind giving it the ol’e pacman -R.

For sure not necessary.
I don’t have access to the system at the moment, but I guess you can simply disable it in the system settings.

1 Like

Awesome, and thank you.

It had me scratching my head for a minute after your reply. Like, if it’s not for wayland then why was it being called when I’m using the wayland session.

Fun thing is, I’ve had the blur effect disabled for a while now, and something was still trying to call that script.

1 Like

I don’t think kwin scripts can be differentiated to run in x11 or Wayland. The folder is the same, and probably both kwin and kwin_wayland read there. But I’m not a developer, and much the less a KDE developer :wink:.
Why it runs, I don’t know. Maybe blur was disabled but forceblur (which I guess is something separate) was enabled?

2 Likes

I don’t even see an option to disable forceblur in the system settings.

I’m going to have to figure out where this thing is enabled, or what is calling it, and if what calls it has a config file I can turn it off in.

OMG!!!

I finally found the setting, and turned that crap off! How did I not find this before?

FML

1 Like

Check those files in how to use section in GitHub.
Maybe you can simply delete them.
Edit: ah, so my memory is not so bad. I did remember that, from the times when I liked to play with that stuff!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.