From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Sat, 14 Feb 2015 16:26:23 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2029254503==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AA3C16E034 for ; Sat, 14 Feb 2015 08:26:23 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2029254503== Content-Type: multipart/alternative; boundary="1423931183.2aC70.31482"; charset="UTF-8" --1423931183.2aC70.31482 Date: Sat, 14 Feb 2015 16:26:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89148 Bug ID: 89148 Summary: r300g: Kernel rejected CS in Wine d3d multisample test Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 Assignee: dri-devel@lists.freedesktop.org Reporter: stefandoesinger@gmx.at QA Contact: dri-devel@lists.freedesktop.org When running Wine's d3d8 and d3d9 tests in r300g an invalid command stream is sent to the kernel: [ 916.508352] [drm:radeon_cs_packet_parse] *ERROR* Unknown packet type 1 at 2451 ! [ 916.508358] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 916.508902] [drm:radeon_cs_packet_parse] *ERROR* Unknown packet type 1 at 69 ! [ 916.508905] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! The user space driver notices the error and writes a message to stderr. The test that triggered the invalid command subsequently fails. The failing line in the tests is http://source.winehq.org/git/wine.git/blob/f75d1b0c2f77d8c85f7c2a9bcc3545f14e271a86:/dlls/d3d8/tests/visual.c#l3704 . The test performs a copy from a multisampled color buffer to system memory. Wined3d first resolves the multisampled renderbuffer to a non-multisampled texture and calls glGetTexImage. Interestingly it is the glGetTexImage step that fails. The texture has format GL_BGRA, type GL_UNSIGNED_INT_8_8_8_8_REV and internal format GL_SRGB8_ALPHA8. We call glGetTexImage in plenty of places in this configuration, and this is the only case where this fails. I'll try to pin this down a bit further. The bug can be reproduced by running make visual.ok in dlls/d3d8/tests in a Wine build tree. System information: Wine commit ID: f75d1b0c2f77d8c85f7c2a9bcc3545f14e271a86 Mesa commit ID: e333035c47a6a4cc88f0f9ca2bced500538bebae Kernel: 3.19 libdrm: 2.4.59 X server: 1.16.3 Distribution: Gentoo -- You are receiving this mail because: You are the assignee for the bug. --1423931183.2aC70.31482 Date: Sat, 14 Feb 2015 16:26:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 89148
Summary r300g: Kernel rejected CS in Wine d3d multisample test
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r300
Assignee dri-devel@lists.freedesktop.org
Reporter stefandoesinger@gmx.at
QA Contact dri-devel@lists.freedesktop.org

When running Wine's d3d8 and d3d9 tests in r300g an invalid command stream is
sent to the kernel:

[  916.508352] [drm:radeon_cs_packet_parse] *ERROR* Unknown packet type 1 at
2451 !
[  916.508358] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[  916.508902] [drm:radeon_cs_packet_parse] *ERROR* Unknown packet type 1 at 69
!
[  916.508905] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

The user space driver notices the error and writes a message to stderr. The
test that triggered the invalid command subsequently fails.

The failing line in the tests is
http://source.winehq.org/git/wine.git/blob/f75d1b0c2f77d8c85f7c2a9bcc3545f14e271a86:/dlls/d3d8/tests/visual.c#l3704
. The test performs a copy from a multisampled color buffer to system memory.
Wined3d first resolves the multisampled renderbuffer to a non-multisampled
texture and calls glGetTexImage. Interestingly it is the glGetTexImage step
that fails. The texture has format GL_BGRA, type GL_UNSIGNED_INT_8_8_8_8_REV
and internal format GL_SRGB8_ALPHA8.

We call glGetTexImage in plenty of places in this configuration, and this is
the only case where this fails. I'll try to pin this down a bit further.

The bug can be reproduced by running make visual.ok in dlls/d3d8/tests in a
Wine build tree.

System information:
Wine commit ID: f75d1b0c2f77d8c85f7c2a9bcc3545f14e271a86
Mesa commit ID: e333035c47a6a4cc88f0f9ca2bced500538bebae
Kernel: 3.19
libdrm: 2.4.59
X server: 1.16.3
Distribution: Gentoo


You are receiving this mail because:
  • You are the assignee for the bug.
--1423931183.2aC70.31482-- --===============2029254503== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2029254503==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Sat, 14 Feb 2015 16:32:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0241738682==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D77646E111 for ; Sat, 14 Feb 2015 08:31:59 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0241738682== Content-Type: multipart/alternative; boundary="1423931519.CB1c0.32282"; charset="UTF-8" --1423931519.CB1c0.32282 Date: Sat, 14 Feb 2015 16:31:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #1 from Stefan D=C3=B6singer --- Note that the texture is never used as a source or destination in a regular draw. It is specified with glTexImage2D, but the data pointer is NULL, and glTexSubImage2D is never used. It is only filled with data through the FBO_= blit call that resolves the multisampled renderbuffer. As far as I can see no PB= O is used. --=20 You are receiving this mail because: You are the assignee for the bug. --1423931519.CB1c0.32282 Date: Sat, 14 Feb 2015 16:31:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 1 on bug 89148<= /a> from Stefan D=C3=B6singer
Note that the texture is never used as a source or destination=
 in a regular
draw. It is specified with glTexImage2D, but the data pointer is NULL, and
glTexSubImage2D is never used. It is only filled with data through the FBO_=
blit
call that resolves the multisampled renderbuffer. As far as I can see no PB=
O is
used.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1423931519.CB1c0.32282-- --===============0241738682== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0241738682==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Mon, 16 Feb 2015 19:18:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0140650485==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 54CF96E328 for ; Mon, 16 Feb 2015 11:18:33 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0140650485== Content-Type: multipart/alternative; boundary="1424114313.aE4051.10092"; charset="UTF-8" --1424114313.aE4051.10092 Date: Mon, 16 Feb 2015 19:18:33 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89148 --- Comment #2 from Alex Deucher --- Type 1 packets shouldn't be emitted at all and none of the user mode drivers emit them. I suspect either the command stream is getting corrupted somewhere or there is a prior packet count getting set wrong. -- You are receiving this mail because: You are the assignee for the bug. --1424114313.aE4051.10092 Date: Mon, 16 Feb 2015 19:18:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 89148 from
Type 1 packets shouldn't be emitted at all and none of the user mode drivers
emit them.  I suspect either the command stream is getting corrupted somewhere
or there is a prior packet count getting set wrong.


You are receiving this mail because:
  • You are the assignee for the bug.
--1424114313.aE4051.10092-- --===============0140650485== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0140650485==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Tue, 17 Feb 2015 09:36:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0583009791==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0BF306E33D for ; Tue, 17 Feb 2015 01:36:42 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0583009791== Content-Type: multipart/alternative; boundary="1424165801.36DD80.14202"; charset="UTF-8" --1424165801.36DD80.14202 Date: Tue, 17 Feb 2015 09:36:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #3 from Stefan D=C3=B6singer --- My semi-educated guess would be that the multisample resolve blit sets the = size wrong. That would explain why out of the many glGetTexImage calls we're doi= ng this is the only one that fails. Time to write a stand-alone test case I guess. --=20 You are receiving this mail because: You are the assignee for the bug. --1424165801.36DD80.14202 Date: Tue, 17 Feb 2015 09:36:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 3 on bug 89148<= /a> from Stefan D=C3=B6singer
My semi-educated guess would be that the multisample resolve b=
lit sets the size
wrong. That would explain why out of the many glGetTexImage calls we're doi=
ng
this is the only one that fails.

Time to write a stand-alone test case I guess.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424165801.36DD80.14202-- --===============0583009791== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0583009791==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Tue, 17 Feb 2015 11:43:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0783293896==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7991B6E322 for ; Tue, 17 Feb 2015 03:43:12 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0783293896== Content-Type: multipart/alternative; boundary="1424173392.F87C20.9516"; charset="UTF-8" --1424173392.F87C20.9516 Date: Tue, 17 Feb 2015 11:43:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #4 from Stefan D=C3=B6singer --- Created attachment 113562 --> https://bugs.freedesktop.org/attachment.cgi?id=3D113562&action=3Dedit Test program This program reproduces the result. As a 32 bit binary it generates the same type 1 command that is rejected. As a 64 bit program it crashes with the following backtrace: (gdb) bt #0 0x00007ffff75c8c90 in ?? () from /lib64/libc.so.6 #1 0x00007ffff2e0bcd3 in memcpy (__len=3D32, __src=3D, __dest=3D) at /usr/include/bits/string3.h:51 #2 r300_emit_blend_state (r300=3D, size=3D8, state=3D) at r300_emit.c:57 #3 0x00007ffff2e0f150 in r300_emit_dirty_state (r300=3Dr300@entry=3D0x6499= 50) at r300_emit.c:1450 #4 0x00007ffff2e12018 in r300_emit_states (instance_id=3D-1, index_bias=3D= 0, buffer_offset=3D0, index_buffer=3D0x0, flags=3D, r300=3D0x64= 9950) at r300_render.c:259 #5 r300_prepare_for_rendering (r300=3Dr300@entry=3D0x649950, flags=3D, flags@entry=3DPREP_EMIT_STATES, index_buffer=3Dindex_buffer@entry=3D0= x0, cs_dwords=3Dcs_dwords@entry=3D21, buffer_offset=3Dbuffer_offset@entry=3D0, index_bias=3Dindex_bias@entry=3D0,=20 instance_id=3Dinstance_id@entry=3D-1) at r300_render.c:311 #6 0x00007ffff2e13258 in r300_blitter_draw_rectangle (blitter=3D, x1=3D0, y1=3D0, x2=3D256, y2=3D256, depth=3D0, type=3DUTIL_BLITTER_ATTRIB_N= ONE, attrib=3D0x0) at r300_render.c:1141 #7 0x00007ffff2d7d3df in util_blitter_custom_color (blitter=3D0x61c7f0, dstsurf=3Ddstsurf@entry=3D0x79e030, custom_blend=3Dcustom_blend@entry=3D0x0= ) at util/u_blitter.c:2146 #8 0x00007ffff2e06b91 in r300_simple_msaa_resolve (pipe=3Dpipe@entry=3D0x6= 49950, dst=3Ddst@entry=3D0x79dcd0, dst_level=3Ddst_level@entry=3D0, dst_layer=3Ddst_layer@entry=3D0, src=3D, format=3DPIPE_FORMAT_B8G8R8A8_SRGB) at r300_blit.c:737 #9 0x00007ffff2e08396 in r300_msaa_resolve (info=3D0x7ffffffbdc70, pipe=3D0x649950) at r300_blit.c:783 #10 r300_blit (pipe=3D0x649950, blit=3D) at r300_blit.c:809 #11 0x00007ffff2c2ad97 in st_BlitFramebuffer (ctx=3D, readFB=3D0x796f30, drawFB=3D0x79d6b0, srcX0=3D, srcY0=3D, srcX1=3D, srcY1=3D256, dstX0=3D0, dstY0=3D0, dstX1=3D256, ds= tY1=3D256, mask=3D16384, filter=3D9728) at state_tracker/st_cb_blit.c:263 #12 0x00007ffff2af2ff2 in _mesa_BlitFramebuffer (srcX0=3D, srcY0=3D0, srcX1=3D, srcY1=3D256, dstX0=3D, dstY0=3D, dstX1=3D256, dstY1=3D256, mask=3D16384, filter=3D9= 728) at main/blit.c:509 #13 0x000000000040132f in init () #14 0x000000000040148a in main () Further testing shows that the GL_SRGB8_ALPHA8 internal format of the destination texture is the problem. Replacing this with GL_RGBA8 makes the = test work fine. Note that when GL_EXT_sRGB_decode is available Wine always creat= es sRGB textures and sets GL_TEXTURE_SRGB_DECODE_EXT to GL_SKIP_DECODE_EXT to = get d3d-style sRGB read correction toggling. --=20 You are receiving this mail because: You are the assignee for the bug. --1424173392.F87C20.9516 Date: Tue, 17 Feb 2015 11:43:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 89148<= /a> from Stefan D=C3=B6singer
Created attachment 113562 =
[details]
Test program

This program reproduces the result. As a 32 bit binary it generates the same
type 1 command that is rejected. As a 64 bit program it crashes with the
following backtrace:

(gdb) bt
#0  0x00007ffff75c8c90 in ?? () from /lib64/libc.so.6
#1  0x00007ffff2e0bcd3 in memcpy (__len=3D32, __src=3D<optimized out>,
__dest=3D<optimized out>) at /usr/include/bits/string3.h:51
#2  r300_emit_blend_state (r300=3D<optimized out>, size=3D8, state=3D=
<optimized out>)
at r300_emit.c:57
#3  0x00007ffff2e0f150 in r300_emit_dirty_state (r300=3Dr300@entry=3D0x=
649950) at
r300_emit.c:1450
#4  0x00007ffff2e12018 in r300_emit_states (instance_id=3D-1, index_bias=3D=
0,
buffer_offset=3D0, index_buffer=3D0x0, flags=3D<optimized out>, r300=
=3D0x649950) at
r300_render.c:259
#5  r300_prepare_for_rendering (r300=3Dr300@entry=3D0x649950, flags=3D&=
lt;optimized
out>, flags@entry=3DPREP_EMIT_STATES, index_buffer=3Dindex_buffer=
4;entry=3D0x0,
cs_dwords=3Dcs_dwords@entry=3D21, buffer_offset=3Dbuffer_offset@ent=
ry=3D0,
index_bias=3Dindex_bias@entry=3D0,=20
    instance_id=3Dinstance_id@entry=3D-1) at r300_render.c:311
#6  0x00007ffff2e13258 in r300_blitter_draw_rectangle (blitter=3D<optimi=
zed out>,
x1=3D0, y1=3D0, x2=3D256, y2=3D256, depth=3D0, type=3DUTIL_BLITTER_ATTRIB_N=
ONE, attrib=3D0x0)
at r300_render.c:1141
#7  0x00007ffff2d7d3df in util_blitter_custom_color (blitter=3D0x61c7f0,
dstsurf=3Ddstsurf@entry=3D0x79e030, custom_blend=3Dcustom_blend@ent=
ry=3D0x0) at
util/u_blitter.c:2146
#8  0x00007ffff2e06b91 in r300_simple_msaa_resolve (pipe=3Dpipe@entry=
=3D0x649950,
dst=3Ddst@entry=3D0x79dcd0, dst_level=3Ddst_level@entry=3D0,
dst_layer=3Ddst_layer@entry=3D0, src=3D<optimized out>,
format=3DPIPE_FORMAT_B8G8R8A8_SRGB) at r300_blit.c:737
#9  0x00007ffff2e08396 in r300_msaa_resolve (info=3D0x7ffffffbdc70,
pipe=3D0x649950) at r300_blit.c:783
#10 r300_blit (pipe=3D0x649950, blit=3D<optimized out>) at r300_blit.=
c:809
#11 0x00007ffff2c2ad97 in st_BlitFramebuffer (ctx=3D<optimized out>,
readFB=3D0x796f30, drawFB=3D0x79d6b0, srcX0=3D<optimized out>, srcY0=
=3D<optimized out>,
srcX1=3D<optimized out>, srcY1=3D256, dstX0=3D0, dstY0=3D0, dstX1=3D2=
56, dstY1=3D256,
mask=3D16384, filter=3D9728)
    at state_tracker/st_cb_blit.c:263
#12 0x00007ffff2af2ff2 in _mesa_BlitFramebuffer (srcX0=3D<optimized out&=
gt;,
srcY0=3D0, srcX1=3D<optimized out>, srcY1=3D256, dstX0=3D<optimize=
d out>,
dstY0=3D<optimized out>, dstX1=3D256, dstY1=3D256, mask=3D16384, filt=
er=3D9728) at
main/blit.c:509
#13 0x000000000040132f in init ()
#14 0x000000000040148a in main ()

Further testing shows that the GL_SRGB8_ALPHA8 internal format of the
destination texture is the problem. Replacing this with GL_RGBA8 makes the =
test
work fine. Note that when GL_EXT_sRGB_decode is available Wine always creat=
es
sRGB textures and sets GL_TEXTURE_SRGB_DECODE_EXT to GL_SKIP_DECODE_EXT to =
get
d3d-style sRGB read correction toggling.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424173392.F87C20.9516-- --===============0783293896== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0783293896==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Wed, 18 Feb 2015 15:19:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0660239307==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1D07689FA6 for ; Wed, 18 Feb 2015 07:19:47 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0660239307== Content-Type: multipart/alternative; boundary="1424272787.B806F11.6188"; charset="UTF-8" --1424272787.B806F11.6188 Date: Wed, 18 Feb 2015 15:19:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89148 --- Comment #5 from Alex Deucher --- Created attachment 113620 --> https://bugs.freedesktop.org/attachment.cgi?id=113620&action=edit add some debugging output Can you apply this kernel patch and attach your kernel log output when you hit the error? -- You are receiving this mail because: You are the assignee for the bug. --1424272787.B806F11.6188 Date: Wed, 18 Feb 2015 15:19:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 89148 from
Created attachment 113620 [details] [review]
add some debugging output

Can you apply this kernel patch and attach your kernel log output when you hit
the error?


You are receiving this mail because:
  • You are the assignee for the bug.
--1424272787.B806F11.6188-- --===============0660239307== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0660239307==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Sat, 21 Feb 2015 11:06:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1109108777==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1293E6E21D for ; Sat, 21 Feb 2015 03:06:40 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1109108777== Content-Type: multipart/alternative; boundary="1424516800.c42FA581.30076"; charset="UTF-8" --1424516800.c42FA581.30076 Date: Sat, 21 Feb 2015 11:06:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #6 from Marek Ol=C5=A1=C3=A1k --- Created attachment 113719 --> https://bugs.freedesktop.org/attachment.cgi?id=3D113719&action=3Dedit workaround Can you test this patch? Note that GL_ARB_framebuffer_sRGB is unsupported. --=20 You are receiving this mail because: You are the assignee for the bug. --1424516800.c42FA581.30076 Date: Sat, 21 Feb 2015 11:06:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 6 on bug 89148<= /a> from Marek Ol=C5=A1=C3=A1k
Created attachment 113719 [det=
ails] [review]
workaround

Can you test this patch? Note that GL_ARB_framebuffer_sRGB is unsupported.<=
/pre>
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424516800.c42FA581.30076-- --===============1109108777== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1109108777==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Sat, 21 Feb 2015 12:01:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0942822157==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6594C6E227 for ; Sat, 21 Feb 2015 04:01:10 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0942822157== Content-Type: multipart/alternative; boundary="1424520070.F2700.8633"; charset="UTF-8" --1424520070.F2700.8633 Date: Sat, 21 Feb 2015 12:01:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #7 from Stefan D=C3=B6singer --- I'll try it in the next two days. If the workaround doesn't work I'll try to get the log Alex asked for. --=20 You are receiving this mail because: You are the assignee for the bug. --1424520070.F2700.8633 Date: Sat, 21 Feb 2015 12:01:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 7 on bug 89148<= /a> from Stefan D=C3=B6singer
I'll try it in the next two days. If the workaround doesn't wo=
rk I'll try to
get the log Alex asked for.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424520070.F2700.8633-- --===============0942822157== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0942822157==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Sat, 21 Feb 2015 12:10:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1982713699==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BF2BC6E229 for ; Sat, 21 Feb 2015 04:10:59 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1982713699== Content-Type: multipart/alternative; boundary="1424520659.dAB3380c1.10655"; charset="UTF-8" --1424520659.dAB3380c1.10655 Date: Sat, 21 Feb 2015 12:10:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #8 from Marek Ol=C5=A1=C3=A1k --- I'm pretty sure the CS parser errors were caused by random garbage emitted = by r300g. The driver doesn't expect an sRGB format in the framebuffer, which o= nly seems to happen with glBlitFramebuffer. --=20 You are receiving this mail because: You are the assignee for the bug. --1424520659.dAB3380c1.10655 Date: Sat, 21 Feb 2015 12:10:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 8 on bug 89148<= /a> from Marek Ol=C5=A1=C3=A1k
I'm pretty sure the CS parser errors were caused by random gar=
bage emitted by
r300g. The driver doesn't expect an sRGB format in the framebuffer, which o=
nly
seems to happen with glBlitFramebuffer.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424520659.dAB3380c1.10655-- --===============1982713699== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1982713699==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Tue, 24 Feb 2015 08:59:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1679897489==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0C3DC89B96 for ; Tue, 24 Feb 2015 00:59:01 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1679897489== Content-Type: multipart/alternative; boundary="1424768340.ADc37A0.24013"; charset="UTF-8" --1424768340.ADc37A0.24013 Date: Tue, 24 Feb 2015 08:59:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #9 from Stefan D=C3=B6singer --- No more segfaults, but it still has a rejected CS: [129870.605179] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for color buffer 0 (need 8387584 have 524288) ! [129870.605186] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (163= 82 2 0 256) [129870.605189] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! --=20 You are receiving this mail because: You are the assignee for the bug. --1424768340.ADc37A0.24013 Date: Tue, 24 Feb 2015 08:59:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 9 on bug 89148<= /a> from Stefan D=C3=B6singer
No more segfaults, but it still has a rejected CS:

[129870.605179] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for
color buffer 0 (need 8387584 have 524288) !
[129870.605186] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (163=
82 2
0 256)
[129870.605189] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424768340.ADc37A0.24013-- --===============1679897489== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1679897489==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Tue, 24 Feb 2015 22:23:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1702232470==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 95E1A6E2D0 for ; Tue, 24 Feb 2015 14:23:05 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1702232470== Content-Type: multipart/alternative; boundary="1424816585.cDA2aA1.20310"; charset="UTF-8" --1424816585.cDA2aA1.20310 Date: Tue, 24 Feb 2015 22:23:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 Marek Ol=C5=A1=C3=A1k changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #113719|0 |1 is obsolete| | --- Comment #10 from Marek Ol=C5=A1=C3=A1k --- Created attachment 113802 --> https://bugs.freedesktop.org/attachment.cgi?id=3D113802&action=3Dedit fix This patch should fix it. --=20 You are receiving this mail because: You are the assignee for the bug. --1424816585.cDA2aA1.20310 Date: Tue, 24 Feb 2015 22:23:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Marek Ol=C5=A1=C3=A1k changed bug 89148<= /a>
What Removed Added
Attachment #113719 is obsolete   1


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424816585.cDA2aA1.20310-- --===============1702232470== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1702232470==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Thu, 26 Feb 2015 09:48:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1358556413==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 06AA66E20B for ; Thu, 26 Feb 2015 01:48:56 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1358556413== Content-Type: multipart/alternative; boundary="1424944135.Fc2dBE0.27712"; charset="UTF-8" --1424944135.Fc2dBE0.27712 Date: Thu, 26 Feb 2015 09:48:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #11 from Stefan D=C3=B6singer --- Attachment 113802 fixes the invalid CS / crash and my test program now read= s a color. However, sRGB color correction seems to be applied at some stage. No= te that the test program is not using GL_ARB_framebuffer_sRGB (which isn't supported on r500 anyway), and that GL_TEXTURE_SRGB_DECODE_EXT is set to GL_SKIP_DECODE_EXT. It seems that the correction is applied during blitting. If I clear the 2D texture directly the expected result (0x0000ff80) is returned. If I use the renderbuffer and blit I get 0x0000ff37. (Wine expects that glBlitFramebuffer never applies sRGB correction when blitting from an sRGB texture, but this codepath is only used if GL_EXT_sRGB_decode is not supported. In this case we load two copies of the texture, one sRGB and one RGB, and use glBlitFramebuffer to blit between th= em if the application toggles sRGB on and off.) --=20 You are receiving this mail because: You are the assignee for the bug. --1424944135.Fc2dBE0.27712 Date: Thu, 26 Feb 2015 09:48:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 11 on bug 89148<= /a> from Stefan D=C3=B6singer
Attachment 113802 [details] fix=
es the invalid CS / crash and my test program now reads a
color. However, sRGB color correction seems to be applied at some stage. No=
te
that the test program is not using GL_ARB_framebuffer_sRGB (which isn't
supported on r500 anyway), and that GL_TEXTURE_SRGB_DECODE_EXT is set to
GL_SKIP_DECODE_EXT.

It seems that the correction is applied during blitting. If I clear the 2D
texture directly the expected result (0x0000ff80) is returned. If I use the
renderbuffer and blit I get 0x0000ff37.

(Wine expects that glBlitFramebuffer never applies sRGB correction when
blitting from an sRGB texture, but this codepath is only used if
GL_EXT_sRGB_decode is not supported. In this case we load two copies of the
texture, one sRGB and one RGB, and use glBlitFramebuffer to blit between th=
em
if the application toggles sRGB on and off.)


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424944135.Fc2dBE0.27712-- --===============1358556413== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1358556413==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Thu, 26 Feb 2015 11:17:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1853751849==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 395D17207D for ; Thu, 26 Feb 2015 03:17:16 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1853751849== Content-Type: multipart/alternative; boundary="1424949436.30efb31.15651"; charset="UTF-8" --1424949436.30efb31.15651 Date: Thu, 26 Feb 2015 11:17:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #12 from Marek Ol=C5=A1=C3=A1k --- r300g doesn't do sRGB conversion for MSAA resolves. It always interprets the textures as linear and only averages the samples. --=20 You are receiving this mail because: You are the assignee for the bug. --1424949436.30efb31.15651 Date: Thu, 26 Feb 2015 11:17:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 12 on bug 89148<= /a> from Marek Ol=C5=A1=C3=A1k
r300g doesn't do sRGB conversion for MSAA resolves. It always =
interprets the
textures as linear and only averages the samples.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424949436.30efb31.15651-- --===============1853751849== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1853751849==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Thu, 26 Feb 2015 12:00:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0550899113==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D70696E216 for ; Thu, 26 Feb 2015 04:00:57 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0550899113== Content-Type: multipart/alternative; boundary="1424952057.F4C2D0.25198"; charset="UTF-8" --1424952057.F4C2D0.25198 Date: Thu, 26 Feb 2015 12:00:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 --- Comment #13 from Stefan D=C3=B6singer --- The thing that seems to trigger the sRGB correction is the fact that the destination texture has an sRGB internal. If I change it to GL_RGBA8 I get = the expected result. The format of the source RB doesn't seem to matter here. --=20 You are receiving this mail because: You are the assignee for the bug. --1424952057.F4C2D0.25198 Date: Thu, 26 Feb 2015 12:00:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 13 on bug 89148<= /a> from Stefan D=C3=B6singer
The thing that seems to trigger the sRGB correction is the fac=
t that the
destination texture has an sRGB internal. If I change it to GL_RGBA8 I get =
the
expected result.

The format of the source RB doesn't seem to matter here.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424952057.F4C2D0.25198-- --===============0550899113== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0550899113==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test Date: Tue, 10 Mar 2015 10:36:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1899500771==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 942CC6E6A5 for ; Tue, 10 Mar 2015 03:36:20 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1899500771== Content-Type: multipart/alternative; boundary="1425983777.38d0B70.26206"; charset="UTF-8" --1425983777.38d0B70.26206 Date: Tue, 10 Mar 2015 10:36:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89148 Stefan D=C3=B6singer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #14 from Stefan D=C3=B6singer --- Fixed by 9953586af2254f83a610d4cd284f52f37fa18b98 and c939231e7223510408a446400ad23b8b5ce2922e. My test program returns the corre= ct color and the Wine test passes. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug. --1425983777.38d0B70.26206 Date: Tue, 10 Mar 2015 10:36:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Stefan D=C3=B6singer changed bug 89148<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 14 on bug 89148<= /a> from Stefan D=C3=B6singer
Fixed by 9953586af2254f83a610d4cd284f52f37fa18b98 and
c939231e7223510408a446400ad23b8b5ce2922e. My test program returns the corre=
ct
color and the Wine test passes. Thanks!


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1425983777.38d0B70.26206-- --===============1899500771== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1899500771==--