sphereFACE
sphereFACE > General Discussions > Topic Details
volnes Mar 7, 2018 @ 11:23am
[Linux] Graphics and camera settings not saved
There a bug, when i run game and change graphics or camera setting, then i exit from game and settings not saved...
And when game starts and i press 'ESC' game freeze on 5-10 secs.
Currently using Ubuntu Mate LTS (16.04.4)
My Hardware is laptop on optimus technology:
CPU: Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz
RAM: SO-DIMM DDR3 8Gb 1333MHz
HDD:SAMSUNG HM320II 320Gb
Video: Intel HD 3000 + Nvidia 540M
< >
Showing 1-11 of 11 comments
VoxelStorm  [developer] Mar 9, 2018 @ 4:06am 
The settings should be saved in the current working directory from where the game is executed, in a file named sphereFACE.cfg. The game must have permission to create this file so the directory you run it from must be writable.

By default, the executable would be found in ~/.local/share/Steam/steamapps/common/sphereFACE/sphereFACE and the config file should be saving to ~/.local/share/Steam/steamapps/common/sphereFACE/sphereFACE.cfg when the game is executed from Steam. The log file, score file and theme file should also be created here. Can you check the ownership and permissions of this directory (ls -alh ~/.local/share/Steam/steamapps/common/sphereFACE)?

If all the permissions appear correct, can you also check if config file saving works correctly when you run the executable manually from a terminal? It should create the files in whatever directory you're in when you call the executable.

The console output might also give an indication if there's any error.
volnes Mar 9, 2018 @ 5:18am 
here a permissions:

-rwxrwxr-x 1 volnes volnes 180K мар 7 20:20 libgomp.so.1
-rwxrwxr-x 1 volnes volnes 167K мар 7 20:20 libmvec.so.1
-rwxrwxr-x 1 volnes volnes 279K мар 7 20:20 libsteam_api.so
-rwxrwxr-x 1 volnes volnes 128K мар 7 20:20 libudev.so.1
-rwxrwxr-x 1 volnes volnes 0 мар 7 20:21 .placeholder
-rwxrwxr-x 1 volnes volnes 65M мар 7 20:21 sphereFACE
-rw-rw-r-- 1 volnes volnes 1,9K мар 8 11:29 sphereFACE.cfg
-rw-rw-r-- 1 volnes volnes 191 мар 8 11:29 sphereFACE.score
-rw-rw-r-- 1 volnes volnes 7,2K мар 8 11:29 sphereFACE.theme
-rwxrwxr-x 1 volnes volnes 384 мар 7 20:21 start_linux.sh
-rwxrwxr-x 1 volnes volnes 7 мар 7 20:21 steam_appid.txt

Here a log when i run game from terminal:
https://pastebin.com/17RUfkB1


volnes Mar 9, 2018 @ 5:22am 
and one more there a weird conf file:

https://pastebin.com/iixCjHMw
VoxelStorm  [developer] Mar 27, 2018 @ 8:35am 
Originally posted by volnes:
-rw-rw-r-- 1 volnes volnes 1,9K мар 8 11:29 sphereFACE.cfg
-rw-rw-r-- 1 volnes volnes 191 мар 8 11:29 sphereFACE.score
-rw-rw-r-- 1 volnes volnes 7,2K мар 8 11:29 sphereFACE.theme

It looks like permissions are correct for these three files, so the game should be able to write to them, unless something is being executed as a different user than "volnes"?

However, looking at the logs, you have:
Exception while loading settings with json parser: <unspecified file>(10): invalid code sequence, retrying with old ini parser... Exception while loading settings with ini parser: <unspecified file>(1): '=' character not found in line

...and looking at your config file, it looks like your seed is set to:
"random_seed": "1В395",

...which is not a number. Not really sure how that could have happened, but try changing that to just a numerical string (1234 or similar) to see if that resolves the issue?

The other possibility is that there's a problem with the locale, as I see you're launching the game in a Russian locale. In theory this shouldn't cause any problems, but it might be worth trying to change your session language to English for the duration of the run to see if that resolves the problem.
volnes Mar 27, 2018 @ 9:26am 
Originally posted by VoxelStorm:
Originally posted by volnes:
-rw-rw-r-- 1 volnes volnes 1,9K мар 8 11:29 sphereFACE.cfg
-rw-rw-r-- 1 volnes volnes 191 мар 8 11:29 sphereFACE.score
-rw-rw-r-- 1 volnes volnes 7,2K мар 8 11:29 sphereFACE.theme

It looks like permissions are correct for these three files, so the game should be able to write to them, unless something is being executed as a different user than "volnes"?

However, looking at the logs, you have:
Exception while loading settings with json parser: <unspecified file>(10): invalid code sequence, retrying with old ini parser... Exception while loading settings with ini parser: <unspecified file>(1): '=' character not found in line

...and looking at your config file, it looks like your seed is set to:
"random_seed": "1В395",

...which is not a number. Not really sure how that could have happened, but try changing that to just a numerical string (1234 or similar) to see if that resolves the issue?

The other possibility is that there's a problem with the locale, as I see you're launching the game in a Russian locale. In theory this shouldn't cause any problems, but it might be worth trying to change your session language to English for the duration of the run to see if that resolves the problem.


Well problem with locale confirmed, i add these 'LC_ALL=C %command%' in game steam params, and setting now saved.

But when game starts and i press 'ESC' game freeze on 5-10 secs problem still here:
Here a video[drive.google.com]
VoxelStorm  [developer] Apr 5, 2018 @ 5:42am 
Glad to hear you were able to work around the problem with the locale. We've now filed a bug report on our tracker for the issue, and will hopefully resolve it in future versions. You can follow its progress here: https://bitbucket.org/voxelstorm/sphereface/issues/402/loading-config-fails-in-russian-locale
volnes Apr 5, 2018 @ 6:38am 
Originally posted by VoxelStorm:
Glad to hear you were able to work around the problem with the locale. We've now filed a bug report on our tracker for the issue, and will hopefully resolve it in future versions. You can follow its progress here: https://bitbucket.org/voxelstorm/sphereface/issues/402/loading-config-fails-in-russian-locale
What about freezes? Do you see a video?
VoxelStorm  [developer] Apr 5, 2018 @ 3:04pm 
There can be a slight delay when first rendering the menu fonts, but it's usually less than a second; we're not really sure what might be happening in your case. Does it occur every time you access the menu, or just the first time? Any heavy system load at the time? Does it occur in the same way regardless of your locale setting?
volnes Apr 5, 2018 @ 8:51pm 
Originally posted by VoxelStorm:
There can be a slight delay when first rendering the menu fonts, but it's usually less than a second; we're not really sure what might be happening in your case. Does it occur every time you access the menu, or just the first time? Any heavy system load at the time? Does it occur in the same way regardless of your locale setting?
Every time! And no matter what locale used. And no heavy load too...
tuxdelux May 1, 2018 @ 1:31pm 
Can confirm the 8-10 second freeze on ubuntu 16.04.4 64bit (with both amd radeon graphics and also intel graphics card).
Happens both at the main menu and in-game.
This does not happen when sphereface is disconnected from the internet (hmmm!)
Last edited by tuxdelux; May 27, 2018 @ 3:15pm
VoxelStorm  [developer] Jun 18, 2018 @ 10:22am 
Oh! Good observation. In which case, it's likely to be the version checker which lets you know if there's a newer version available to download. You can see the details of that in the "about" menu.

However, the timeout for this should only be a few seconds, and it shouldn't hold up the menu loading... so please report this as a bug on our bug tracker: http://code.voxelstorm.com/sphereface
< >
Showing 1-11 of 11 comments
Per page: 15 30 50

sphereFACE > General Discussions > Topic Details