Input lag bug in programs like Blender

Michel Dänzer michel at daenzer.net
Tue Mar 19 08:43:42 UTC 2019


On 2019-03-18 7:56 p.m., Bill Messenger wrote:
> On my system, programs like Blender have very noticeable input lag that
> makes it hard to use. It happens no matter what Linux distro or
> compositor I try. At first the only fix that seemed to work was
> installing the proprietary amdgpu-pro drivers on Ubuntu. Running "env
> LIBGL_DRI3_DISABLE=1 blender" seemed to help, but it still wasn't
> perfect.
> 
> However, I recently found out how to truly fix it on any distro with
> the open source drivers. If I create a file called .drirc in my home
> folder with the contents:
> 
> <driconf>
>   <device>
>     <application name="Default">
>       <option name="vblank_mode" value="1"/>
>     </application>
>   </device>
> </driconf>
> 
> then restart my system, it fixes the issue. I'm not sure what this
> does, but it seems like there's some sort of bug here.

Yeah, sounds like blender doesn't work well with sync-to-vblank enabled.
The above disables that, which probably works around a blender issue.


-- 
Earthling Michel Dänzer               |              https://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list