New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Man's Sky has artifacts #112
Comments
I have the same issue as this guy: ValveSoftware/Proton#438 (comment) I'm able to get into game with mesa-aco but pressing anything that opens the menu hard locks, however I am able to drop to tty and wineserver -k. Normal mesa with llvm crashes on loading into game. Same with llvmvs. Judging from the log this seems to be gpu specific:
vulkaninfo: This is using latest git: 6500310 |
@GloriousEggroll would you be able to take a renderdoc capture of the menu (which you cannot open with ACO) with RADV_PERFTEST=llvm ? |
Having the same issue as the issue above, as soon as any menu is opened, hard locks and have to drop to tty and kill wine. GPU: Radeon VII
|
Can verify RADV_PERFTEST=llvm does actually work, my first comment was mistaken with this. RADV_PERFTEST=llvmvs does not as previously mentioned. |
The DoF issue should be fixed with f6829fe. |
Can't any artifacts with an updated build |
That commit got rid of the DoF artifacting for me as well. The effect still performs very poorly but that appears to be an issue for both AMD and NVIDIA at the moment. |
I have the menu hard-locking error as well on mesa-aco. The game runs fine for me on AMDVLK with 75 - 110 fps v2019 Q3-4 on a Vega 64 after I deleted the contests of the gamedata/shadercache folder and set fullscreen to false, borderless to true and VsyncEx to Off in binaries/settings/tkgraphicssettings.mxml. It doesnt start tho with the amdPalConfig set in place, in which I can define the build of a permanent shadercache for amdvlk, so every time I start the game a new, shaders building starts from the beginning. |
As of 81fac59 I'm no longer experiencing hangs on entering the menu or dialogue items! |
ok thanks, I will check it out tonight. |
It is working, but there is still graphical corruption in normal mesa and mesa-aco. The menus are showing now but the fps drops to 30 when, what is no problem tho. It runs with 70 fps and stutter free. On amdvlk it has a lot of stuttering, the graphics tho seem to be perfect and it has 100 fps. mesa-aco 81fac59 |
Those are LOD textures, sometimes it takes a long time to load the detailed textures for some reason. |
With RADV_PERFTEST=llvm this issue doesn't happen. |
We looked into the shader and it is a quite evil corner case. Not sure yet, if we'll optimize it.
Could you provide a capture of such scene? We now of a few glitches which seem to be game bugs, though. |
I will try when I find the time tomorrow. I have made a video on amdvlk vulkan loader, latest release. NMS traditionally ran better on amdvlk than on Mesa. Back then on OpenGL it went down to framedrops of 35 fps on planets on Mesa, while amdvlk had insanely high framerates. In the video I am at a median of 100 fps (lower left corner). The video is lagging at times but that is a recording error, game was smooth sailing. Maybe the high fps interferred with the recorder. |
Ok that renderdoc thing took me a minute to figure it out but then its actually quite easy. https://drive.google.com/file/d/1gGe-V68ttdhSNHtWIHn6TqT8o3OjF1eO/view?usp=sharing Hope I didnt do it wrong. |
looks like NMS devs did an amdgpu crash fix and some other video related fixes: -Fixed a crash affecting AMD GPUs when creating the pipe state on a framebuffer that has not been created yet. full changelog: |
Nice ! I am eager to try VR, so far the game did not start with it. Gonna see, if it does now :). |
I want to notice that with vanilla Mesa 19.1.4 the menus are running with higher fps that it would on this fork, either with ACO or with LLVM. So I think a regression must have happened somewhere between 19.1 and 19.2. By the way I have a Vega 56 and running on Archlinux. |
For VR: the game does not start on the HTC Vive on amdvlk, instead it simply starts on the normal monitor. On mesa-aco and normal mesa, it starts on both, the Vive and the monitor and it shows a split-screen picture on the monitor, what is untypical for VR games. On the Vive itself the game is unplayable, it does work and you can walk around, but if you just move your head a bit the image is lagging behind and you get a shadow of the former frame overlapping the new. Makes you dizzy in seconds and its unplayable, sadly. |
I recently merged https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1844 which fixes the performance regression for DOF by getting rid of scratch usage for the shader in question (I just tested it). However ACO will need to implement |
We've just rebased (on 6f5a861) and implemented |
Now the menus are running butter smooth. Good job! Also, what about this another graphical issue, should we open a new issue for this? |
If I'm reading the comment correctly, it's an issue that happens with both LLVM and ACO. So it's probably unrelated to ACO and @Enthalpie or someone else who can reproduce the issue (if it still happens) can create a bug on bugs.freedesktop.org |
No, as I said below that comment, it doesn't happen with LLVM, only with ACO. |
I guess open a new issue for it if it still happens |
I know it's off topic for this issue, but I have the same problem with my nvidia gpu (GTX 1080) and proprietary drivers. Do you know if anyone is working on it? Or if there is more information or a discussion about the issue? |
Renderdoc capture of the artifacts: |
@lavadrop Thx for the capture. It helped to identify the issue. As it is likely a game bug, we'll try to get in touch with the devs and keep you posted. |
As the game developers weren't eager to fix their game, we decided to implement a workaround which got merged today in upstream. As it's bit more invasive, we decided to not backport this workaround to stable which in turn means, you have to use some repository which follows upstream (like oibaf) to use it. |
Forgot about the bug report, sorry. The issue was fixed with bdd7587 |
Hi. |
If it's a different artifact, I think it should be a different bug report. We've switched to the GitLab anyway, so new issues are reported there: https://gitlab.freedesktop.org/mesa/mesa/-/issues |
Enabling ACO produces artifacting on the depth-of-field effect in No Man's Sky. It also happens with
RADV_PERFTEST=llvmvs
ACO:
LLVM:
RenderDoc capture:
ACO: https://mega.nz/#!wD40SYDI!Dz4XrKD2T_KBhvWzxTIuwtf0yPfjOTl-XigW8MCGU9s
System information:
The text was updated successfully, but these errors were encountered: