All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
@ 2018-08-15 12:46 bugzilla-daemon
  2018-08-15 12:55 ` bugzilla-daemon
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-15 12:46 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 107581
           Summary: Graphics Not Rendered Due to Missing 4.5 COMPAT
                    Profile
           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: ben@xnode.org
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 141109
  --> https://bugs.freedesktop.org/attachment.cgi?id=141109&action=edit
Lack of rendered image

Slightly obtuse issue as it's a game inside Wine.

No Man's Sky used to work if you faked a compatibility profile. This no-longer
works as, since the last game update, it seems they are actually using some of
the COMPAT mode features. The result of this is that the game menu renders
fine, but any of the "3D" graphics in the game are either missing or just
render completely white.

e.g. the starfield during loading should be various pinkish colours, but
instead you just see a black screen. Once in-game, you should see the game
world, but instead just have a (what seems to be non-refreshing) white screen.

The game seems to be fine on Nvidia cards using their proprietary driver.

Attached is an image of the issue to see specific what I'm referring to and a
trace, from launch of the game, to a few minutes in game, to exiting the game.
Generated with APITrace (I'll attach the trace in the next comment).

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
@ 2018-08-15 12:55 ` bugzilla-daemon
  2018-08-15 13:38 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-15 12:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Benjamin Hodgetts <ben@xnode.org> ---
Created attachment 141110
  --> https://bugs.freedesktop.org/attachment.cgi?id=141110&action=edit
APITrace

~900MB uncompressed.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
  2018-08-15 12:55 ` bugzilla-daemon
@ 2018-08-15 13:38 ` bugzilla-daemon
  2018-08-15 13:40 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-15 13:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Karol Herbst <karolherbst@gmail.com> ---
when replaying the trace I see some compilation issues:

227035: message: major shader compiler error 2: 0:25(25): error: no matching
function for call to `texture2DLod(sampler2D, vec2, float)'; candidates are:
227035: message: major shader compiler error 3: 0:25(17): error: operands to
arithmetic operators must be numeric

-- 
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: 160 bytes --]

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
  2018-08-15 12:55 ` bugzilla-daemon
  2018-08-15 13:38 ` bugzilla-daemon
@ 2018-08-15 13:40 ` bugzilla-daemon
  2018-08-15 16:33 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-15 13:40 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Karol Herbst <karolherbst@gmail.com> ---
and there are some 0:1294(3): preprocessor error: Unterminated #if

I think this is mostly due to uncompiled shaders, maybe there is more to it,
but we should concentrate on those issues first.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-08-15 13:40 ` bugzilla-daemon
@ 2018-08-15 16:33 ` bugzilla-daemon
  2018-08-20  5:18 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-15 16:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Benjamin Hodgetts <ben@xnode.org> ---
Created attachment 141122
  --> https://bugs.freedesktop.org/attachment.cgi?id=141122&action=edit
APITrace Playback Log

As it may contain something useful.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-08-15 16:33 ` bugzilla-daemon
@ 2018-08-20  5:18 ` bugzilla-daemon
  2018-08-20  8:08 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-20  5:18 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #5 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Benjamin Hodgetts from comment #1)
> Created attachment 141110 [details]
> APITrace
> 
> ~900MB uncompressed.

Please don't attach large traces to the bug itself instead please upload to an
external site such as google drive.

It seems you have captured the trace without using overrides. You must use
MESA_GL_VERSION_OVERRIDE=4.5COMPAT for NMS to work correctly. Also there is a
drirc option that is needed for the game to work correctly (you can also set it
from the command line for testing) force_glsl_extensions_warn=true.

Do these two environment vars fix the issues for you?

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-08-20  5:18 ` bugzilla-daemon
@ 2018-08-20  8:08 ` bugzilla-daemon
  2018-08-21  2:10 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-20  8:08 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Benjamin Hodgetts <ben@xnode.org> ---
I haven't tried force_glsl_extensions_warn, but
MESA_GL_VERSION_OVERRIDE=4.5COMPAT doesn't help. It worked on older versions of
the game, but has no positive effect with the current version of the game (aka
No Man's Sky NEXT).

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-08-20  8:08 ` bugzilla-daemon
@ 2018-08-21  2:10 ` bugzilla-daemon
  2018-08-21  7:27 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-21  2:10 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Benjamin Hodgetts from comment #6)
> I haven't tried force_glsl_extensions_warn, but
> MESA_GL_VERSION_OVERRIDE=4.5COMPAT doesn't help. It worked on older versions
> of the game, but has no positive effect with the current version of the game
> (aka No Man's Sky NEXT).

The override used to be broken and actually caused you to get an OpenGL core
like profile. Since this is now fixed things will have changed, this is not a
regression.

Please try using force_glsl_extensions_warn=true it works around some game
bugs.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-08-21  2:10 ` bugzilla-daemon
@ 2018-08-21  7:27 ` bugzilla-daemon
  2018-08-21 10:52 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-21  7:27 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t_arceri@yahoo.com.au

--- Comment #8 from Timothy Arceri <t_arceri@yahoo.com.au> ---
Created attachment 141209
  --> https://bugs.freedesktop.org/attachment.cgi?id=141209&action=edit
hack around preprocessor stringification

Ok I've taken a closer look and there is indeed new issues with this game
besides the existing ones.

Shaders include preprocessor stringification which is legal in C by not
specified in the GLSL spec e.g.

#define DOMAIN_PARAMS(dmn)         ROOT_SIG(DS) [domain(#dmn)]

I've hacked around that with the following patch but then hit further shaders
that fail to compile "unexpected LAYOUT_TOK"

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-08-21  7:27 ` bugzilla-daemon
@ 2018-08-21 10:52 ` bugzilla-daemon
  2018-08-21 10:53 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-21 10:52 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #9 from Benjamin Hodgetts <ben@xnode.org> ---
>Please try using force_glsl_extensions_warn=true it works around some game bugs.

That generated the two new messages in the terminal...

ATTENTION: default value of option force_glsl_extensions_warn overridden by
environment.
ATTENTION: option value of option force_glsl_extensions_warn ignored.

... so I assume it was picked up properly, but rendering behaviour didn't
change. The nebula clouds were still missing on the loading screen (so space is
just black) and in-game looked the same as the screenshot I originally posted
(screen is just white except for the menu). All in all, no change.

I'll try with your hack patch and see if that changes behaviour.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-08-21 10:52 ` bugzilla-daemon
@ 2018-08-21 10:53 ` bugzilla-daemon
  2018-08-21 11:13 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-21 10:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from Benjamin Hodgetts <ben@xnode.org> ---
BTW, the attachment limit on bugs is 4GB and my attachment was 286MB. If people
shouldn't post large attachments then it's probably worth lowering that limit,
otherwise people have no way of knowing that they aren't supposed to attach
large files.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-08-21 10:53 ` bugzilla-daemon
@ 2018-08-21 11:13 ` bugzilla-daemon
  2018-08-21 12:35 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-21 11:13 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Benjamin Hodgetts <ben@xnode.org> ---
Applied the patch in attachment 141209 and rebuilt, but the game looks the
same. Something of note is that it's supposed to build the shaders on the first
load of the game, but the SHADERCACHE folder of the game is remaining empty (I
assume as the shaders are failing to build).

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (10 preceding siblings ...)
  2018-08-21 11:13 ` bugzilla-daemon
@ 2018-08-21 12:35 ` bugzilla-daemon
  2018-08-21 12:49 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-21 12:35 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #12 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Benjamin Hodgetts from comment #11)
> Applied the patch in attachment 141209 [details] [review] and rebuilt, but
> the game looks the same. Something of note is that it's supposed to build
> the shaders on the first load of the game, but the SHADERCACHE folder of the
> game is remaining empty (I assume as the shaders are failing to build).

The hack should make the planets/stars render correctly on the shader loading
screen. It also helps the sky render in-game, everything else is missing but
I'm sure it's because of the remaining failing shaders. All in all this game is
extremely buggy. Do you know if it actually renders correctly on the AMD
windows drivers?

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (11 preceding siblings ...)
  2018-08-21 12:35 ` bugzilla-daemon
@ 2018-08-21 12:49 ` bugzilla-daemon
  2018-08-21 13:05 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-21 12:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #13 from Benjamin Hodgetts <ben@xnode.org> ---
AFAIK it works fine on Windows. The only people that had issues were people
with old cards (e.g. 6000 series and below, due to lack of support).

Just to clarify, you're using the latest version of the game, labeled "NEXT"?

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (12 preceding siblings ...)
  2018-08-21 12:49 ` bugzilla-daemon
@ 2018-08-21 13:05 ` bugzilla-daemon
  2018-08-22  1:30 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-21 13:05 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #14 from Benjamin Hodgetts <ben@xnode.org> ---
I've just rebuilt Mesa again with your patch, no CCache or anything this time,
just in case. I'm still getting no clouds on the loading screen (you can see
the stars as white dot and the names, but there's no colour, everything is just
black and white) and then when it gets "in game" the menu is there, but the
screen is still just white.

I wonder if the card is specific here:
OpenGL renderer string: Radeon RX 580 Series (POLARIS10, DRM 3.26.0,
4.18.3-1-clear, LLVM 8.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.0-devel
(git-9e5e3a8ead)

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (13 preceding siblings ...)
  2018-08-21 13:05 ` bugzilla-daemon
@ 2018-08-22  1:30 ` bugzilla-daemon
  2018-08-22  9:59 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-22  1:30 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #15 from Timothy Arceri <t_arceri@yahoo.com.au> ---
Created attachment 141230
  --> https://bugs.freedesktop.org/attachment.cgi?id=141230&action=edit
hack around layout qualifiers

The next shader compilation problem is that they are applying layout qualifiers
to function params. e.g

void WriteTextureCacheFeedback(
    vec2 lCacheCoords,
    ivec2 lResolution,
    float lfDesiredMip,
    layout( r32i ) iimage2D lFeedbackMap,      < --------
    uint liFeedbackIndex )

layout( r32i ) can only be applied to uniforms.

I've attached another hack that together with the other hack makes the game
playable for me.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (14 preceding siblings ...)
  2018-08-22  1:30 ` bugzilla-daemon
@ 2018-08-22  9:59 ` bugzilla-daemon
  2018-08-25 17:17 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-22  9:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #16 from Benjamin Hodgetts <ben@xnode.org> ---
Looks like I lost MESA_GL_VERSION_OVERRIDE=4.5COMPAT somewhere along the line
which is why I couldn't see anything. That, plus
force_glsl_extensions_warn=true and your two patches does indeed work.

The starfield renders now but it's still missing the coloured cloud nebulae
(this -
https://cdn.cnn.com/cnnnext/dam/assets/150617071718-game-faces-no-mans-sky-ns-natpkg-00014710-large-169.jpg).

So it seems your patches (and the overrides) get us most of the way there.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (15 preceding siblings ...)
  2018-08-22  9:59 ` bugzilla-daemon
@ 2018-08-25 17:17 ` bugzilla-daemon
  2018-08-26  0:26 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-25 17:17 UTC (permalink / raw)
  To: dri-devel


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

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

Matthew Vaughn <nethershaw@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nethershaw@gmail.com

--- Comment #17 from Matthew Vaughn <nethershaw@gmail.com> ---
I've been following this issue since it was reported and I would like to
contribute if I can. Since the bug status is currently "NEEDINFO" I will
endeavor to provide corroborating details and offer my platform for
investigation and testing.

I can begin by validating everything discussed in the comments so far. The
issue presents itself on my platform exactly as Benjamin documented. My
platform only differs slightly:

OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.26.0, 4.18.4-gentoo, LLVM
6.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.0-rc4


The patches Timothy provided apply and build perfectly, and with the suggested
environment variables set while running NMS I can also exactly reproduce
Benjamin's result. World assets render correctly; the game is playable; the
galaxy map "clouds" are not visible; there appear to be significant artifacts
in the semi-transparent background textures of most UI elements (conversation
dialogs and the tab menu).

My first attempt at reproducing the problem and using the proposed patches was
done on Mesa 18.2.0-rc4 built from source, but I have no problem in principle
with testing further against the current 18.3.0 development branch.

I am happy to test additional patches and gather any additional information
upon request. Thank you for starting the work.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (16 preceding siblings ...)
  2018-08-25 17:17 ` bugzilla-daemon
@ 2018-08-26  0:26 ` bugzilla-daemon
  2018-08-26 14:01 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-26  0:26 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED

--- Comment #18 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Matthew Vaughn from comment #17)
> The patches Timothy provided apply and build perfectly, and with the
> suggested environment variables set while running NMS I can also exactly
> reproduce Benjamin's result. World assets render correctly; the game is
> playable; the galaxy map "clouds" are not visible; there appear to be
> significant artifacts in the semi-transparent background textures of most UI
> elements (conversation dialogs and the tab menu).
> 

The artifacts should be fixed by the zerovram part of this patch series [1]
which you can already do with the following environment var R600_DEBUG=zerovram

I've reported the shaders bugs from this bug report to the No Mans Sky devs and
also created some CTS tests to expose them on the Nvidia driver so hopefully
they will get fixed in the game.

As for the missing nebulae I'm not sure what the problem is there. All I know
is it was working before the last game update and I suspect there may have been
another bug introduced somewhere. I'll have another look tomorrow but I'm
probably not going to spend too much time on that issue since the game is
otherwise now playable.

[1] https://patchwork.freedesktop.org/series/48664/

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (17 preceding siblings ...)
  2018-08-26  0:26 ` bugzilla-daemon
@ 2018-08-26 14:01 ` bugzilla-daemon
  2018-08-30  0:02 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-26 14:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #19 from Benjamin Hodgetts <ben@xnode.org> ---
Thanks for all the work so far Timothy.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (18 preceding siblings ...)
  2018-08-26 14:01 ` bugzilla-daemon
@ 2018-08-30  0:02 ` bugzilla-daemon
  2018-09-06  2:33 ` bugzilla-daemon
  2018-09-10 15:36 ` bugzilla-daemon
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-08-30  0:02 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

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

--- Comment #20 from Timothy Arceri <t_arceri@yahoo.com.au> ---
(In reply to Benjamin Hodgetts from comment #19)
> Thanks for all the work so far Timothy.

No problem. Thanks for reporting the issues.

I've now pushed patches to enable OpenGL 4.5 compat for radeonsi. I've fixed a
bug in the lexer that was causing some shaders to fail to compile, and I've
added a workaround to another shader bug in the game that they don't currently
want to work around as the Nvidia driver depends on the buggy shaders. So as of
git master a couple of minutes ago No Mans Sky should run out of the box no
manual environment vars required.

As for the missing nebulae there is a shader failing to compile as they are
missing an #endif to go with an #ifdef. This is my guess as to why its failing
to display, and I've let the NMS devs know about it. If I'm correct this issue
should be present even on Nvidia drivers currently.

So with that I think we can now close this bug.

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (19 preceding siblings ...)
  2018-08-30  0:02 ` bugzilla-daemon
@ 2018-09-06  2:33 ` bugzilla-daemon
  2018-09-10 15:36 ` bugzilla-daemon
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-09-06  2:33 UTC (permalink / raw)
  To: dri-devel


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

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathanilevi@gmail.com

--- Comment #21 from Timothy Arceri <t_arceri@yahoo.com.au> ---
*** Bug 107778 has been marked as a duplicate of this bug. ***

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

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

* [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile
  2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
                   ` (20 preceding siblings ...)
  2018-09-06  2:33 ` bugzilla-daemon
@ 2018-09-10 15:36 ` bugzilla-daemon
  21 siblings, 0 replies; 23+ messages in thread
From: bugzilla-daemon @ 2018-09-10 15:36 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #22 from Benjamin Hodgetts <ben@xnode.org> ---
Just an FYI, testing with Mesa GIT this morning and the coloured space nebulae
are being rendered correctly as well. Additionally the weird garbage/distortion
below the "NEXT" notification when you first start the game has also
disappeared.

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

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

end of thread, other threads:[~2018-09-10 15:36 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15 12:46 [Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile bugzilla-daemon
2018-08-15 12:55 ` bugzilla-daemon
2018-08-15 13:38 ` bugzilla-daemon
2018-08-15 13:40 ` bugzilla-daemon
2018-08-15 16:33 ` bugzilla-daemon
2018-08-20  5:18 ` bugzilla-daemon
2018-08-20  8:08 ` bugzilla-daemon
2018-08-21  2:10 ` bugzilla-daemon
2018-08-21  7:27 ` bugzilla-daemon
2018-08-21 10:52 ` bugzilla-daemon
2018-08-21 10:53 ` bugzilla-daemon
2018-08-21 11:13 ` bugzilla-daemon
2018-08-21 12:35 ` bugzilla-daemon
2018-08-21 12:49 ` bugzilla-daemon
2018-08-21 13:05 ` bugzilla-daemon
2018-08-22  1:30 ` bugzilla-daemon
2018-08-22  9:59 ` bugzilla-daemon
2018-08-25 17:17 ` bugzilla-daemon
2018-08-26  0:26 ` bugzilla-daemon
2018-08-26 14:01 ` bugzilla-daemon
2018-08-30  0:02 ` bugzilla-daemon
2018-09-06  2:33 ` bugzilla-daemon
2018-09-10 15:36 ` 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.