Troubleshooting
No display
GPU driver issues
No sound
PipeWire setup
Theme broken
Theme system
Slow/laggy
Performance
Display Issues
Section titled “Display Issues” Hyprland won't start
Symptoms: Black screen, crashes on login, “failed to find GPU” errors.
Solutions:
- Check GPU driver is loaded:
dmesg | grep -i drmkldstat | grep drm- Load the correct DRM module:
# Intelsudo kldload i915kms
# AMDsudo kldload amdgpu
# Add to /etc/rc.conf for persistencekld_list="i915kms"- Verify Wayland socket:
ls -la /var/run/xdg/$USER/- Try starting manually with debug output:
Hyprland 2>&1 | tee ~/hyprland.log Screen flickering
Solutions:
- Disable VRR (Variable Refresh Rate):
# ~/.config/hypr/hyprland.confmisc { vrr = 0}- Force a specific refresh rate:
# ~/.config/hypr/conf/monitors.confmonitor=,1920x1080@60,auto,1 HiDPI scaling issues
Edit ~/.config/hypr/conf/monitors.conf:
# Scale factor (1.5 = 150%)monitor=eDP-1,preferred,auto,1.5
# Or set Xwayland scalexwayland { force_zero_scaling = true}Set environment variables in ~/.config/hypr/hyprland.conf:
env = GDK_SCALE,2env = QT_SCALE_FACTOR,2Theme Issues
Section titled “Theme Issues” Theme not applying
Solutions:
- Check theme exists:
ls ~/.config/omfreebdy/themes/theme-set --list- Apply theme manually with verbose output:
bash -x ~/.local/bin/theme-set tokyo-night 2>&1- Check for syntax errors in colors.toml:
cat ~/.config/omfreebdy/themes/tokyo-night/colors.toml- Verify jq is installed (required for VSCode theming):
pkg info jq || sudo pkg install jq Neovim theme not updating
Solutions:
- Check SIGUSR1 handler is registered:
nvim --headless -c "autocmd" -c "q" 2>&1 | grep Signal- Manually reload in Neovim:
:source ~/.config/nvim/init.lua:colorscheme tokyonight- Restart Neovim after theme change.
GTK apps using wrong theme
Solutions:
- Check gsettings:
gsettings get org.gnome.desktop.interface color-schemegsettings get org.gnome.desktop.interface gtk-theme- Set manually:
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"- Restart affected apps.
Audio Issues
Section titled “Audio Issues” No sound
Solutions:
- Check PipeWire is running:
pw-cli infopgrep pipewire- Start PipeWire:
pipewire &wireplumber &- Check audio sinks:
pactl list sinks shortwpctl status- Set default sink:
wpctl set-default <sink-id> Volume keys not working
Solutions:
-
Check keybindings in
~/.config/hypr/conf/bindings.conf -
Verify scripts are executable:
chmod +x ~/.local/bin/volume- Test manually:
~/.local/bin/volume upwpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+Keyboard Issues
Section titled “Keyboard Issues” Media keys not detected
Use wev to check key codes:
pkg install wevwev# Press key and note the key nameAdd binding:
# ~/.config/hypr/conf/bindings.confbind = , XF86AudioRaiseVolume, exec, volume up Wrong keyboard layout
Edit ~/.config/hypr/hyprland.conf:
input { kb_layout = us kb_variant = kb_options = ctrl:nocaps}For multiple layouts:
input { kb_layout = us,de kb_options = grp:alt_shift_toggle}Performance Issues
Section titled “Performance Issues” High CPU usage
Solutions:
- Disable blur effects:
# ~/.config/hypr/conf/looknfeel.confdecoration { blur { enabled = false }}- Reduce animations:
animations { enabled = false}- Check for runaway processes:
top -o cpu Slow application launches
Solutions:
- Rebuild font cache:
fc-cache -fv- Check D-Bus:
dbus-daemon --session &Network Issues
Section titled “Network Issues” WiFi not connecting
Solutions:
- Check interface:
ifconfig wlan0- Scan networks:
wpa_cli scanwpa_cli scan_results- Use wifi-manager:
wifi-manager selectGetting Debug Info
Section titled “Getting Debug Info”Collect system information for bug reports:
# System infouname -afreebsd-version
# GPU infopciconf -lv | grep -A4 vga
# Hyprland versionhyprctl version
# Current configcat ~/.config/hypr/hyprland.conf
# Recent logscat ~/.local/share/hyprland/hyprland.log | tail -100Resetting to Defaults
Section titled “Resetting to Defaults”Warning: This will overwrite your current configuration. Make sure to backup first.
# Backup current configcp -r ~/.config/hypr ~/.config/hypr.bak
# Reinstall default configscd ~/.omfreebdymise run apply
# Or reset specific componentscp ~/.omfreebdy/config/hypr/* ~/.config/hypr/Reporting Issues
Section titled “Reporting Issues”When reporting issues, include:
- FreeBSD version:
freebsd-version - GPU model:
pciconf -lv | grep -A4 vga - Hyprland version:
hyprctl version - Steps to reproduce
- Expected vs actual behavior
- Relevant log output
File issues at: https://gitlab.daringbit.com/josh/omfreebdy/-/issues