Comments (8)
@Leopard1907 I have downloaded your RenderDoc captures, so you can clear them from your Google Drive if you need to free space.
I am able to reproduce the visual corruption using the RenderDoc captures; however, I do not see the same corruption in the game. It's possible that this is a driver/game interaction issue which may already have been resolved. I will attempt to reproduce with the exact driver you used.
I can reproduce the AMDVLK frame rate for the scene shown, but I have yet to get the game to work with the Mesa version specified. It seems to stall during the "Shader Compilation Process".
from amdvlk.
@perlfu Weird, just compiled mesa-git freshly againts this https://gitlab.freedesktop.org/mesa/mesa/-/commit/480ec5b1d480c62bc9984a44bbb6453bca1970be and it still goes through shader compile screen.
from amdvlk.
@perlfu Did you compile RADV as debug build, i compiled as release.
meson build64 --libdir lib64 --prefix $HOME/mesa -Dgallium-drivers= -Dvulkan-drivers=amd -Dgallium-nine=false -Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec -Dbuildtype=release
from amdvlk.
As leopard suggested, there seems to be an issue with debug builds of Mesa; I don't know exactly why, but release or debugoptimized builds should let the game go through shader compilation without problems.
If that still doesn't work, please try compiling this branch: https://gitlab.freedesktop.org/ishitatsuyuki/mesa/-/tree/more-dbh-hack. The branch contains a targeted workaround for the fact that the game refuses to consider any pipeline cache below 128KB to be "finished".
from amdvlk.
Thanks for the pointers, I had completely forgotten default mesa build is debug.
I can get the game running with a release build.
One important reproduction detail is that the game resets graphics settings when switching ICD. So game has to be launched once to build pipelines, before setting resolution and editing .ini file to unlock frame rate.
For LLPC I got ~95 fps, with 85% GPU, 35% CPU.
For RADV I got ~125fps, with 70% GPU, 50% CPU.
My test CPU is older and slower than your test system, which I think explains the RADV difference between our results.
I think RADV is CPU bound in this test. I never saw RADV use more than 70% GPU.
This seems to be a strong reproduction of a performance gap from my perspective.
Memory usage is definitely higher in LLPC, particularly in the pipeline compilation phase of game launch there seems to be some possible leakage.
from amdvlk.
Thanks for the test. Windows side seems to be also suffering from perf issues but with potentially much less cpu usage. But ofc i don't have Windows to test.
https://youtu.be/5IBmkPMQMUA?si=rjC-tDQoOTIORm1x
There is just an insane difference here.
from amdvlk.
Thanks for the test. Windows side seems to be also suffering from perf issues but with potentially much less cpu usage. But ofc i don't have Windows to test.
https://youtu.be/5IBmkPMQMUA?si=rjC-tDQoOTIORm1x
There is just an insane difference here.
Btw my screenshots/testing also shows much higher cpu usage on Radv side. 75-80 percent on all cores.
from amdvlk.
Related Issues (20)
- `SPV_KHR_cooperative_matrix` support HOT 3
- Support maxRayRecursionDepth>1 (useful for running some DXR workloads via VKD3D)..
- Not able to build the AMDVLK HOT 1
- Apt repository `repo.radeon.com/amdvlk` is out of date (8 releases obsolete) HOT 3
- Any reason for not enabling VK_EXT_mesh_shader taskShader feature? (used optionally for Alan Wake2 under VKD3D) HOT 16
- Failed to compile gpurt pipelines: Common.hlsl:553:18: error: firstbithigh is not yet implemented for 64-bit width components when targetting SPIR-V HOT 6
- wine_vkCreateInstance Failed to create instance, res=-9 HOT 2
- What is the purpose of this driver? HOT 4
- [dxvk, vkd3d-proton] anisotropic filtering issues HOT 1
- [dxvk] Optimize for the d3d9 Strict float emulation path HOT 18
- AMDVLK fails to initialize when an unsupported/legacy GPU is present HOT 3
- [Wayland] [Feature request] Allow Tearing support for Vulkan applications HOT 1
- wayland: use linux-dmabuf instead of wl_drm HOT 13
- Broken Linux Vulkan support on Ryzen 5 7640U APU with Radeon 760M RDNA3 graphics HOT 15
- Artifacts with The Coffin Of Andy And Leyley HOT 1
- Corruption with Nanite foliage and shadows in The Talos Principle 2 HOT 4
- Nvidia Remix issues (Windows)
- Reach out request, re distro support HOT 1
- Compiling fails on Musl-libC - error with NULL type; HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amdvlk.