warpd
warpd copied to clipboard
Have problem with Hyprland Wayland
I had a serious problem when I switched to Hyprland, when warpd --normal
was run, I didn't see any cursor active, like dot square cursor, had to slightly touch the mouse to make it active, when warpd was running normally, cursor could move around moved area, but the problem is it can't be clicked.
Error:
[I]➜ warpd -v
warpd v1.3.5
---------------------------------------------------------
drm in ~ …
[I]➜ warpd -f
Starting warpd v1.3.5
FATAL: wayland: way_monitor_file unimplemented
--------------------------------------------------------
drm in ~ …
[I]➜ warpd --normal
wayland: mouse hiding not implemented
wayland: mouse hiding not implemented
wayland: mouse hiding not implemented
---------------------------------------------------------
drm in ~ took 10,9s …
[I]➜ warpd --normal
fffwayland: mouse hiding not implemented
This my script for hyprland + nvidia
#!/bin/sh
cd ~
export _JAVA_AWT_WM_NONREPARENTING=1
export __GL_GSYNC_ALLOWED=0;
export __GL_VRR_ALLOWED=0;
export WLR_DRM_NO_ATOMIC=1;
export QT_AUTO_SCREEN_SCALE_FACTOR=1;
export QT_QPA_PLATFORM=wayland;
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1;
export MOZ_ENABLE_WAYLAND=1
export XCURSOR_SIZE=24
export LIBVA_DRIVER_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export WLR_NO_HARDWARE_CURSORS=1
export WLR_RENDERER=vulkan
export NVD_BACKEND=direct
exec Hyprland
[I]➜ inxi -G
Graphics:
Device-1: Intel HD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] driver: nvidia
v: 525.85.05
Display: wayland server: X.Org v: 22.1.7 with: Xwayland v: 22.1.7
compositor: Hyprland driver: X: loaded: modesetting,nvidia dri: iris
gpu: i915 resolution: 2560x1440~60Hz
API: OpenGL v: 4.6.0 NVIDIA 525.85.05 renderer: NVIDIA GeForce GTX
1060/PCIe/SSE2
[I]➜ nvidia-smi
Wed Feb 8 06:40:48 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.05 Driver Version: 525.85.05 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 54C P2 23W / 78W | 112MiB / 6144MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2578 C+G Hyprland 5MiB |
| 0 N/A N/A 2918 C+G ...le-pixel-canvas-recording 90MiB |
| 0 N/A N/A 3310 G kitty 10MiB |
+-----------------------------------------------------------------------------+
rvaiya, thank you for your wonderful tool (and for keyd which is a true blessing)! I've just transitioned to Wayland and unfortunately I am having the same issue (I don't have an Nvidia videocard so I suppose it's not related).
I believe this should be fixed in the latest commit. Please be aware that wayland support is experimental and has several limitations due to the way wayland is architected. warpd is mostly in maintenance mode at this point.
I plan on eventually integrating most of the useful functionality into keyd, which should help to eliminate most of these problems since it uses a lower level input mechanism (evdev) that bypasses wayland's input stack.