* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
@ 2013-01-13 16:57 ` bugzilla-daemon
2013-01-13 19:05 ` bugzilla-daemon
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-01-13 16:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 415 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #1 from Stefan Dösinger <stefandoesinger@gmx.at> ---
MSAA basically works on this GPU. GALLIUM_MSAA=2 glxgears renders correctly, is
slower than glxgears without MSAA and the gear edges look smoother, although it
is hard to tell if glxgears is antialiased or not.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1191 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
2013-01-13 16:57 ` [Bug 59322] " bugzilla-daemon
@ 2013-01-13 19:05 ` bugzilla-daemon
2013-01-14 0:15 ` bugzilla-daemon
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-01-13 19:05 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 244 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #2 from Marek Olšák <maraeo@gmail.com> ---
Could you please attach a screenshot of the issue.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1011 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
2013-01-13 16:57 ` [Bug 59322] " bugzilla-daemon
2013-01-13 19:05 ` bugzilla-daemon
@ 2013-01-14 0:15 ` bugzilla-daemon
2013-01-14 10:51 ` bugzilla-daemon
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-01-14 0:15 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 224 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #3 from Marek Olšák <maraeo@gmail.com> ---
Also, are there any GL errors?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 991 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (2 preceding siblings ...)
2013-01-14 0:15 ` bugzilla-daemon
@ 2013-01-14 10:51 ` bugzilla-daemon
2013-01-14 14:13 ` bugzilla-daemon
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-01-14 10:51 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1222 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #4 from Stefan Dösinger <stefandoesinger@gmx.at> ---
Created attachment 72999
--> https://bugs.freedesktop.org/attachment.cgi?id=72999&action=edit
Screenshot
It looks just like a dump from /dev/random, but here you go :-)
I noticed that the driver seems to reject the multisampled framebuffer during
draws, clears and blits:
err:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION
(0x506) from glDrawElementsBaseVertex @
../../../wine-git/dlls/wined3d/drawprim.c / 63
fixme:d3d:context_check_fbo_status FBO status
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6)
fixme:d3d:context_check_fbo_status Location SFLAG_INRB_MULTISAMPLE
(0x200000).
fixme:d3d:context_check_fbo_status Color attachment 0: (0x186090)
WINED3DFMT_B8G8R8A8_UNORM 800x600 2 samples.
fixme:d3d:context_check_fbo_status Depth attachment: (0x186210)
WINED3DFMT_D24_UNORM_S8_UINT 800x600 2 samples.
The problem affects other applications as well, including 3DMark2000(which does
not support multisampling itself) when run with GALLIUM_MSAA=2.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2163 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (3 preceding siblings ...)
2013-01-14 10:51 ` bugzilla-daemon
@ 2013-01-14 14:13 ` bugzilla-daemon
2013-01-14 14:36 ` bugzilla-daemon
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-01-14 14:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 405 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #5 from Marek Olšák <maraeo@gmail.com> ---
I think this is an issue which should probably be fixed in Wine. There must be
something wrong with the FBO setup. The Mesa function which marks the
attachment(s) as incomplete is test_attachment_completeness.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1172 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (4 preceding siblings ...)
2013-01-14 14:13 ` bugzilla-daemon
@ 2013-01-14 14:36 ` bugzilla-daemon
2013-01-14 19:02 ` bugzilla-daemon
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-01-14 14:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 580 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #6 from Stefan Dösinger <stefandoesinger@gmx.at> ---
I'll have a look at this function and see which check we fail, but I have my
doubts that it is Wine's fault. This code works fine on all other drivers -
nvidia, fglrx, r600g, osx drivers.
Also keep in mind that MSAA in Wine apps fails if Wine doesn't request the
multisampling, but it is enabled with GALLIUM_MSAA=n. I don't see how this can
possibly be a fault in Wine.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1356 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (5 preceding siblings ...)
2013-01-14 14:36 ` bugzilla-daemon
@ 2013-01-14 19:02 ` bugzilla-daemon
2013-07-15 2:54 ` bugzilla-daemon
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-01-14 19:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 586 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #7 from Marek Olšák <maraeo@gmail.com> ---
Yes, the GALLIUM_MSAA environment variable might break some apps, because it
changes the default framebufer to MSAA, which adds lots of limitations to
BlitFramebuffer. For example, you can no longer use BlitFramebuffer to do a
stretched blit, because the ARB_fbo specification doesn't allow it if either
src or dst is multisample, etc.
That's why GALLIUM_MSAA should be used carefully.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1353 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (6 preceding siblings ...)
2013-01-14 19:02 ` bugzilla-daemon
@ 2013-07-15 2:54 ` bugzilla-daemon
2013-07-22 16:55 ` bugzilla-daemon
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-15 2:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 556 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #8 from Marek Olšák <maraeo@gmail.com> ---
I have found the problem. Wine is trying to use the GL_SRGB8_ALPHA8 format,
which is not supported for rendering by the driver internally, but I agree the
format should be allowed in the API. The fix is on the way.
Is it a big deal that ARB_framebuffer_sRGB is unsupported? In such a case, the
renderbuffer format GL_SRGB8_ALPHA8 is equivalent to GL_RGBA8.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1323 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (7 preceding siblings ...)
2013-07-15 2:54 ` bugzilla-daemon
@ 2013-07-22 16:55 ` bugzilla-daemon
2013-07-22 16:57 ` bugzilla-daemon
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-22 16:55 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 626 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #9 from Stefan Dösinger <stefandoesinger@gmx.at> ---
(In reply to comment #8)
> Is it a big deal that ARB_framebuffer_sRGB is unsupported? In such a case,
> the renderbuffer format GL_SRGB8_ALPHA8 is equivalent to GL_RGBA8.
Not really. In this case we generate code in the pixel shader that performs
sRGB color conversion as specified in the framebuffer_sRGB spec.
Do r300-r500 GPUs have some dedicated silicon to handle sRGB conversion? If so,
it'd be nice to use it.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1475 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (8 preceding siblings ...)
2013-07-22 16:55 ` bugzilla-daemon
@ 2013-07-22 16:57 ` bugzilla-daemon
2013-07-22 18:20 ` bugzilla-daemon
2013-07-30 20:44 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-22 16:57 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 411 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #10 from Stefan Dösinger <stefandoesinger@gmx.at> ---
Fwiw, there's probably a bug in Wine as well. We shouldn't try to render to
sRGB formats if framebuffer_sRGB is not supported, but giving textures an sRGB
format is the only way to make use of sRGB_decode.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (9 preceding siblings ...)
2013-07-22 16:57 ` bugzilla-daemon
@ 2013-07-22 18:20 ` bugzilla-daemon
2013-07-30 20:44 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-22 18:20 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
--- Comment #11 from Marek Olšák <maraeo@gmail.com> ---
It's okay to render to an sRGB texture, but
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING should return LINEAR on r300g. That
doesn't affect texturing though.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1115 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 59322] r300g MSAA breaks Half-Life 2 in Wine
2013-01-13 16:43 [Bug 59322] New: r300g MSAA breaks Half-Life 2 in Wine bugzilla-daemon
` (10 preceding siblings ...)
2013-07-22 18:20 ` bugzilla-daemon
@ 2013-07-30 20:44 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2013-07-30 20:44 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 600 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=59322
Marek Olšák <maraeo@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #12 from Marek Olšák <maraeo@gmail.com> ---
Fixed by
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1302c66896e6fbdb4eeb086d41901ddaeb89513f
Closing.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2167 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread