Bug 108262

Summary: Unable to open intel_gpu_top (sudo): Test assertion failure function init_instdone_definitions, file instdone.c:599
Product: DRI Reporter: tomac120
Component: IGTAssignee: Default DRI bug account <dri-devel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description tomac120 2018-10-06 22:57:59 UTC
I am using Fedora 28 (applies also to 27) with 8700K processor and integrated graphics. When I run "sudo intel_gpu_top", I get the following message:

Test assertion failure function init_instdone_definitions, file instdone.c:599:
Failed assertion: IS_GEN2(devid)


Kernel version: 4.18.9-200.fc28.x86_64
Motherboard: GIGABYTE Z370N WIFI
Display Connector: DisplayPort (tried also HDMI)


------------------------------------
Requested Info: sudo intel_reg_dumper
                           DCC: 0x00000000 (g/dri/0/i915_forcewake_user)
                     CHDECMISC: 0x00000000 (none, ch2 enh disabled, ch1 enh disabled, ch0 enh disabled, flex disabled, ep not present)
                        C0DRB0: 0x00000000 (0x0000)
                        C0DRB1: 0x00000000 (0x0000)
                        C0DRB2: 0x00000000 (0x0000)
                        C0DRB3: 0x00000000 (0x0000)
                        C1DRB0: 0x00000000 (0x0000)
                        C1DRB1: 0x00000000 (0x0000)
                        C1DRB2: 0x00000000 (0x0000)
                        C1DRB3: 0x00000000 (0x0000)
                       C0DRA01: 0x00000000 (0x0000)
                       C0DRA23: 0x00000000 (0x0000)
                       C1DRA01: 0x00000000 (0x0000)
                       C1DRA23: 0x00000000 (0x0000)
                    PGETBL_CTL: 0x00000000
             VCLK_DIVISOR_VGA0: 0x00800000 (n = 0, m1 = 0, m2 = 0)
             VCLK_DIVISOR_VGA1: 0x00800000 (n = 0, m1 = 0, m2 = 0)
                 VCLK_POST_DIV: 0x00800000 (vga0 p1 = 2, p2 = 2, vga1 p1 = 2, p2 = 2)
                     DPLL_TEST: 0x00000000 (, DPLLA input buffer disabled, DPLLB input buffer disabled)
                  CACHE_MODE_0: 0x00000000
                       D_STATE: 0x00000000
                 DSPCLK_GATE_D: 0x00800000 (clock gates disabled: TVRUNIT)
                RENCLK_GATE_D1: 0x00800000
                RENCLK_GATE_D2: 0x00000000
                         SDVOB: 0x00000000 (disabled, pipe A, stall disabled, not detected)
                         SDVOC: 0x00000000 (disabled, pipe A, stall disabled, not detected)
                       SDVOUDI: 0x00000000
                        DSPARB: 0x00000000
                        FW_BLC: 0x00000000
                       FW_BLC2: 0x00000000
                   FW_BLC_SELF: 0x00004000
                        DSPFW1: 0x00000000
                        DSPFW2: 0x00000000
                        DSPFW3: 0x00000000
                          ADPA: 0x00000000 (disabled, pipe A, -hsync, -vsync)
                          LVDS: 0x00000000 (disabled, pipe A, 18 bit, 1 channel)
                          DVOA: 0x00000000 (disabled, pipe A, no stall, -hsync, -vsync)
                          DVOB: 0x00000000 (disabled, pipe A, no stall, -hsync, -vsync)
                          DVOC: 0x00000000 (disabled, pipe A, no stall, -hsync, -vsync)
                   DVOA_SRCDIM: 0x00000000
                   DVOB_SRCDIM: 0x00000000
                   DVOC_SRCDIM: 0x00000000
                   BLC_PWM_CTL: 0x00000000
                  BLC_PWM_CTL2: 0x00000000
                    PP_CONTROL: 0x00000000 (power target: off)
                     PP_STATUS: 0x00000000 (off, not ready, sequencing idle)
                  PP_ON_DELAYS: 0x00000000
                 PP_OFF_DELAYS: 0x00000000
                    PP_DIVISOR: 0x00000000
                  PFIT_CONTROL: 0x00000000
               PFIT_PGM_RATIOS: 0x00000000
               PORT_HOTPLUG_EN: 0x00000000
             PORT_HOTPLUG_STAT: 0x00000000
                      DSPACNTR: 0xc4842400 (enabled, pipe A)
                    DSPASTRIDE: 0x0000001e (30 bytes)
                       DSPAPOS: 0x00000000 (0, 0)
                      DSPASIZE: 0x086f0eff (3840, 2160)
                      DSPABASE: 0x00000000
                      DSPASURF: 0x0b380000
                   DSPATILEOFF: 0x00000000
                     PIPEACONF: 0xc0000000 (enabled, double-wide)
                      PIPEASRC: 0x0eff086f (3840, 2160)
                     PIPEASTAT: 0x00000000 (status:)
             PIPEA_GMCH_DATA_M: 0x46b3060a
             PIPEA_GMCH_DATA_N: 0x00000000
               PIPEA_DP_LINK_M: 0x00000000
               PIPEA_DP_LINK_N: 0x00000000
                 CURSOR_A_BASE: 0x02400000
              CURSOR_A_CONTROL: 0x05000023
             CURSOR_A_POSITION: 0x04770ae1
                          FPA0: 0x00800000 (n = 0, m1 = 0, m2 = 0)
                          FPA1: 0x00800000 (n = 0, m1 = 0, m2 = 0)
                        DPLL_A: 0x00800000 (disabled, non-dvo, VGA, default clock, unknown mode, p1 = 8, p2 = 0)
                     DPLL_A_MD: 0x00000000
                      HTOTAL_A: 0x0f9f0eff (3840 active, 4000 total)
                      HBLANK_A: 0x0f9f0eff (3840 start, 4000 end)
                       HSYNC_A: 0x0f6d0f3d (3902 start, 3950 end)
                      VTOTAL_A: 0x08ad086f (2160 active, 2222 total)
                      VBLANK_A: 0x08ad086f (2160 start, 2222 end)
                       VSYNC_A: 0x08770872 (2163 start, 2168 end)
                     BCLRPAT_A: 0x00000000
                  VSYNCSHIFT_A: 0x00000000
                      DSPBCNTR: 0x00000000 (disabled, pipe A)
                    DSPBSTRIDE: 0x00000000 (0 bytes)
                       DSPBPOS: 0x00000000 (0, 0)
                      DSPBSIZE: 0x00000000 (1, 1)
                      DSPBBASE: 0x00000000
                      DSPBSURF: 0x00000000
                   DSPBTILEOFF: 0x00000000
                     PIPEBCONF: 0x00000000 (disabled, single-wide)
                      PIPEBSRC: 0x00000000 (1, 1)
                     PIPEBSTAT: 0x00000000 (status:)
             PIPEB_GMCH_DATA_M: 0x00000000
             PIPEB_GMCH_DATA_N: 0x00000000
               PIPEB_DP_LINK_M: 0x00000000
               PIPEB_DP_LINK_N: 0x00000000
                 CURSOR_B_BASE: 0x00000000
              CURSOR_B_CONTROL: 0x00000000
             CURSOR_B_POSITION: 0x00000000
                          FPB0: 0x00000000 (n = 0, m1 = 0, m2 = 0)
                          FPB1: 0x00000000 (n = 0, m1 = 0, m2 = 0)
                        DPLL_B: 0x00000000 (disabled, non-dvo, VGA, default clock, unknown mode, p1 = 0, p2 = 0)
                     DPLL_B_MD: 0x00800000
                      HTOTAL_B: 0x00000000 (1 active, 1 total)
                      HBLANK_B: 0x00000000 (1 start, 1 end)
                       HSYNC_B: 0x00000000 (1 start, 1 end)
                      VTOTAL_B: 0x00000000 (1 active, 1 total)
                      VBLANK_B: 0x00000000 (1 start, 1 end)
                       VSYNC_B: 0x00000000 (1 start, 1 end)
                     BCLRPAT_B: 0x00000000
                  VSYNCSHIFT_B: 0x00000000
             VCLK_DIVISOR_VGA0: 0x00800000
             VCLK_DIVISOR_VGA1: 0x00800000
                 VCLK_POST_DIV: 0x00800000
                      VGACNTRL: 0x300c0300 (enabled)
                        TV_CTL: 0x00000000
                        TV_DAC: 0x00000000
                      TV_CSC_Y: 0x00000000
                     TV_CSC_Y2: 0x00000000
                      TV_CSC_U: 0x00000000
                     TV_CSC_U2: 0x00000000
                      TV_CSC_V: 0x00000000
                     TV_CSC_V2: 0x00000000
                  TV_CLR_KNOBS: 0x00000000
                  TV_CLR_LEVEL: 0x00000000
                    TV_H_CTL_1: 0x00000000
                    TV_H_CTL_2: 0x00000000
                    TV_H_CTL_3: 0x00000000
                    TV_V_CTL_1: 0x00000000
                    TV_V_CTL_2: 0x00000000
                    TV_V_CTL_3: 0x00000000
                    TV_V_CTL_4: 0x00000000
                    TV_V_CTL_5: 0x00000000
                    TV_V_CTL_6: 0x00000000
                    TV_V_CTL_7: 0x00000000
                   TV_SC_CTL_1: 0x00000000
                   TV_SC_CTL_2: 0x00000000
                   TV_SC_CTL_3: 0x00000000
                    TV_WIN_POS: 0x00000000
                   TV_WIN_SIZE: 0x00000000
               TV_FILTER_CTL_1: 0x00000000
               TV_FILTER_CTL_2: 0x00000000
               TV_FILTER_CTL_3: 0x00000000
                 TV_CC_CONTROL: 0x00000000
                    TV_CC_DATA: 0x00000000
                   TV_H_LUMA_0: 0x00000000
                  TV_H_LUMA_59: 0x00000000
                 TV_H_CHROMA_0: 0x00000000
                TV_H_CHROMA_59: 0x00000000
                  FBC_CFB_BASE: 0x00004000
                   FBC_LL_BASE: 0x00004000
                   FBC_CONTROL: 0x00004000
                   FBC_COMMAND: 0x00004000
                    FBC_STATUS: 0x00004000
                  FBC_CONTROL2: 0x00004000
                 FBC_FENCE_OFF: 0x00400000
                   FBC_MOD_NUM: 0x00004000
                       MI_MODE: 0x00000200
                  MI_ARB_STATE: 0x00000000
                MI_RDRET_STATE: 0x00000000
                       ECOSKPD: 0x00000000
                          DP_B: 0x00000000
                DPB_AUX_CH_CTL: 0x0000023f
              DPB_AUX_CH_DATA1: 0x00000000
              DPB_AUX_CH_DATA2: 0x00000000
              DPB_AUX_CH_DATA3: 0x00000000
              DPB_AUX_CH_DATA4: 0x00000000
              DPB_AUX_CH_DATA5: 0x00000000
                          DP_C: 0x00000000
                DPC_AUX_CH_CTL: 0x0000023f
              DPC_AUX_CH_DATA1: 0x00000000
              DPC_AUX_CH_DATA2: 0x00000000
              DPC_AUX_CH_DATA3: 0x00000000
              DPC_AUX_CH_DATA4: 0x00000000
              DPC_AUX_CH_DATA5: 0x00000000
                          DP_D: 0x84000006
                DPD_AUX_CH_CTL: 0x2c1003ff
              DPD_AUX_CH_DATA1: 0x00000000
              DPD_AUX_CH_DATA2: 0x00000000
              DPD_AUX_CH_DATA3: 0x00000000
              DPD_AUX_CH_DATA4: 0x00000000
              DPD_AUX_CH_DATA5: 0x00000000
                    AUD_CONFIG: 0x00000000
              AUD_HDMIW_STATUS: 0x00000000
                AUD_CONV_CHCNT: 0x00000000
                 VIDEO_DIP_CTL: 0x00000000
                 AUD_PINW_CNTR: 0x00000000
                   AUD_CNTL_ST: 0x00000000
                   AUD_PIN_CAP: 0x00000000
                  AUD_PINW_CAP: 0x00000000
            AUD_PINW_UNSOLRESP: 0x00000000
              AUD_OUT_DIG_CNVT: 0x00000000
                 AUD_OUT_CWCAP: 0x00000000
                   AUD_GRP_CAP: 0x00000000
                      FENCE  0: 0x00000000 (disabled)
                      FENCE  1: 0x00000000 (disabled)
                      FENCE  2: 0x00000000 (disabled)
                      FENCE  3: 0x00000000 (disabled)
                      FENCE  4: 0x00000000 (disabled)
                      FENCE  5: 0x00000000 (disabled)
                      FENCE  6: 0x00000000 (disabled)
                      FENCE  7: 0x00000000 (disabled)
                      FENCE  8: 0x00000000 (disabled)
                      FENCE  9: 0x00000000 (disabled)
                     FENCE  10: 0x00000000 (disabled)
                     FENCE  11: 0x00000000 (disabled)
                     FENCE  12: 0x00000000 (disabled)
                     FENCE  13: 0x00000000 (disabled)
                     FENCE  14: 0x00000000 (disabled)
                     FENCE  15: 0x00000000 (disabled)
                 FENCE START 0: 0x00000000 (disabled)
                   FENCE END 0: 0x00000000 (disabled)
                 FENCE START 1: 0x00000000 (disabled)
                   FENCE END 1: 0x00000000 (disabled)
                 FENCE START 2: 0x00000000 (disabled)
                   FENCE END 2: 0x00000000 (disabled)
                 FENCE START 3: 0x00000000 (disabled)
                   FENCE END 3: 0x00000000 (disabled)
                 FENCE START 4: 0x00000000 (disabled)
                   FENCE END 4: 0x00000000 (disabled)
                 FENCE START 5: 0x00000000 (disabled)
                   FENCE END 5: 0x00000000 (disabled)
                 FENCE START 6: 0x00000000 (disabled)
                   FENCE END 6: 0x00000000 (disabled)
                 FENCE START 7: 0x00000000 (disabled)
                   FENCE END 7: 0x00000000 (disabled)
                 FENCE START 8: 0x00000000 (disabled)
                   FENCE END 8: 0x00000000 (disabled)
                 FENCE START 9: 0x00000000 (disabled)
                   FENCE END 9: 0x00000000 (disabled)
                FENCE START 10: 0x00000000 (disabled)
                  FENCE END 10: 0x00000000 (disabled)
                FENCE START 11: 0x00000000 (disabled)
                  FENCE END 11: 0x00000000 (disabled)
                FENCE START 12: 0x00000000 (disabled)
                  FENCE END 12: 0x00000000 (disabled)
                FENCE START 13: 0x00000000 (disabled)
                  FENCE END 13: 0x00000000 (disabled)
                FENCE START 14: 0x00000000 (disabled)
                  FENCE END 14: 0x00000000 (disabled)
                FENCE START 15: 0x00000000 (disabled)
                  FENCE END 15: 0x00000000 (disabled)
                       INST_PM: 0x00000000
pipe A dot 7200 n 0 m1 0 m2 0 p1 8 p2 10
p1 out of range
pipe B dot 57600 n 0 m1 0 m2 0 p1 1 p2 10
Comment 1 Petri Latvala 2018-10-08 09:51:08 UTC
Your intel_gpu_top is too old to recognize 8700K. Coffee Lake support was included in 1.20 iirc.
Comment 2 Lakshmi 2018-10-16 08:54:54 UTC
Reporter were you able to verify with latest intel gpu tools?

Here you can find the latest intel gpu tools where you can build and install latest intel gpu tools git://anongit.freedesktop.org/xorg/app/intel-gpu-tools.
Comment 3 Lakshmi 2019-02-19 08:17:23 UTC
Reporter please use the latest intel gpu tools git://anongit.freedesktop.org/xorg/app/intel-gpu-tools.

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.