High performance X11 animated wallpapers

栏目: IT技术 · 发布时间: 3年前

内容简介:A high performance animated desktop background setter for X11 that won't set your CPU on fire, drain your laptop battery, or lower ya vidya game FPS.Video of the above screenshot:

PAPERVIEW

A high performance animated desktop background setter for X11 that won't set your CPU on fire, drain your laptop battery, or lower ya vidya game FPS.

High performance X11 animated wallpapers

Video of the above screenshot: https://www.youtube.com/watch?v=6ZTiA885bWM

Build

pacman -S sdl2

make

Use

Command line:
    ./paperview FOLDER SPEED

For example:
    ./paperview scenes/castle 5

A lower SPEED number will result in a faster frame rate. Only BITMAP files are supported. Creating your own bitmap folders from gifs requires imagemagick to be installed:

convert -coalesce your.gif out.bmp

Performance

Running on a Thinkpad X230 from 2012 at 1920x1080 and 60fps:

intel_gpu_time ./paperview scenes/castle 5

user: 1.904135s, sys: 0.357277s, elapsed: 100.458648s, CPU: 2.3%, GPU: 11.7%

Known Issues

Picom (and possibly simliar compositors) seem to overwrite the base root X11 window. A pure X11 workaround can be found here:

https://gist.github.com/AlecsFerra/ef1cc008990319f3b676eb2d8aa89903

Disclaimer

The art images included here I do not own. They are for educational purposes only to demo the workings of paperview.


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

网站开发案例课堂:HTML5+CSS3+JavaScript网页设计案例课堂

网站开发案例课堂:HTML5+CSS3+JavaScript网页设计案例课堂

刘玉红 / 2015-1-1 / 68

《网站开发案例课堂:HTML5+CSS3+JavaScript网页设计案例课堂》作者根据在长期教学中积累的网页设计教学经验,完整、详尽地介绍HTML 5 + CSS 3 + JavaScript网页设计技术。 《网站开发案例课堂:HTML5+CSS3+JavaScript网页设计案例课堂》共分24章,分别介绍HTML 5概述、HTML 5网页文档结构、HTML 5网页中的文本和图像、HTML......一起来看看 《网站开发案例课堂:HTML5+CSS3+JavaScript网页设计案例课堂》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具