Bug 104687 - [IGT][Gen 8 and down] testdisplay -y failed assertion igt_create_fb_with_bo_size, Invalid argument
Summary: [IGT][Gen 8 and down] testdisplay -y failed assertion igt_create_fb_with_bo_s...
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-18 19:00 UTC by Elizabeth
Modified: 2018-09-04 12:11 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, BSW/CHT, BYT, HSW, IVB, SNB
i915 features: display/DP


Attachments
dmesg log Unsupported tiling (11.46 KB, text/plain)
2018-01-18 19:00 UTC, Elizabeth
no flags Details

Description Elizabeth 2018-01-18 19:00:31 UTC
Created attachment 136833 [details]
dmesg log Unsupported tiling

(04:06 AM) [gfx@BDW-1-NUC5i7RYB] [tests]$ : sudo -E ./testdisplay -y
(testdisplay:7352) igt-fb-CRITICAL: Test assertion failure function igt_create_fb_with_bo_size, file igt_fb.c:684:
(testdisplay:7352) igt-fb-CRITICAL: Failed assertion: (__kms_addfb(fd, fb->gem_handle, width, height, fb->stride, format, tiling, (1<<1), &fb_id)) == 0
(testdisplay:7352) igt-fb-CRITICAL: Last errno: 22, Invalid argument
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [igt_create_fb_with_bo_size+0x284]
  #2 [igt_create_fb+0xd]
  #3 [igt_create_pattern_fb+0x18]
  #4 [update_display+0x22c]
  #5 [main+0x6d0]
  #6 [__libc_start_main+0xf1]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Test (null) failed.
**** DEBUG ****
(testdisplay:7352) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(testdisplay:7352) drmtest-DEBUG: Test requirement passed: !(fd<0)
(testdisplay:7352) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(testdisplay:7352) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(testdisplay:7352) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x100000000000002, size=0)
(testdisplay:7352) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(testdisplay:7352) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(testdisplay:7352) ioctl-wrappers-DEBUG: Test requirement passed: has_modifiers
(testdisplay:7352) igt-fb-CRITICAL: Test assertion failure function igt_create_fb_with_bo_size, file igt_fb.c:684:
(testdisplay:7352) igt-fb-CRITICAL: Failed assertion: (__kms_addfb(fd, fb->gem_handle, width, height, fb->stride, format, tiling, (1<<1), &fb_id)) == 0
(testdisplay:7352) igt-fb-CRITICAL: Last errno: 22, Invalid argument
(testdisplay:7352) igt-core-INFO: Stack trace:
(testdisplay:7352) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(testdisplay:7352) igt-core-INFO:   #1 [igt_create_fb_with_bo_size+0x284]
(testdisplay:7352) igt-core-INFO:   #2 [igt_create_fb+0xd]
(testdisplay:7352) igt-core-INFO:   #3 [igt_create_pattern_fb+0x18]
(testdisplay:7352) igt-core-INFO:   #4 [update_display+0x22c]
(testdisplay:7352) igt-core-INFO:   #5 [main+0x6d0]
(testdisplay:7352) igt-core-INFO:   #6 [__libc_start_main+0xf1]
(testdisplay:7352) igt-core-INFO:   #7 [_start+0x29]
(testdisplay:7352) igt-core-INFO:   #8 [<unknown>+0x29]
****  END  ****
FAIL (-1.000s)
Comment 1 Elizabeth 2018-03-07 20:01:17 UTC
Same failure in all our platforms with gpu gen 8 and down, SNB, IVB, BYT, HSW, BDW, BSW. If this is expected, test should be skipped, isn't it?

testdisplay -y
(testdisplay:5706) igt-fb-CRITICAL: Test assertion failure function igt_create_fb_with_bo_size, file igt_fb.c:795:
(testdisplay:5706) igt-fb-CRITICAL: Failed assertion: (__kms_addfb(fd, fb->gem_handle, width, height, fb->stride, format, tiling, fb->offsets, (1<<1), &fb_id)) == 0
(testdisplay:5706) igt-fb-CRITICAL: Last errno: 22, Invalid argument
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [igt_create_fb_with_bo_size+0x3da]
  #2 [igt_create_fb+0xd]
  #3 [igt_create_pattern_fb+0x1e]
  #4 [set_mode+0x15b]
  #5 [update_display+0xda]
  #6 [main+0x6d0]
  #7 [__libc_start_main+0xf1]
  #8 [_start+0x29]
  #9 [<unknown>+0x29]
Test (null) failed.
**** DEBUG ****
(testdisplay:5706) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(testdisplay:5706) drmtest-DEBUG: Test requirement passed: !(fd<0)
(testdisplay:5706) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(testdisplay:5706) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(testdisplay:5706) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000002, size=0)
(testdisplay:5706) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(testdisplay:5706) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(testdisplay:5706) ioctl-wrappers-DEBUG: Test requirement passed: has_modifiers
(testdisplay:5706) igt-fb-CRITICAL: Test assertion failure function igt_create_fb_with_bo_size, file igt_fb.c:795:
(testdisplay:5706) igt-fb-CRITICAL: Failed assertion: (__kms_addfb(fd, fb->gem_handle, width, height, fb->stride, format, tiling, fb->offsets, (1<<1), &fb_id)) == 0
(testdisplay:5706) igt-fb-CRITICAL: Last errno: 22, Invalid argument
(testdisplay:5706) igt-core-INFO: Stack trace:
(testdisplay:5706) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(testdisplay:5706) igt-core-INFO:   #1 [igt_create_fb_with_bo_size+0x3da]
(testdisplay:5706) igt-core-INFO:   #2 [igt_create_fb+0xd]
(testdisplay:5706) igt-core-INFO:   #3 [igt_create_pattern_fb+0x1e]
(testdisplay:5706) igt-core-INFO:   #4 [set_mode+0x15b]
(testdisplay:5706) igt-core-INFO:   #5 [update_display+0xda]
(testdisplay:5706) igt-core-INFO:   #6 [main+0x6d0]
(testdisplay:5706) igt-core-INFO:   #7 [__libc_start_main+0xf1]
(testdisplay:5706) igt-core-INFO:   #8 [_start+0x29]
(testdisplay:5706) igt-core-INFO:   #9 [<unknown>+0x29]
****  END  ****
FAIL (-1.000s)
Comment 2 Jani Saarinen 2018-03-29 07:10:44 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 3 Elizabeth 2018-04-09 20:02:04 UTC
Still a valid issue for BSW, BDW, HSW, BYT, IVB, SNB.

[gfx@SNB-1-06D7TR] [~]$ : sudo -E ./intel-graphics/intel-gpu-tools/tests/testdisplay -y
(testdisplay:16156) igt-fb-CRITICAL: Test assertion failure function igt_create_fb_with_bo_size, file igt_fb.c:795:
(testdisplay:16156) igt-fb-CRITICAL: Failed assertion: (__kms_addfb(fd, fb->gem_handle, width, height, fb->stride, format, tiling, fb->offsets, (1<<1), &fb_id)) == 0
(testdisplay:16156) igt-fb-CRITICAL: Last errno: 22, Invalid argument
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [igt_create_fb_with_bo_size+0x3da]
  #2 [igt_create_fb+0xd]
  #3 [igt_create_pattern_fb+0x1e]
  #4 [set_mode+0x15b]
  #5 [update_display+0xda]
  #6 [main+0x6d0]
  #7 [__libc_start_main+0xf1]
  #8 [_start+0x29]
  #9 [<unknown>+0x29]
Test (null) failed.
**** DEBUG ****
(testdisplay:16156) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(testdisplay:16156) drmtest-DEBUG: Test requirement passed: !(fd<0)
(testdisplay:16156) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(testdisplay:16156) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(testdisplay:16156) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1200, format=0x34325258, tiling=0x100000000000002, size=0)
(testdisplay:16156) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(testdisplay:16156) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(testdisplay:16156) ioctl-wrappers-DEBUG: Test requirement passed: has_modifiers
(testdisplay:16156) igt-fb-CRITICAL: Test assertion failure function igt_create_fb_with_bo_size, file igt_fb.c:795:
(testdisplay:16156) igt-fb-CRITICAL: Failed assertion: (__kms_addfb(fd, fb->gem_handle, width, height, fb->stride, format, tiling, fb->offsets, (1<<1), &fb_id)) == 0
(testdisplay:16156) igt-fb-CRITICAL: Last errno: 22, Invalid argument
(testdisplay:16156) igt-core-INFO: Stack trace:
(testdisplay:16156) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(testdisplay:16156) igt-core-INFO:   #1 [igt_create_fb_with_bo_size+0x3da]
(testdisplay:16156) igt-core-INFO:   #2 [igt_create_fb+0xd]
(testdisplay:16156) igt-core-INFO:   #3 [igt_create_pattern_fb+0x1e]
(testdisplay:16156) igt-core-INFO:   #4 [set_mode+0x15b]
(testdisplay:16156) igt-core-INFO:   #5 [update_display+0xda]
(testdisplay:16156) igt-core-INFO:   #6 [main+0x6d0]
(testdisplay:16156) igt-core-INFO:   #7 [__libc_start_main+0xf1]
(testdisplay:16156) igt-core-INFO:   #8 [_start+0x29]
(testdisplay:16156) igt-core-INFO:   #9 [<unknown>+0x29]
****  END  ****
FAIL (-1.000s)
Comment 4 Martin Peres 2018-09-04 12:10:59 UTC
We cannot reproduce this issue on our CI systems, and Elizabeth's systems are not available anymore.

Closing


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.