Troubleshooting
Common issues and their solutions.
Common issues and their solutions.
Video Won't Play
"Pipeline failed to reach playing state"
Cause: Missing codec support
Solution: Install GStreamer codec plugins:
# Arch Linux
sudo pacman -S gst-plugins-ugly gst-libav
# Ubuntu/Debian
sudo apt install gstreamer1.0-plugins-ugly gstreamer1.0-libavVideo Plays But No Display
Cause: Wayland compositor not detected or EGL initialization failed
Solution:
- Verify you're running a Wayland compositor (Hyprland, Sway, etc.)
- Check EGL support:
gst-inspect-1.0 egl - Try with verbose output:
gslapper -vv DP-1 video.mp4
Video Plays But Freezes
Cause: GStreamer pipeline issues or resource exhaustion
Solution:
- Check system resources:
htop - Restart gSlapper
- Try a different video file
- Check logs with
-vvflag
Image Issues
Image Not Displaying
Cause: Unsupported format or file corruption
Solution:
- Verify file format is supported (JPEG, PNG, WebP, GIF)
- Check file is not corrupted:
file /path/to/image.jpg - Try with another image
- Use verbose mode:
gslapper -vv DP-1 image.jpg
Image Shows Letterboxing
Cause: Wrong scaling mode
Solution: Use fill mode:
gslapper -o "fill" DP-1 image.jpgImage Looks Distorted
Cause: Stretch mode enabled
Solution: Use fill mode instead:
gslapper -o "fill" DP-1 image.jpgTransition Issues
Transitions Not Working
Cause: IPC not enabled or transitions disabled
Solution:
- Enable IPC:
-I /tmp/gslapper.sock - Enable transitions:
--transition-type fade - Verify both are set:
gslapper --transition-type fade --transition-duration 2.0 -I /tmp/gslapper.sock DP-1 image.jpgTransition Shows Letterboxing
Cause: This was a bug that has been fixed in recent versions
Solution: Update to latest version. Both images should fill the screen correctly.
Transition Too Fast/Slow
Cause: Duration not set correctly
Solution: Adjust duration:
# Faster (0.5 seconds)
gslapper --transition-type fade --transition-duration 0.5 -I /tmp/sock DP-1 image.jpg
# Slower (3.0 seconds)
gslapper --transition-type fade --transition-duration 3.0 -I /tmp/sock DP-1 image.jpgIPC Issues
"Connection refused" or "No such file"
Cause: IPC socket not created or gSlapper not running
Solution:
- Verify gSlapper is running:
pgrep gslapper - Check socket exists:
ls -l /tmp/gslapper.sock - Ensure IPC was enabled:
gslapper -I /tmp/gslapper.sock ...
IPC Commands Not Working
Cause: Wrong socket path or permission issues
Solution:
- Use correct socket path
- Check permissions:
ls -l /tmp/gslapper.sock - Try with socat instead of nc:
echo "query" | socat - UNIX-CONNECT:/tmp/gslapper.sockList Available Commands
Use the help command to see all available IPC commands:
echo "help" | nc -U /tmp/gslapper.sockUnderstanding Error Messages
Recent versions provide detailed error messages:
| Error Message | Meaning |
|---|---|
File not accessible: <path> (No such file or directory) | File doesn't exist |
File not accessible: <path> (Permission denied) | Insufficient permissions |
Path too long (max 4096 characters) | File path exceeds maximum length |
Invalid input: contains control characters | Input contains forbidden characters |
Unknown command | Use help to list valid commands |
Multi-Monitor Issues
Wrong Monitor Selected
Cause: Monitor name mismatch
Solution:
- List available monitors:
gslapper -d - Use exact name or identifier
- Try with
'*'for all monitors
Wallpaper Not Showing on All Monitors
Cause: Multiple instances interfering
Solution:
- Kill all instances:
pkill gslapper - Start fresh with
'*':
gslapper -o "loop" '*' video.mp4Performance Issues
High CPU Usage
See Performance Tuning for detailed solutions.
Quick fixes:
- Lower FPS:
--fps-cap 30 - Use auto-pause:
-p - Use static images instead of videos
High Memory Usage
Cause: Large video files or memory leak
Solution:
- Use lower resolution videos
- Restart gSlapper periodically
- Check for updates (memory leaks are fixed in newer versions)
Build Issues
"meson: command not found"
Solution: Install build dependencies:
# Arch Linux
sudo pacman -S meson ninja
# Ubuntu/Debian
sudo apt install meson ninja-build"wayland-protocols not found"
Solution: Install Wayland development packages:
# Arch Linux
sudo pacman -S wayland-protocols
# Ubuntu/Debian
sudo apt install wayland-protocolsCompilation Errors
Solution:
- Ensure all dependencies are installed
- Clean build directory:
rm -rf build && meson setup build - Check for error messages in build output
Getting Help
Verbose Output
Always include verbose output when reporting issues:
gslapper -vv DP-1 video.mp4 > /tmp/gslapper.log 2>&1System Information
Include when reporting issues:
- Distribution and version
- Wayland compositor (Hyprland, Sway, etc.)
- GPU and drivers
- GStreamer version:
gst-launch-1.0 --version
Reporting Issues
- Check existing issues on GitHub
- Include verbose log output
- Include system information
- Describe steps to reproduce
