Volgarr the Viking
Fullscreen doesn't work and breaks game/need to restart of logout
if I put it in fullscreen mode my whole screen starts glitching and shaking and i cannot undo that unless I reinstall and i can't stop the game unless i logout or restart, please fix this bug.
< >
Showing 1-15 of 87 comments
Taron  [developer] Jun 19, 2015 @ 9:12am 
EDIT: For newcomers to this thread, this issue has been found to only happen on certain Linux distributions and only on the Steam version. The game is technically only supported on Ubuntu. However, a workaround is available by switching to the "SDL" Beta branch for the game. Right-click on Volgarr in your Steam Library, click Properties, then go to the Betas tab, and select SDL from the drop down. More information on why this happens is available later in this thread.
Last edited by Taron; Aug 14, 2017 @ 8:25am
I do not have this option I am running this game on Linux
Taron  [developer] Jun 21, 2015 @ 8:15am 
Oh, well, in that case I really have no idea, the game is just using SDL to handle all the details like that on Linux so I really have no way to make adjustments or fixes for issues like that. I haven't had any other reports of this issue on Linux but I honestly know very little about it, other than that it works fine on my own copy (latest version of Ubuntu). If its not working for you in either Full Screen or Full Screen Windowed mode and no system level tweaks can fix it than you may want to just consider getting a refund.


Very sorry about that, wish I could help :(.
Why is the Linux port using SDL instead is the real question you should change it to openGL instead that may fix the issue
Taron  [developer] Jun 22, 2015 @ 9:42am 
It IS using OpenGL, SDL uses OpenGL for graphics. SDL also handles sound, input, and so on. SDL is also what Steam recommends and provides automatically for all games on Linux. Otherwise its impossible to have a Linux game that works on multiple distributions and doesn't require the end user to have to compile the game from source code themselves to run it like a typical Linux app.


I don't know what's different about your system to everyone else's where it works fine, but with the complexity of Linux and its many distributions and open source nature, this is bound to happen now and then. If it happened to every Linux user that would be one thing, than I could reproduce it on my end and change the code to fix it. But since you are the only person to report this problem, troubleshooting your specific system would be the only solution, and obviously I don't have direct access to your system to find out what makes it different than everyone else's (probably something specific to your hardware configuration I'd guess).

Unfortunately I also don't know any standard troubleshooting steps for Linux either. You might try contacting Steam support and see if they might have some suggestions? Or try asking on a Linux gaming forum about what could cause this behavior for an SDL game? But if its only this one game giving you troubles it might not be worth the effort for you.
oh ok than I see, not sure if it would be the open sourced nature I have no problem with any other game doing full screen nor do I think it has to do with my OS and yes it is only this game giving me this issue but i do rather have this resolved for anyone than just sit here still a issue
mainde Jul 10, 2015 @ 6:14pm 
I'm trying it on Xubuntu 14.04.2 and I have the same problem, windowed works fine, if I set fullscreen or fullscreen window the game enters an endless crashing/relaunching loop that can only be stopped by a SIGKILL.

Thanks for the port anyway, the game is quite enjoyable nonetheless.
Taron  [developer] Jul 10, 2015 @ 7:22pm 
Huh...weird (and unfortunate!).

The thing is the code is the same for Linux as it is for Mac and for the SDL Win32 build. In fact the only code that is Linux-specific is the function that sets where to store the saved settings .ini files. Thus I'm not really sure what to do here, I'm not particularly familiar with Linux (learned just enough to be able to get the build process running and where to store the save files) and since it works fine on my machine I could only make wild guesses as to the cause.

If any of you are programmer types or know an experienced linux programmer that can access your machine or duplicate the issue themselves, I'd be happy to show the source code I'm using for the Linux build for full screen mode and try adjusting the code based on any suggestions to see if it fixes anything.

Heck I can show you what the relevant code is right here really, though again keep in mind this is exactly the same code for Linux, Mac, and the Windows SDL builds:

SDL_DisplayMode aDisplayMode = { 0 }; SDL_GetDesktopDisplayMode(mCurrentMonitor == -1 ? 0 : mCurrentMonitor, &aDisplayMode); mDesktopWidth = aDisplayMode.w; mDesktopHeight = aDisplayMode.h; if( mForceFSWidth > 0 && mForceFSHeight > 0 && !mFullScreenWindow ) { mWidth = mForceFSWidth; mHeight = mForceFSHeight; } else { mWidth = mDesktopWidth; mHeight = mDesktopHeight; } if( mFullScreenWindow ) { // FULL SCREEN WINDOW const int pos = SDL_WINDOWPOS_UNDEFINED_MASK | (mCurrentMonitor == -1 ? 0 : mCurrentMonitor); mHWnd = SDL_CreateWindow(mTitle.c_str(), pos, pos, mWidth, mHeight, SDL_WINDOW_OPENGL | SDL_WINDOW_FULLSCREEN_DESKTOP); } else { // FULL SCREEN const int pos = SDL_WINDOWPOS_UNDEFINED_MASK | (mCurrentMonitor == -1 ? 0 : mCurrentMonitor); mHWnd = SDL_CreateWindow(mTitle.c_str(), pos, pos, mWidth, mHeight, SDL_WINDOW_OPENGL | SDL_WINDOW_FULLSCREEN); }

and then later to initialize OpenGL (again the same across all SDL-based builds):

mDataSDL->mGLContext = SDL_GL_CreateContext(mHWnd); SDL_GL_SetSwapInterval(1);

and finally all the rest of the relevant OpenGL initialization and operation is universal across ALL versions, including the standard non-SDL-based Win32 build. There's more surrounding code of course but its the same regardless of full screen or windowed modes.
Last edited by Taron; Jul 10, 2015 @ 7:32pm
Hey so from what I read you may be missing SDL_Quit() in the code which can cause the issue, here is a post about it I hope it helps.

Taron  [developer] Jul 11, 2015 @ 9:50am 
Hmm, interesting, well, I am calling SDL_Quit(), but of course only when you quit the game. Your issue is happening when switching to full screen mode, not when quitting the game, right? If the game ran fine and then bugged out when you quit it, like in that thread, then that would be the likely cause, but this issue is happening when switching to full screen mode in the first place not when quitting the game.

I don't want to make you have to force restart your computer a bunch just to test things (or risk you running the game too long to get a refund from Steam) but, does it make a difference if you try starting the game directly in full screen mode in the first place? If you are familiar with running apps with command line paramaters, you can use the options listed here ( http://steamcommunity.com/app/247240/discussions/0/613940109932737285/ ) to tell the game to start in full screen mode (and even specify what resolution width/height to use) via the command line. If that works, than maybe the problem is switching from windowed mode to full screen mode while the game is running? Maybe SDL on some versions of Linux expects me to force the user to quit and restart the game to switch between windowed and full screen modes rather than doing it on-the-fly like I do now? If so, SDL_Quit() would be involved because you'd quit the game first while in Windowed mode, thus calling SDL_Quit(), then restart the game and it would go immediately to full screen mode from the start.

Still, to be on the safe side I'll add extra safety code that makes sure SDL_Quit() is run by using the atexit() function as they suggest in that thread, but again that only happens when you quit the application.
Last edited by Taron; Jul 11, 2015 @ 10:19am
eggman Jul 11, 2015 @ 11:03am 
I have the same issue as Tom. I just tried -fullscreen and -fullscreenwindow, both with and without -w and -h arguments, and nothing changed.
Last edited by eggman; Jul 11, 2015 @ 11:07am
eggman Jul 11, 2015 @ 11:10am 
Should say though, unlike Tom I've not had to reinstall anything, I use Ctrl+Alt+F1 to switch to console, and kill the processes from there, then switch back.
Taron  [developer] Jul 11, 2015 @ 11:31am 
Are any of you running multiple monitors?
Taron  [developer] Jul 11, 2015 @ 12:17pm 
Well they are all long shots but I tried a few things that I dug up from around the internet with potential issues with full screen mode on SDL games (it looks like full screen mode on Linux games is, in general, a bit sketchy right now, and there's chatter about trying to standardize it better in the future, from what I can see). Since I can't duplicate the issue on my own system I couldn't tell if these suggestions actually really changed anything (i.e. it worked as expected both before and after the changes on my machine).

This includes the suggestion to add atexit(SDL_Quit) for extra safety as well.

I made a build with these test changes and uploaded it, if you want to give it a try. To access it, right-click on Volgarr in your Steam library, click Properties, go to the Betas tab, and select the "patch_test" branch.

EDIT: And now my wife is giving me disapproving looks for working on the weekend so I'll have to check back with you guys later.
Last edited by Taron; Jul 11, 2015 @ 12:19pm
I am running on a single monitor
< >
Showing 1-15 of 87 comments
Per page: 15 30 50