All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted
@ 2017-01-18  3:03 bugzilla-daemon
  2017-01-18  3:04 ` [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) " bugzilla-daemon
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-18  3:03 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 99444
           Summary: [radeonsi] The Witcher 3 [Wine] starting menu is
                    distorted
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: shtetldik@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 129014
  --> https://bugs.freedesktop.org/attachment.cgi?id=129014&action=edit
Witcher 3 main menu distortion (no CSMT)

I'm testing The Witcher 3 with recent Wine staging 2.0rc5 (CSMT disabled),
using AMD RX 480 and latest Mesa devel:

    OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.3.0 /
4.8.0-2-amd64, LLVM 3.9.1)
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.0.0-devel
(git-aac562f112)

Starting screen has distorted text in the menu (see attached screenshot). For
the reference, the game is still unplayable beyond the starting screen and
intro with broken graphics, but users of Nvidia blob report that they don't
have this issue in the starting menu which appears correct to them, so menu
distortion looks radenosi related.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
@ 2017-01-18  3:04 ` bugzilla-daemon
  2017-01-18  3:09 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-18  3:04 UTC (permalink / raw)
  To: dri-devel


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

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

Shmerl <shtetldik@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[radeonsi] The Witcher 3    |[radeonsi] The Witcher 3
                   |[Wine] starting menu is     |(GOG/1.31) [Wine] starting
                   |distorted                   |menu is distorted

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
  2017-01-18  3:04 ` [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) " bugzilla-daemon
@ 2017-01-18  3:09 ` bugzilla-daemon
  2017-01-18  8:18 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-18  3:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Shmerl <shtetldik@gmail.com> ---
For the reference, to run the game in Wine, you need to set:

[HKEY_CURRENT_USER\Software\Wine\Direct3D] 
"DirectDrawRenderer"="opengl" 
"UseGLSL"="enabled" 
"MaxVersionGL"=dword:00040005

And make sure you are using wine-staging 2.0rc5 or later, since older versions
crash on startup because of the virtual heap limit.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
  2017-01-18  3:04 ` [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) " bugzilla-daemon
  2017-01-18  3:09 ` bugzilla-daemon
@ 2017-01-18  8:18 ` bugzilla-daemon
  2017-01-19  3:54 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-18  8:18 UTC (permalink / raw)
  To: dri-devel


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

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

Shmerl <shtetldik@gmail.com> changed:

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

--- Comment #2 from Shmerl <shtetldik@gmail.com> ---
This appears to be Wine related and not caused by Mesa. See
https://bugs.winehq.org/show_bug.cgi?id=39180

Closing.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-01-18  8:18 ` bugzilla-daemon
@ 2017-01-19  3:54 ` bugzilla-daemon
  2017-01-20 20:24 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-19  3:54 UTC (permalink / raw)
  To: dri-devel


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

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

Shmerl <shtetldik@gmail.com> changed:

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

--- Comment #3 from Shmerl <shtetldik@gmail.com> ---
Reopening it, since it appears, that this still can be a radeonsi bug. See
here:

* https://bugs.winehq.org/show_bug.cgi?id=39180#c51
* https://bugs.winehq.org/show_bug.cgi?id=39180#c55

I replayed the trace which works well for other drivers, and I see distortions
with radeonsi (this happens both with Mesa 13.0.2 and Mesa git).

The trace can be found here: https://ufile.io/ed6ac (you can replay it with
apitrace).

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-01-19  3:54 ` bugzilla-daemon
@ 2017-01-20 20:24 ` bugzilla-daemon
  2017-01-21  0:05 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-20 20:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Clément Guérin <geecko.dev@free.fr> ---
Created attachment 129076
  --> https://bugs.freedesktop.org/attachment.cgi?id=129076&action=edit
R9 Fury / mesa de0b0a3a9c / llvm 292523

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-01-20 20:24 ` bugzilla-daemon
@ 2017-01-21  0:05 ` bugzilla-daemon
  2017-01-22  3:52 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-21  0:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Grazvydas Ignotas <notasas@gmail.com> ---
The trace works correctly on Intel (Skylake and Haswell).

On radeonsi, I can see the corruption, and there are lots of errors:
118231: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER0_NV)
118231 @0 glActiveTexture(texture = GL_COMBINER0_NV)

They range from GL_COMBINER0_NV (0x8550) to 0x857f, so probably the trace was
recorded on something supporting more texture units than radeonsi? Was the
trace recorded on radeonsi (or AMD hardware at least)?

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-01-21  0:05 ` bugzilla-daemon
@ 2017-01-22  3:52 ` bugzilla-daemon
  2017-01-23 10:54 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-22  3:52 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Shmerl <shtetldik@gmail.com> ---
(In reply to Grazvydas Ignotas from comment #5)
> 
> They range from GL_COMBINER0_NV (0x8550) to 0x857f, so probably the trace
> was recorded on something supporting more texture units than radeonsi? Was
> the trace recorded on radeonsi (or AMD hardware at least)?

I didn't record this trace, just reposted it here (I asked the author to
clarify where exactly it was recoreded).

Here is a trace on RX 480 and radeonsi: https://uploadfiles.io/caf8c

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-01-22  3:52 ` bugzilla-daemon
@ 2017-01-23 10:54 ` bugzilla-daemon
  2017-01-23 20:30 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-23 10:54 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Thanks for reporting the issue. I can reproduce it with mesa/llvm git on my rx
480. Needs investigation.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-01-23 10:54 ` bugzilla-daemon
@ 2017-01-23 20:30 ` bugzilla-daemon
  2017-01-23 20:42 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-23 20:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Well, the trace is broken somehow, and it has been recorded using NVIDIA blob
because it relies on NV_register_combiners. That explains the GL_COMBINER0_NV
errors while replaying it.

Could you try that game directly using RadeonSI? Presumably, it should work
fine except if it still relies on NV_register_combiners. And that would be a
game bug.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (8 preceding siblings ...)
  2017-01-23 20:30 ` bugzilla-daemon
@ 2017-01-23 20:42 ` bugzilla-daemon
  2017-01-23 20:44 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-23 20:42 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Shmerl <shtetldik@gmail.com> ---
(In reply to Samuel Pitoiset from comment #8)
> Well, the trace is broken somehow, and it has been recorded using NVIDIA
> blob because it relies on NV_register_combiners. That explains the
> GL_COMBINER0_NV errors while replaying it.
> 
> Could you try that game directly using RadeonSI? Presumably, it should work
> fine except if it still relies on NV_register_combiners. And that would be a
> game bug.

The second trace I linked: https://uploadfiles.io/caf8c is recorded on AMD
hardware (RX 480) with radeonsi. And the screenshot of the initial report shows
how it looks on actual RX 480 as well. That's exactly how I run it (it's from
the actual game run in Wine, not from trace).

I'm not sure how the other trace ( https://ufile.io/ed6ac ) was recorded - the
author never replied.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (9 preceding siblings ...)
  2017-01-23 20:42 ` bugzilla-daemon
@ 2017-01-23 20:44 ` bugzilla-daemon
  2017-01-31  1:38 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-23 20:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Shmerl <shtetldik@gmail.com> ---
And since the game isn't using GL natively, if anything is calling
GL_NV_register_combiners in some situations, it must be Wine.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (10 preceding siblings ...)
  2017-01-23 20:44 ` bugzilla-daemon
@ 2017-01-31  1:38 ` bugzilla-daemon
  2017-01-31  9:18 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-31  1:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Shmerl <shtetldik@gmail.com> ---
I just replayed my trace (recorder on radeonsi / RX480), and I see this in the
log:

120612: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER0_NV)
120612 @1 glActiveTexture(texture = GL_COMBINER0_NV)
120619: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER1_NV)
120619 @1 glActiveTexture(texture = GL_COMBINER1_NV)
120626: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER2_NV)
120626 @1 glActiveTexture(texture = GL_COMBINER2_NV)
120633: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER3_NV)
120633 @1 glActiveTexture(texture = GL_COMBINER3_NV)
120640: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER4_NV)
120640 @1 glActiveTexture(texture = GL_COMBINER4_NV)
120647: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER5_NV)
120647 @1 glActiveTexture(texture = GL_COMBINER5_NV)
120654: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER6_NV)
120654 @1 glActiveTexture(texture = GL_COMBINER6_NV)
120661: message: major api error 2: GL_INVALID_ENUM in
glActiveTexture(texture=GL_COMBINER7_NV)
120661 @1 glActiveTexture(texture = GL_COMBINER7_NV)

I can open a bug in Wine about it.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (11 preceding siblings ...)
  2017-01-31  1:38 ` bugzilla-daemon
@ 2017-01-31  9:18 ` bugzilla-daemon
  2017-01-31  9:41 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-31  9:18 UTC (permalink / raw)
  To: dri-devel


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

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

Samuel Pitoiset <samuel.pitoiset@gmail.com> changed:

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

--- Comment #12 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Well yeah, it's definitely unrelated to Mesa/RadeonSI. The app should check if
NV_register_combiners is supported before using it. I'm going to close the
ticket.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (12 preceding siblings ...)
  2017-01-31  9:18 ` bugzilla-daemon
@ 2017-01-31  9:41 ` bugzilla-daemon
  2017-01-31 16:58 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-31  9:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Józef Kucia <joseph.kucia@gmail.com> ---
(In reply to Samuel Pitoiset from comment #12)
> Well yeah, it's definitely unrelated to Mesa/RadeonSI. The app should check
> if NV_register_combiners is supported before using it. I'm going to close
> the ticket.

Are you sure that NV_register_combiners are used? I haven't checked the trace
myself but I doubt this is a case.

(In reply to Shmerl from comment #11)
> I just replayed my trace (recorder on radeonsi / RX480), and I see this in
> the log:
> 
> 120612: message: major api error 2: GL_INVALID_ENUM in
> glActiveTexture(texture=GL_COMBINER0_NV)
> 120612 @1 glActiveTexture(texture = GL_COMBINER0_NV)
> 120619: message: major api error 2: GL_INVALID_ENUM in
> glActiveTexture(texture=GL_COMBINER1_NV)
> 120619 @1 glActiveTexture(texture = GL_COMBINER1_NV)
> 120626: message: major api error 2: GL_INVALID_ENUM in
> glActiveTexture(texture=GL_COMBINER2_NV)
> 120626 @1 glActiveTexture(texture = GL_COMBINER2_NV)
> 120633: message: major api error 2: GL_INVALID_ENUM in
> glActiveTexture(texture=GL_COMBINER3_NV)
> 120633 @1 glActiveTexture(texture = GL_COMBINER3_NV)
> 120640: message: major api error 2: GL_INVALID_ENUM in
> glActiveTexture(texture=GL_COMBINER4_NV)
> 120640 @1 glActiveTexture(texture = GL_COMBINER4_NV)
> 120647: message: major api error 2: GL_INVALID_ENUM in
> glActiveTexture(texture=GL_COMBINER5_NV)
> 120647 @1 glActiveTexture(texture = GL_COMBINER5_NV)
> 120654: message: major api error 2: GL_INVALID_ENUM in
> glActiveTexture(texture=GL_COMBINER6_NV)
> 120654 @1 glActiveTexture(texture = GL_COMBINER6_NV)
> 120661: message: major api error 2: GL_INVALID_ENUM in
> glActiveTexture(texture=GL_COMBINER7_NV)
> 120661 @1 glActiveTexture(texture = GL_COMBINER7_NV)

This has nothing to do with NV_register_combiners. It just displayed like this
in apitrace, because GL_COMBINERi_NV = GL_TEXTURE0 + x.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (13 preceding siblings ...)
  2017-01-31  9:41 ` bugzilla-daemon
@ 2017-01-31 16:58 ` bugzilla-daemon
  2017-02-02  9:42 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-01-31 16:58 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Shmerl <shtetldik@gmail.com> ---
Opened Wine bug: https://bugs.winehq.org/show_bug.cgi?id=42347

I hope between Mesa and Wine, it will be possible to figure out what's going
wrong.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (14 preceding siblings ...)
  2017-01-31 16:58 ` bugzilla-daemon
@ 2017-02-02  9:42 ` bugzilla-daemon
  2017-02-03  9:57 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-02  9:42 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
(In reply to Józef Kucia from comment #13)
> (In reply to Samuel Pitoiset from comment #12)
> > Well yeah, it's definitely unrelated to Mesa/RadeonSI. The app should check
> > if NV_register_combiners is supported before using it. I'm going to close
> > the ticket.
> 
> Are you sure that NV_register_combiners are used? I haven't checked the
> trace myself but I doubt this is a case.
> 
> (In reply to Shmerl from comment #11)
> > I just replayed my trace (recorder on radeonsi / RX480), and I see this in
> > the log:
> > 
> > 120612: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=GL_COMBINER0_NV)
> > 120612 @1 glActiveTexture(texture = GL_COMBINER0_NV)
> > 120619: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=GL_COMBINER1_NV)
> > 120619 @1 glActiveTexture(texture = GL_COMBINER1_NV)
> > 120626: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=GL_COMBINER2_NV)
> > 120626 @1 glActiveTexture(texture = GL_COMBINER2_NV)
> > 120633: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=GL_COMBINER3_NV)
> > 120633 @1 glActiveTexture(texture = GL_COMBINER3_NV)
> > 120640: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=GL_COMBINER4_NV)
> > 120640 @1 glActiveTexture(texture = GL_COMBINER4_NV)
> > 120647: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=GL_COMBINER5_NV)
> > 120647 @1 glActiveTexture(texture = GL_COMBINER5_NV)
> > 120654: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=GL_COMBINER6_NV)
> > 120654 @1 glActiveTexture(texture = GL_COMBINER6_NV)
> > 120661: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=GL_COMBINER7_NV)
> > 120661 @1 glActiveTexture(texture = GL_COMBINER7_NV)
> 
> This has nothing to do with NV_register_combiners. It just displayed like
> this in apitrace, because GL_COMBINERi_NV = GL_TEXTURE0 + x.

You are right.

The game wants 192 texture units but RadeonSI only exposes 144 (24 per stages),
that explains at least, the glActiveTexture() errors in the trace.

But according to the GL spec, the minimum number of texture units is 80.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (15 preceding siblings ...)
  2017-02-02  9:42 ` bugzilla-daemon
@ 2017-02-03  9:57 ` bugzilla-daemon
  2017-02-03 10:05 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-03  9:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Does the following patch help?

https://cgit.freedesktop.org/mesa/mesa/commit/?id=dfe111368d11aaffae7f8738c858c335cdec1e9d

It actually fixes the glActiveTexture() errors but I still get rendering issues
on my side using the trace.

Can you confirm by running the game directly?
Thanks!

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (16 preceding siblings ...)
  2017-02-03  9:57 ` bugzilla-daemon
@ 2017-02-03 10:05 ` bugzilla-daemon
  2017-02-03 10:45 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-03 10:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #17 from Józef Kucia <joseph.kucia@gmail.com> ---
(In reply to Samuel Pitoiset from comment #16)
> Does the following patch help?
> 
> https://cgit.freedesktop.org/mesa/mesa/commit/
> ?id=dfe111368d11aaffae7f8738c858c335cdec1e9d
> 
> It actually fixes the glActiveTexture() errors but I still get rendering
> issues on my side using the trace.

I think that the glActiveTexture() errors are unrelated to any rendering
issues. These are generated by GL context initialization in Wine. It's not
clear to me if they appear when the game is run directly. We bind dummy
textures to GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB units, so we shouldn't
exceed the limit reported by the driver.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (17 preceding siblings ...)
  2017-02-03 10:05 ` bugzilla-daemon
@ 2017-02-03 10:45 ` bugzilla-daemon
  2017-02-08  2:21 ` bugzilla-daemon
  2017-02-10  3:55 ` bugzilla-daemon
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-03 10:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #18 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
(In reply to Józef Kucia from comment #17)
> (In reply to Samuel Pitoiset from comment #16)
> > Does the following patch help?
> > 
> > https://cgit.freedesktop.org/mesa/mesa/commit/
> > ?id=dfe111368d11aaffae7f8738c858c335cdec1e9d
> > 
> > It actually fixes the glActiveTexture() errors but I still get rendering
> > issues on my side using the trace.
> 
> I think that the glActiveTexture() errors are unrelated to any rendering
> issues. These are generated by GL context initialization in Wine. It's not
> clear to me if they appear when the game is run directly. We bind dummy
> textures to GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB units, so we shouldn't
> exceed the limit reported by the driver.

Yes, but according to the trace, 192 texture units were used and the limit was
144 before that commit. As I said, I still have rendering issues (other
issue?). Anyway, it seems reasonable to expose 32 texture units per stage.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (18 preceding siblings ...)
  2017-02-03 10:45 ` bugzilla-daemon
@ 2017-02-08  2:21 ` bugzilla-daemon
  2017-02-10  3:55 ` bugzilla-daemon
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-08  2:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Shmerl <shtetldik@gmail.com> ---
(In reply to Samuel Pitoiset from comment #16)
> Does the following patch help?
> 
> https://cgit.freedesktop.org/mesa/mesa/commit/
> ?id=dfe111368d11aaffae7f8738c858c335cdec1e9d
> 
> It actually fixes the glActiveTexture() errors but I still get rendering
> issues on my side using the trace.
> 
> Can you confirm by running the game directly?
> Thanks!

I built Mesa from source after that commit, and rendering issues in the menu
are still present when game is run in Wine.

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

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

* [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted
  2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
                   ` (19 preceding siblings ...)
  2017-02-08  2:21 ` bugzilla-daemon
@ 2017-02-10  3:55 ` bugzilla-daemon
  20 siblings, 0 replies; 22+ messages in thread
From: bugzilla-daemon @ 2017-02-10  3:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #20 from Shmerl <shtetldik@gmail.com> ---
FYI: I just tested it with wine-staging 2.1 with CSMT enabled (that version
allows using it with DX11 already), and corruption in the start menu is gone.

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

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

end of thread, other threads:[~2017-02-10  3:55 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18  3:03 [Bug 99444] [radeonsi] The Witcher 3 [Wine] starting menu is distorted bugzilla-daemon
2017-01-18  3:04 ` [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) " bugzilla-daemon
2017-01-18  3:09 ` bugzilla-daemon
2017-01-18  8:18 ` bugzilla-daemon
2017-01-19  3:54 ` bugzilla-daemon
2017-01-20 20:24 ` bugzilla-daemon
2017-01-21  0:05 ` bugzilla-daemon
2017-01-22  3:52 ` bugzilla-daemon
2017-01-23 10:54 ` bugzilla-daemon
2017-01-23 20:30 ` bugzilla-daemon
2017-01-23 20:42 ` bugzilla-daemon
2017-01-23 20:44 ` bugzilla-daemon
2017-01-31  1:38 ` bugzilla-daemon
2017-01-31  9:18 ` bugzilla-daemon
2017-01-31  9:41 ` bugzilla-daemon
2017-01-31 16:58 ` bugzilla-daemon
2017-02-02  9:42 ` bugzilla-daemon
2017-02-03  9:57 ` bugzilla-daemon
2017-02-03 10:05 ` bugzilla-daemon
2017-02-03 10:45 ` bugzilla-daemon
2017-02-08  2:21 ` bugzilla-daemon
2017-02-10  3:55 ` 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.