Back when I used to follow Gallium progress years ago, most of the effort appeared to be translating the various different IRs back and forth. It's a bit disappointing to see that this is still necessary, surely this is a massive time sink of developer effort and wouldn't be optimal in performance with all that translation going on. Why doesn't Gallium have a standardised IR if both the drivers and state trackers need to talk in the same IR? It's effectively part of the API.
Announcement
Collapse
No announcement yet.
Gallium Nine Is Working On NIR Support So It Can Be Used With Intel Iris, Zink Vulkan
Collapse
X
-
- Nine might also work out then with other NIR-focused Gallium3D drivers like Freedreno and Broadcom VC4/V3D. Though the performance may be another story, at least this Direct3D 9 support might work on these other Gallium3D drivers.
Comment
-
Originally posted by gigaplex View PostBack when I used to follow Gallium progress years ago, most of the effort appeared to be translating the various different IRs back and forth. It's a bit disappointing to see that this is still necessary, surely this is a massive time sink of developer effort and wouldn't be optimal in performance with all that translation going on. Why doesn't Gallium have a standardised IR if both the drivers and state trackers need to talk in the same IR? It's effectively part of the API.
Driver developers didn't like it, so they added support for a new one (NIR).
It's going to be a long slog to get rid of tgsi at this point, because you'd have to make massive updates to old drivers that no one wants to touch anymore, but for all intents and purposes NIR is pretty much the modern standard for any new drivers.
- Likes 3
Comment
-
Originally posted by smitty3268 View Post
Gallium had a standardized IR - TGSI.
Driver developers didn't like it, so they added support for a new one (NIR).
It's going to be a long slog to get rid of tgsi at this point, because you'd have to make massive updates to old drivers that no one wants to touch anymore, but for all intents and purposes NIR is pretty much the modern standard for any new drivers.
Comment
-
Originally posted by R41N3R View Post
Yes, NIR in RadeonSI is pretty stable, at least all my tested games had no issues so far. But I don't know what is the development status NIR in RadeonSI. Hope it is still an ongoing effort to switch, at least it makes a lot of sense to me, NIR is used by RADV and then by RadeonSI, Gallium Nine and Zink as well.
To date, it hasn't seemed to be much of a priority, given that the NIR 4.6 support isn't ready yet anyway, but maybe that starts changing soon now that it's almost done.
I know they still need to add bindless support to avoid regressions while switching as well.
Comment
-
Originally posted by Venemo View PostIris and Zink are (will be) Gallium drivers.
What we plan to do is make it possible for Iris and Zink to use the shaders produced by Nine, by translating Nine's TGSI output into NIR.
It would be cool to enable the usage of Gallium Nine on top of the driver stack that the majority of Nvidia users use for gaming.
Originally posted by Venemo View Post
Why Starcraft 2 and Witcher 1-2? Because those are the D3D9 games that we happen to have on our computers. Others may or may not work. Once we fix all the kinks that we found so far, it will make sense to do some sort of testing with more games
You can create f2p accounts, so you can test it for free.
Comment
-
Originally posted by Degra View PostI must ask, would something like using Gallium Nine -> Zink -> proprietary Nvidia drivers be possible? Can the Gallium Nine standalone be extended with Zink so you get Vulkan output, which could be handled by the Nvidia drivers? The performance in such a case should still be reasonably good (at least way better than wined3d), right?
It would be cool to enable the usage of Gallium Nine on top of the driver stack that the majority of Nvidia users use for gaming.
Originally posted by Degra View PostPlease add Guild Wars 2 to that list, it's one of the most-played D3D9 games today and it's in dire need of something better than the current wined3d.
You can create f2p accounts, so you can test it for free.
- Likes 1
Comment
Comment