Repository navigation
Conversation
|
chessing234
left a comment
There was a problem hiding this comment.
everything seems fine, ready to merge.
When high-resolution wallpapers are downscaled to screen resolution, unfiltered downsampling causes aliasing noise and grain across smooth and dark gradient areas. Enabling smooth filtering and mipmapping on BackgroundMedia matches the settings used on the transition frames and ensures clean rendering. Fixes omacom#13958
c4b2426 to
7f5882b
Compare
|
I read this against What the source shows so far, from my reading alone: #13958 describes the 4.0.4 background, where the wallpaper was decoded at native size and the GPU shrank it about 5.5× without mipmaps. On Next: the second classification and a worker comparison on a later run. After that, the maintainer decides. |
Fixes #13958
Problem
When high-resolution wallpapers (e.g. 4K/6K images) are downscaled to screen resolution, the background renders with noticeable aliasing grain and noise across dark and smooth gradient areas. In
shell/Ui/BackgroundMedia.qml, theImagecomponent did not specifysmooth: trueormipmap: true, resulting in unfiltered downsampling.Solution
Enable
smooth: trueandmipmap: trueon theImagewithinBackgroundMedia.qml. This matches the filtering configuration already used on transition frames (oldFrameandincomingFrameinBackground.qml) and eliminates the downscaling grain.Validation
test/shell.d/background-test.shverifying thatBackgroundMedia.qmlenablessmoothandmipmap.bash ./test/shell.d/background-test.sh(all 14 assertions passed).