https://bugs.freedesktop.org/show_bug.cgi?id=100239
--- Comment #27 from Timothy Arceri t_arceri@yahoo.com.au --- (In reply to Bruno Jacquet (Xaapyks) from comment #26)
(In reply to Michel Dänzer from comment #25)
(In reply to Bruno Jacquet (Xaapyks) from comment #23)
So I'd say the issue is still there.
Maybe you have a ~/.drirc or other drirc file which gets picked up and disables radeonsi_zerovram? (E.g. due to ever starting the old "driconf" application with a driver which supported the option)
~/.drirc and /etc/drirc do not exist on my fs. /usr/share/drirc.d only contains 00-mesa-defaults.conf which is not modified from what the mesa build provides and is packaged in Arch.
strace seems to confirm it is not loading any other "drirc" file any and I don't have any "*MESA*" or "*GL*" env var.
I just tested the trace from comment 16 on my Vega 64 and using the environment variable fixed the issue for me. Do you have an old kernel? radeonsi_zeroram=true will do nothing on pre 4.9 kernels.
If you have at least 4.9 can you try closing steam then running it from the command line with:
radeonsi_zeroram=true steam
And then run CS:GO. This should force the setting even if your system is not picking up the right config file.