[PCGamesN] [Updated] Valve’s new code cuts AMD GPU compile times by over 45% for Linux games - Overclock.net - An Overclocking Community

Forum Jump: 

[PCGamesN] [Updated] Valve’s new code cuts AMD GPU compile times by over 45% for Linux games

 
Thread Tools
post #1 of 10 (permalink) Old 07-04-2019, 09:45 AM - Thread Starter
sudo apt install sl
 
WannaBeOCer's Avatar
 
Join Date: Dec 2009
Posts: 5,153
Rep: 168 (Unique: 120)
Source: https://www.pcgamesn.com/valve-amd-r...x-aco-compiler

Quote:
Currently the AMD OpenGL and Vulkan drivers both use a compiler that’️s part of the LLVM project, but Valve says that this project is “massive,â€Â that it has many different goals, and with the “online compilation of game shaders only being one of them.â€Â It also mentions that, because of their focus on different things, sometimes shader compilation times can be accidentally broken by devs working on other LLVM purposes. So the Valve team is working on a gaming-specific compiler for the open source Mesa driver project as an alternative to LLVM.

And while the actual gaming frame rate boosts maybe aren’️t anything to really write home about the dramatic reduction in the time it takes to compile the shaders is massive. Changing from the RADV Mesa drivers using LLVM to the RADV drivers running ACO there is a decrease in compile time of over 45%.
Benchmarks: https://gist.github.com/pendingchaos...089f29a8c6aa63

Source: https://www.phoronix.com/scan.php?pa...er-Vertex-Shad

Quote:
Valve's ACO AMD Shader Compiler Now Can Handle Vertex Shaders

Valve's interesting ACO shader compiler alternative to AMDGPU LLVM currently for the RADV Vulkan driver as well as for RadeonSI OpenGL in the future now can handle vertex shaders.
Testing instructions: https://steamcommunity.com/app/22141...5206474070669/
Attached Thumbnails
Click image for larger version

Name:	EAsW6X9VAAE7PcK_1564487900152.png
Views:	3
Size:	48.5 KB
ID:	284550  


Silent
(20 items)
CPU
Core i9 9900K... CoffeeTime! @ 4.2Ghz w/ 1v
Motherboard
Maximus VIII Formula
GPU
Radeon VII @ 1900Mhz/1250Mhz w/ 1v
RAM
TeamGroup Xtreem 16GB 3866Mhz CL15
Hard Drive
Samsung 850 Evo 1TB
Hard Drive
Samsung 850 Evo 1TB
Hard Drive
Samsung 850 Evo 500GB
Power Supply
EVGA SuperNova 1200w P2
Cooling
EK Supremacy Full Copper Clean
Cooling
XSPC D5 Photon v2
Cooling
Black Ice Gen 2 GTX360 x2
Cooling
EK-Vector Radeon VII - Copper + Plexi
Case
Thermaltake Core X5 Tempered Glass Edition
Operating System
Clear Linux
Monitor
Acer XF270HUA
Keyboard
Cherry MX Board 6.0
Mouse
Logitech G600
Mouse
Alugraphics GamerArt
Audio
Definitive Technology Incline
Audio
SMSL M8A
▲ hide details ▲

Last edited by WannaBeOCer; 07-30-2019 at 05:03 AM.
WannaBeOCer is offline  
Sponsored Links
Advertisement
 
post #2 of 10 (permalink) Old 07-04-2019, 12:12 PM
⎬⎛⎝⎠⎞⎨
 
TK421's Avatar
 
Join Date: May 2011
Posts: 5,297
Rep: 158 (Unique: 123)
Linux desktop 2020?

nͫٴiͤٴcͫٴeͤ੮Һ૯ ცɿ૭ ૭คעٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴٴ ٴٴٴ
Desktop for gaming
(17 items)
ThinkPad T480
(9 items)
ThinkPad T430 XM
(9 items)
CPU
i7 5820K
Motherboard
X99 Deluxe
GPU
RTX 2080 Ti XC Ultra
RAM
Crucial 4x4GB
Hard Drive
Samsung 950 Pro 512GB
Hard Drive
Samsung 850 EVO 1TB
Hard Drive
WD Black 4TB
Hard Drive
WD Red 10TB
Optical Drive
Dell CH03N BD
Power Supply
EVGA 750 G2
Cooling
Swiftech Drive H360X3
Case
Phanteks Enthoo Luxe
Operating System
Windows 10 Enterprise LTSC 1809
Monitor
BenQ XL2430T
Monitor
ASUS PG279Q
Keyboard
Bloody B850
Mouse
Logitech G102 Prodigy (Mercury)
CPU
i7 8550U
Motherboard
Lenovo Windu-2 20L5
GPU
Intel UHD 620
RAM
F4-3000C16D-16GRS | 2x8GB 2400MHz
Hard Drive
Intel NVME SSD 256GB
Power Supply
Lenovo 65w USB-C
Cooling
Delta 01YR200
Operating System
Windows 10 Enterprise LTSC 1809
Monitor
LP140WF6-SPB7 FHD IPS
CPU
i7 3920XM
Motherboard
Nozomi 4 Type 2344 BZU
GPU
Intel HD4000
RAM
F3-2133C11-8GSRL | 2x8GB 2133MHz
Hard Drive
Samsung 850 Pro 256GB
Power Supply
Lenovo 90W
Operating System
Windows 10 Enterprise LTSC 1809
Monitor
AUO B140HAN01.3
Keyboard
Classic 7-row NMB 45N2211
▲ hide details ▲


TK421 is offline  
post #3 of 10 (permalink) Old 07-06-2019, 04:15 AM
New to Overclock.net
 
umeng2002's Avatar
 
Join Date: Jul 2010
Location: Florida
Posts: 3,107
Rep: 167 (Unique: 105)
... Another thing that isn't HL3...

CPU
AMD Ryzen 2700X
Motherboard
Asus Prime X470-Pro
GPU
EVGA GeForce RTX 2070 XC Ultra
RAM
TeamGroup T-Force 16 GB (2x8) Pro Dark (B-die TDPGD416G3200HC14ADC01)
Hard Drive
Samsung 840 EVO 250 GB
Power Supply
Seasonic Focus Plus Platinum SSR-750PX
Cooling
Corsair H80i (not V2 or GT)
Monitor
LG 34UC80-B
Keyboard
Logitech G413
Mouse
Logitech G503 RGB
Audio
Creative SoundBlaster Z (OEM)
▲ hide details ▲
umeng2002 is offline  
Sponsored Links
Advertisement
 
post #4 of 10 (permalink) Old 07-08-2019, 01:42 AM
RIP OCN
 
Join Date: Dec 2014
Posts: 561
Rep: 25 (Unique: 19)
Quote: Originally Posted by umeng2002 View Post
... Another thing that isn't HL3...
Nothing gets passed this guy
anti-clockwize is offline  
post #5 of 10 (permalink) Old 07-08-2019, 05:59 AM
Tokyo the defiler
 
emeianoite's Avatar
 
Join Date: Oct 2010
Location: lawlz
Posts: 790
Rep: 18 (Unique: 17)
Quote: Originally Posted by TK421 View Post
Linux desktop 2020?
too late. dualboots

Babies are just something you have to not make die...



emeianoite is offline  
post #6 of 10 (permalink) Old 07-08-2019, 03:03 PM
New to Overclock.net
 
Imouto's Avatar
 
Join Date: Mar 2012
Posts: 1,910
Rep: 215 (Unique: 100)
Current progress:

https://www.phoronix.com/scan.php?pa...aco-llvm&num=5


#EnthusiastLivesMatter
Imouto is offline  
post #7 of 10 (permalink) Old 07-09-2019, 03:12 AM
New to Overclock.net
 
Join Date: Nov 2008
Location: South Africa
Posts: 628
Rep: 19 (Unique: 19)
Kudos to Valve on improving the Linux experience.

Gaming on Linux is getting better and easier, not regretting the move.

N3G4T1v3 is offline  
post #8 of 10 (permalink) Old 07-09-2019, 01:10 PM
New to Overclock.net
 
Imouto's Avatar
 
Join Date: Mar 2012
Posts: 1,910
Rep: 215 (Unique: 100)
Quote: Originally Posted by N3G4T1v3 View Post
Kudos to Valve on improving the Linux experience.

Gaming on Linux is getting better and easier, not regretting the move.
I was doing most of my PC stuff on Linux but kept a Windows partition for playing games until the day Proton was launched. I wrapped up things and deleted my Windows partition and I'm not regretting it one bit either.

Today I tested NieR: Automata with ACO and I was able to run it at constant [email protected] with a RX 580 8GB after improving bit by bit from about ~50 FPS. I think the new driver had a lot to do with it but it is great nonetheless.

I'll test more when I find the time.

#EnthusiastLivesMatter
Imouto is offline  
post #9 of 10 (permalink) Old 07-30-2019, 05:01 AM - Thread Starter
sudo apt install sl
 
WannaBeOCer's Avatar
 
Join Date: Dec 2009
Posts: 5,153
Rep: 168 (Unique: 120)
Updated OP with new link and image.

ACO now has vertex shader support which lowers compile time even lower. So glad Valve is addressing compile time. Main reason I hate gaming on Linux. This only applies to Vulkan.

Quote:
“The AMD OpenGL and Vulkan drivers currently use a shader compiler that is part of the upstream LLVM project. That project is massive, and has many different goals, with online compilation of game shaders only being one of them. That can result in development tradeoffs, where improving gaming-specific functionality is harder than it otherwise would, or where gaming-specific features would often accidentally get broken by LLVM developers working on other things. In particular, shader compilation speed is one such example: it’s not really a critical factor in most other scenarios, just a nice-to-have. But for gaming, compile time is critical, and slow shader compilation can result in near-unplayable stutter.”
Until this is addressed for DirectX titles I'll still call Wine gaming a stuttering mess. Especially with how frequently I upgrade my video card drivers.

Silent
(20 items)
CPU
Core i9 9900K... CoffeeTime! @ 4.2Ghz w/ 1v
Motherboard
Maximus VIII Formula
GPU
Radeon VII @ 1900Mhz/1250Mhz w/ 1v
RAM
TeamGroup Xtreem 16GB 3866Mhz CL15
Hard Drive
Samsung 850 Evo 1TB
Hard Drive
Samsung 850 Evo 1TB
Hard Drive
Samsung 850 Evo 500GB
Power Supply
EVGA SuperNova 1200w P2
Cooling
EK Supremacy Full Copper Clean
Cooling
XSPC D5 Photon v2
Cooling
Black Ice Gen 2 GTX360 x2
Cooling
EK-Vector Radeon VII - Copper + Plexi
Case
Thermaltake Core X5 Tempered Glass Edition
Operating System
Clear Linux
Monitor
Acer XF270HUA
Keyboard
Cherry MX Board 6.0
Mouse
Logitech G600
Mouse
Alugraphics GamerArt
Audio
Definitive Technology Incline
Audio
SMSL M8A
▲ hide details ▲

Last edited by WannaBeOCer; 07-30-2019 at 05:20 AM.
WannaBeOCer is offline  
post #10 of 10 (permalink) Old 07-30-2019, 05:11 AM
FOCAL ARIA FTW
 
Wishmaker's Avatar
 
Join Date: Sep 2009
Location: Luxembourg Ville
Posts: 9,196
Rep: 356 (Unique: 276)
Quote: Originally Posted by emeianoite View Post
too late. dualboots
That 90s show

AUDIO: DENON D-2000 -MARK LAWTON & FOCAL ARIA 948 WITH NAD C388 & NAD C568& REGA PLANAR 3 / FOCAL UTOPIA HEADPHONES NEXT / HOME CINEMA : YAMAHA AVENTAGE RX-A860
CARS : BMW M3 CSL E46 / AUDI A4 2018 3.0 TDI MTM tuned (340 HP) / Focus RS MK3 2017 NB - full option (400 HP) / Ford Fiesta Cherry Red - 1.0 Ecoboost @145 HP / Audi Q3 2018 - 1.4 TFSI @ 150 HP


Wishmaker is offline  
Reply

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off