Skip to content
  • Aaron Plattner's avatar
    test: add a dlclose test · d00042fd
    Aaron Plattner authored
    Closing an X display that had a VDPAU device created on it causes a crash.
    
    Work around an identical libXext dlclose bug with the "Generic Event Extension"
    by dlopening libXext.so.6 and leaving it open.
    
    Original bug discovered and fixed by Robert Morell <rmorell@nvidia.com> in
    commit 3b43955c
    
    .
    
    v2: Don't SKIP if creating the device fails.  Just attempting to create the
    device installs the DRI2 extension that causes the problem.
    
    Signed-off-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
    Reviewed-by: default avatarRobert Morell <rmorell@nvidia.com>
    d00042fd