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
New values of mem min and max heapsize don't work on Linux #746
Comments
Do you know if they worked before? |
I didn't usually check these ConVars, but the last time I checked them (before the 64-bit update), on Windows, yes, they were working. I didn't check the ConVars in the meantime after the 64-bit update, but before this issue. I noticed this today after the new mastercomfig release. It would be interesting to test this on a Windows machine. I no longer use the OS, so I don't have access to one to test. If, currently, DX Override works on Windows, then it's either a Linux- or POSIX-only problem, or an internal change to TF2's code in the way it handles Linux/POSIX systems. It would be interesting to test with replacing the values in the |
Yes but I mean on Linux, could you test if they were working, on a pre-demos branch? Because on Windows, dxsupport works. Also dxsupport_override.cfg and the "dxsupport" key is used regardless of platform, so the reason it's not being applied is some other reason besides the file, most likely the dxlevel is wrong for targeting Linux. |
For me, it is not possible to test on older Linux branches, as there are technical errors that prevent it. I tested all branches (with the exception of
When trying to open directly through a terminal using the following combinations for all branches...
...they all lead to the following same result:
And the game doesn't open. |
A possible solution would be to define it directly through the console (in comfig.cfg), but I don't know if that would work. |
They have to be set early in dxsupport, not in a cfg, so it won't work. Also you have to launch with the correct library path on Linux, but maybe launching with -gl will be fine on the current version. |
I believe the right path from here would be to open an issue on Source-1-Games. |
Also, the The others ConVars are visible, but they have a different default (especially when returning their default values). Also notice that DX Support Override seems to be completely ignored in Vulkan. |
@mastercoms Hi there, do you have any suggestions/ideas regarding this issue? I'm thinking about creating an issue on Source-1-Games repo, but if you have something to say please let me know before I proceed. Thanks in advance. |
Hello there.
The latest release of mastercomfig increased the values of
mem_min_heapsize
andmem_max_heapsize
to144
and720
from the defaults of64
and512
, respectively.However, the ConVars still follow their default values and do not obey
dxsupport_override.cfg
(at least according to the developer console).I have noticed new files in
TF2_FOLDER/bin
that start withdxsupport_
, and I assume they are new files from the 64-bit update. One of them isdxsupport_linux.cfg
.I tried to use a new
dxsupport_override.cfg
file with new categories,dxsupport_linux
anddxsupport_mac
(based on the actual categories of the new files), but the heapsize ConVars stayed at their default values.Here's what I tried: a VPK named
_dxsupport_override.vpk
, containing a single file nameddxsupport_override.cfg
with this inside of it: https://0.jaegers.net/?8047db42db60cbbb#HZ9vHK5Zedtqxiypr18RiyYkPGqW915jUGn8i5pR6hTe. Sadly, it didn't work.I also tried with a VPK using only "dxsupport_linux" inside the file (basically using the existing file but adding "_linux" to the category name and replacing the testing VPK) and it also did not work.
I do not know if the new values from mem min and max heapsize work normally on Windows.
My assumption is that this patch changed DirectX in some way that it does not respect DX Override anymore, but that's just a guess. (FYI, DirectX on Linux before this patch had
mat_dxlevel
min 90 and max 92, but now it is min 90 and max 100.)The text was updated successfully, but these errors were encountered: