Open miranda opened 2 months ago
Your conf file works fine here on ArchLinux SDL1 & SDL2.
Hmmm. Well not here. Not sure what I can do to figure out what's going on. Perhaps this only happens on KDE 6?
Is there any way to change the output mode with a command after Dosbox-X is started?
You can change settings with config
command.
For instance config -set output=opengl
Thanks, that works. I set config file to surface and then change to openglnb in my autoexec section.
The bug is real, but not sure how to diagnose what causes it. There's other weirdness going on, like fullscreen mode insists on moving to my main display. I had to set up window rules in KDE to force the window to the second display where I want it. No options in dosbos-x.conf would let me start it on the correct display.
Anyway, this workaround works for me.
Does this occur with SDL2 or SDL1 based builds?
This might be something to bring to the Simple Directmedia Library dev's attention as well.
I'm using the prebuilt chaotic-AUR package, it appears to be using SDL2...
ldd /usr/bin/dosbox-x | grep SDL
libSDL2-2.0.so.0 => /usr/lib/libSDL2-2.0.so.0 (0x00007cb1e12eb000)
Describe the bug
I cannot change the output mode in the conf file. I can only change it if it is set to default or surface, and then use the menu to change it. All output modes work, but only when selected from the menu. If the conf file is used instead, an invisible window will be created.
Steps to reproduce the behaviour
Expected behavior
I expect it to start in the output mode selected, but instead Dosbox-X is completely invisible. If it is set to full screen mode, the invisble window obscures my entire desktop and everything becomes unclickable. I then have to alt-tab to a terminal and sudo reboot.
What operating system(s) this bug have occurred on?
Garuda Linux 6.8.5-zen1-1-zen, X11, KDE Plasma 6
What version(s) of DOSBox-X have this bug?
2024.03.01 from Arch Linux AUR
Used configuration
Output log
No response
Additional information
dosbox-x.conf.tar.gz
Have you checked that no similar bug report(s) exist?
Code of Conduct & Contributing Guidelines