What I always used for my configuration through copy-paste from various sources is presented next but the only changes I made to it was when it crashed. Now that I have amdgpu finally working with all of the associated bling, I decided to review the performance situation.
Final file available here
- Performance considerations by chjj found here
$man 1 compton
Turn it on and off again
During these benchmarks I kept normal activity on the screen
and an 1080p 8 hour youtube video of a fireplace on 1/4 of the screen. This
firefox window was also supposed to be used for the partial update benchmark
--benchmark-wid simply refused everything I threw at it so I decided to
postpone such test to a later date.
The benchmark used will be the following to simulate full screen repaint.
vblank_mode is set to
0 to disable AMDGPU’s default vsync.
First thing I did was to remove all backend options except the backend
get a baseline then add vsync to check if it impacted performance.
Config 2 - swap method 2
Config 3 - swap method 2 && no-rebind-pixmap
Config 4 - swap method 6
|Original||GLX||Vsync-mswc||Config 2||Config 3||Config 4|
Time in seconds to repaint the screen 5000 times
- Adding vsync didn’t change the results of the benchmark.
gpushader4didn’t make much difference, or at least, within the margin error.
no-rebind-pixmap appearsto reduce performance but since it’s most useful in a specific situation it’s still an option to consider.
- I’m keeping config 2 for now.