troubleshooting.md RawHistoryFolder

Troubleshooting

Diagnostics

Run the doctor command to check your system:

dumber doctor           # Full check
dumber doctor --runtime # GTK and WebKit fallback runtime checks only
dumber doctor --media   # GStreamer/VA-API only

Common Issues

Browser won't start

Symptoms: Error about the default CEF runtime, GTK libraries, or WebKitGTK fallback version.

Solution:

  1. If the error mentions GTK or the WebKit fallback, run dumber doctor --runtime.
  2. Match the fix to the backend in the error:
    • Default CEF backend: install or provide a CEF runtime. On Arch, use pacman -S cef. On Fedora or Ubuntu, install an available CEF runtime/package or set engine.cef.cef_dir to a downloaded runtime.
    • GTK/WebKit fallback backend: install GTK4 and WebKitGTK. On Arch, use pacman -S webkitgtk-6.0 gtk4. On Fedora, install GTK4 and WebKitGTK packages from your distribution. On Ubuntu, use apt install libwebkitgtk-6.0-4 libgtk-4-1.

Video playback issues

Symptoms: Videos don't play, high CPU usage, or Error #4000 on Twitch

Solution:

  1. Run dumber doctor --media

  2. If the issue occurs with engine.type = "webkit", enable GStreamer startup diagnostics:

    # ~/.config/dumber/config.toml
    [media]
    show_diagnostics = true
    
    [engine.webkit]
    gstreamer_debug_level = 3
    

    For the default CEF backend, skip engine.webkit.gstreamer_debug_level; it only affects the WebKit fallback.

  3. Check hardware decoding:

    # ~/.config/dumber/config.toml
    [media]
    hardware_decoding = "auto"  # Try "disable" if issues persist
    
  4. Install VA-API drivers:

    • AMD: libva-mesa-driver
    • Intel: intel-media-driver
    • NVIDIA: libva-nvidia-driver
  5. After diagnosing the WebKit fallback, disable diagnostic mode for quieter daily runs:

    [media]
    show_diagnostics = false
    
    [engine.webkit]
    gstreamer_debug_level = 0
    

Screen flickering on Wayland with the WebKit fallback

Symptoms: Flicker when scrolling or rendering while using engine.type = "webkit"

Solution:

[engine.webkit]
disable_dmabuf_renderer = true

Fonts look wrong

Symptoms: Missing characters, wrong font rendering

Solution:

[appearance]
sans_font = "Your Preferred Font"
monospace_font = "Your Mono Font"
default_font_size = 16

High memory usage

Symptoms: Browser uses too much RAM

Solution:

[engine]
profile = "lite"  # Reduces resource usage

Session not restoring

Symptoms: Previous tabs/panes don't restore on startup

Solution:

  1. Check session auto-restore:
    [session]
    auto_restore = true
    
  2. List sessions: dumber sessions list
  3. Manually restore: dumber sessions restore <id>

Launcher integration not working

Symptoms: Rofi/fuzzel doesn't show history or icons

Solution:

  1. Ensure PNG favicons are cached:
    dumber dmenu | head -5  # Should show entries with icon paths
    
  2. Check rofi/fuzzel supports icons:
    dumber dmenu | rofi -dmenu -show-icons
    

Logs

View application logs for debugging:

dumber logs              # List sessions
dumber logs <session-id> # View specific session
dumber logs -f <id>      # Follow in real-time
dumber crashes           # List unexpected-close reports
dumber crashes show latest
dumber crashes issue latest

Reset Configuration

If config is corrupted:

mv ~/.config/dumber/config.toml ~/.config/dumber/config.toml.bak
dumber browse  # Creates new default config

Complete Reset

Remove all data and start fresh:

dumber purge

Getting Help

  • Check logs: dumber logs
  • Check crash reports: dumber crashes
  • GitHub Issues
source
1# Troubleshooting
2
3## Diagnostics
4
5Run the doctor command to check your system:
6
7```bash
8dumber doctor           # Full check
9dumber doctor --runtime # GTK and WebKit fallback runtime checks only
10dumber doctor --media   # GStreamer/VA-API only
11```
12
13## Common Issues
14
15### Browser won't start
16
17**Symptoms:** Error about the default CEF runtime, GTK libraries, or WebKitGTK fallback version.
18
19**Solution:**
201. If the error mentions GTK or the WebKit fallback, run `dumber doctor --runtime`.
212. Match the fix to the backend in the error:
22   - **Default CEF backend:** install or provide a CEF runtime. On Arch, use `pacman -S cef`. On Fedora or Ubuntu, install an available CEF runtime/package or set `engine.cef.cef_dir` to a downloaded runtime.
23   - **GTK/WebKit fallback backend:** install GTK4 and WebKitGTK. On Arch, use `pacman -S webkitgtk-6.0 gtk4`. On Fedora, install GTK4 and WebKitGTK packages from your distribution. On Ubuntu, use `apt install libwebkitgtk-6.0-4 libgtk-4-1`.
24
25### Video playback issues
26
27**Symptoms:** Videos don't play, high CPU usage, or Error #4000 on Twitch
28
29**Solution:**
301. Run `dumber doctor --media`
312. If the issue occurs with `engine.type = "webkit"`, enable GStreamer startup diagnostics:
32
33   ```toml
34   # ~/.config/dumber/config.toml
35   [media]
36   show_diagnostics = true
37
38   [engine.webkit]
39   gstreamer_debug_level = 3
40   ```
41
42   For the default CEF backend, skip `engine.webkit.gstreamer_debug_level`; it only affects the WebKit fallback.
43
443. Check hardware decoding:
45
46   ```toml
47   # ~/.config/dumber/config.toml
48   [media]
49   hardware_decoding = "auto"  # Try "disable" if issues persist
50   ```
51
524. Install VA-API drivers:
53   - AMD: `libva-mesa-driver`
54   - Intel: `intel-media-driver`
55   - NVIDIA: `libva-nvidia-driver`
565. After diagnosing the WebKit fallback, disable diagnostic mode for quieter daily runs:
57
58   ```toml
59   [media]
60   show_diagnostics = false
61
62   [engine.webkit]
63   gstreamer_debug_level = 0
64   ```
65
66### Screen flickering on Wayland with the WebKit fallback
67
68**Symptoms:** Flicker when scrolling or rendering while using `engine.type = "webkit"`
69
70**Solution:**
71
72```toml
73[engine.webkit]
74disable_dmabuf_renderer = true
75```
76
77### Fonts look wrong
78
79**Symptoms:** Missing characters, wrong font rendering
80
81**Solution:**
82
83```toml
84[appearance]
85sans_font = "Your Preferred Font"
86monospace_font = "Your Mono Font"
87default_font_size = 16
88```
89
90### High memory usage
91
92**Symptoms:** Browser uses too much RAM
93
94**Solution:**
95
96```toml
97[engine]
98profile = "lite"  # Reduces resource usage
99```
100
101### Session not restoring
102
103**Symptoms:** Previous tabs/panes don't restore on startup
104
105**Solution:**
1061. Check session auto-restore:
107   ```toml
108   [session]
109   auto_restore = true
110   ```
1112. List sessions: `dumber sessions list`
1123. Manually restore: `dumber sessions restore <id>`
113
114### Launcher integration not working
115
116**Symptoms:** Rofi/fuzzel doesn't show history or icons
117
118**Solution:**
1191. Ensure PNG favicons are cached:
120   ```bash
121   dumber dmenu | head -5  # Should show entries with icon paths
122   ```
1232. Check rofi/fuzzel supports icons:
124   ```bash
125   dumber dmenu | rofi -dmenu -show-icons
126   ```
127
128## Logs
129
130View application logs for debugging:
131
132```bash
133dumber logs              # List sessions
134dumber logs <session-id> # View specific session
135dumber logs -f <id>      # Follow in real-time
136dumber crashes           # List unexpected-close reports
137dumber crashes show latest
138dumber crashes issue latest
139```
140
141## Reset Configuration
142
143If config is corrupted:
144
145```bash
146mv ~/.config/dumber/config.toml ~/.config/dumber/config.toml.bak
147dumber browse  # Creates new default config
148```
149
150## Complete Reset
151
152Remove all data and start fresh:
153
154```bash
155dumber purge
156```
157
158## Getting Help
159
160- Check logs: `dumber logs`
161- Check crash reports: `dumber crashes`
162- [GitHub Issues](https://github.com/bnema/dumber/issues)

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close