Bug 92235 - [BSW]Graphics frozen / stuck after random time (minutes-hours) messages contain "drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A ..."
Summary: [BSW]Graphics frozen / stuck after random time (minutes-hours) messages conta...
Status: CLOSED NOTOURBUG
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: 2015-10-02 08:03 UTC by Jan Bertran
Modified: 2017-02-06 12:46 UTC (History)
3 users (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/atomic


Attachments
dmesg from startup (2.30 MB, text/plain)
2015-10-02 08:05 UTC, Jan Bertran
no flags Details
tested again (same result) with other ram modules just in case, so new dmidecode (7.26 KB, text/plain)
2015-10-05 07:41 UTC, Jan Bertran
no flags Details
new complete dmesg with "echo t > /proc/sysrq-trigger" at the end (2.27 MB, text/plain)
2015-10-27 07:28 UTC, Jan Bertran
no flags Details
X server backtrace (2.80 KB, text/plain)
2015-10-27 07:28 UTC, Jan Bertran
no flags Details
OpenGL sample application backtrace (5.66 KB, text/plain)
2015-10-27 07:33 UTC, Jan Bertran
no flags Details
source code of modified glxgears (34.70 KB, text/plain)
2015-11-16 08:11 UTC, Jan Bertran
no flags Details
finally running with xf86-video-intel debug full Xorg log (744.93 KB, text/plain)
2015-11-24 10:35 UTC, Jan Bertran
no flags Details

Description Jan Bertran 2015-10-02 08:03:48 UTC
After several minutes or hours run time the OpenGL application gets stuck, no more rendering.
ssh session is alive and system can be inspected.
cat /sys/class/drm/card0/error --> "no error state collected"

System is ITX board with Intel N3150 cpu/gpu, dual monitor setup same resolution on each one with half of framebuffer shown on corresponding monitor.
Compositor is disabled.

Application is OpenGl fullscreen-"fullframebuffer" so page flip is active.
Linux:
  Kubuntu 15.10 beta updated at 1 october 2015 and with following git packages
Kernel: 4.3.0-994-generic #201509302200 SMP Thu Oct 1 02:02:04 UTC 2015 x86_64
package: http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/current/
linux-image-4.3.0-994-generic_4.3.0-994.201509302200_amd64.deb

libdrm: from https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa/+packages
with release libdrm-intel1:amd64                           2.4.65+git20150922.f3c6740f-0ubuntu0ricotz~vivid amd64

Other linux versions tested: releases of Kubuntu 14.10, 15.04 and 15.10, Fedora 22.
Other Intel HW tested: ITX boards with J1900 (similar results but variable state, sometimes system remains accessible from network, others is completely frozen)

The hang cannot be reproduced with single monitor setups.

There are several other bugreports similar but as kernel messages are not the same and this report is only about dual screen I'm opening this one...

Also I have done a hacked-modified glxgears version to make it more similar to my OpenGl usage, the result is the same but it takes a bit longer.

More data:
regdump after hang
-------------------------------
                    GEN6_RP_CONTROL (0x0000a024): 0x00000592
Gen6	enabled
                      GEN6_RPNSWREQ (0x0000a008): 0x00000000
               GEN6_RP_DOWN_TIMEOUT (0x0000a010): 0x000f4240
           GEN6_RP_INTERRUPT_LIMITS (0x0000a014): 0x00000000
               GEN6_RP_UP_THRESHOLD (0x0000a02c): 0x0000e808
                      GEN6_RP_UP_EI (0x0000a068): 0x000101d0
                    GEN6_RP_DOWN_EI (0x0000a06c): 0x00055730
             GEN6_RP_IDLE_HYSTERSIS (0x0000a070): 0x0000000a
                      GEN6_RC_STATE (0x0000a094): 0x00000000
                    GEN6_RC_CONTROL (0x0000a090): 0x10000000
           GEN6_RC1_WAKE_RATE_LIMIT (0x0000a098): 0x00000000
           GEN6_RC6_WAKE_RATE_LIMIT (0x0000a09c): 0x00280000
        GEN6_RC_EVALUATION_INTERVAL (0x0000a0a8): 0x0001e848
             GEN6_RC_IDLE_HYSTERSIS (0x0000a0ac): 0x00000019
                      GEN6_RC_SLEEP (0x0000a0b0): 0x00000000
                GEN6_RC1e_THRESHOLD (0x0000a0b4): 0x00000000
                 GEN6_RC6_THRESHOLD (0x0000a0b8): 0x00000186
                 GEN6_RC_VIDEO_FREQ (0x0000a00c): 0x00000000
                         GEN6_PMIER (0x0004402c): 0x00000000
                         GEN6_PMIMR (0x00044024): 0x00000000
                     GEN6_PMINTRMSK (0x0000a168): 0x800002fe
                      FENCE START 0 (0x00100000): 0x09aa1003
                        FENCE END 0 (0x00100004): 0x09b80003
                      FENCE START 1 (0x00100008): 0x00000000
                        FENCE END 1 (0x0010000c): 0x00000000
                      FENCE START 2 (0x00100010): 0x099c1003
                        FENCE END 2 (0x00100014): 0x09aa0003
                      FENCE START 3 (0x00100018): 0x00000003
                        FENCE END 3 (0x0010001c): 0x000df003
                      FENCE START 4 (0x00100020): 0x01206003
                        FENCE END 4 (0x00100024): 0x01209000
                      FENCE START 5 (0x00100028): 0x00fc1003
                        FENCE END 5 (0x0010002c): 0x00ff8001
                      FENCE START 6 (0x00100030): 0x0120a003
                        FENCE END 6 (0x00100034): 0x0120d000
                      FENCE START 7 (0x00100038): 0x036a0003
                        FENCE END 7 (0x0010003c): 0x036d7001
                      FENCE START 8 (0x00100040): 0x011f8003
                        FENCE END 8 (0x00100044): 0x01205001
                      FENCE START 9 (0x00100048): 0x0121c003
                        FENCE END 9 (0x0010004c): 0x012fb003
                     FENCE START 10 (0x00100050): 0x023ed003
                       FENCE END 10 (0x00100054): 0x02424001
                     FENCE START 11 (0x00100058): 0x00ff9003
                       FENCE END 11 (0x0010005c): 0x01030001
                     FENCE START 12 (0x00100060): 0x08f49001
                       FENCE END 12 (0x00100064): 0x09788057
                     FENCE START 13 (0x00100068): 0x034a8003
                       FENCE END 13 (0x0010006c): 0x03587003
                     FENCE START 14 (0x00100070): 0x03709001
                       FENCE END 14 (0x00100074): 0x03f48057
                     FENCE START 15 (0x00100078): 0x0120e003
                       FENCE END 15 (0x0010007c): 0x0121b001
                     FENCE START 16 (0x00100080): 0x00000000
                       FENCE END 16 (0x00100084): 0x00000000
                     FENCE START 17 (0x00100088): 0x00000000
                       FENCE END 17 (0x0010008c): 0x00000000
                     FENCE START 18 (0x00100090): 0x00000000
                       FENCE END 18 (0x00100094): 0x00000000
                     FENCE START 19 (0x00100098): 0x00000000
                       FENCE END 19 (0x0010009c): 0x00000000
                     FENCE START 20 (0x001000a0): 0x00000000
                       FENCE END 20 (0x001000a4): 0x00000000
                     FENCE START 20 (0x001000a0): 0x00000000
                       FENCE END 20 (0x001000a4): 0x00000000
                     FENCE START 21 (0x001000a8): 0x00000000
                       FENCE END 21 (0x001000ac): 0x00000000
                     FENCE START 22 (0x001000b0): 0x00000000
                       FENCE END 22 (0x001000b4): 0x00000000
                     FENCE START 23 (0x001000b8): 0x00000000
                       FENCE END 23 (0x001000bc): 0x00000000
                     FENCE START 24 (0x001000c0): 0x00000000
                       FENCE END 24 (0x001000c4): 0x00000000
                     FENCE START 25 (0x001000c8): 0x00000000
                       FENCE END 25 (0x001000cc): 0x00000000
                     FENCE START 26 (0x001000d0): 0x00000000
                       FENCE END 26 (0x001000d4): 0x00000000
                     FENCE START 27 (0x001000d8): 0x00000000
                       FENCE END 27 (0x001000dc): 0x00000000
                     FENCE START 28 (0x001000e0): 0x00000000
                       FENCE END 28 (0x001000e4): 0x00000000
                     FENCE START 29 (0x001000e8): 0x00000000
                       FENCE END 29 (0x001000ec): 0x00000000
                     FENCE START 30 (0x001000f0): 0x00000000
                       FENCE END 30 (0x001000f4): 0x00000000
                     FENCE START 31 (0x001000f8): 0x00000000
                       FENCE END 31 (0x001000fc): 0x00000000
                  HSW_PWR_WELL_CTL1 (0x00045400): 0x00000000
                  HSW_PWR_WELL_CTL2 (0x00045404): 0x00000000
                  HSW_PWR_WELL_CTL3 (0x00045408): 0x00000000
                  HSW_PWR_WELL_CTL4 (0x0004540c): 0x00000000
                  HSW_PWR_WELL_CTL5 (0x00045410): 0x00000000
                  HSW_PWR_WELL_CTL6 (0x00045414): 0x00000000
                PIPE_DDI_FUNC_CTL_A (0x00060400): 0x00000000
Gen7.5	disabled, no port, HDMI, 8 bpc, -VSync, -HSync, EDP A ON, x1
                PIPE_DDI_FUNC_CTL_B (0x00061400): 0x00000000
Gen7.5	disabled, no port, HDMI, 8 bpc, -VSync, -HSync, EDP A ON, x1
                PIPE_DDI_FUNC_CTL_C (0x00062400): 0x00000000
Gen7.5	disabled, no port, HDMI, 8 bpc, -VSync, -HSync, EDP A ON, x1
              PIPE_DDI_FUNC_CTL_EDP (0x0006f400): 0x00000000
Gen7.5	disabled, no port, HDMI, 8 bpc, -VSync, -HSync, EDP A ON, x1
                        DP_TP_CTL_A (0x00064040): 0x00000000
                        DP_TP_CTL_B (0x00064140): 0x00000000
                        DP_TP_CTL_C (0x00064240): 0x00000000
                        DP_TP_CTL_D (0x00064340): 0x00000000
                        DP_TP_CTL_E (0x00064440): 0x00000000
                     DP_TP_STATUS_B (0x00064144): 0x00000000
                     DP_TP_STATUS_C (0x00064244): 0x00000000
                     DP_TP_STATUS_D (0x00064344): 0x00000000
                     DP_TP_STATUS_E (0x00064444): 0x00000000
                      DDI_BUF_CTL_A (0x00064000): 0x00000000
Gen7.5	disabled not reversed x1 not detected
                      DDI_BUF_CTL_B (0x00064100): 0x00000000
Gen7.5	disabled not reversed x1 not detected
                      DDI_BUF_CTL_C (0x00064200): 0x00000000
Gen7.5	disabled not reversed x1 not detected
                      DDI_BUF_CTL_D (0x00064300): 0x00000000
Gen7.5	disabled not reversed x1 not detected
                      DDI_BUF_CTL_E (0x00064400): 0x00000000
Gen7.5	disabled not reversed x1 not detected
                           SPLL_CTL (0x00046020): 0x00000000
                          LCPLL_CTL (0x00130040): 0x00000000
                         WRPLL_CTL1 (0x00046040): 0x00000000
                         WRPLL_CTL2 (0x00046060): 0x00000000
                     PORT_CLK_SEL_A (0x00046100): 0x00000000
Gen7.5	LCPLL 2700
                     PORT_CLK_SEL_B (0x00046104): 0x00000000
Gen7.5	LCPLL 2700
                     PORT_CLK_SEL_C (0x00046108): 0x00000000
Gen7.5	LCPLL 2700
                     PORT_CLK_SEL_D (0x0004610c): 0x00000000
Gen7.5	LCPLL 2700
                     PORT_CLK_SEL_E (0x00046110): 0x00000000
Gen7.5	LCPLL 2700
                     PIPE_CLK_SEL_A (0x00046140): 0x00000000
Gen7.5	None
                     PIPE_CLK_SEL_B (0x00046144): 0x00000000
Gen7.5	None
                     PIPE_CLK_SEL_C (0x00046148): 0x00000000
Gen7.5	None
                          WM_PIPE_A (0x00045100): 0x00000000
Gen7.5	primary 0, sprite 0, pipe 0
                          WM_PIPE_B (0x00045104): 0x00000000
Gen7.5	primary 0, sprite 0, pipe 0
                          WM_PIPE_C (0x00045200): 0x00000000
Gen7.5	primary 0, sprite 0, pipe 0
                             WM_LP1 (0x00045108): 0x00000000
Gen7.5	disabled, latency 0, fbc 0, pri 0, cur 0
                             WM_LP2 (0x0004510c): 0x00000000
Gen7.5	disabled, latency 0, fbc 0, pri 0, cur 0
                             WM_LP3 (0x00045110): 0x00000000
Gen7.5	disabled, latency 0, fbc 0, pri 0, cur 0
                         WM_LP1_SPR (0x00045120): 0x00000000
                         WM_LP2_SPR (0x00045124): 0x00000000
                         WM_LP3_SPR (0x00045128): 0x00000000
                            WM_MISC (0x00045260): 0x00000000
                          WM_SR_CNT (0x00045264): 0x00000000
                 PIPE_WM_LINETIME_A (0x00045270): 0x00000000
                 PIPE_WM_LINETIME_B (0x00045274): 0x00000000
                 PIPE_WM_LINETIME_C (0x00045278): 0x00000000
                             WM_DBG (0x00045280): 0x00000000
                        SFUSE_STRAP (0x000c2014): 0x00000000
Gen7.5	display enabled, crt no, lane reversal no, port b no, port c no, port d no
                           PIPEASRC (0x0006001c): 0x00000000
Gen2	1, 1
Gen5	1, 1
Gen7.5	1, 1
                           DSPACNTR (0x00070180): 0x00000000
Gen2	disabled, pipe A
Gen5	disabled, pipe A
Gen7.5	disabled, pipe A
                         DSPASTRIDE (0x00070188): 0x00000000
Gen2	0 bytes
Gen5	0
Gen7.5	0
                           DSPASURF (0x0007019c): 0x00000000
                        DSPATILEOFF (0x000701a4): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                           PIPEBSRC (0x0006101c): 0x00000000
Gen2	1, 1
Gen5	1, 1
Gen7.5	1, 1
                           DSPBCNTR (0x00071180): 0x00000000
Gen2	disabled, pipe A
Gen5	disabled, pipe A
Gen7.5	disabled, pipe A
                         DSPBSTRIDE (0x00071188): 0x00000000
Gen2	0 bytes
Gen5	0
Gen7.5	0
                           DSPBSURF (0x0007119c): 0x00000000
                        DSPBTILEOFF (0x000711a4): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                           PIPECSRC (0x0006201c): 0x00000000
Gen5	1, 1
Gen7.5	1, 1
                           DSPCCNTR (0x00072180): 0x00000000
Gen5	disabled, pipe A
Gen7.5	disabled, pipe A
                         DSPCSTRIDE (0x00072188): 0x00000000
Gen5	0
Gen7.5	0
                           DSPCSURF (0x0007219c): 0x00000000
                        DSPCTILEOFF (0x000721a4): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                          PIPEACONF (0x00070008): 0x00000000
Gen2	disabled, single-wide
Gen5	disabled, single-wide
Gen7.5	disabled, single-wide
                           HTOTAL_A (0x00060000): 0x00000000
Gen2	1 active, 1 total
Gen5	1 active, 1 total
Gen7.5	1 active, 1 total
                           HBLANK_A (0x00060004): 0x00000000
Gen2	1 start, 1 end
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                            HSYNC_A (0x00060008): 0x00000000
Gen2	1 start, 1 end
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                           VTOTAL_A (0x0006000c): 0x00000000
Gen2	1 active, 1 total
Gen5	1 active, 1 total
Gen7.5	1 active, 1 total
                           VBLANK_A (0x00060010): 0x00000000
Gen2	1 start, 1 end
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                            VSYNC_A (0x00060014): 0x00000000
Gen2	1 start, 1 end
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                       VSYNCSHIFT_A (0x00060028): 0x00000000
                      PIPEA_DATA_M1 (0x00060030): 0x00000000
Gen5	TU 1, val 0x0 0
Gen7.5	TU 1, val 0x0 0
                      PIPEA_DATA_N1 (0x00060034): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                      PIPEA_LINK_M1 (0x00060040): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                      PIPEA_LINK_N1 (0x00060044): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                          PIPEBCONF (0x00071008): 0x00000000
Gen2	disabled, single-wide
Gen5	disabled, single-wide
Gen7.5	disabled, single-wide
                           HTOTAL_B (0x00061000): 0x00000000
Gen2	1 active, 1 total
Gen5	1 active, 1 total
Gen7.5	1 active, 1 total
                           HBLANK_B (0x00061004): 0x00000000
Gen2	1 start, 1 end
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                            HSYNC_B (0x00061008): 0x00000000
Gen2	1 start, 1 end
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                           VTOTAL_B (0x0006100c): 0x00000000
Gen2	1 active, 1 total
Gen5	1 active, 1 total
Gen7.5	1 active, 1 total
                           VBLANK_B (0x00061010): 0x00000000
Gen2	1 start, 1 end
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                            VSYNC_B (0x00061014): 0x00000000
Gen2	1 start, 1 end
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                       VSYNCSHIFT_B (0x00061028): 0x00000000
                      PIPEB_DATA_M1 (0x00061030): 0x00000000
Gen5	TU 1, val 0x0 0
Gen7.5	TU 1, val 0x0 0
                      PIPEB_DATA_N1 (0x00061034): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                      PIPEB_LINK_M1 (0x00061040): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                      PIPEB_LINK_N1 (0x00061044): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                          PIPECCONF (0x00072008): 0x00000000
Gen5	disabled, single-wide
Gen7.5	disabled, single-wide
                           HTOTAL_C (0x00062000): 0x00000000
Gen5	1 active, 1 total
Gen7.5	1 active, 1 total
                           HBLANK_C (0x00062004): 0x00000000
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                            HSYNC_C (0x00062008): 0x00000000
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                           VTOTAL_C (0x0006200c): 0x00000000
Gen5	1 active, 1 total
Gen7.5	1 active, 1 total
                           VBLANK_C (0x00062010): 0x00000000
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                            VSYNC_C (0x00062014): 0x00000000
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                       VSYNCSHIFT_C (0x00062028): 0x00000000
                      PIPEC_DATA_M1 (0x00062030): 0x00000000
Gen5	TU 1, val 0x0 0
Gen7.5	TU 1, val 0x0 0
                      PIPEC_DATA_N1 (0x00062034): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                      PIPEC_LINK_M1 (0x00062040): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                      PIPEC_LINK_N1 (0x00062044): 0x00000000
Gen5	val 0x0 0
Gen7.5	val 0x0 0
                        PIPEEDPCONF (0x0007f008): 0x00000000
Gen7.5	disabled, single-wide
                         HTOTAL_EDP (0x0006f000): 0x00000000
Gen7.5	1 active, 1 total
                         HBLANK_EDP (0x0006f004): 0x00000000
Gen7.5	1 start, 1 end
                          HSYNC_EDP (0x0006f008): 0x00000000
Gen7.5	1 start, 1 end
                         VTOTAL_EDP (0x0006f00c): 0x00000000
Gen7.5	1 active, 1 total
                         VBLANK_EDP (0x0006f010): 0x00000000
Gen7.5	1 start, 1 end
                          VSYNC_EDP (0x0006f014): 0x00000000
Gen7.5	1 start, 1 end
                     VSYNCSHIFT_EDP (0x0006f028): 0x00000000
                    PIPEEDP_DATA_M1 (0x0006f030): 0x00000000
Gen7.5	TU 1, val 0x0 0
                    PIPEEDP_DATA_N1 (0x0006f034): 0x00000000
Gen7.5	val 0x0 0
                    PIPEEDP_LINK_M1 (0x0006f040): 0x00000000
Gen7.5	val 0x0 0
                    PIPEEDP_LINK_N1 (0x0006f044): 0x00000000
Gen7.5	val 0x0 0
                          PFA_CTL_1 (0x00068080): 0x00000000
Gen5	disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1
Gen7.5	disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1
                        PFA_WIN_POS (0x00068070): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                       PFA_WIN_SIZE (0x00068074): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                          PFB_CTL_1 (0x00068880): 0x00000000
Gen5	disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1
Gen7.5	disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1
                        PFB_WIN_POS (0x00068870): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                       PFB_WIN_SIZE (0x00068874): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                          PFC_CTL_1 (0x00069080): 0x00000000
Gen5	disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1
Gen7.5	disable, auto_scale yes, auto_scale_cal no, v_filter enable, vadapt disable, mode least, filter_sel programmed,chroma pre-filter disable, vert3tap auto, v_inter_invert field 1
                        PFC_WIN_POS (0x00069070): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                       PFC_WIN_SIZE (0x00069074): 0x00000000
Gen5	0, 0
Gen7.5	0, 0
                     TRANS_HTOTAL_A (0x000e0000): 0x00000000
Gen5	1 active, 1 total
Gen7.5	1 active, 1 total
                     TRANS_HBLANK_A (0x000e0004): 0x00000000
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                      TRANS_HSYNC_A (0x000e0008): 0x00000000
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                     TRANS_VTOTAL_A (0x000e000c): 0x00000000
Gen5	1 active, 1 total
Gen7.5	1 active, 1 total
                     TRANS_VBLANK_A (0x000e0010): 0x00000000
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                      TRANS_VSYNC_A (0x000e0014): 0x00000000
Gen5	1 start, 1 end
Gen7.5	1 start, 1 end
                 TRANS_VSYNCSHIFT_A (0x000e0028): 0x00000000
                         TRANSACONF (0x000f0008): 0x00000000
Gen5	disable, inactive, progressive
Gen7.5	disable, inactive, progressive
                       FDI_RXA_MISC (0x000f0010): 0x00000000
Gen5	FDI Delay 0
Gen7.5	FDI Delay 0
                    FDI_RXA_TUSIZE1 (0x000f0030): 0x00000000
                        FDI_RXA_IIR (0x000f0014): 0x00000000
                        FDI_RXA_IMR (0x000f0018): 0x00000000
                   BLC_PWM_CPU_CTL2 (0x00048250): 0x00000000
Gen5	enable 0, pipe A, blinking 0, granularity 128
Gen7.5	enable 0, pipe A, blinking 0, granularity 128
                    BLC_PWM_CPU_CTL (0x00048254): 0x00000000
Gen5	cycle 0, freq 0
Gen7.5	cycle 0, freq 0
                  BLC_PWM2_CPU_CTL2 (0x00048350): 0x00000000
Gen7.5	enable 0, pipe A, blinking 0, granularity 128
                   BLC_PWM2_CPU_CTL (0x00048354): 0x00000000
Gen7.5	cycle 0, freq 0
                       BLC_MISC_CTL (0x00048360): 0x00000000
Gen7.5	PWM1-PCH PWM2-CPU
                   BLC_PWM_PCH_CTL1 (0x000c8250): 0x00000000
Gen5	enable 0, override 0, inverted polarity 0
Gen7.5	enable 0, override 0, inverted polarity 0
                   BLC_PWM_PCH_CTL2 (0x000c8254): 0x00000000
Gen5	freq 0, cycle 0
Gen7.5	freq 0, cycle 0
                       UTIL_PIN_CTL (0x00048400): 0x00000000
Gen7.5	enable 0, transcoder A, mode data, data 0 inverted polarity 0
                      PCH_PP_STATUS (0x000c7200): 0x00000000
Gen5	off, not ready, sequencing idle
Gen7.5	off, not ready, sequencing idle
                     PCH_PP_CONTROL (0x000c7204): 0x00000000
Gen5	blacklight disabled, do not power down on reset, panel off
Gen7.5	blacklight disabled, do not power down on reset, panel off
                   PCH_PP_ON_DELAYS (0x000c7208): 0x00000000
                  PCH_PP_OFF_DELAYS (0x000c720c): 0x00000000
                     PCH_PP_DIVISOR (0x000c7210): 0x00000000
                        PIXCLK_GATE (0x000c6020): 0x00000000
                             SDEISR (0x000c4000): 0x00000000
Gen7.5	port d:0, port c:0, port b:0, crt:0
                 RC6_RESIDENCY_TIME (0x00138108): 0x1f437cb7
------------------
dmidecode
------------------
# dmidecode 2.12
# SMBIOS entry point at 0x000f05b0
SMBIOS 2.8 present.
18 structures occupying 1168 bytes.
Table at 0x000ECDC0.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: American Megatrends Inc.
	Version: P1.30
	Release Date: 09/11/2015
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 5120 kB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		BIOS ROM is socketed
		EDD is supported
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 kB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 5.6

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: To Be Filled By O.E.M.
	Product Name: To Be Filled By O.E.M.
	Version: To Be Filled By O.E.M.
	Serial Number: To Be Filled By O.E.M.
	UUID: 03000200-0400-0500-0006-000700080009
	Wake-up Type: Power Switch
	SKU Number: To Be Filled By O.E.M.
	Family: To Be Filled By O.E.M.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
	Manufacturer: ASRock
	Product Name: N3150-ITX
	Version:                       
	Serial Number: M80-55012600633
	Asset Tag:                       
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis:                       
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

Handle 0x0003, DMI type 3, 25 bytes
Chassis Information
	Manufacturer: To Be Filled By O.E.M.
	Type: Desktop
	Lock: Not Present
	Version: To Be Filled By O.E.M.
	Serial Number: To Be Filled By O.E.M.
	Asset Tag: To Be Filled By O.E.M.
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None
	OEM Information: 0x00000000
	Height: Unspecified
	Number Of Power Cords: 1
	Contained Elements: 1
		<OUT OF SPEC> (0)
	SKU Number: To be filled by O.E.M.

Handle 0x0008, DMI type 9, 17 bytes
System Slot Information
	Designation: PCIE1
	Type: x1 PCI Express
	Current Usage: In Use
	Length: Long
	ID: 17
	Characteristics:
		3.3 V is provided
		Opening is shared
		PME signal is supported

Handle 0x0009, DMI type 9, 17 bytes
System Slot Information
	Designation: mPCIE
	Type: x1 PCI Express
	Current Usage: In Use
	Length: Short
	ID: 33
	Characteristics:
		3.3 V is provided
		Opening is shared
		PME signal is supported

Handle 0x000A, DMI type 11, 5 bytes
OEM Strings
	String 1: To Be Filled By O.E.M.

Handle 0x000B, DMI type 16, 23 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 8 GB
	Error Information Handle: Not Provided
	Number Of Devices: 2

Handle 0x000C, DMI type 19, 31 bytes
Memory Array Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x000FFFFFFFF
	Range Size: 4 GB
	Physical Array Handle: 0x000B
	Partition Width: 2

Handle 0x000D, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x000B
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 2048 MB
	Form Factor: DIMM
	Set: None
	Locator: A1_DIMM0
	Bank Locator: A1_BANK0
	Type: DDR3
	Type Detail: Unknown
	Speed: 1333 MHz
	Manufacturer: Kingston        
	Serial Number: 53076537  
	Asset Tag: A1_AssetTagNum0
	Part Number: 99U5594-002.A00LF 
	Rank: 1
	Configured Clock Speed: 1066 MHz
	Minimum voltage:  1.500 V
	Maximum voltage:  1.500 V
	Configured voltage:  1.350 V

Handle 0x000E, DMI type 20, 35 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x0007FFFFFFF
	Range Size: 2 GB
	Physical Device Handle: 0x000D
	Memory Array Mapped Address Handle: 0x000C
	Partition Row Position: 1
	Interleave Position: 1
	Interleaved Data Depth: 2

Handle 0x000F, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x000B
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 2048 MB
	Form Factor: DIMM
	Set: None
	Locator: A1_DIMM1
	Bank Locator: A1_BANK1
	Type: DDR3
	Type Detail: Unknown
	Speed: 1333 MHz
	Manufacturer: Kingston        
	Serial Number: 1713801B  
	Asset Tag: A1_AssetTagNum1
	Part Number: 99U5594-005.A00LF 
	Rank: 1
	Configured Clock Speed: 1066 MHz
	Minimum voltage:  1.500 V
	Maximum voltage:  1.500 V
	Configured voltage:  1.350 V

Handle 0x0010, DMI type 20, 35 bytes
Memory Device Mapped Address
	Starting Address: 0x00080000000
	Ending Address: 0x000FFFFFFFF
	Range Size: 2 GB
	Physical Device Handle: 0x000F
	Memory Array Mapped Address Handle: 0x000C
	Partition Row Position: 1
	Interleave Position: 2
	Interleaved Data Depth: 2

Handle 0x0011, DMI type 32, 20 bytes
System Boot Information
	Status: No errors detected

Handle 0x0012, DMI type 7, 19 bytes
Cache Information
	Socket Designation: CPU Internal L1
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 224 kB
	Maximum Size: 224 kB
	Supported SRAM Types:
		Unknown
	Installed SRAM Type: Unknown
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Other
	Associativity: Other

Handle 0x0013, DMI type 7, 19 bytes
Cache Information
	Socket Designation: CPU Internal L2
	Configuration: Enabled, Not Socketed, Level 2
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 2048 kB
	Maximum Size: 2048 kB
	Supported SRAM Types:
		Unknown
	Installed SRAM Type: Unknown
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Unified
	Associativity: 16-way Set-associative

Handle 0x0014, DMI type 4, 42 bytes
Processor Information
	Socket Designation: CPUSocket
	Type: Central Processor
	Family: Celeron
	Manufacturer: Intel
	ID: C3 06 04 00 FF FB EB BF
	Signature: Type 0, Family 6, Model 76, Stepping 3
	Flags:
		FPU (Floating-point unit on-chip)
		VME (Virtual mode extension)
		DE (Debugging extension)
		PSE (Page size extension)
		TSC (Time stamp counter)
		MSR (Model specific registers)
		PAE (Physical address extension)
		MCE (Machine check exception)
		CX8 (CMPXCHG8 instruction supported)
		APIC (On-chip APIC hardware supported)
		SEP (Fast system call)
		MTRR (Memory type range registers)
		PGE (Page global enable)
		MCA (Machine check architecture)
		CMOV (Conditional move instruction supported)
		PAT (Page attribute table)
		PSE-36 (36-bit page size extension)
		CLFSH (CLFLUSH instruction supported)
		DS (Debug store)
		ACPI (ACPI supported)
		MMX (MMX technology supported)
		FXSR (FXSAVE and FXSTOR instructions supported)
		SSE (Streaming SIMD extensions)
		SSE2 (Streaming SIMD extensions 2)
		SS (Self-snoop)
		HTT (Multi-threading)
		TM (Thermal monitor supported)
		PBE (Pending break enabled)
	Version: Intel(R) Celeron(R) CPU N3150 @ 1.60GHz
	Voltage: 1.2 V
	External Clock: 80 MHz
	Max Speed: 2400 MHz
	Current Speed: 1600 MHz
	Status: Populated, Enabled
	Upgrade: Socket BGA1155
	L1 Cache Handle: 0x0012
	L2 Cache Handle: 0x0013
	L3 Cache Handle: Not Provided
	Serial Number: Not Specified
	Asset Tag: Fill By OEM
	Part Number: Fill By OEM
	Core Count: 4
	Core Enabled: 4
	Thread Count: 4
	Characteristics:
		64-bit capable

Handle 0x0015, DMI type 127, 4 bytes
End Of Table
---------------------
Xorg log
X.Org X Server 1.17.2
Release Date: 2015-06-16
[    25.296] X Protocol Version 11, Revision 0
[    25.296] Build Operating System: Linux 3.19.0-30-generic x86_64 Ubuntu
[    25.296] Current Operating System: Linux J1900-Kub15-10 4.3.0-994-generic #201509302200 SMP Thu Oct 1 02:02:04 UTC 2015 x86_64
[    25.296] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-994-generic root=UUID=b5f975d4-532e-421f-ba39-4a37650588f5 ro quiet splash drm.debug=0x1e log_buf_len=1M
[    25.296] Build Date: 30 September 2015  09:08:47AM
[    25.296] xorg-server 2:1.17.2-1ubuntu9 (For technical support please see http://www.ubuntu.com/support) 
[    25.296] Current version of pixman: 0.32.6
[    25.296] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    25.296] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    25.296] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct  1 12:08:27 2015
[    25.328] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    25.354] (==) No Layout section.  Using the first Screen section.
[    25.354] (==) No screen section available. Using defaults.
[    25.354] (**) |-->Screen "Default Screen Section" (0)
[    25.354] (**) |   |-->Monitor "<default monitor>"
[    25.355] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    25.355] (==) Automatically adding devices
[    25.355] (==) Automatically enabling devices
[    25.355] (==) Automatically adding GPU devices
[    25.400] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    25.400] 	Entry deleted from font path.
[    25.400] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    25.400] 	Entry deleted from font path.
[    25.400] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    25.400] 	Entry deleted from font path.
[    25.401] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    25.401] 	Entry deleted from font path.
[    25.401] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    25.401] 	Entry deleted from font path.
[    25.401] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    25.401] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    25.401] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    25.402] (II) Loader magic: 0x558d6a35ad40
[    25.402] (II) Module ABI versions:
[    25.402] 	X.Org ANSI C Emulation: 0.4
[    25.402] 	X.Org Video Driver: 19.0
[    25.402] 	X.Org XInput driver : 21.0
[    25.402] 	X.Org Server Extension : 9.0
[    25.404] (II) xfree86: Adding drm device (/dev/dri/card0)
[    25.407] (--) PCI:*(0:0:2:0) 8086:22b1:1849:22b1 rev 33, Mem @ 0x90000000/16777216, 0x80000000/268435456, I/O @ 0x0000f000/64
[    25.408] (II) LoadModule: "glx"
[    25.437] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    25.557] (II) Module glx: vendor="X.Org Foundation"
[    25.557] 	compiled for 1.17.2, module version = 1.0.0
[    25.557] 	ABI class: X.Org Server Extension, version 9.0
[    25.557] (==) AIGLX enabled
[    25.557] (==) Matched intel as autoconfigured driver 0
[    25.557] (==) Matched intel as autoconfigured driver 1
[    25.557] (==) Matched modesetting as autoconfigured driver 2
[    25.557] (==) Matched fbdev as autoconfigured driver 3
[    25.557] (==) Matched vesa as autoconfigured driver 4
[    25.557] (==) Assigned the driver to the xf86ConfigLayout
[    25.557] (II) LoadModule: "intel"
[    25.567] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    25.613] (II) Module intel: vendor="X.Org Foundation"
[    25.613] 	compiled for 1.17.2, module version = 2.99.917
[    25.613] 	Module class: X.Org Video Driver
[    25.613] 	ABI class: X.Org Video Driver, version 19.0
[    25.614] (II) LoadModule: "modesetting"
[    25.614] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    25.630] (II) Module modesetting: vendor="X.Org Foundation"
[    25.630] 	compiled for 1.17.2, module version = 1.17.2
[    25.630] 	Module class: X.Org Video Driver
[    25.630] 	ABI class: X.Org Video Driver, version 19.0
[    25.630] (II) LoadModule: "fbdev"
[    25.630] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    25.642] (II) Module fbdev: vendor="X.Org Foundation"
[    25.642] 	compiled for 1.17.1, module version = 0.4.4
[    25.642] 	Module class: X.Org Video Driver
[    25.642] 	ABI class: X.Org Video Driver, version 19.0
[    25.642] (II) LoadModule: "vesa"
[    25.642] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    25.647] (II) Module vesa: vendor="X.Org Foundation"
[    25.647] 	compiled for 1.17.1, module version = 2.3.4
[    25.647] 	Module class: X.Org Video Driver
[    25.647] 	ABI class: X.Org Video Driver, version 19.0
[    25.648] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    25.648] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    25.648] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    25.648] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    25.648] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    25.648] (II) FBDEV: driver for framebuffer: fbdev
[    25.648] (II) VESA: driver for VESA chipsets: vesa
[    25.648] (++) using VT number 7

[    25.659] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150928
[    25.659] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20150808-0ubuntu2 (Matthias Klose <doko@ubuntu.com>)
[    25.660] (II) intel(0): SNA compiled for use with valgrind
[    25.661] (WW) Falling back to old probe method for modesetting
[    25.662] (WW) Falling back to old probe method for fbdev
[    25.662] (II) Loading sub module "fbdevhw"
[    25.662] (II) LoadModule: "fbdevhw"
[    25.662] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    25.663] (II) Module fbdevhw: vendor="X.Org Foundation"
[    25.663] 	compiled for 1.17.2, module version = 0.0.2
[    25.663] 	ABI class: X.Org Video Driver, version 19.0
[    25.664] (WW) Falling back to old probe method for vesa
[    25.665] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[    25.665] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 4 threads
[    25.665] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    25.665] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    25.665] (==) intel(0): RGB weight 888
[    25.665] (==) intel(0): Default visual is TrueColor
[    25.666] (II) intel(0): Output HDMI1 has no monitor section
[    25.666] (II) intel(0): Enabled output HDMI1
[    25.666] (II) intel(0): Output DP1 has no monitor section
[    25.666] (II) intel(0): Enabled output DP1
[    25.666] (II) intel(0): Output HDMI2 has no monitor section
[    25.666] (II) intel(0): Enabled output HDMI2
[    25.666] (II) intel(0): Output DP2 has no monitor section
[    25.666] (II) intel(0): Enabled output DP2
[    25.666] (II) intel(0): Output HDMI3 has no monitor section
[    25.667] (II) intel(0): Enabled output HDMI3
[    25.667] (II) intel(0): Output DP3 has no monitor section
[    25.667] (II) intel(0): Enabled output DP3
[    25.667] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    25.667] (II) intel(0): Output VIRTUAL1 has no monitor section
[    25.667] (II) intel(0): Enabled output VIRTUAL1
[    25.667] (--) intel(0): Output HDMI1 using initial mode 1600x900 on pipe 0
[    25.667] (--) intel(0): Output HDMI3 using initial mode 1920x1080 on pipe 2
[    25.667] (==) intel(0): TearFree disabled
[    25.667] (==) intel(0): DPI set to (96, 96)
[    25.667] (II) Loading sub module "dri2"
[    25.667] (II) LoadModule: "dri2"
[    25.667] (II) Module "dri2" already built-in
[    25.667] (II) Loading sub module "present"
[    25.667] (II) LoadModule: "present"
[    25.667] (II) Module "present" already built-in
[    25.667] (II) UnloadModule: "modesetting"
[    25.667] (II) Unloading modesetting
[    25.667] (II) UnloadModule: "fbdev"
[    25.668] (II) Unloading fbdev
[    25.668] (II) UnloadSubModule: "fbdevhw"
[    25.668] (II) Unloading fbdevhw
[    25.668] (II) UnloadModule: "vesa"
[    25.668] (II) Unloading vesa
[    25.668] (==) Depth 24 pixmap format is 32 bpp
[    25.711] (II) intel(0): SNA initialized with Cherryview (gen8) backend
[    25.711] (==) intel(0): Backing store enabled
[    25.711] (==) intel(0): Silken mouse enabled
[    25.712] (II) intel(0): HW Cursor enabled
[    25.712] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    25.714] (==) intel(0): DPMS enabled
[    25.714] (==) intel(0): Display hotplug detection enabled
[    25.714] (II) intel(0): [DRI2] Setup complete
[    25.714] (II) intel(0): [DRI2]   DRI driver: i965
[    25.714] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    25.714] (II) intel(0): direct rendering: DRI2 enabled
[    25.714] (II) intel(0): hardware support for Present enabled
[    25.714] (--) RandR disabled
[    25.727] (II) SELinux: Disabled on system
[    25.914] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    25.914] (II) AIGLX: enabled GLX_ARB_create_context
[    25.914] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    25.914] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    25.914] (II) AIGLX: enabled GLX_INTEL_swap_event
[    25.914] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    25.914] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    25.914] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    25.914] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    25.914] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    25.914] (II) AIGLX: Loaded and initialized i965
[    25.915] (II) GLX: Initialized DRI2 GL provider for screen 0
[    25.934] (II) intel(0): switch to mode 1600x900@60.0 on HDMI1 using pipe 0, position (0, 0), rotation normal, reflection none
[    25.935] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI3 using pipe 2, position (0, 0), rotation normal, reflection none
[    25.935] (II) intel(0): Setting screen physical size to 508 x 285
[    26.045] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[    26.092] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    26.092] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    26.092] (II) LoadModule: "evdev"
[    26.100] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    26.124] (II) Module evdev: vendor="X.Org Foundation"
[    26.124] 	compiled for 1.17.1, module version = 2.9.2
[    26.124] 	Module class: X.Org XInput Driver
[    26.124] 	ABI class: X.Org XInput driver, version 21.0
[    26.124] (II) Using input driver 'evdev' for 'Power Button'
[    26.124] (**) Power Button: always reports core events
[    26.124] (**) evdev: Power Button: Device: "/dev/input/event2"
[    26.124] (--) evdev: Power Button: Vendor 0 Product 0x1
[    26.124] (--) evdev: Power Button: Found keys
[    26.124] (II) evdev: Power Button: Configuring as keyboard
[    26.124] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    26.124] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    26.124] (**) Option "xkb_rules" "evdev"
[    26.124] (**) Option "xkb_model" "pc105"
[    26.124] (**) Option "xkb_layout" "es"
[    26.124] (**) Option "xkb_variant" "cat"
[    26.129] (II) XKB: reuse xkmfile /var/lib/xkb/server-0AFA66265020E293BF499122FFE9AD8C16A17D3B.xkm
[    26.140] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[    26.140] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    26.140] (II) Using input driver 'evdev' for 'Video Bus'
[    26.140] (**) Video Bus: always reports core events
[    26.141] (**) evdev: Video Bus: Device: "/dev/input/event3"
[    26.141] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    26.141] (--) evdev: Video Bus: Found keys
[    26.141] (II) evdev: Video Bus: Configuring as keyboard
[    26.141] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6/event3"
[    26.141] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    26.141] (**) Option "xkb_rules" "evdev"
[    26.141] (**) Option "xkb_model" "pc105"
[    26.141] (**) Option "xkb_layout" "es"
[    26.141] (**) Option "xkb_variant" "cat"
[    26.142] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    26.142] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    26.142] (II) Using input driver 'evdev' for 'Power Button'
[    26.142] (**) Power Button: always reports core events
[    26.142] (**) evdev: Power Button: Device: "/dev/input/event0"
[    26.142] (--) evdev: Power Button: Vendor 0 Product 0x1
[    26.142] (--) evdev: Power Button: Found keys
[    26.142] (II) evdev: Power Button: Configuring as keyboard
[    26.142] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    26.142] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    26.142] (**) Option "xkb_rules" "evdev"
[    26.142] (**) Option "xkb_model" "pc105"
[    26.142] (**) Option "xkb_layout" "es"
[    26.142] (**) Option "xkb_variant" "cat"
[    26.144] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[    26.144] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    26.144] (II) Using input driver 'evdev' for 'Sleep Button'
[    26.144] (**) Sleep Button: always reports core events
[    26.144] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[    26.144] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    26.144] (--) evdev: Sleep Button: Found keys
[    26.144] (II) evdev: Sleep Button: Configuring as keyboard
[    26.144] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[    26.144] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    26.144] (**) Option "xkb_rules" "evdev"
[    26.144] (**) Option "xkb_model" "pc105"
[    26.144] (**) Option "xkb_layout" "es"
[    26.144] (**) Option "xkb_variant" "cat"
[    26.147] (II) config/udev: Adding input device USB Keyboard (/dev/input/event4)
[    26.147] (**) USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    26.147] (II) Using input driver 'evdev' for 'USB Keyboard'
[    26.147] (**) USB Keyboard: always reports core events
[    26.147] (**) evdev: USB Keyboard: Device: "/dev/input/event4"
[    26.147] (--) evdev: USB Keyboard: Vendor 0x461 Product 0x10
[    26.147] (--) evdev: USB Keyboard: Found keys
[    26.147] (II) evdev: USB Keyboard: Configuring as keyboard
[    26.147] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.1/1-5.1:1.0/0003:0461:0010.0001/input/input7/event4"
[    26.147] (II) XINPUT: Adding extended input device "USB Keyboard" (type: KEYBOARD, id 10)
[    26.147] (**) Option "xkb_rules" "evdev"
[    26.147] (**) Option "xkb_model" "pc105"
[    26.147] (**) Option "xkb_layout" "es"
[    26.147] (**) Option "xkb_variant" "cat"
[    26.149] (II) config/udev: Adding input device USB Keyboard (/dev/input/event5)
[    26.149] (**) USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    26.149] (II) Using input driver 'evdev' for 'USB Keyboard'
[    26.149] (**) USB Keyboard: always reports core events
[    26.149] (**) evdev: USB Keyboard: Device: "/dev/input/event5"
[    26.149] (--) evdev: USB Keyboard: Vendor 0x461 Product 0x10
[    26.149] (--) evdev: USB Keyboard: Found keys
[    26.149] (II) evdev: USB Keyboard: Configuring as keyboard
[    26.149] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.1/1-5.1:1.1/0003:0461:0010.0002/input/input8/event5"
[    26.149] (II) XINPUT: Adding extended input device "USB Keyboard" (type: KEYBOARD, id 11)
[    26.149] (**) Option "xkb_rules" "evdev"
[    26.149] (**) Option "xkb_model" "pc105"
[    26.149] (**) Option "xkb_layout" "es"
[    26.149] (**) Option "xkb_variant" "cat"
[    26.151] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event6)
[    26.151] (**) Logitech USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[    26.151] (II) Using input driver 'evdev' for 'Logitech USB Optical Mouse'
[    26.151] (**) Logitech USB Optical Mouse: always reports core events
[    26.151] (**) evdev: Logitech USB Optical Mouse: Device: "/dev/input/event6"
[    26.204] (--) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc05b
[    26.204] (--) evdev: Logitech USB Optical Mouse: Found 12 mouse buttons
[    26.204] (--) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[    26.204] (--) evdev: Logitech USB Optical Mouse: Found relative axes
[    26.204] (--) evdev: Logitech USB Optical Mouse: Found x and y relative axes
[    26.204] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
[    26.204] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[    26.204] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
[    26.204] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    26.204] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.2/1-5.2:1.0/0003:046D:C05B.0003/input/input9/event6"
[    26.204] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 12)
[    26.205] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.
[    26.205] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
[    26.205] (**) Logitech USB Optical Mouse: (accel) acceleration profile 0
[    26.205] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[    26.205] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[    26.206] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[    26.207] (II) No input driver specified, ignoring this device.
[    26.207] (II) This device may have been added with another device file.
[    26.207] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event7)
[    26.207] (II) No input driver specified, ignoring this device.
[    26.207] (II) This device may have been added with another device file.
[    26.208] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event8)
[    26.208] (II) No input driver specified, ignoring this device.
[    26.208] (II) This device may have been added with another device file.
[    26.209] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event9)
[    26.209] (II) No input driver specified, ignoring this device.
[    26.209] (II) This device may have been added with another device file.
[    26.209] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event10)
[    26.209] (II) No input driver specified, ignoring this device.
[    26.210] (II) This device may have been added with another device file.
[    26.210] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event11)
[    26.210] (II) No input driver specified, ignoring this device.
[    26.210] (II) This device may have been added with another device file.
[    26.211] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event12)
[    26.211] (II) No input driver specified, ignoring this device.
[    26.211] (II) This device may have been added with another device file.
[    26.212] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event13)
[    26.212] (II) No input driver specified, ignoring this device.
[    26.212] (II) This device may have been added with another device file.
[    26.212] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event14)
[    26.212] (II) No input driver specified, ignoring this device.
[    26.212] (II) This device may have been added with another device file.
[    40.123] (II) intel(0): resizing framebuffer to 2732x1080
[    40.167] (II) intel(0): switch to mode 1366x768@59.8 on HDMI1 using pipe 0, position (1366, 0), rotation normal, reflection none
[    40.493] (II) intel(0): switch to mode 1366x768@60.2 on HDMI3 using pipe 2, position (0, 0), rotation normal, reflection none
[    40.815] (II) intel(0): resizing framebuffer to 2732x768
Comment 1 Jan Bertran 2015-10-02 08:05:09 UTC
Created attachment 118585 [details]
dmesg from startup
Comment 2 Jan Bertran 2015-10-05 07:41:49 UTC
Created attachment 118664 [details]
tested again (same result) with other ram modules just in case, so new dmidecode
Comment 3 Jesse Barnes 2015-10-05 22:14:19 UTC
Can you attach to the hanging processes with gdb -p and check the backtraces?  If we're not seeing a GPU hang, the process must be hanging on something else, maybe waiting for an event or potentially a locking problem in the kernel (sysrq-t would help track that down; depending on your kernel config that's easy or hard to do; best google around for your specific distro instructions).
Comment 4 Jan Bertran 2015-10-27 07:28:14 UTC
Created attachment 119213 [details]
new complete dmesg with "echo t > /proc/sysrq-trigger" at the end
Comment 5 Jan Bertran 2015-10-27 07:28:50 UTC
Created attachment 119214 [details]
X server backtrace
Comment 6 Jan Bertran 2015-10-27 07:33:38 UTC
Created attachment 119215 [details]
OpenGL sample application backtrace
Comment 7 Chris Wilson 2015-11-12 17:24:21 UTC
If you can gather cat /sys/kernel/debug/dri/0/i915_gem_pageflip and an Xorg.0.log from xf86-video-intel compiled with --enable-debug=full, that should be enough information to pinpoint the blame.
Comment 8 Ben Widawsky 2015-11-13 01:29:23 UTC
Jan, have you attempted to reproduce this without OpenGL involved?
Comment 9 Jan Bertran 2015-11-13 11:57:08 UTC
First a bit of history about the issue.
One year ago we tested our games in single screen mode under Kubuntu 14.10 and
J1900 system. It worked for weeks without any issue.
Then an update on xf86-video-intel always produced a hang and always in a few 
seconds. We went back to original xf86-video-intel file.

Later we started making dual screen versions of our games.
The window setup keeps being similar. The app window covers whole framebuffer,
single OpenGl context (No compositor) and page flip gets activated as in single 
monitor setup. Then started to happen graphics frozen issues. We have tried
for several releases of Ubuntus (15.04 15.10 kernels 3.10, 4.1 4.2 4.3) and 
Fedora 22 with same result but different behavior and time to hang
(some could be recovered switching to console vt and back to X, others left 
system unusable).
Lately all hangs on J1900 left system totally inaccessible so I switched 
testing to N3150.

About test without OpenGL I'm not sure to understand.
I'm not sure how to test page flip without OpenGL or maybe you suggest 
that depending on the gpu load the behavior can change.
I think so, our game needs less time to hang than a test application I made 
based on glxgears.
Also about timing we setup frame rate to 30fps (60 Hz monitor and 
glXSwapIntervalMESA(2) or glXSwapIntervalSGI(2) )
While almost all applications just sync to VBlank with no divisor, so this 
could be an uncommon case.

The last tests done are under Kubuntu 15.10 with kernels 

linux-image-4.3.0-994-generic_4.3.0-994.201510162200_amd64 and 
libdrm2_2.4.65+git20150922.f3c6740f-0ubuntu0ricotz
and more recently with
linux-image-4.3.0-994-generic_4.3.0-994.201511052100_amd64 and 
libdrm2_2.4.65+git20151026.c745e541-0ubuntu0ricotz

And with latest updates I have a problem: the test application does not hang 
(at least for 3 days) without "drm.debug=0x1e"
but it does hang when drm debug is enabled, our game instead keeps hanging in 1 
day regardless of drm debug.
It seems also that if intel_gpu_top is running on an ssh terminal graphics hang in much less time.
Maybe system/gpu load influences on some race condition ?
Test app is just glxgears hacked with dummy textures and more gears and window 
setup using all display size, but our game usually is on the limit of 30fps (sporadically goes down to 20fps).

Next week I will do requested tests of xf86-video-intel with debug enabled, and 
later a test app that just fills framebuffer with single color.
At the moment cat /sys/kernel/debug/dri/0/i915_gem_pageflip gives
either:
No flip due on pipe A (plane A)
No flip due on pipe B (plane B)
No flip due on pipe C (plane C)

or like:

Flip queued on pipe A (plane A)
Flip queued on render ring at seqno 13434, next seqno 13435 [current breadcrumb 
13434], completed? 1
Flip queued on frame 90833, (was ready on frame 0), now 90833
Stall check enabled, 1 prepares
Current scanout address 0x0da59000
New framebuffer address 0x0da59000
MMIO update completed? 1
No flip due on pipe B (plane B)
Flip queued on pipe C (plane C)
Flip queued on render ring at seqno 13434, next seqno 13435 [current breadcrumb 
13434], completed? 1
Flip queued on frame 91314, (was ready on frame 0), now 91314
Stall check enabled, 1 prepares
Current scanout address 0x0da4f000
New framebuffer address 0x0da4f000
MMIO update completed? 1

or

Flip queued on pipe A (plane A)
Flip queued on render ring at seqno 193d8, next seqno 193d9 [current breadcrumb 
193d8], completed? 1
Flip queued on frame 115155, (was ready on frame 0), now 115155
Stall check enabled, 0 prepares
Current scanout address 0x02db0000
New framebuffer address 0x0da59000
MMIO update completed? 0
No flip due on pipe B (plane B)
Flip queued on pipe C (plane C)
Flip not associated with any ring
Flip queued on frame 0, (was ready on frame 0), now 115789
Stall check waiting for page flip ioctl, 0 prepares
Current scanout address 0x02da6000
New framebuffer address 0x00000000
MMIO update completed? 0
Comment 10 Ben Widawsky 2015-11-13 16:28:47 UTC
(In reply to Jan Bertran from comment #9)

> About test without OpenGL I'm not sure to understand.
> I'm not sure how to test page flip without OpenGL or maybe you suggest 
> that depending on the gpu load the behavior can change.
> I think so, our game needs less time to hang than a test application I made 
> based on glxgears.
> Also about timing we setup frame rate to 30fps (60 Hz monitor and 
> glXSwapIntervalMESA(2) or glXSwapIntervalSGI(2) )
> While almost all applications just sync to VBlank with no divisor, so this 
> could be an uncommon case.

Thanks. We're trying to narrow down the cause of the underlying issue. I was trying to determine if this can be reproduced without mesa. It sounds like you've been able to reproduce it without your game, which is a good start. Would you be able to post your glxgears based application?
Comment 11 Jan Bertran 2015-11-16 08:11:06 UTC
Created attachment 119697 [details]
source code of modified glxgears

Attached a hacked version of glxgears:
Main modifications (just quick hacks):
- force frame rate divided by 2 (if 60Hz monitor 30fps)
- force run only if desktop resolution is double the width one of typical resolutions (for example 1920*2 x 1080 or 1600*2 x 900 ...)
- undecorated, stay on top window. No fullscreen hint as it would make go to only one monitor, problem with some window managers the panel/menu bar is visible (deactivating page flip)
- textures generated by program with alpha channel to "stress test" and more gears.
Build with
gcc  -o "glx_swapbuf_test"  ./glxswapcontrol.c   -lm -lX11 -lGL -lGLU
Time to hang can be as much as 2 days usually less than 1 day.
Last hang with kernel linux-image-4.3.0-994-generic_4.3.0-994.201511052100_amd64 both with and without drm debug enabled.
Comment 12 Jan Bertran 2015-11-17 10:13:54 UTC
(In reply to Chris Wilson from comment #7)
> If you can gather cat /sys/kernel/debug/dri/0/i915_gem_pageflip and an
> Xorg.0.log from xf86-video-intel compiled with --enable-debug=full, that
> should be enough information to pinpoint the blame.

I have compiled xf86-video-intel with --enable-debug=full but it makes crash kde-plasma desktop. 
I'm trying to start app with other window managers or without any (xinit + shell script with xrandr) but in both cases I only get visual artifacts, (giant fragments of gears).
There has to be something missing in X startup sequence/permissions.

Thanks.
Comment 13 Jan Bertran 2015-11-24 10:35:30 UTC
Created attachment 120080 [details]
finally running with xf86-video-intel debug full Xorg log

contents of 
/sys/kernel/debug/dri/0/i915_gem_pageflip:
No flip due on pipe A (plane A)
No flip due on pipe B (plane B)
No flip due on pipe C (plane C)

Attached fragments of Xorg.0.log file
Comment 14 Jan Bertran 2015-11-24 11:57:35 UTC
With debug full, the assert crashes in minutes/seconds.
Now running the test with UXA instead of default SNA
cat /etc/X11/xorg.conf 
Section "Device"
        Identifier "Intel UXA"
        Driver  "Intel"
        Option "AccelMethod" "UXA"
EndSection

First difference: there are no debug messages from xorg_video_Intel.
Comment 15 Jan Bertran 2015-11-27 09:51:23 UTC
(In reply to Jan Bertran from comment #14)
> With debug full, the assert crashes in minutes/seconds.
> Now running the test with UXA instead of default SNA
> cat /etc/X11/xorg.conf 
> Section "Device"
>         Identifier "Intel UXA"
>         Driver  "Intel"
>         Option "AccelMethod" "UXA"
> EndSection
> 
> First difference: there are no debug messages from xorg_video_Intel.

2 days working, UXA seems valid workaround (at least with linux-image-4.3.0-994-generic_4.3.0-994.201511052100_amd64.deb)

for me, next tests pending xf86-video-intel from git instead of ubuntu release and sna enabled, and maybe J1900 instead of N3150.
Comment 16 Jan Bertran 2015-12-01 07:56:12 UTC
N3150 with SNA and latest git (2015-11-22) keeps blocking on page flip events.
N3150 with UXA works OK.
J1900 keeps hard-locking both with UXA and SNA.
(in both cases multimonitor setup)
Comment 17 Jari Tahvanainen 2016-12-09 13:15:50 UTC
Jan, Ben - is this issue still valid on newer kernels? There have been 1 year of silence...
Comment 18 Jan Bertran 2016-12-13 17:57:24 UTC
(In reply to Jari Tahvanainen from comment #17)
> Jan, Ben - is this issue still valid on newer kernels? There have been 1
> year of silence...

In my opinion bug could be closed on Gen8 graphics as the problem with Celeron N3150 was in the X11 SNA driver and not in the kernel.
About Gen7 J1900 I have not tried anymore.
Comment 19 Jari Tahvanainen 2017-02-06 12:45:30 UTC
Setting resolved+notourbug per comment 18 by Reporter.
Comment 20 Jari Tahvanainen 2017-02-06 12:46:28 UTC
Closing Resolved+Notourbug per comment 18 by Reporter.


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.