Overview
Better Blur DX can be resource-intensive, especially with many windows open or when using high blur strength values. This page explains common performance issues and how to resolve them.High Cursor Latency on Wayland
The Problem
Better Blur DX performs real-time blur calculations as windows move and content changes. When you have many windows open or use high blur strength settings, this can create significant GPU load. On Wayland, this GPU load can affect cursor rendering, causing:- Noticeable delay between mouse movement and cursor position
- Cursor stuttering or “skipping” across the screen
- Reduced cursor smoothness during window animations
- General system sluggishness during heavy blur usage
Primary Solution: KWIN_DRM_NO_AMS
Set the following environment variable to reduce cursor latency:How to Set This Variable
Method 1: System-wide (Recommended) Create or edit/etc/environment:
~/.config/plasma-workspace/env/kwin-env.sh:
The temporary method will only last until you log out or restart KWin. Use Method 1 or 2 for permanent configuration.
Software vs Hardware Cursor
Understanding the Difference
Hardware cursor:- Rendered directly by the GPU hardware
- Lowest possible latency
- Independent of compositor performance
- May have issues with some GPU drivers
- Rendered by KWin compositor
- Slightly higher latency
- More consistent across different GPUs
- Affected by compositor load
KWIN_FORCE_SW_CURSOR
If settingKWIN_DRM_NO_AMS=1 isn’t enough to resolve cursor issues, you can experiment with forcing software or hardware cursor rendering:
When to Use Software Cursor (KWIN_FORCE_SW_CURSOR=1)
Recommended if:- You’re experiencing cursor flickering with hardware cursor
- Your cursor disappears occasionally
- You have an older GPU or driver
- Hardware cursor has visual artifacts
When to Use Hardware Cursor (KWIN_FORCE_SW_CURSOR=0)
Recommended if:- You need the absolute lowest cursor latency
- Your GPU and driver fully support hardware cursors
- Software cursor feels sluggish even with KWIN_DRM_NO_AMS
Testing Which Setting Works Best
-
Test with hardware cursor:
Move your cursor rapidly and test responsiveness.
-
Test with software cursor:
Compare the cursor behavior.
- Apply the setting that feels better using one of the permanent methods described above.
Intel GPU Cursor Issues
Intel GPUs use software cursor by default in KWin due to a known driver bug. This behavior is intentional and not specific to Better Blur DX.
The Intel Cursor Bug
Intel GPUs are affected by a driver bug that causes issues with hardware cursor rendering. To work around this, KWin automatically uses software cursor on Intel GPUs. However, this bug doesn’t affect all Intel GPUs. Some Intel hardware works perfectly fine with hardware cursor.Testing Hardware Cursor on Intel
If you have an Intel GPU and want to test if hardware cursor works on your specific hardware:- Cursor flickering or disappearing
- Visual artifacts around the cursor
- System instability or crashes
Complete Configuration Examples
Configuration 1: Maximum Compatibility (Recommended for most users)
Configuration 2: Software Cursor + No AMS
KWIN_DRM_NO_AMS.
Configuration 3: Hardware Cursor + No AMS (Advanced)
Configuration 4: Intel GPU with Hardware Cursor Test
Other Performance Tips
Reduce Blur Strength
Lower blur strength values require less GPU processing:- Open Better Blur DX settings in System Settings
- Reduce the blur strength slider
- Click Apply and test performance
Reduce Number of Blurred Windows
The more windows you have open (especially transparent ones), the more GPU work is required:- Close unnecessary windows when doing GPU-intensive work
- Use window rules to disable blur for specific applications
- Consider using opaque themes for windows that don’t need blur
Disable Force Blur
If you’re using the force blur feature extensively, it increases GPU load. Consider:- Only force-blurring windows where you really want the effect
- Using transparent themes instead of force blur when possible