Skip to contentSkip to conversation

igt@amdgpu/amd_prime@amd-to-i915 - fail - Failed assertion: r == 0, Last errno: 28, No space left on device

Bug 109049 [email protected] 1 participant 10 messages Dec 13, 2018 – Jan 4, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109049

            Bug ID: 109049
           Summary: [CI][BAT] igt@amdgpu/amd_prime@amd-to-i915 - fail -
                    Failed assertion: r == 0, Last errno: 28, No space
                    left on device
           Product: DRI
           Version: XOrg git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: [email protected]
          Reporter: [email protected]

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5311/fi-kbl-8809g/igt@[email protected]

Starting subtest: amd-to-i915
(amd_prime:4058) CRITICAL: Test assertion failure function amd_to_i915, file ../tests/amdgpu/amd_prime.c:358:
(amd_prime:4058) CRITICAL: Failed assertion: r == 0 (amd_prime:4058) CRITICAL: Last errno: 28, No space left on device (amd_prime:4058) CRITICAL: error: -28 != 0
Subtest amd-to-i915 failed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109049

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Priority|medium                      |highest
            Summary|[CI][BAT]                   |[Intel GFX CI][BAT]
                   |igt@amdgpu/amd_prime@amd-to |igt@amdgpu/amd_prime@amd-to
                   |-i915 - fail - Failed       |-i915 - fail - Failed
                   |assertion: r == 0, Last     |assertion: r == 0, Last
                   |errno: 28, No space left on |errno: 28, No space left on
                   |device                      |device
         Whiteboard|                            |ReadyForDev
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109049

--- Comment #1 from Chris Wilson <[email protected]> --- Previously we created 4147 contexts & submissions within a 2s setup period.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 109049] [CI][BAT] igt@kms_atomic_transition@plane-all-modeset-transition / igt@amdgpu/amd_prime@amd-to-i915 - fail - Failed assertion: r == 0, Last errno: 28, No space left on device

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109049

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[Intel GFX CI][BAT]         |[CI][BAT]
                   |igt@amdgpu/amd_prime@amd-to |igt@kms_atomic_transition@p
                   |-i915 - fail - Failed       |lane-all-modeset-transition
                   |assertion: r == 0, Last     |/
                   |errno: 28, No space left on |igt@amdgpu/amd_prime@amd-to
                   |device                      |-i915 - fail - Failed
                   |                            |assertion: r == 0, Last
                   |                            |errno: 28, No space left on
                   |                            |device
           Assignee|[email protected] |[email protected]
                   |.org                        |sktop.org
          Component|DRM/AMDgpu                  |DRM/Intel
         QA Contact|                            |[email protected]
                   |                            |sktop.org
                 CC|                            |[email protected]
                   |                            |sktop.org

--- Comment #2 from Martin Peres <[email protected]> --- Moving the bug back to i915 because of the following issue:

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_168/fi-skl-6700k2/igt@[email protected]

Starting subtest: plane-all-modeset-transition (kms_atomic_transition:1188) igt_kms-CRITICAL: Test assertion failure function do_display_commit, file ../lib/igt_kms.c:3320:
(kms_atomic_transition:1188) igt_kms-CRITICAL: Failed assertion: ret == 0 (kms_atomic_transition:1188) igt_kms-CRITICAL: Last errno: 28, No space left on device
(kms_atomic_transition:1188) igt_kms-CRITICAL: error: -28 != 0 Subtest plane-all-modeset-transition failed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 109049] [CI][BAT] igt@kms_atomic_transition@plane-all-modeset-transition / igt@amdgpu/amd_prime@amd-to-i915 - fail - Failed assertion: r == 0, Last errno: 28, No space left on device

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109049

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|[email protected] |
                   |sktop.org                   |
           Assignee|[email protected] |[email protected]
                   |sktop.org                   |.org
          Component|DRM/Intel                   |DRM/AMDgpu

--- Comment #3 from Chris Wilson <[email protected]> --- (In reply to Martin Peres from comment #2)

Quoted 5 lines

Moving the bug back to i915 because of the following issue:

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_168/fi-skl-6700k2/
igt@[email protected]

Quoted 8 lines

Starting subtest: plane-all-modeset-transition (kms_atomic_transition:1188) igt_kms-CRITICAL: Test assertion failure function do_display_commit, file ../lib/igt_kms.c:3320:
(kms_atomic_transition:1188) igt_kms-CRITICAL: Failed assertion: ret == 0 (kms_atomic_transition:1188) igt_kms-CRITICAL: Last errno: 28, No space left on device
(kms_atomic_transition:1188) igt_kms-CRITICAL: error: -28 != 0 Subtest plane-all-modeset-transition failed.

Nothing to do with the amdgpu ENOSPC.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 109049] [CI][BAT] igt@kms_atomic_transition@plane-all-modeset-transition / igt@amdgpu/amd_prime@amd-to-i915 - fail - Failed assertion: r == 0, Last errno: 28, No space left on device

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109049

--- Comment #4 from Chris Wilson <[email protected]> --- Now limited to 4095 contexts. Isn't that a coincidence!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109049

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[CI][BAT]                   |[CI][BAT]
                   |igt@kms_atomic_transition@p |igt@amdgpu/amd_prime@amd-to
                   |lane-all-modeset-transition |-i915 - fail - Failed
                   |/                           |assertion: r == 0, Last
                   |igt@amdgpu/amd_prime@amd-to |errno: 28, No space left on
                   |-i915 - fail - Failed       |device
                   |assertion: r == 0, Last     |
                   |errno: 28, No space left on |
                   |device                      |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Christian König
#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109049

--- Comment #5 from Chris Wilson <[email protected]> --- Regression from

commit 08d1bdd4cc57e89d037205687a61d2b6ff9dddd4

Author: Rex Zhu <[email protected]>
Date:   Wed Oct 24 16:10:33 2018 +0800

drm/amdgpu: Limit vm max ctx number to 4096

driver need to reserve resource for each ctx for some hw features. so add this limitation.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Antonio Argenziano Acked-by Alex Deucher
#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109049

Chris Wilson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #6 from Chris Wilson <[email protected]> --- Stopped being so stringent about allocating so many contexts, and just focus on testing fence import:

commit 270da20849db4d170db09673c6b67712c90ec9fe (HEAD, upstream/master)

Author: Chris Wilson <[email protected]>
Date:   Thu Dec 13 11:54:36 2018 +0000

igt/amdgpu_amd_prime: Bail if we fail to create more contexts

amdgpu has started to report out of space after creating a few contexts. This is not the scope of this test as here we are just verifying that fences created in amd can be imported and used for synchronisation by i915 and for that we just need at least one context created!

References: https://bugs.freedesktop.org/show_bug.cgi?id=109049

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109049

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

--- Comment #7 from Martin Peres <[email protected]> --- (In reply to Chris Wilson from comment #6)

Quoted 14 lines

Stopped being so stringent about allocating so many contexts, and just focus on testing fence import:

commit 270da20849db4d170db09673c6b67712c90ec9fe (HEAD, upstream/master)

Author: Chris Wilson <[email protected]>
Date:   Thu Dec 13 11:54:36 2018 +0000

igt/amdgpu_amd_prime: Bail if we fail to create more contexts

amdgpu has started to report out of space after creating a few contexts. This is not the scope of this test as here we are just verifying that fences created in amd can be imported and used for synchronisation by i915 and for that we just need at least one context created!

Quoted 4 lines

References: https://bugs.freedesktop.org/show_bug.cgi?id=109049

Thanks, it did the trick!

Archiving :)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel