Wallpaper Engine:壁纸引擎

Wallpaper Engine:壁纸引擎

Personal Slideshow
ribs 2024 年 11 月 10 日 下午 2:50
How to decrease GPU on panning images:
A tip that imo should be included to decrease gpu consumption on panning images:

in the file workshop\content\431960\796697921\attribtransition.js:142

line 142:

'timingFunction': this.transitionTiming

Change the this.transitionTiming to 'steps(X)' where X is the amount of keyframes you want related to the transition time, for example:

transition / keyframes = fps.

transition time: 1 minute (60 seconds) with 3 steps will generate 1 frame each 20 seconds.


'timingFunction': 'steps(3)'


This will create a still panning effect, the image will pan, but will be still most of the time.

My GPU decreased from 40% to 1% with this trick and I still can see the entire panoramic photo, it's not smooth but IDC too much about it.
< >
正在显示第 1 - 3 条,共 3 条留言
ribs 2024 年 11 月 10 日 下午 2:52 
Other than that this is an amazing piece of software! I tried several others (Display Fusion, Jhons background, multiwall, BioniX wallpaper changer, wally etc) and none of them could do what this one does, nice job man!
Squee  [开发者] 2024 年 11 月 12 日 下午 2:07 
Oh .. That is an interesting idea. And I am amazed you were willing to go that deep into the code considering the state of it. Thanks for the feedback.

The performance is mostly because I never expected things to get this far. But was always just "just another feature" and the code turned into what you see. But I certain value any tweaks to performance where I can without starting from the ground up, so will look into this as an option if it's of value.

Also if you like performance and also transition effects you could consider transitions with less elements are usually less intensive. So some of the basic one really do not come with the same impact as some of the more complex ones with patters on grids.

And finally.... be sure to make a copy of the code into your own projects folder in case I do update the code again in a while. So I don't overwrite your edits.
ribs 2024 年 11 月 23 日 上午 8:19 
Thank you for your response! I usually lose track of my tweaks over time, but I hope this topic can stay accessible when I need it. The transitions weren’t the problem, they spike the GPU for a little but don’t consume too much. The problem I faced was the panning effect.

See, I have this monitor in portrait mode, and I don’t like compression on the images, so they’re large files, ranging from 15 to 60 MB each, very rich with detail. I like seeing those images where I can’t spot any compression, it’s neat.

My guess is, because they’re large and they’re panning across the screen, they consume a lot of GPU. So reducing the keyframes for the panning animation can make them static for a while, but they move from time to time to show the whole panorama. As a good side effect, it actually helped me to not lose focus, because when they move smoothly, the panning effect grabs my attention unintentionally by instinct.

The same change also affects the keyframes for the transition effects between images. Maybe there’s a way to not make them related? But for my purpose, it’s alright.

Some wallpapers have this option to reduce the FPS of the animations, maybe that’s an alternative?

I think you should put this or the next version of the project on GitHub. I’m sure this is a wonderful showcase of one of the best (for me, it’s the best) slideshow wallpapers out there. I just looked at the code to find a solution for my problem, so I don’t really know if your code is bloated or not, but regardless, it’s a very feature-rich slideshow wallpaper software, and I’m glad you made it.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50