Created attachment 122349 [details]
Output of lspci -vv
during playback with mplayer and xv output the Xorg log gets spammed with the following message: "failed to add fb, unable to update video". If drm.debug=6 is actiavted the kernel also outputs: "bad fb modifier 162129721185188224 for plane 0".
Used software versions:
- Kernel: 4.4.5
- Xorg: 1.18.2
- xf86-video-intel: 2:2.99.917+git20160307
- libdrm: 2.4.66
I dug a bit deeper and found, that the function sna_video_sprite_show looks quite equal to get_fb bur without the modifiers handling in the drm struct. I copied the modifiers pieces aver and video playback started working.
After stopping playback the last frame stays on top and looks like an 'overlay'. It will only close if the surrounding mplayer is closed.
Attached you will find a patch and lspci output.
I'am not familiar with the intel or drm code base so this might or might not be the correct way of fixing this.
Scaling is also not working with XVideo but as far as I saw this is already a known issue. If wished I could create a second bug report for it.
Created attachment 122350 [details]
Patch to add modifieres also in sna_video_sprite.c
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/issues/92.