Bug 94574 - [Intel Skylake] [XV] No picture with mplayer and xv output
Summary: [Intel Skylake] [XV] No picture with mplayer and xv output
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
Depends on:
Reported: 2016-03-16 17:12 UTC by Jan Burgmeier
Modified: 2019-11-27 13:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Output of lspci -vv (9.76 KB, text/plain)
2016-03-16 17:12 UTC, Jan Burgmeier
no flags Details
Patch to add modifieres also in sna_video_sprite.c (929 bytes, text/plain)
2016-03-16 17:17 UTC, Jan Burgmeier
no flags Details

Description Jan Burgmeier 2016-03-16 17:12:28 UTC
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.

Kind regards
Jan Burgmeier
Comment 1 Jan Burgmeier 2016-03-16 17:17:38 UTC
Created attachment 122350 [details]
Patch to add modifieres also in sna_video_sprite.c
Comment 2 Martin Peres 2019-11-27 13:43:16 UTC
-- 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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.