I just installed STK yesterday from pacman and i love it. Using a game controller works great and the gameplay is awesome.
I am running Manjaro (Arch) with xfce and kernel version 3.12 on my asus notebook with GeForce 325M GPU.
But unfortunately i can't change the game's resolution. My screen resolution is 1366x768 and the game suggests the resolutions 1024x768, 1024x640 and 800x600.
The following error messages appear:
- {l Code}: {l Select All Code}
[warn ] irr_driver: The window size specified in user config is larger than your screen!
[IrrDriver Temp Logger] Level 2: Could not find specified video mode, running windowed.
[IrrDriver Temp Logger] Level 2: No FSAA available.
I used xrandr to add the 1024x768 modes:
- {l Code}: {l Select All Code}
xrandr --newmode "1024x768_60" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
xrandr --newmode "1024x768_120" 137.75 1024 1104 1208 1392 768 771 775 826 -hsync +vsync
xrandr --addmode LVDS1 1024x768_60
xrandr --addmode LVDS1 1024x768_120
but that doesn't change anything.
So how can i change the resolution and play the game in fullscreen mode?
Thank you!
Edit: By default there is only one mode defined: 640x480
- {l Code}: {l Select All Code}
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 353mm x 199mm
640x480 59.9
and for example the LightWeightJavaGameLibrary recognizes and uses the added modes too. How exactly does the IrrLicht-Engine get modes and resolutions?
I also tryed to add the modes in the .xinitrc file but STK still can't recognize them.
Should I add the ModeLines to the xorg.conf? If yes: how exactly?