
Kayzzen
Published
sudo chvt 3 && sudo chvt 2; %command%
When starting the game in full screen, a black screen is displayed.
After switching virtual consoles, full screen mode works perfectly.
To change virtual console for example press:
ctrl + alt + f3
And in my case to go back:
ctrl + alt + f2
You can press the other Fn[1-12] to find where your graphical environment was initialized.
I have it set to run sudo command without password for chvt command which has the same effect ctrl+alt+fn
So I inserted as an argument before starting the game:
sudo chvt 3 && sudo chvt 2; %command%
Example to configure /etc/sudoers
## Same thing without a password
# %wheel ALL=(ALL:ALL) NOPASSWD: ALL
%wheel ALL = NOPASSWD: /usr/bin/chvt
I still haven't figured out what causes this bug, I don't know the game/wine doesn't correctly detect the port where the monitor is connected or maybe it's because SDDM doesn't start on Virtual Console 1 / TTY1.
It just needs a little polishing to be platinum.
On my 2560x1440 monitor I needed to change the configuration file .frozenbyte/trine2/options.txt to the lines below:
setOption(renderingModule, "ScreenWidth", 2560) setOption(renderingModule, "ScreenHeight", 1440)
Some buttons on the controller are shortcuts or alternatives that bug movement or certain mechanics. It was necessary to disable it in the controller configuration menu.
Practically ready for games, just configure the control in the game menu by removing alternative commands. I don't know if this problem is only with the Linux version.
It was only necessary to change the resolution (2560x1440) in the configuration file:
.frozenbyte/Trine3/options.txt
setOption(renderingModule, "ScreenWidth", 2560)
setOption(renderingModule, "ScreenHeight", 1440)