All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage
@ 2012-01-10 18:13 bugzilla-daemon
  2013-10-11 16:14 ` [Bug 44647] " bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2012-01-10 18:13 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=44647

             Bug #: 44647
           Summary: [wine regression] Call of Duty 4: Intro videos renders
                    garbage
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: sa@whiz.se


Created attachment 55392
  --> https://bugs.freedesktop.org/attachment.cgi?id=55392
Screenshot of broken video

Intro videos in the game Call of Duty 4 (running with Wine) no longer renders
correctly, bisecting leads to this:

e8139ebf583acf37150a8b341bcbef6b924a7792 is the first bad commit
commit e8139ebf583acf37150a8b341bcbef6b924a7792
Author: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
Date:   Tue Jul 26 07:05:10 2011 +0200

    r600g: Replace needless flush in texture upload.

    Replace pipe->flush() with pipe->texture_barrier() in
    the texture upload path for the staging texture.
    This should be enough to get data out of the gpu
    caches ready to be read for texture fetch.

:040000 040000 b3f16d1a114f54d753ba7845b697888307f6246e
faab26149053fdb2fb65d81bb2a777a77e130de2 M    src


Adding the flush back fixes the problem.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 44647] [wine regression] Call of Duty 4: Intro videos renders garbage
  2012-01-10 18:13 [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage bugzilla-daemon
@ 2013-10-11 16:14 ` bugzilla-daemon
  2014-04-21 21:09 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-10-11 16:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 228 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=44647

--- Comment #1 from Sven Arvidsson <sa@whiz.se> ---
Still a problem with Wine 1.7.3 and Mesa 9.2.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1020 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] 8+ messages in thread

* [Bug 44647] [wine regression] Call of Duty 4: Intro videos renders garbage
  2012-01-10 18:13 [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage bugzilla-daemon
  2013-10-11 16:14 ` [Bug 44647] " bugzilla-daemon
@ 2014-04-21 21:09 ` bugzilla-daemon
  2016-04-18 11:30 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-04-21 21:09 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 232 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=44647

--- Comment #2 from Jaime Rave <jaimerave@gmail.com> ---
Still a problem with Wine 1.7.17 and Mesa 10.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1029 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] 8+ messages in thread

* [Bug 44647] [wine regression] Call of Duty 4: Intro videos renders garbage
  2012-01-10 18:13 [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage bugzilla-daemon
  2013-10-11 16:14 ` [Bug 44647] " bugzilla-daemon
  2014-04-21 21:09 ` bugzilla-daemon
@ 2016-04-18 11:30 ` bugzilla-daemon
  2016-04-20 15:08 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-04-18 11:30 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 969 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=44647

--- Comment #3 from Sven Arvidsson <sa@whiz.se> ---
Also a problem on radeonsi.

Apitrace of the problem:
https://www.dropbox.com/s/ibt9iu15x4mxw9q/cod4.trace?dl=0

I'm getting a lot of errors when replaying the trace, so I guess it's possible
the game or Wine is doing something wrong:

100824: message: major api error 1: GL_INVALID_OPERATION in glTexImage3D(bad
target for depth texture)
100824 @0 glTexImage3D(target = GL_TEXTURE_3D, level = 0, internalformat =
GL_DEPTH32F_STENCIL8, width = 16, height = 16, depth = 16, border = 0, format =
GL_DEPTH_STENCIL, type = GL_FLOAT_32_UNSIGNED_INT_24_8_REV, pixels = NULL)
100824: warning: glGetError(glTexImage3D) = GL_INVALID_OPERATION
100830: message: api issue 2: FBO incomplete: color attachment incomplete [0]
100865: message: api issue 2: FBO incomplete: color attachment incomplete [0]

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1829 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 44647] [wine regression] Call of Duty 4: Intro videos renders garbage
  2012-01-10 18:13 [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-04-18 11:30 ` bugzilla-daemon
@ 2016-04-20 15:08 ` bugzilla-daemon
  2016-04-20 15:56 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-04-20 15:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 286 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=44647

--- Comment #4 from Sven Arvidsson <sa@whiz.se> ---
Setting StrictDrawOrdering in Wine to enabled gets working videos again, but at
a severe performance cost.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1070 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 44647] [wine regression] Call of Duty 4: Intro videos renders garbage
  2012-01-10 18:13 [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-04-20 15:08 ` bugzilla-daemon
@ 2016-04-20 15:56 ` bugzilla-daemon
  2016-04-20 16:38 ` bugzilla-daemon
  2016-04-20 17:07 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-04-20 15:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=44647

--- Comment #5 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Hi Sven, thanks for the apitrace. I can confirm that there is garbage in some
of the first frames of the apitrace, e.g. Frame 11 @77450. I'm going to look in
more detail, though the many error messages do hint at an application bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1216 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 44647] [wine regression] Call of Duty 4: Intro videos renders garbage
  2012-01-10 18:13 [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-04-20 15:56 ` bugzilla-daemon
@ 2016-04-20 16:38 ` bugzilla-daemon
  2016-04-20 17:07 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-04-20 16:38 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 337 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=44647

--- Comment #6 from Sven Arvidsson <sa@whiz.se> ---
I just tried Wine Staging with the CSMT (Command stream multithreading)
patches, and the videos play fine there, so I think it really is a problem with
Wine.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1121 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 44647] [wine regression] Call of Duty 4: Intro videos renders garbage
  2012-01-10 18:13 [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-04-20 16:38 ` bugzilla-daemon
@ 2016-04-20 17:07 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-04-20 17:07 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 996 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=44647

Nicolai Hähnle <nhaehnle@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #7 from Nicolai Hähnle <nhaehnle@gmail.com> ---
This is an application bug (though I don't know whether the fault lies with
Wine or with CoD4): there is insufficient synchronization between different
contexts.

If you look e.g. at Frame 5, there is a sequence of glTexSubImage2D calls for
textures 64 to 66 running in context 3.

The command sequence switches to context 2 in call 75827, and the textures are
used in call 76024, still on context 2 and without any flush or fence command
in between to ensure that the TexSubImage commands are actually executed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2512 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-20 17:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-10 18:13 [Bug 44647] New: [wine regression] Call of Duty 4: Intro videos renders garbage bugzilla-daemon
2013-10-11 16:14 ` [Bug 44647] " bugzilla-daemon
2014-04-21 21:09 ` bugzilla-daemon
2016-04-18 11:30 ` bugzilla-daemon
2016-04-20 15:08 ` bugzilla-daemon
2016-04-20 15:56 ` bugzilla-daemon
2016-04-20 16:38 ` bugzilla-daemon
2016-04-20 17:07 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.