Waywallen

Troubleshooting

Confirmed solutions for NVIDIA, Flatpak permissions, logs and debugging.

Troubleshooting

  1. NVIDIA Web wallpapers: disable shared_texture_enabled in the web renderer settings.
  2. NVIDIA video decoding: use nvidia-vaapi-driver to expose NVDEC through VA-API; there is no dedicated NVDEC backend.

Flatpak media permission

Flatpak needs access to the MPRIS D-Bus service to read information about the currently playing track. Grant the permission for the current user:

                        flatpak override --user \
  --talk-name='org.mpris.MediaPlayer2.*' \
  org.waywallen.waywallen
                      

Collect logs

First stop the running Waywallen daemon. Then enable detailed Rust and zbus logging and launch Waywallen from the same terminal:

                        export RSTD_LOG=debug RUST_LOG=debug,zbus=warn
./waywallen
                      

Debug inside Flatpak

Install the matching Flatpak debug package, open a development shell and start Waywallen with GDB. Decline debuginfod if prompted, reproduce the problem, then request a backtrace:

                        flatpak install org.waywallen.waywallen.Debug
flatpak run --devel --command=bash org.waywallen.waywallen

gdb waywallen
(gdb) run
Enable debuginfod for this session? (y or [n]) n

# Reproduce the problem, then get the stack trace
(gdb) bt
                      

Debug a core dump

Alternatively, export an existing core dump and open it with the Waywallen symbols from the Flatpak development environment:

                        coredumpctl dump <id> -o core.save
flatpak run --devel --filesystem=host --command=bash \
  org.waywallen.waywallen

gdb waywallen core.save