Bug 101965 - GPU hangs running Virtualbox
Summary: GPU hangs running Virtualbox
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-28 18:42 UTC by Bib
Modified: 2017-07-29 01:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
output of /sys/class/drm/card0/error (174.05 KB, application/gzip)
2017-07-28 18:42 UTC, Bib
no flags Details

Description Bib 2017-07-28 18:42:36 UTC
Created attachment 133106 [details]
output of /sys/class/drm/card0/error

These hangs only started when running VB. mThey also happen every few minutes

This is on OpenSUSE 42.3, Linux eth7 4.4.76-1-default #1 SMP Fri Jul 14 08:48:13 UTC 2017 (9a2885c) x86_64 x86_64 x86_64 GNU/Linux, fully updated.
Comment 1 Chris Wilson 2017-07-28 19:08:45 UTC
HW context lost under mempressure, fixed circa 4.9.

Definitely fixed as of commit 5d4bac5503fcc67dd7999571e243cee49371aef7
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Mar 22 20:59:30 2017 +0000

    drm/i915: Restore marking context objects as dirty on pinning
    
    Commit e8a9c58fcd9a ("drm/i915: Unify active context tracking between
    legacy/execlists/guc") converted the legacy intel_ringbuffer submission
    to the same context pinning mechanism as execlists - that is to pin the
    context until the subsequent request is retired. Previously it used the
    vma retirement of the context object to keep itself pinned until the
    next request (after i915_vma_move_to_active()). In the conversion, I
    missed that the vma retirement was also responsible for marking the
    object as dirty. Mark the context object as dirty when pinning
    (equivalent to execlists) which ensures that if the context is swapped
    out due to mempressure or suspend/hibernation, when it is loaded back in
    it does so with the previous state (and not all zero).

which is v4.12.


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.