Jump to content

comrad

Member Since 14 Aug 2017
Offline Last Active Sep 21 2018 12:10 AM
-----

Topics I've Started

InDev 31 - Ubuntu Linux 18.04 - Start fails when fullscreen on dual monitor setup

19 September 2018 - 01:07 PM

I'm running Kubuntu 18.04 with a dual monitor setup on NVIDIA 390.48. I've switched to fullscreen in the menu. After that the startup fails with this log:

Thread Pool Size: 16

Rise to Ruins InDev 31
Operating System: Linux
GPU Drivers: null
GPU Driver Version: null
Maximum JVM Memory: 7148MB
Wed Sep 19 20:52:19 CEST 2018 INFO:Slick Build #237
Initializing Display Mode: Full Screen
Set full screen resolution not valid, resetting to default.
org.newdawn.slick.SlickException: Failed to find value mode: 3840x1080 fs=true
    at org.newdawn.slick.AppGameContainer.setDisplayMode(AppGameContainer.java:210)
    at rtr.system.Game.reinitDisplay(Game.java:139)
    at rtr.system.Game.launchGame(Game.java:90)
    at rtr.system.Launcher.main(Launcher.java:52)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)

After changing the value "fullScreenResolutionW" to "1920" in "profiles/settings.properties" it works in fullscreen as wanted (even has the KDE menu bar hidden).