Bug 72162 - [IVB] Video Flickering
Summary: [IVB] Video Flickering
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-29 22:21 UTC by brad.vanluven
Modified: 2017-07-24 22:56 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Dmesg output (51.23 KB, text/plain)
2013-11-29 22:21 UTC, brad.vanluven
no flags Details
xrandr output (10.86 KB, text/plain)
2013-11-29 22:22 UTC, brad.vanluven
no flags Details
xrandr output with AVR (8.87 KB, text/plain)
2013-11-30 14:29 UTC, brad.vanluven
no flags Details
reg dumper output with AVR (14.29 KB, text/plain)
2013-11-30 14:30 UTC, brad.vanluven
no flags Details
xrandr no AVR (8.48 KB, text/plain)
2013-11-30 14:30 UTC, brad.vanluven
no flags Details
reg dump no AVR (14.29 KB, text/plain)
2013-11-30 14:31 UTC, brad.vanluven
no flags Details
dmesg with drm.debug=0xe (60.06 KB, text/plain)
2013-12-03 17:09 UTC, brad.vanluven
no flags Details
drm.debug=0xe linux 3.13-rc6 (120.30 KB, text/plain)
2014-01-01 17:58 UTC, brad.vanluven
no flags Details

Description brad.vanluven 2013-11-29 22:21:42 UTC
Created attachment 90004 [details]
Dmesg output

I've been working with some of the openelec guys to try and resolve this to no avail, they suggested I come post a bug report here.

First of all, this is what I'm seeing:

http://www.youtube.com/watch?v=wTbucvaRt_I

My hardware is as follows:

Home theater computer (intel i3 3225 with asus p8875-m motherboard) connected to my AVR (Denon AVR 1913) which is then connected to my samsung tv (un46d6000)

I've tried swapping hdmi cables.  If I use a different media source (amd fusion e350) everything works flawlessly.  If I remove the AVR and connect either intel or amd machines directly to the tv everything works correctly.
Comment 1 brad.vanluven 2013-11-29 22:22:09 UTC
Created attachment 90005 [details]
xrandr output
Comment 2 Chris Wilson 2013-11-29 22:24:57 UTC
I think what would be a good starting point would be xrandr --verbose and intel_reg_dumper from the both setups (i.e. directly connected to the TV and via the AVR). My first thought is a modesetting issue where we are generating underruns to the AVR - or that we are not accounting for audio bandwidth, or the like.
Comment 3 brad.vanluven 2013-11-30 14:29:53 UTC
Created attachment 90026 [details]
xrandr output with AVR
Comment 4 brad.vanluven 2013-11-30 14:30:20 UTC
Created attachment 90027 [details]
reg dumper output with AVR
Comment 5 brad.vanluven 2013-11-30 14:30:47 UTC
Created attachment 90028 [details]
xrandr no AVR
Comment 6 brad.vanluven 2013-11-30 14:31:02 UTC
Created attachment 90029 [details]
reg dump no AVR
Comment 7 Chris Wilson 2013-11-30 17:13:38 UTC
Hmm, the AVR does present a different EDID than the TV, but the current mode appears to be identical. So not sure, I guess we need to inspect the kernel debug for underruns.
Comment 8 brad.vanluven 2013-12-03 15:17:28 UTC
Are there any particular debug flags that are needed?
Comment 9 Daniel Vetter 2013-12-03 15:27:47 UTC
Booting with drm.debug=0xe is all that's needed. Then hunt for fifo underrun reports in dmesg (it'll be oneshot per modeset to avoid flooding logs).
Comment 10 brad.vanluven 2013-12-03 17:09:53 UTC
Created attachment 90179 [details]
dmesg with drm.debug=0xe

When I rebooted the machine with that debug flag my speakers started crackling rather audibly, regardless of the volume control on the receiver.
Comment 11 Jani Nikula 2013-12-05 11:37:33 UTC
There's an HDMI audio clock fix that might be relevant:

commit 1a91510dc3b8098930ebda3018f5cd72e8428243
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Wed Oct 16 12:34:48 2013 +0300

    drm/i915: set HDMI pixel clock in audio configuration

The reported failures this fixes have been in audio, but please try v3.13-rc2 or backport the commit to your kernel in case this fixes audio caused FIFO underruns too.
Comment 12 brad.vanluven 2013-12-06 16:00:00 UTC
Just gave kernel 3.13.0-rc2 a whirl, my issue is not resolved in it.
Comment 13 brad.vanluven 2013-12-28 20:42:15 UTC
I did some further testing with fritsch from #openelec today and it seems everything works fine in modes less than or equal to 1080p30, even on older kernel versions.  However 1080p60 results in the flickering as before (even using 3.13.6 rc builds).

Any thoughts on how to proceed?
Comment 14 brad.vanluven 2013-12-30 17:12:07 UTC
I just connected my Windows 8 desktop (Haswell i7 4770) to my AVR and everything worked correctly at 1080p60, under windows.
Comment 15 brad.vanluven 2014-01-01 17:58:22 UTC
Created attachment 91393 [details]
drm.debug=0xe linux 3.13-rc6

Here's a debug log I just grabbed from rc6, symptoms persists.
Comment 16 Jani Nikula 2014-09-05 11:37:23 UTC
Timeout, please re-test using a recent kernel.
Comment 17 brad.vanluven 2014-09-05 15:43:31 UTC
Are you kidding me right now?  I've been ignored for the better part of a year and have moved onto superior hardware that actually works.

I'm not wasting any more of my time with you.
Comment 18 Jani Nikula 2014-09-08 07:54:43 UTC
Brad, I'm sorry we failed to solve the issue.


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.