Open maciekmm opened 8 years ago
Mesa currently does not have an on-disk shader cache, these delays are most likely from the shader compiler working from the main thread and is directly proportional to your processor's single threaded performance.
Hm, I think that shader cache only really helps during map load (cl_forcepreload 1) etc, not quite sure it affects game startup times. You mind capturing game load with tool such as "sysprof" and posting output here? That should actually give us much better idea where the hang is (since there is no crash dump I doubt valve can do much about this).
I'm experiencing very long start up time, as well. Open source Radeon, as well.
I'd be happy to debug using sysprof
or anything that may help.
Could you please give some pointers?
Oh, and, during game startup, it seems that it occurs mostly if not entirely on a single thread.
I tried Google and didn't find it.
Is there a single upstream issue where I can see the progress of this?
Assuming that this is an exclusively upstream issue.
Perhaps an upstream issue for each driver?
While this is not a bug, rather it is a missing feature, I am tagging it this way for consistency.
I'm experiencing the same issues on the Intel graphics driver. The game launches and seems to hang, but if you wait it out it will eventually show the menu screen. When joining a server it's the same again and it will appear to hang. After waiting for what feels like forever it finally loads up and I'm able to play.
CPU: Intel Core i3-4010U CPU @ 1.7GHz (w/ Intel® HD Graphics 4400)
RAM: 7896MiB
Disk: ST500LM000-SSHD-8GB (LVD4)
@mightyiam @InFerYes It appears the shader cache is now available for the Mesa RadeonSI Gallium3D drivers (Not sure if enabled by default), and was recently added in Mesa 17.4-dev Git for Intel folks using i965 (definitely not enabled by default). Hopefully this will be enabled in Mesa 18.0.
Reference: https://www.phoronix.com/scan.php?page=article&item=intel-glsl-cache&num=1
Enabling the on-disk shader cache for mesa/intel is currently in review: https://lists.freedesktop.org/archives/mesa-dev/2017-November/176052.html
Phoronix did benchmark few days ago (https://www.phoronix.com/scan.php?page=article&item=intel-glsl-cache&num=2), although there is no cs:go judging by dota2 improvements I wouldn't be holding my breathe for amazing improvements.
Logs from steam startup: http://pastebin.com/umYP0Yym <- Notice lines 249+
The issue does not occur on proprietary drivers.
Game installed on HDD.