Hi,
With the use of jxl-oxide image crate decoding hook jxl images are now memory limited using the default image limits.
The downside is that some of the default gnome wallpapers now fail to show which might create a bad user experience if you are switching DEs. The error is:
WARN Failed to decode image: /usr/share/backgrounds/gnome/amber-l.jxl, why: Decoding(DecodingError { format: PathExtension("jxl"), underlying: Some(Decoding(DecodingError { format: PathExtension("jxl"), underlying: Some(Buffer(OutOfMemory { bytes: 67108892 })) })) })
at src/wallpaper.rs:136 on main
You can find the wallpapers here: https://gitlab.gnome.org/GNOME/gnome-backgrounds/
An easy workaround is to increase the default memory limit to Some(1024 * 1024 * 1024) instead of Some(512 * 1024 * 1024) which works for all of the gnome wallpapers.
Hi,
With the use of
jxl-oxideimage crate decoding hook jxl images are now memory limited using the default image limits.The downside is that some of the default gnome wallpapers now fail to show which might create a bad user experience if you are switching DEs. The error is:
You can find the wallpapers here: https://gitlab.gnome.org/GNOME/gnome-backgrounds/
An easy workaround is to increase the default memory limit to
Some(1024 * 1024 * 1024)instead ofSome(512 * 1024 * 1024)which works for all of the gnome wallpapers.