Bug 94867 - Random black screens for 1/2 second to 1 second when using HDMI
Summary: Random black screens for 1/2 second to 1 second when using HDMI
Status: CLOSED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-08 04:03 UTC by SmallwoodDR82
Modified: 2017-02-23 21:42 UTC (History)
2 users (show)

See Also:
i915 platform: SNB
i915 features: display/HDMI


Attachments
dmesg with drm.debug (61.34 KB, text/plain)
2016-04-08 04:03 UTC, SmallwoodDR82
no flags Details
journalctl -a log (122.94 KB, text/plain)
2016-04-08 20:40 UTC, SmallwoodDR82
no flags Details
Xorg.0.log (20.22 KB, text/plain)
2016-04-08 20:40 UTC, SmallwoodDR82
no flags Details
dmesg with drm.debug (105.63 KB, text/plain)
2016-04-09 00:04 UTC, SmallwoodDR82
no flags Details
Xorg.0.log (20.02 KB, text/plain)
2016-04-09 00:05 UTC, SmallwoodDR82
no flags Details
journalctl -a log (148.68 KB, text/plain)
2016-04-09 00:05 UTC, SmallwoodDR82
no flags Details
dmesg with drm.debug (117.11 KB, text/plain)
2016-04-15 03:44 UTC, SmallwoodDR82
no flags Details

Description SmallwoodDR82 2016-04-08 04:03:22 UTC
Created attachment 122802 [details]
dmesg with drm.debug

Running Milhouse Openelec on my Shuttle XH61V (LGA1155) HTPC.  

Intel H61 Chipset

uname -m
x86_64

uname -r
4.4.6

My HTPC goes to my Denon Receiver and then to my LG TV all using HDMI.

Previous versions of OE I did not have this problem and since moving to newest version I'm getting random black screens.  No errors within Kodi's logs.

The black screens seem to be random.  Audio does not cut out only video does.  This is happening every time I use Openelec and I have moved back to older versions of OE without touching hardware and the issue goes away.

Attaching dmesg with drm.debug=0xe enabled.

Thanks!
Comment 1 Jani Nikula 2016-04-08 13:02:17 UTC
(In reply to SmallwoodDR82 from comment #0)
> Attaching dmesg with drm.debug=0xe enabled.

Please attach dmesg all the way from boot to reproducing the problem, use log_buf_len=4M or similar as necessary. There's a couple of underruns in the logs, but it's not conclusive that this is the root cause for the issue you're experiencing.

FIFO[    4.557470] [drm:audio_config_hdmi_pixel_clock] Configuring HDMI audio for pixel clock 148500 (0x00090000)\
[    4.558114] [drm:intel_set_pch_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A\
[    4.558117] [drm:cpt_irq_handler] *ERROR* PCH transcoder A FIFO underrun\
Comment 2 SmallwoodDR82 2016-04-08 20:40:33 UTC
Created attachment 122825 [details]
journalctl -a log
Comment 3 SmallwoodDR82 2016-04-08 20:40:56 UTC
Created attachment 122826 [details]
Xorg.0.log
Comment 4 SmallwoodDR82 2016-04-08 20:42:34 UTC
Added a few more logs which I was told might be helpful.

All logs including dmesg is all the way from boot.

I'll pull a new dmesg with drm when I get home and add the line of log_buf_len=4M.

Thanks for looking into this!
Comment 5 SmallwoodDR82 2016-04-09 00:04:02 UTC
Created attachment 122831 [details]
dmesg with drm.debug
Comment 6 SmallwoodDR82 2016-04-09 00:05:07 UTC
Created attachment 122832 [details]
Xorg.0.log
Comment 7 SmallwoodDR82 2016-04-09 00:05:40 UTC
Created attachment 122833 [details]
journalctl -a log
Comment 8 SmallwoodDR82 2016-04-09 00:06:57 UTC
updated all logs.

Logs are from fresh reboot with log_buf_len=4M also.

The temp screen happened 3 to 4 times during the logs I've attached.

Thanks!
Comment 9 SmallwoodDR82 2016-04-09 03:12:38 UTC
the black screen*
Comment 10 SmallwoodDR82 2016-04-12 21:26:27 UTC
Any more logs you guys need?  Still having this issue and really confused on what's causing it.  If I roll the OpenElec version back the black screens go away.  Yet when I look in all the logs I've attached nothing seems to jump out as the issue.

Is there maybe another log that might show something different?

Thanks!
Comment 11 Jani Nikula 2016-04-13 08:03:35 UTC
There's a gap like this in the attached dmesg:

[    7.146403] [drm:drm_mode_addfb2] [FB:48]
[  126.023083] [drm:i915_gem_open] 

Did you observe the black screens during that period? Is that really the complete log?

There's the two underruns during setup, but nothing after that.
Comment 12 SmallwoodDR82 2016-04-13 19:13:47 UTC
well this is my command line

Command line: BOOT_IMAGE=/KERNEL boot=LABEL=System disk=LABEL=Storage ssh quiet drm.debug=0xe log_buf_len=4M

Then I let it run for about 10 to 15 minutes.  (Black screen probably happened 10 times)

and then I ran 'dmesg | pastebinit' while SSh'd in.

copied all and pasted to txt.

Is there a better way to do it?  Maybe that process isn't capturing everything?

Here is a quick Youtube link : https://youtu.be/e3GQac0v57E of the issue.

I know it's probably not super helpful but you can see no video is even playing on the screen and the screen is going black for a second.

Any other logs that would help?

Thanks!
Comment 13 Jani Nikula 2016-04-14 09:08:33 UTC
(In reply to SmallwoodDR82 from comment #12)
> and then I ran 'dmesg | pastebinit' while SSh'd in.

I guess there's the risk something gets lost with pastebinit.

'dmesg > dmesg.txt' and attaching the result is what I usually do (maybe you need to scp the result on some other machine first).
Comment 14 SmallwoodDR82 2016-04-15 03:44:24 UTC
Created attachment 122957 [details]
dmesg with drm.debug
Comment 15 SmallwoodDR82 2016-04-15 03:46:43 UTC
lets see if that shows any more data.  To be honest I'm out of town right now so I pull the file blind.  My wife always watches TV though out the day and it blacks out every few minutes so I'm sure it has happened today.

Let me know if this isn't helpful.  I'll be home this weekend and can be back in front of the machine.

Thanks!
Comment 16 SmallwoodDR82 2016-04-16 23:41:58 UTC
So I just monitored all logs (journalctl -a, Xorg.0.log, dmesg, and even kodi's debug log) and realized that nothing gets added to the logs after each black out on the screen. So at this point those logs are not seeing anything.

If I move back to Openelec 6.0.3 the issue completely goes away.  So at this point I can't think it's hardware.

Is there another log I can pull that might show something?

Thanks!
Comment 17 Jani Nikula 2016-04-18 09:57:18 UTC
(In reply to SmallwoodDR82 from comment #16)
> If I move back to Openelec 6.0.3 the issue completely goes away.  So at this
> point I can't think it's hardware.

Can you try the new Openelec version with just the kernel from the old one, to see if the problem goes away? (Alternatively, update just the kernel in the old Openelec, and see if the problem appears.)
Comment 18 SmallwoodDR82 2016-04-24 00:24:53 UTC
I'm not so sure how to do that :\

I'll ask around in the OE forums and see how easily I can make that work.

After more troubleshooting I've realized it only does it when the video is going through my receiver.  If I connect it straight to my TV or move it to another setup (my downstairs receiver/tv setup the issue goes away.  

So I guess the question is why start now from OE version change and what with my Denon receiver is causing this issue?  I've read some stuff about EDID is this something I can mess with? are there some simply changes to try?  It acts like the HDMI signal for video just gets lost for a split second but the audio remains.

I'm not sure where to go from here.

Thanks!
Comment 19 Jani Saarinen 2016-12-09 11:08:09 UTC
Reporter, still valid issue?
Comment 20 Ricardo 2017-02-23 21:42:10 UTC
The bug will be closed due to lack of activity, if the issue still exist please create a new bug with detail information


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.