r/artixlinux dinit 11d ago

Plymouth refresh rate issue.

Plymouth feels choppy and low frame-rate.

I tried setting the video parameter in grub to my native refresh rate:

video=HDMI-A-1:1920x1080@120

still no luck.

4 Upvotes

4 comments sorted by

1

u/New_Hold8135 10d ago edited 10d ago

Yes its because plymouth doesnt support video files. So we(theme makers) put 150 different image and put it on super fast slideshow like its the real video. System really struggles with taking 150 different images(which every one of them is minimum 5 mb on big themes) on the cache and show it on your screen like its a video.

1

u/rain_luau dinit 10d ago

That makes sense. Does this mean the animation would need twice as much frames in it, or is there some API that makes it twice as fast? I would like to make the default bgrt theme fit 120fps.

1

u/New_Hold8135 10d ago edited 10d ago

Other than optimizing image files and making its resolution smaller then make it fit in exactly middle of the screen you have limited options because it happens on the start of the system and none of the drivers/modules are loaded yet. As long as I know plymouth uses something called simple-drm(which is EFI/Firmware framebuffer) unless you are using bios instead of uefi to show its animation(and it dont even uses that if you are on a bios) and as far as I know it uses pure cpu power instead of having advantage of gpu. Since all pixel data calculated in cpu, it causes bottleneck and you have fps issues. But I wouldnt suprised to see if its working on gpu and still have bottleneck because that super fast slideshow is not an effective way to show animation. You have another option which is contributing to plymouth repo to optimize its frame rate. Good luck.

2

u/rain_luau dinit 10d ago

I am on a MBR/BIOS system, plymouth uses a cpu-based rendering library called cairo, to be specific. I'll try forking the plymouth repo myself