http://bugs.freedesktop.org/show_bug.cgi?id=21805
Summary: radeon-rewrite: crash in glCopyTexSubImage2D
Product: Mesa
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
When running Team Fortress 2 in Wine with the DRI driver from the
radeon-rewrite branch(with KMS et al set up), the game crashes in
glCopyTexSubImage2D and in turn brings the X server down.
This is the backtrace I got from the crash:
=>0 0x7e1ce123 _generic_read_RGBA_span_BGRA8888_REV_SSE2+0xb3() in r300_dri.so
(0x0032dca4)
1 0x7e18d974 _swrast_read_rgba_span+0xe4(ctx=0x7d1e6950, rb=<register EDI not
in topmost frame>, n=512, x=0, y=0, dstType=5121, rgba=)
[/home/stefan/src/mesa/src/mesa/swrast/s_span.c:1585] in r300_dri.so
(0x0033dce4)
2 0x7e1a3ed0 read_color_image+0xc0(ctx=0x7d1e6950, x=0, y=0, type=5121,
width=512, height=512) [/home/stefan/src/mesa/src/mesa/swrast/s_texstore.c:85]
in r300_dri.so (0x0033dd34)
3 0x7e1a426d _swrast_copy_texsubimage2d+0xad(ctx=<register EDI not in topmost
frame>, target=3553, level=0, xoffset=0, yoffset=0, x=0, y=0, width=512,
height=512) [/home/stefan/src/mesa/src/mesa/swrast/s_texstore.c:512] in
r300_dri.so (0x0033dd94)
4 0x7e120f79 _mesa_CopyTexSubImage2D+0x249(target=3553, level=0, xoffset=0,
yoffset=0, x=0, y=0, width=512, height=512)
[/home/stefan/src/mesa/src/mesa/main/teximage.c:3241] in r300_dri.so
(0x0033dde4)
5 0x7db4363e read_from_framebuffer_texture+0x19e(This=<register EDI not in
topmost frame>, srgb=<is not available>)
[/home/stefan/src/wine/linux/dlls/wined3d/../../../dlls/wined3d/surface.c:1048]
in wined3d<elf> (0x0033de44)
<more wine code following>
The X server writes the following:
RADEON DRM CS failure - corruptions/glitches may occur -22
bufmgr: last submission : r:192 vs g:534769664 w:3356160 vs v:110455596
And then the screen seems dead. ssh still works
It may be possible that Wine calls glTexSubImage2D with a deleted texture name
or the 0 texture bound. Team Fortress 2 releases the current rendertarget, and
Wine does not handle this properly, resulting in complaints from the GL driver
with other drivers. The logs indicate that I get the same errors back from
Mesa, so this might be a red herring, and the crash occurs during a valid
operation. In any case, the X server should not crash, no matter how badly the
app behaves.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel