Having problems to take screenshot on plasma wayland

i’ve tried both grim and spectacle and even flameshot, any suggestions ?

┬─[ramon@ramon-m61pmes2p:~]─[07:57:37]
╰─>$ grim                                                           0 < 07:57:37
compositor doesn't support the screen capture protocol
┬─[ramon@ramon-m61pmes2p:~]─[07:57:39]
╰─>$ spectacle                                                      1 < 07:57:39
On Wayland, Spectacle requires KDE Plasma's KWin compositor, which does not seem to be available. Use Spectacle on KDE Plasma, or use a different screenshot tool.
load glyph failed err=6 face=0x55a75330f820, glyph=65535

The message seems to be complaining about the missing kwin compositor.

Have you checked if kwin is indeed installed?

Give the output of the following command, enclosed in the code tags, in this thread.
inxi -SMG --za

This will help to determine which compositor you are using.

As @SemLraug pointed out earlier, Spectacle requires KWin Compositor. Without that KDE Spectacle will not work.

┬─[ramon@ramon-m61pmes2p:~]─[09:07:00]
╰─>$ inxi -SMG --za                                                 0 < 09:07:00
System:
  Kernel: 6.17.9-arch1-1 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.5.3 Distro: EndeavourOS
Machine:
  Type: Desktop Mobo: N/A model: H61 v: Ver:1.44 serial: <superuser required>
    Firmware: BIOS vendor: American Megatrends v: 4.6.5 date: 09/01/2021
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1650] driver: nvidia v: 580.105.08
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch resolution: 1600x900~60Hz
  API: EGL v: 1.5 drivers: nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.105.08
    renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
  API: Vulkan v: 1.4.328 drivers: nvidia surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,
    kscreen-doctor, xfce4-display-settings gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr

If you’ve recently updated kwin, have you rebooted?

i’ll try to reinstall it and reboot

Just checked my system, on which spectacle is working as expected:

System:
Kernel:6.12.59-1-ltsarch:x86_64bits:64
Desktop:KDE Plasmav:6.5.3Distro:EndeavourOS
Machine:
Type:LaptopSystem:ASUSTeKproduct:Vivobook_ASUSLaptop M1605YA_M1605YA
v:1.0serial:<superuser required>
Mobo:ASUSTeKmodel:M1605YAv:1.0serial:<superuser required>
Firmware:UEFIvendor:American Megatrends LLC.v:M1605YA.308
date:01/22/2025
Graphics:
Device-1:Advanced Micro Devices [AMD/ATI] Barcelodriver:amdgpuv:kernel
Device-2:ShineTech USB2.0 HD UVC WebCamdriver:uvcvideotype:USB
Display:waylandserver:``X.org``v:1.21.1.21with:Xwaylandv:24.1.9
compositor:kwin_waylanddriver: X: loaded:amdgpuunloaded:modesetting
dri:radeonsigpu:amdgpuresolution:1920x1200~60Hz
API:EGLv:1.5drivers:kms_swrast,radeonsi,swrast
platforms:gbm,wayland,x11,surfaceless,device
API:OpenGLv:4.6compat-v:4.5vendor:amd mesav:25.2.7-arch1.1
renderer:AMD Radeon Graphics (radeonsi renoir ACO DRM 3.61 6.12.59-1-lts)
API:VulkanMessage:No Vulkan data available.
Info: Tools: api:clinfo, eglinfo, glxinfo, vulkaninfo
de:kscreen-console,kscreen-doctorwl:wayland-info
x11: xdpyinfo, xprop, xrandr

do you have kwin-x11 installed ?

yay kwin-x11 


[....]
1 extra/kwin-x11 6.5.3-2 (7.6 MiB 24.8 MiB) [plasma] (Installed) 
    An easy to use, but flexible, X Window Manager
 

@ramon395 it might be a problem with the Nvidia driver. Please have a look at the KDE community link.

What NVIDIA driver package have you installed and are using? Are you using the package libva-vdpau-driver from AUR or libva-nvidia-driver from Arch repos or something else? Run the command inxi -G in terminal to find out the driver being used.

Further have a look at the Arch Wiki link about KDE. It says the following

From the output that you had posted earlier, you are using wayland and have kwin_wayland installed.

What @MyNameIsRichard had said is relevant. Reboot your system.

@SemLraug Nvidia is the GPU being used.

Just noticed that - that’s one difference: I’m not on nvidea.

┬─[ramon@ramon-m61pmes2p:~]─[09:47:08]
╰─>$ inxi -G                                                        0 < 09:47:08
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1650] driver: nvidia v: 580.105.08
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch resolution: 1600x900~60Hz
  API: EGL v: 1.5 drivers: nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.105.08
    renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
  API: Vulkan v: 1.4.328 drivers: nvidia surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,
    kscreen-doctor, xfce4-display-settings gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr

So you have, OpenGL and Vulkan with NVidia. Typically we have one of them, i.e. OpenGL or Vulkan. From the output of inxi command you are using a NVidia GTX 1650 which is a NVidia GTX 16 series card based on the NVIDIA Turing architecture.

Please go through the links that I have given earlier. Also what driver have you installed? Is it libva-vdpau-driver from AUR or libva-nvidia-driver from Arch repos or both or something else?

looks like it’s libva-nvidia-driver that i have installed

i was getting a different output when running spectacle, i did some research and looks like it was something related to lib32-spirv-tools, i installed it and the output changed (the one i posted) i installed lib32-spirv-tools about 2 days ago i believe

Just for the record, can you show the output of

nvidia-inst --test
┬─[ramon@ramon-m61pmes2p:~]─[20:49:18]
╰─>$ nvidia-inst --test                                             0 < 20:49:18
fish: Unknown command: nvidia-inst

Thanks for the confirmation. Did you go through all the links that I had posted?

What was the error that you got prior to installation of lib32-spirv-tools? If one has the package spirv-tools installed then lib32-spirv-tools package is required only if the system needs 32-bit support. Based on your earlier post, you are running a 64-bit x86 system.

@manuel had asked for nvidia-inst output. Please go through this link and get it installed and then check which drivers are needed.

OK, you need to install it first:

sudo pacman -Syu nvidia-inst

Then you’re good to go. :wink:

1 Like
┬─[ramon@ramon-m61pmes2p:~]─[19:22:41]
╰─>$ nvidia-inst --test                                             0 < 19:22:41
2025-12-03 19:22:45: Note: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1650] [10de:2188] (rev a1) (prog-if 00 [VGA controller])
2025-12-03 19:22:45: Note: Currently installed packages related to Nvidia:
2025-12-03 19:22:45:       cuda 13.0.2-3
2025-12-03 19:22:45:       egl-gbm 1.1.2.1-1
2025-12-03 19:22:45:       egl-wayland 4:1.1.20-1
2025-12-03 19:22:45:       egl-x11 1.0.3-1
2025-12-03 19:22:45:       lib32-opencl-nvidia 580.105.08-1
2025-12-03 19:22:45:       libva-nvidia-driver 0.0.14-1
2025-12-03 19:22:45:       libvdpau 1.5-3
2025-12-03 19:22:45:       libxnvctrl-470xx 470.256.02-3
2025-12-03 19:22:45:       linux-firmware-nvidia 20251125-1
2025-12-03 19:22:45:       nvidia 580.105.08-4
2025-12-03 19:22:45:       nvidia-inst 25.11-1
2025-12-03 19:22:45:       nvidia-utils 580.105.08-5
2025-12-03 19:22:45:       opencl-nvidia-470xx 470.256.02-8.00
2025-12-03 19:22:45: Note: inxi -Gza
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1650] driver: nvidia v: 580.105.08
    alternate: nouveau,nvidia_drm non-free: 550-580.xx+ status: current (as of
    2025-11; EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s ports: active: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 01:00.0
    chip-ID: 10de:2188 class-ID: 0300
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.6:4
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: HDMI-A-1 model: Samsung SMB2030N serial: <filter> built: 2010
    res: mode: 1600x900 hz: 60 scale: 100% (1) dpi: 92 gamma: 1.2
    size: 443x249mm (17.44x9.8") diag: 508mm (20") ratio: 16:9 modes:
    max: 1600x900 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia
    x11: drv: nvidia inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.105.08
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
    memory: 3.91 GiB display-ID: :1.0
  API: Vulkan v: 1.4.328 layers: 3 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 1650 driver: nvidia v: 580.105.08
    device-ID: 10de:2188 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,
    kscreen-doctor, xfce4-display-settings gpu: nvidia-smi wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
2025-12-03 19:22:47: Info: nvidia-inst version 25.11-1
2025-12-03 19:22:47: Info: Command line: nvidia-inst --test
2025-12-03 19:22:47: Info: Selected mode: nvidia (Nvidia's open source)
2025-12-03 19:22:47: Info: Rename existing file /etc/X11/xorg.conf.d/20-nvidia.conf to /etc/X11/xorg.conf.d/20-nvidia.conf.save
2025-12-03 19:22:47: Info: Installing packages: nvidia-open-dkms nvidia-settings nvidia-hook
2025-12-03 19:22:47: Info: Removing packages: nvidia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMMANDS TO RUN:
    pacman -Rs --noconfirm --noprogressbar --nodeps nvidia
    pacman -Syuq --noconfirm --noprogressbar --needed nvidia-open-dkms nvidia-settings nvidia-hook
    mv /etc/X11/xorg.conf.d/20-nvidia.conf /etc/X11/xorg.conf.d/20-nvidia.conf.save
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~