Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StaticPropLighting in VRAD has become extremely slow #6114

Closed
halfpeeps opened this issue Dec 11, 2024 · 3 comments
Closed

StaticPropLighting in VRAD has become extremely slow #6114

halfpeeps opened this issue Dec 11, 2024 · 3 comments
Labels
Tools The issue relates to the modding and development tools.

Comments

@halfpeeps
Copy link

halfpeeps commented Dec 11, 2024

Details

Seemingly after an Update on December 2nd to the 64bit branch, VRAD (bin/win64) has become incredibly slow and unstable, specifically for ComputeStaticLighting, with it taking considerably longer than it used to (30 seconds has become 6 minutes), and sometimes crashing altogether (possibly unrelated). We have tested on multiple systems and with multiple map files, including ones that compiled fine before December 2nd.

Our vrad parameters are:
-hdr -final -StaticPropLighting -StaticPropPolys -TextureShadows -ambientocclusion -LargeDispSampleRadius -noskyboxrecurse -game $gamedir $path\$file

Steps to reproduce

  1. Load a map with a moderate/regular amount of props
  2. Enable StaticPropLighting in light_exe parameters
  3. Compile
@robotboy655 robotboy655 added the Tools The issue relates to the modding and development tools. label Dec 11, 2024
@robotboy655
Copy link
Contributor

This slowdown is due to the fact that static prop lighting was always working in "fast" mode, as if -fast parameter was present. This was fixed in CS:GO, and now in GMod to correctly do a fast pass only when -fast option is enabled.

If you are experiencing crashes, please report them properly, by providing steps to reproduce, or at the very least the crash dumps.

@robotboy655 robotboy655 marked this as a duplicate of #6124 Dec 17, 2024
@Unusuario2
Copy link

this issue maybe is related to #6121

@halfpeeps
Copy link
Author

This slowdown is due to the fact that static prop lighting was always working in "fast" mode, as if -fast parameter was present. This was fixed in CS:GO, and now in GMod to correctly do a fast pass only when -fast option is enabled.

If you are experiencing crashes, please report them properly, by providing steps to reproduce, or at the very least the crash dumps.

To anyone who comes accross this, this was the answer, the slow speed is intended behaviour. (The crasing was unrelated and is now fixed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools The issue relates to the modding and development tools.
Projects
None yet
Development

No branches or pull requests

3 participants