Originally posted by rabcor
View Post
Announcement
Collapse
No announcement yet.
Valve Has Been Developing A New Mesa Vulkan Shader Compiler For Radeon
Collapse
X
-
-
Originally posted by puleglot View PostSo for SI+ GPUs we now have:
1. AMD proprietary shader compiler used by proprietary OpenGL driver
2. AMD proprietary shader compiler used by proprietary Vulkan driver
3. LLVM-based compiler (modified AMDGPU backend?) used by AMDVLK
4. LLVM-based compiler (AMDGPU backend) used by radeonsi and RADV
5. AOC for RADV
Not bad but not perfect. As I see when we have 5 compilers and 3 Vulkan and 2 OpenGL drivers, then there may be 5 times 5 combinations or 5 combinations per driver to be allowed. Driver may do compilation with all 5 compilers and use result first finished compilation, or do simulation of performance of all result for all application shaders at application start or installation and use best performing shader compilation with compilation time mentioned.
Or do it even better. Load all Radeon drivers and switch them on the fly for best performance case.
Combination of both is too optimistic or too silly for me, but maybe baby.
Too ambitious is to use HBCC and asynchronous shaders to move most of the driver parts into compute shaders, as well.
But these ideas are only dreams, that will not become reality, i guess.
Leave a comment:
-
Originally posted by ernstp View PostI made a PPA for Ubuntu, please help me test it! https://launchpad.net/~ernstp/+archive/ubuntu/mesaaco
- Likes 1
Leave a comment:
-
This is fascinating. I can't help but be a little pessimistic about whether or not Valve will be able to keep up with new hardware coming out in reasonable timeframes, but still this is very cool to see.
I think the main thing this is pointing out is that there are some fundamental problems with using LLVM to compile graphics code right now, and it's probably going to be really hard to fix them. LLVM was obviously designed around a different model entirely.
I really wonder what AMD thinks of this project. Are they watching it closely to see how it works out, or are they locked 100% into LLVM and ignoring everything outside that?
- Likes 9
Leave a comment:
-
Guest repliedThis makes a significant improvement for Guild Wars 2 with D9VK; with LLVM, the shader compile is horrible (full stops for up to 1 second). With ACO, I don't notice any stuttering.
Here is a quick Copr I threw together for Fedora 30: https://copr.fedorainfracloud.org/co...a-git-acotest/Last edited by Guest; 04 July 2019, 02:54 AM.
- Likes 11
Leave a comment:
-
Remember Ubuntu's Drama? Steam have an official AUR ready to test ACO but no PPA at the time of writing
- Likes 8
Leave a comment:
-
Originally posted by davidbepo View Postcould this eventually also be used for radeonSI?Q: Is it radv-only or will RadeonSI work?
A: radv for now, but we intend to look at RadeonSI once things are farther along.If you run games on Steam with radv on AMD, you might want to test ACO! For more details, refer to this announcement . Note: things are at an early stage and testing is likely to expose bugs and GPU crashes. Currently, ACO will only work with Vulkan on GCN 3.0+ AMD cards running against the Mesa radv driver .
- Likes 11
Leave a comment:
-
I made a PPA for Ubuntu, please help me test it! https://launchpad.net/~ernstp/+archive/ubuntu/mesaaco
- Likes 6
Leave a comment:
Leave a comment: