All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0
@ 2019-06-27  2:32 bugzilla-daemon
  2019-07-01  2:31 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-06-27  2:32 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 111010
           Summary: Cemu Shader Cache Corruption Displaying Solid Color
                    After commit 11e16ca7ce0
           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: felix.adrianto@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 144651
  --> https://bugs.freedesktop.org/attachment.cgi?id=144651&action=edit
shader cache corruption

Background:
Using Cemu emulator with shader cache functionality breaks after commit
11e16ca7ce0. Screen display only solid colors with very low fps.

System:
AMD Ryzen 2600
RX580
Linux 5.0.9, amdgpu, mesa master

How to reproduce the issue:
1. Run Cemu, enable shader cache functionality
2. Play a game then let shader cahce be generated. Game can be played normally
and shader can be built normally. No graphical issue is found at this stage.
3. Quit Cemu
4. Play the same game again utilizing the generated shader cache
5. Game display shows flickering solid colors as shown in this ticket
attachment. 

Expected result:
Playing the same game with previously generated shader cache should display the
correct graphic instead of flickering solid colors.

Can you address this issue?

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

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

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

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

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

* [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0
  2019-06-27  2:32 [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0 bugzilla-daemon
@ 2019-07-01  2:31 ` bugzilla-daemon
  2019-07-01  2:32 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-01  2:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Timothy Arceri <t_arceri@yahoo.com.au> ---
Thanks for the top quality bug report!

Just to be clear before 11e16ca7ce0 Cemu wasn't actually making use of the
cache as it was disabled for core profiles (which Cemu uses). Enabling it
uncovered a bug with the interaction of our cache implementation and the
separate shader objects extension.

Anyway the following patch should fix the issue.

https://patchwork.freedesktop.org/patch/315016/

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

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

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

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

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

* [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0
  2019-06-27  2:32 [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0 bugzilla-daemon
  2019-07-01  2:31 ` bugzilla-daemon
@ 2019-07-01  2:32 ` bugzilla-daemon
  2019-07-01  3:38 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-01  2:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Timothy Arceri from comment #1)
> Thanks for the top quality bug report!
> 
> Just to be clear before 11e16ca7ce0 Cemu wasn't actually making use of the
> cache as it was disabled for core profiles (which Cemu uses).

Sorry that should have been "it was disabled for compatibility profiles"

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

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

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

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

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

* [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0
  2019-06-27  2:32 [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0 bugzilla-daemon
  2019-07-01  2:31 ` bugzilla-daemon
  2019-07-01  2:32 ` bugzilla-daemon
@ 2019-07-01  3:38 ` bugzilla-daemon
  2019-07-01 11:23 ` bugzilla-daemon
  2019-07-11 23:32 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-01  3:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from e88z4 <felix.adrianto@gmail.com> ---
I applied your patch to the latest mesa git-2042f22e28. Your patch fixed the
issue. You can close this bug. Thank for responding so quickly.

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

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

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

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

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

* [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0
  2019-06-27  2:32 [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-07-01  3:38 ` bugzilla-daemon
@ 2019-07-01 11:23 ` bugzilla-daemon
  2019-07-11 23:32 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-01 11:23 UTC (permalink / raw)
  To: dri-devel


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

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

e88z4 <felix.adrianto@gmail.com> changed:

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

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

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

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

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

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

* [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0
  2019-06-27  2:32 [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-07-01 11:23 ` bugzilla-daemon
@ 2019-07-11 23:32 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-11 23:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Timothy Arceri <t_arceri@yahoo.com.au> ---
Fixed by:

commit 3043908ccb9c7030add1f34f9a947a787949a399
Author: Timothy Arceri <tarceri@itsqueeze.com>
Date:   Mon Jul 1 12:25:19 2019 +1000

    mesa: save/restore SSO flag when using ARB_get_program_binary

    Without this the restored program will fail the pipeline validation
    checks when we attempt to use an SSO program.

    Fixes: c20fd744fef1 ("mesa: Add Mesa ARB_get_program_binary helper
functions")

    Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111010

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

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

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

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

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

end of thread, other threads:[~2019-07-11 23:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-27  2:32 [Bug 111010] Cemu Shader Cache Corruption Displaying Solid Color After commit 11e16ca7ce0 bugzilla-daemon
2019-07-01  2:31 ` bugzilla-daemon
2019-07-01  2:32 ` bugzilla-daemon
2019-07-01  3:38 ` bugzilla-daemon
2019-07-01 11:23 ` bugzilla-daemon
2019-07-11 23:32 ` 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.