I am closing this merge request in favor of two separate ones:
!3680 fixes the timeout in test_occlusion_query with the software renderer !3719 fixes d3d9:d3d9ex on openbox
I am still working on fvwm3. The problem is that unlike openbox it has a number of flaky failures.