bomi icon indicating copy to clipboard operation
bomi copied to clipboard

bomi freezes when returning from fullscreen in certain conditions using VAAPI

Open tlhpray opened this issue 8 years ago • 1 comments

I am getting reproducible freezes (only bomi freezes, window manager still has control over window) when using VAAPI acceleration after leaving fullscreen. It happens regardless of what skin is used.

Steps to reproduce:

  1. start bomi or open video file directly
  2. play video file (doesn't matter resolution or codec)
  3. don't do anything for 1 minute or more. Video plays without any problems and will stay this way if you don't try to leave fullscreen
  4. use shortcut to leave fullscreen (in my case f)
  5. freeze

What's weird I won't get freeze if I enter, leave, enter fullscreen at start (in several seconds after video started playing). Entering preferences also prevents this issue. If I don't do one of this prevention actions and don't try to leave fullscreen, video will play to the end and then bomi will freeze.

I've tried to find something more with debug but nothing meaningful showed up. I only got:

(D)[OpenGL/SG] intel_miptree_blit: Can't use hardware blitter from MESA_FORMAT_R8G8B8A8_UNORM to MESA_FORMAT_A_UNORM8, falling back. (API/Medium/Performance) (D)[OpenGL/SG] intelCopyTexSubImage - fallback to swrast (API/Medium/Performance) (D)[OpenGL/SG] Flushing before mapping a referenced bo. (API/Medium/Performance) (D)[OpenGL/SG] CPU mapping a busy miptree BO stalled and took 3.046 ms. (API/Medium/Performance)

and after this Audio/Video desynchronisation detected! notice and freeze

For now I am just pressing f (fullscreen shortcut) two times and bomi won't freeze anymore for time it's open (when I close it I must press f two times again to be clear from this issue).

My configuration: CPU: i5-4210M (GPU:HD 4600) Arch Linux 64bit LXQt with Openbox bomi - latest git version

I don't have any problems with mpv and vaapi on same configuration

tlhpray avatar Aug 13 '15 15:08 tlhpray

+1

Djaler avatar Oct 04 '15 13:10 Djaler