[Bug 84252] New: [SNA/HSW] DRI3 rendering gets stuck waiting for present idle notify event
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 23 09:36:39 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84252
Priority: medium
Bug ID: 84252
CC: intel-gfx-bugs at lists.freedesktop.org
Assignee: intel-gfx-bugs at lists.freedesktop.org
Summary: [SNA/HSW] DRI3 rendering gets stuck waiting for
present idle notify event
QA Contact: intel-gfx-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: liquid.acid at gmx.net
Hardware: x86-64 (AMD64)
Status: NEW
Version: XOrg CVS
Component: DRM/Intel
Product: DRI
Hello,
this is a cleaned up version of (the now closed) bug #81548.
Software stack:
xorg-server git tip
mesa git tip
libdrm git tip
libxcb git tip
vanilla kernel 3.16.3
Primary GPU is a hsw/gen7.5 (i7-4700HQ), the secondary GPU is a R9 M265X.
DRI3/PRIME is used.
Issue: My test application is the x86 variant of HL2 Ep1. After loading a
specific savegame I can reliably get the game to "hang". Attaching gdb yields
the backtrace given below.
Affected configurations: DRI3 with SNA backend enabled in the DDX.
Switching to the UXA backend removes the issue, which (maybe?) points at
synchronisation issues that are discussed in bug #81551. The patch proposed in
the bugreport is applied, but doesn't cure the issue.
Backtrace:
#0 0xf771cd10 in __kernel_vsyscall ()
(gdb) bt
#0 0xf771cd10 in __kernel_vsyscall ()
#1 0xf7348c8c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xf75e55cc in pthread_cond_wait () from /lib/libc.so.6
#3 0xf70b751f in ?? () from /usr/lib/libxcb.so.1
#4 0xf70c13a5 in xcb_wait_for_special_event () from /usr/lib/libxcb.so.1
#5 0xf7498b49 in dri3_find_back (c=c at entry=0xa410000,
priv=priv at entry=0x9fe23f0) at dri3_glx.c:1191
#6 0xf749932b in dri3_get_buffer (format=4099,
buffer_type=buffer_type at entry=dri3_buffer_back,
loaderPrivate=loaderPrivate at entry=0x9fe23f0,
driDrawable=<optimized out>) at dri3_glx.c:1217
#7 0xf7499fd0 in dri3_get_buffers (driDrawable=0xa455110, format=4099,
stamp=0x9e706e0, loaderPrivate=0x9fe23f0, buffer_mask=<optimized out>,
buffers=0xb8ce6bec) at dri3_glx.c:1394
#8 0xf43a4cf3 in dri_image_drawable_get_buffers (statts_count=<optimized out>,
statts=<optimized out>, images=<optimized out>, drawable=<optimized out>)
at dri2.c:254
#9 dri2_allocate_textures (ctx=0xa455590, drawable=0x9e706e0,
statts=0x9ff2b80, statts_count=2) at dri2.c:377
#10 0xf43a199c in dri_st_framebuffer_validate (stctx=0xa579000,
stfbi=0x9e706e0, statts=0x9ff2b80, count=2, out=0xb8ce6cc0) at
dri_drawable.c:83
#11 0xf42d0378 in st_framebuffer_validate (stfb=stfb at entry=0x9ff2800,
st=st at entry=0xa579000) at ../../src/mesa/state_tracker/st_manager.c:200
#12 0xf42d1bb7 in st_manager_validate_framebuffers (st=st at entry=0xa579000) at
../../src/mesa/state_tracker/st_manager.c:862
#13 0xf4292bf6 in st_validate_state (st=st at entry=0xa579000) at
../../src/mesa/state_tracker/st_atom.c:180
#14 0xf429a6e5 in st_BlitFramebuffer (ctx=0x9ef0000, srcX0=0, srcY0=0,
srcX1=1920, srcY1=1080, dstX0=0, dstY0=1080, dstX1=1920, dstY1=0, mask=16384,
filter=9728) at ../../src/mesa/state_tracker/st_cb_blit.c:94
#15 0xf41358c3 in _mesa_BlitFramebuffer (srcX0=0, srcY0=0, srcX1=1920,
srcY1=1080, dstX0=0, dstY0=1080, dstX1=1920, dstY1=0, mask=16384, filter=9728)
at ../../src/mesa/main/blit.c:509
#16 0xf5831e13 in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life 2/bin/libtogl.so
#17 0xf5832617 in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life 2/bin/libtogl.so
#18 0xf5823c3b in IDirect3DDevice9::Present(_RECT const*, _RECT const*, void*,
RGNDATA const*) ()
from /mnt/extern/superNova/steam-native/SteamApps/common/Half-Life
2/bin/libtogl.so
#19 0xecd6646d in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life
2/bin/shaderapidx9.so
#20 0xf14edfde in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life
2/bin/materialsystem.so
#21 0xf14ee31d in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life
2/bin/materialsystem.so
#22 0xf14ce644 in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life
2/bin/materialsystem.so
#23 0xf14d684a in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life
2/bin/materialsystem.so
#24 0xf14d6697 in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life
2/bin/materialsystem.so
#25 0xf5d0b49a in ?? () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life
2/bin/libvstdlib.so
#26 0xf5df29e0 in CThread::ThreadProc(void*) () from
/mnt/extern/superNova/steam-native/SteamApps/common/Half-Life 2/bin/libtier0.so
#27 0xf7344f45 in start_thread () from /lib/libpthread.so.0
#28 0xf75d88ee in clone () from /lib/libc.so.6
With best wishes,
Tobias
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140923/35d69bf7/attachment.html>
More information about the intel-gfx-bugs
mailing list