Hello im having a problem in source games on steam in garuda Linux, on launching it says limited glyph support and some Locale errors. sorry im new here so i dont know whats wrong with it but ive seen this in XFCE and KDE versions etc of Garuda.
Here is the error
SetLocale('en_US.UTF-8') failed and a few arguments sorry i cant post a ss because im a new user
here is my Output of my system from the garuda-inxi command
Thanks glad to be here
i checked the error in the Web and some sites didnt cover it so i had to find crumbs of information about it i tried it but still in source games like Sven-Coop i get that error when i start the game but if i press ok game runs without errors and silky smooth but im concerned if its something with the localization because this isnt the first time 4 months ago i tried Garuda XFCE and it had the same issue in source games with that warning im coming from Manjaro in there i didnt had that error at all but it was a clunky distro and i really liked Garuda development and idea and thought id give it a try on it and my experience its satisfying till now so ill have to see more
anyways about the error i tried to generate locale see the conf file etc etc its either some bad configuration or i did not do the steps to fix it correctly
It also seems inline for the fix about this for SteamOS and the same error in this YouTube video starting at 1:19:
While that is based on a different distro, the locale instructions should be the same. Also after editing and generating the locale don't forget to logout and/or reboot.
Alright so i did those steps as well but found out in locale.gen there wasnt any writing of languages there so i just write it there the UTF8 and i did locale-gen with the output of:
but after Reboot the problem still persists as showing a long error code for the LC locales and the failed statement maybe i need to dig more into it? any ideas as ive noticed this only on Garuda Linux. The os runs perfect its just this annoying error coming through in Source based games.
now i did some research and found a package named
"glibc-locales-2.33-1-x86_64.pkg.tar.tar"
It wasnt in the Pamac and i couldnt find it on any repositories anyways i downloaded the file and installed it via terminal everything went good in installation and after reboot i try the game and it just simply launches black screen for a mere millisecond and closes seems like its crashing but my other games which are not based on Source engine are not crashing at all only this looking into the problem again lets see what i find out as im new to this
My locale.gen was all comments for available locales and then the Calamares installer entry for en_US.UTF-8. Your output looks correct for locale -a, or at least, what mine reports too. All indications are that it was accomplished, but as you pointed out the game still doesn't like it.
Just to make sure, what is in your locale.conf file now? It should look similar to this:
You can get that output either by doing cat /etc/locale.conf or locale, should be the same for both. This is just a confirmation, making sure locales are there.
Can't provide much input on glibc-locales file, though would caution going outside repos provided. Besides being unsupported, it can have disastrous effects on your install. Even when someone higher up the food chain suggests this you want to give them the side eye...