Created attachment 131727 [details] dmesg.log ==Bug detailed description== -------------------------------------------------- this test is failing in GLK with the following configuration igt@kms_frontbuffer_tracking@basic ==Steps to reproduce== -------------------------------------------------- ./kms_frontbuffer_tracking --r basic ==Actual results== -------------------------------------------------- Subtest basic: FAIL (0.787s) (kms_frontbuffer_tracking:2158) igt-core-DEBUG: Exiting with status code 99 (kms_frontbuffer_tracking:2158) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (kms_frontbuffer_tracking:2158) igt-kms-DEBUG: VT: original mode 0x0 restored (kms_frontbuffer_tracking:2158) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' Software ====================================== kernel version : 4.12.0-rc3-0af3152-madhav-0001-drm-cold-boot-g0af3152-dirty architecture : x86_64 os version : Ubuntu 17.04 os codename : zesty kernel driver : i915 bios revision : 49.61 bios release date : 05/27/2017 ksc : 1.25 ====================================== Graphic drivers ====================================== libdrm : 2.4.80 cairo : 1.15.5 intel-gpu-tools (tag) : intel-gpu-tools-1.18-209-g26c266fe intel-gpu-tools (commit) : 26c266fe ====================================== Hardware ====================================== platform : Geminilake motherboard model : Geminilake motherboard id : GLKRVP1DDR4(05) cpu family id : 6 cpu information : Genuine Intel(R) CPU @ 1.10GHz gpu card : Intel Corporation Device 3184 (rev 01) (prog-if 00 [VGA controller]) memory ram : 3.43 GB max memory ram : 16 GB cpu thread : 4 cpu core : 4 cpu model : 122 socket : Other hard drive : 447GiB (480GB) displays connected : DSI-1 ====================================== Firmware ====================================== dmc fw loaded : yes dmc version : 1.4 guc fw loaded : NONE ==Attachments== -------------------------------------------------- dmesg.log
Changing priority to Highest since it's IGT basic Failure. Thanks.
(In reply to maria guadalupe from comment #0) > Created attachment 131727 [details] > dmesg.log > > ==Bug detailed description== > -------------------------------------------------- > this test is failing in GLK with the following configuration > igt@kms_frontbuffer_tracking@basic > > ==Steps to reproduce== > -------------------------------------------------- > ./kms_frontbuffer_tracking --r basic > > ==Actual results== > -------------------------------------------------- > Subtest basic: FAIL (0.787s) > (kms_frontbuffer_tracking:2158) igt-core-DEBUG: Exiting with status code 99 > (kms_frontbuffer_tracking:2158) igt-debugfs-DEBUG: Opening debugfs directory > '/sys/kernel/debug/dri/0' > (kms_frontbuffer_tracking:2158) igt-kms-DEBUG: VT: original mode 0x0 restored > (kms_frontbuffer_tracking:2158) igt-debugfs-DEBUG: Opening debugfs directory Please provide the entire igt execution log, in particular the messages with the CRITICAL prefix.
(In reply to krisman from comment #2) > (In reply to maria guadalupe from comment #0) > > Created attachment 131727 [details] > > dmesg.log > > > > ==Bug detailed description== > > -------------------------------------------------- > > this test is failing in GLK with the following configuration > > igt@kms_frontbuffer_tracking@basic > > > > ==Steps to reproduce== > > -------------------------------------------------- > > ./kms_frontbuffer_tracking --r basic > > > > ==Actual results== > > -------------------------------------------------- > > Subtest basic: FAIL (0.787s) > > (kms_frontbuffer_tracking:2158) igt-core-DEBUG: Exiting with status code 99 > > (kms_frontbuffer_tracking:2158) igt-debugfs-DEBUG: Opening debugfs directory > > '/sys/kernel/debug/dri/0' > > (kms_frontbuffer_tracking:2158) igt-kms-DEBUG: VT: original mode 0x0 restored > > (kms_frontbuffer_tracking:2158) igt-debugfs-DEBUG: Opening debugfs directory > > > Please provide the entire igt execution log, in particular the messages with > the CRITICAL prefix. Hi Krisman test output ======================================== IGT-Version: 1.19-g76bce77 (x86_64) (Linux: 4.13.0-rc2-mipi-july-25-2-g92845e5-dirty x86_64) Primary screen: DSI 1920x1200, crtc 0 FBC last action not supported Can't test PSR: no usable eDP screen. Sink CRC not supported: primary screen is not eDP (kms_frontbuffer_tracking:1355) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:325: (kms_frontbuffer_tracking:1355) igt-debugfs-CRITICAL: Failed assertion: !mismatch Stack trace: #0 [__igt_fail_assert+0x101] #1 [igt_assert_crc_equal+0x5d] #2 [enable_prim_screen_and_wait+0x345] #3 [prepare_subtest_screens+0x9] #4 [basic_subtest+0x7c] #5 [main+0x19b1] #6 [__libc_start_main+0xf1] #7 [_start+0x29] #8 [<unknown>+0x29] Subtest basic failed. **** DEBUG **** (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) ioctl-wrappers-DEBUG: Test requirement passed: err == 0 (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325241, tiling=0x0, size=16384) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=256) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258, tiling=0x100000000000001, size=32768) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=512) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1024, height=1024, format=0x34325258, tiling=0x100000000000001, size=4194304) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=4, pitch=4096) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2420, height=2724, format=0x34325258, tiling=0x100000000000001, size=26537984) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=5, pitch=9728) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=6, pitch=7680) (kms_frontbuffer_tracking:1355) DEBUG: Blue CRC: pipe:[ef67e1eb 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=6, pitch=7680) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=7, pitch=7680) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=8, pitch=7680) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:1355) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1355) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=9, pitch=7680) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:1355) DEBUG: Rect 0 CRC: pipe:[077ef77b 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:1355) DEBUG: Rect 1 CRC: pipe:[087d5083 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:1355) DEBUG: Rect 2 CRC: pipe:[0c9f5063 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:1355) DEBUG: Rect 3 CRC: pipe:[03406260 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:1355) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:1355) DEBUG: Calculated CRC: pipe:[ef67e1eb 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:1355) DEBUG: Calculated CRC: pipe:[6900d23c 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:1355) igt-debugfs-DEBUG: CRC mismatch at index 0: 0x6900d23c != 0xef67e1eb (kms_frontbuffer_tracking:1355) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:325: (kms_frontbuffer_tracking:1355) igt-debugfs-CRITICAL: Failed assertion: !mismatch a thing the i've noticed here in the log is the following Can't test PSR: no usable eDP screen. Sink CRC not supported: primary screen is not eDP since i am testing on MIPI panel in GLK i dont know if this is correct or not ? relevant dmesg information ============================ kern :err : [Wed Jul 26 17:46:43 2017] ACPI Error: Invalid type (RegionField) for target of Scope operator [SSP2] (Cannot override) (20170531/dswload-273) kern :err : [Wed Jul 26 17:46:43 2017] ACPI Exception: AE_AML_OPERAND_TYPE, During name lookup/catalog (20170531/psobject-252) kern :err : [Wed Jul 26 17:46:43 2017] ACPI Exception: AE_AML_OPERAND_TYPE, (SSDT: RVPRtd3) while loading table (20170531/tbxfload-228) kern :err : [Wed Jul 26 17:46:43 2017] ACPI Error: 1 table load failures, 11 successful (20170531/tbxfload-246) kern :err : [Wed Jul 26 17:46:49 2017] uvesafb: Getting VBE info block failed (eax=0x4f00, err=1) kern :err : [Wed Jul 26 17:46:49 2017] uvesafb: vbe_init() failed with -22 kern :err : [Wed Jul 26 17:46:49 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:46:49 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:46:49 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:46:49 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:46:49 2017] ivtvfb: no cards found kern :err : [Wed Jul 26 17:46:50 2017] i2c_hid i2c-ALPS0001:00: hid_descr_cmd failed kern :err : [Wed Jul 26 17:46:50 2017] i2c_hid i2c-WCOM508E:00: hid_descr_cmd failed kern :err : [Wed Jul 26 17:46:50 2017] intel_oaktrail: Platform not recognized (You could try the module's force-parameter) kern :err : [Wed Jul 26 17:46:50 2017] atkbd serio0: Failed to deactivate keyboard on isa0060/serio0 kern :err : [Wed Jul 26 17:46:50 2017] atkbd serio0: Failed to enable keyboard on isa0060/serio0 kern :err : [Wed Jul 26 17:47:32 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:47:32 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:47:32 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 3 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:mipi_exec_gpio] *ERROR* GPIO index 4 request failed (-2) kern :err : [Wed Jul 26 17:47:33 2017] [drm:intel_pipe_update_end] *ERROR* Atomic update failure on pipe A (start=4061 end=4062) time 227 us, min 1192, max 1199, scanline start 1, end 1 kern :warn : [Wed Jul 26 17:46:43 2017] esrt: ESRT header is not in the memory map. kern :warn : [Wed Jul 26 17:46:43 2017] Setting dangerous option i915.alpha_support - tainting kernel kern :warn : [Wed Jul 26 17:46:43 2017] PCCT header not found. kern :warn : [Wed Jul 26 17:46:43 2017] pnp 00:01: disabling [io 0x164e-0x164f] because it overlaps 0000:00:13.0 BAR 13 [io 0x1000-0x1fff] kern :warn : [Wed Jul 26 17:46:49 2017] uvesafb: probe of uvesafb.0 failed with error -22 kern :warn : [Wed Jul 26 17:46:49 2017] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info(). kern :warn : [Wed Jul 26 17:46:49 2017] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp kern :warn : [Wed Jul 26 17:46:49 2017] i8042: Warning: Keylock active kern :warn : [Wed Jul 26 17:46:50 2017] ata1.00: Security Log not supported kern :warn : [Wed Jul 26 17:46:50 2017] ata1.00: Security Log not supported Firmware ====================================== dmc fw loaded : yes dmc version : 1.4 attachments ======================================= dmesg.log kern.log
Created attachment 133054 [details] dmesg.log
Created attachment 133055 [details] kern.log
(In reply to maria guadalupe from comment #3) > Can't test PSR: no usable eDP screen. > Sink CRC not supported: primary screen is not eDP > These messages are expected in this case, I believe. As discussed privately, since this is GLK, I'm reassigning it to the list so it will be forwarded to someone at intel.
Created attachment 133573 [details] [review] use NULL for GPIO connection ID Could you try this Andy's GPIO patch on your end? On my GLK + MIPI/DSI setup the patch + latest drm-tip solved the GPIO request failures.
Resolving as potential fix in drm-tip.
Created attachment 133623 [details] dmesg Issue is still present in latest drm-tip kernel: commit ad6ab9f96437f0cb1f4d8a7840fd9eeb894eb12e Author: Gustavo Padovan <gustavo.padovan@collabora.com> Date: Fri Aug 18 15:26:42 2017 -0300 drm-tip: 2017y-08m-18d-18h-21m-46s UTC integration manifest Adding dmesg and IGToutput
Created attachment 133624 [details] IGToutput
Mika? Wonder why the commit helps you but not Luis.
The error code on GPIO is not -517 which means that the GPIO driver may not be loaded and the i915 driver tries to access GPIO which is not available. In your kernel config you should have CONFIG_PINCTRL_GEMINILAKE=y Could you check this and maybe share your kernel config for comparison?
Created attachment 133674 [details] dmesg1 Issue regarding GPIO is gone with latest drm-tip kernel available: commit 3b36d5588ab5d02f450a598f807df0b9a19e1590 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Tue Aug 22 18:05:27 2017 +0300 drm-tip: 2017y-08m-22d-15h-04m-54s UTC integration manifest However, test result is still fail. Adding config, dmesg1 and igtoutput1.
Created attachment 133675 [details] igtoutput1
Created attachment 133676 [details] config
This is a different issue than the one with GPIO's. I guess issue with GPIO just hided this issue with mismatching crc's. I'll take a look at this one once I get my GLK back in working order.
With the latest drm-tip I see the following error (X not starting properly) [ 665.269962] [drm:drm_mode_addfb2 [drm]] [FB:93] [ 665.270411] [drm:intel_framebuffer_init [i915]] No Y tiling for legacy addfb [ 665.270433] [drm:drm_internal_framebuffer_create [drm]] could not create framebuffer My setup is GLK RVP2a + MIPI panel Do you see similar with the latest drm-tip?
My problem was crashing X server. This is fixes now and I was able to replicate the issue ./kms_frontbuffer_tracking --r basic IGT-Version: 1.19-gc718ba80 (x86_64) (Linux: 4.13.0-2017-09-15-12.23-drm-intel-mika x86_64) Primary screen: DSI 1920x1200, crtc 0 FBC last action not supported Can't test PSR: no usable eDP screen. Sink CRC not supported: primary screen is not eDP (kms_frontbuffer_tracking:3825) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:345: (kms_frontbuffer_tracking:3825) igt-debugfs-CRITICAL: Failed assertion: !mismatch Stack trace: #0 [__igt_fail_assert+0x101] #1 [igt_assert_crc_equal+0x5d] #2 [do_crc_assertions.part.34+0x61] #3 [__do_assertions+0x1f1] #4 [prepare_subtest_screens+0x9] #5 [main+0x17a2] #6 [__libc_start_main+0xf1] #7 [_start+0x2a] #8 [<unknown>+0x2a] Subtest basic failed. **** DEBUG **** (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) ioctl-wrappers-DEBUG: Test requirement passed: err == 0 (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325241, tiling=0x0, size=16384) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=256) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258, tiling=0x100000000000001, size=32768) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=512) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1024, height=1024, format=0x34325258, tiling=0x100000000000001, size=4194304) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=4, pitch=4096) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2420, height=2724, format=0x34325258, tiling=0x100000000000001, size=26537984) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=5, pitch=9728) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=6, pitch=7680) (kms_frontbuffer_tracking:3825) DEBUG: Blue CRC: pipe:[ef67e1eb 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=6, pitch=7680) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=7, pitch=7680) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=8, pitch=7680) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:3825) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:3825) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=9, pitch=7680) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: intel_gen(intel_get_drm_devid(fd)) >= 5 (kms_frontbuffer_tracking:3825) DEBUG: Rect 0 CRC: pipe:[077ef77b 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:3825) DEBUG: Rect 1 CRC: pipe:[087d5083 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:3825) DEBUG: Rect 2 CRC: pipe:[0c9f5063 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:3825) DEBUG: Rect 3 CRC: pipe:[03406260 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:3825) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle) (kms_frontbuffer_tracking:3825) DEBUG: checking asserts in line 1778 (kms_frontbuffer_tracking:3825) DEBUG: Calculated CRC: pipe:[ef67e1eb 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:3825) DEBUG: Calculated CRC: pipe:[6900d23c 00000000 00000000 00000000 00000000] sink:[unsupported!] (kms_frontbuffer_tracking:3825) igt-debugfs-DEBUG: CRC mismatch at index 0: 0x6900d23c != 0xef67e1eb (kms_frontbuffer_tracking:3825) igt-debugfs-CRITICAL: Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:345: (kms_frontbuffer_tracking:3825) igt-debugfs-CRITICAL: Failed assertion: !mismatch (kms_frontbuffer_tracking:3825) igt-core-INFO: Stack trace: (kms_frontbuffer_tracking:3825) igt-core-INFO: #0 [__igt_fail_assert+0x101] (kms_frontbuffer_tracking:3825) igt-core-INFO: #1 [igt_assert_crc_equal+0x5d] (kms_frontbuffer_tracking:3825) igt-core-INFO: #2 [do_crc_assertions.part.34+0x61] (kms_frontbuffer_tracking:3825) igt-core-INFO: #3 [__do_assertions+0x1f1] (kms_frontbuffer_tracking:3825) igt-core-INFO: #4 [prepare_subtest_screens+0x9] (kms_frontbuffer_tracking:3825) igt-core-INFO: #5 [main+0x17a2] (kms_frontbuffer_tracking:3825) igt-core-INFO: #6 [__libc_start_main+0xf1] (kms_frontbuffer_tracking:3825) igt-core-INFO: #7 [_start+0x2a] (kms_frontbuffer_tracking:3825) igt-core-INFO: #8 [<unknown>+0x2a] **** END **** Subtest basic: FAIL (0,771s)
Beside basic test the following test fails also with the !mismatch error ./kms_frontbuffer_tracking --r fbc-1p-primscrn-cur-indfb-draw-mmap-cpu
Created attachment 134406 [details] [review] Collect CRC twice Before pushing this patch forward, could you do me a favor and run your test with this patch applied on top of the latest intel-gpu-tools, please? The patch seems to fix !mismatch errors on my GLK+MIPI/DSI system.
Reference to patch: https://patchwork.freedesktop.org/series/31023/
From Mika: This fixes my issue with GLK+MIPI/DSI when running IGT test kms_frontbuffer_tracking --r basic Tested-by: Mika Kahola <mika.kahola@intel.com>
Patch merged to dinq. Thanks for spotting this, all ideas, review and testing.
Is this test meant to skip? This is my IGT output: ======================================== IGT-Version: 1.19-gb5404f8 (x86_64) (Linux: 4.14.0-rc3-drm-tip-14f3207683-mipi-g14f3207-dirty x86_64) (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: !(fd<0) (kms_frontbuffer_tracking:1734) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0 (kms_frontbuffer_tracking:1734) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (kms_frontbuffer_tracking:1734) DEBUG: Test requirement passed: rc == 0 (kms_frontbuffer_tracking:1734) DEBUG: Test requirement passed: overlay_plane_id Primary screen: DSI 1920x1200, crtc 0 (kms_frontbuffer_tracking:1734) DEBUG: Test requirement passed: init_modeset_cached_params() (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000001, size=9216000) (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325241, tiling=0x0, size=16384) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=256) (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258, tiling=0x100000000000001, size=32768) (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=512) (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1024, height=1024, format=0x34325258, tiling=0x100000000000001, size=4194304) (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=4, pitch=4096) (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2420, height=2724, format=0x34325258, tiling=0x100000000000001, size=26537984) (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) (kms_frontbuffer_tracking:1734) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=5, pitch=9728) (kms_frontbuffer_tracking:1734) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0) FBC last action not supported Can't test PSR: no usable eDP screen. (kms_frontbuffer_tracking:1734) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (kms_frontbuffer_tracking:1734) igt-debugfs-DEBUG: Using generic frame CRC ABI Sink CRC not supported: primary screen is not eDP (kms_frontbuffer_tracking:1734) igt-core-DEBUG: Starting subtest: basic (kms_frontbuffer_tracking:1734) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd) Test requirement not met in function igt_require_gem, file ioctl_wrappers.c:1617: Test requirement: err == 0 Unresponsive i915/GEM device Last errno: 5, Input/output error Subtest basic: SKIP (0.000s) (kms_frontbuffer_tracking:1734) igt-core-DEBUG: Exiting with status code 77 (kms_frontbuffer_tracking:1734) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (kms_frontbuffer_tracking:1734) igt-kms-DEBUG: VT: original mode 0x0 restored (kms_frontbuffer_tracking:1734) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' dmesg ============================= [ 194.732722] [IGT] kms_frontbuffer_tracking: executing [ 194.773702] [drm:drm_mode_addfb2] [FB:92] [ 194.773786] [drm:drm_mode_addfb2] [FB:95] [ 194.773861] [drm:drm_mode_addfb2] [FB:96] [ 194.776619] [drm:drm_mode_addfb2] [FB:97] [ 194.789777] [drm:drm_mode_addfb2] [FB:98] [ 194.790267] [IGT] kms_frontbuffer_tracking: starting subtest basic [ 194.790428] [IGT] kms_frontbuffer_tracking: exiting, ret=77
This error shouldn't be there: Test requirement not met in function igt_require_gem, file ioctl_wrappers.c:1617: Test requirement: err == 0 Unresponsive i915/GEM device Last errno: 5, Input/output error Subtest basic: SKIP (0.000s) This test needs to be verified.
Test results are "dmesg-warn" with a lot of errors in GPIO on all non-skipped tests: [ 146.386640] Setting dangerous option enable_fbc - tainting kernel [ 146.386697] Setting dangerous option enable_psr - tainting kernel [ 146.407381] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 4 request failed (-517) [ 146.445092] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 3 request failed (-517) [ 146.461280] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 3 request failed (-517) [ 146.492804] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 4 request failed (-517) [ 146.560739] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 4 request failed (-517) [ 146.597186] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 3 request failed (-517) [ 146.794241] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 3 request failed (-517) [ 146.825058] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 4 request failed (-517) [ 147.091302] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 4 request failed (-517) [ 147.128997] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 3 request failed (-517) [ 147.131941] Setting dangerous option enable_fbc - tainting kernel [ 147.138471] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 3 request failed (-517) [ 147.168547] [drm:mipi_exec_gpio [i915]] *ERROR* GPIO index 4 request failed (-517) [ 147.780582] Setting dangerous option enable_psr - tainting kernel [ 147.780670] Setting dangerous option enable_fbc - tainting kernel Kernel commit: 4.16.0-rc3-drm-tip-commit-d8a0797+
A new bug has been submitted for this issue: https://bugs.freedesktop.org/show_bug.cgi?id=105321
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.