Tux's lil' helper
Joined: 20 May 2011
|Posted: Wed Apr 22, 2015 6:48 pm Post subject: [SOLVED] OS radeon driver glamor no vsync
|Hello fellow gentoo users,
I recently transitioned my desktop system from the proprietary radeon drivers to the OS drivers.
I am happy with the results especially with the 2D performance and video playback but I
can´t activate vsync and that is quite annoying. I use the "radeon" driver and glamor with 2 screens and a southern islands graphics card.
The only application that is not affected by tearing is the VLC media player.
Any suggestions how to activate vsync?
thanks in advance
Using compton with the following settings solved the problem:
|backend = "glx"
vsync = "opengl-mswc"
swi-opti = true
paint-on-overlay = true
The important parameter is 'backend = "glx"' the others are just for performance tuning.
I also changed the Preemtion Model in the kernel config to "Preemptible Kernel (Low-Latency Desktop)".
Fortunately compton does not interfere with any kind of video playback even in Firefox and Chromium.
It doesn´t matter what output module I use, even opengl output modules do not interfere with compton there is no stuttering.
I really don´t understand how that works, because I use 3 screens with different refresh rates and there is no stuttering/flickering or tearing on any of them.
There is one problem though, compton causes a little bit of stuttering in all other opengl applications I tested.
It is not a big deal, all windows machines and every linux desktop that uses a compositor have that problem and most people won´t even notice that
but I find that annoying.
I just turn off compton when I use other opengl applications and turn it back on afterwards, I can live with that.
I think that problem is X server related and not fixable. I guess I have to wait for wayland to get that fixed