Please set fullscreen to 0 by default

Issue #164 resolved
Teg created an issue

By default on a clean install, the game will try to fullscreen on launch. This can cause some issues on GNU/Linux machines where the whole resolution gets forced to 640 and you cannot navigate the menus and therefore reboot the system to get out.

If fullscreen is set to 0 by default, the user can then setup their resolution properly and make the decision to have it fullscreen or not from there.

Comments (6)

  1. Purkkaviritys

    @bteg What distribution you're using? And what desktop you're using? Have you tried changing the X11 resolution with xrandr or one of the GUI utilities e.g. arandr when it occurs? Have you tried restarting just the X11 before restarting the machine? I think there's a fair chance you don't have to restart the whole machine because of this issue. You should be able to navigate menus (at least in XFCE, Gnome and LXDe) when this happens.

    I recognise the problem you're describing and I think that it isn't really Daikatana issue. It's probably an issue in how the X11 fundamentally works and how it's been designed. This whole thing occurs basically because Daikatana is set to try fullscreen mode at start, and it then tries to set itself to higher resolution than your monitor supports by default. When that fails, DK will default to 640p or something like that and X11 follows in suit with "a broken fullscreen mode" caused by the attempt to change the resolution while in "fullscreen". This has been broken for at least two decades, if I recall correctly.

    This is an issue in most Linux games and other software that uses "fullscreen" mode. Circumventing it by setting the fullscreen to 0 by default is one way to do it. But if anything there probably could and should be some added mechanic in Daikatana to query resolution from X11 and try to set to that by default. Another way to circumvent this would be that DK wouldn't have an actual fullscreen mode but would be run in "borderless fullscreen window mode" like Valve did with all the source engine based games and most new Linux games do that. Game window would always be set to what resolution X11 is running and inside that window game would be run in some arbitrary resolution. Also something to bypass the window manager might be a good idea.

  2. Teg reporter

    I'm using Ubuntu 16.04 (Unity desktop) with an Nvidia GTX 970 running the 367 drivers. I run my desktop at 1080p, which is the default resolution for my 144hz ASUS VG248QE monitor. If the game starts up in windowed mode and then I change the resolution in-game to 1920x1080 and enable fullscreen, it works as it should when I hit apply.

  3. Frank Sapone

    Have you tried alt+enter? You could also pull down the console with shift+escape and type /vid_fullscreen 0.

  4. Teg reporter

    That's besides the point considering I had to manually force fullscreen off in a config file. I'm just saying it would be nice to have it set to 0 by default to make life easier for others. Many other games do this.

  5. Frank Sapone

    The code already defaults to 0, but the default.cfg and daikatana.cfg (default configs used for initial first time startup) set it to 1. I've reverted the behaviour to 0 so new installs of DK will default to windowed mode on first time startup.

  6. Log in to comment