I think I’ve provided all the required logs. My apologies if I missed something.
The file created by running lutris --submit-issue in a terminal. Ubuntu Pastebin
Output of lutris -d. Kill Lutris and run lutris -d through a terminal. Reproduce your problem and share the output. Ubuntu Pastebin
Debug log of your game.
Started initial process 12204 from /home/toddpanek/Games/gog/master-of-magic/start.sh
Start monitoring process.
Running Master of Magic
Starting DOSBox
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 153 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x966
Serial number of failed request: 233
Current serial number in output stream: 235
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
CONFIG:Loading primary settings from config file dosboxMOM.conf
CONFIG:Loading additional settings from config file dosboxMOM_single.conf
MIXER:Got different values from SDL: freq 44100, blocksize 1024
ALSA:Can’t subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
Done.
Monitored process exited.
Initial process has exited (return code: 0)
All processes have quit
Exit with return code 0
OK - the solutions above didn’t seem to work. I’ve been trying different combinations of the video settings under the “Configure” option for the game in Lutris. When I modified the “Switch Resolution” from “Keep current (default)” to different settings like “1368x768” the game will start into a black screen and the music will play. No video appears, though, and I have to kill DOSBox to exit.
But that is farther than it was getting before. Any other suggestions on perhaps figuring out the right settings?
Following up here in case it’s helpful to anyone else.
My laptop is a System76 Gazelle. It has both integrated graphics and Nvidia graphics which can be switched on reboot. My normal use is the integrated graphics for better battery life. On a hunch, I tried rebooting and switching to Nvidia. The game ran just fine.
So I have a workaround but still haven’t figured out how to configure the integrated graphics to get the game to run again.
Argh! Getting that same error. It must be the video resolution?
Started initial process 20050 from /home/toddpanek/Games/gog/master-of-magic/start.sh
Start monitoring process.
Running Master of Magic
Starting DOSBox
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 153 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x7e7
Serial number of failed request: 233
Current serial number in output stream: 235
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
CONFIG:Loading primary settings from config file dosboxMOM.conf
CONFIG:Loading additional settings from config file dosboxMOM_single.conf
MIXER:Got different values from SDL: freq 44100, blocksize 1024
ALSA:Can’t subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
Done.
toddpanek@pop-os:~$ /home/toddpanek/Games/gog/master-of-magic/start.sh
Running Master of Magic
Starting DOSBox
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
CONFIG:Loading primary settings from config file dosboxMOM.conf
CONFIG:Loading additional settings from config file dosboxMOM_single.conf
MIXER:Got different values from SDL: freq 44100, blocksize 1024
ALSA:Can’t subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 153 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x7e7
Serial number of failed request: 231
Current serial number in output stream: 233
Done.
well, we have learned a lot now, it is not a lutris issue. it seems to be something with the script. Also, maybe you have a local installation of the dosbox.
In any case, can you share the contents of the script file?
One question - the game will run through Lutris when I change graphics mode from the integrated graphics to Nvidia. Also, when running the integrated graphics, I was able to get it running but only heard the game music with a blank screen.
…I’ve been trying different combinations of the video settings under the “Configure” option for the game in Lutris. When I modified the “Switch Resolution” from “Keep current (default)” to different settings like “1368x768” the game will start into a black screen and the music will play. No video appears, though, and I have to kill DOSBox to exit.
From what I understand, the nvidia driver does all it should but the integrated graphics are not. Also, like you said it has to do with the window size so in those conf file you should try to set some windowed output setting.