VOGONS


Fullscreen (Sparc)

Topic actions

First post, by sergio7

User metadata
Rank Newbie
Rank
Newbie

Hi all,

I installed Dosbox-0.72 on my Solaris10 Sparcstation (gcc), works fine, only trying to switch to fullscreen i get the classical :

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 131 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Serial number of failed request: 51
Current serial number in output stream: 52

- same issue with my old Dosbox-0.65 on Sparc. On Solaris 10x86, no problem.

- also, i looked at my SDL (test) : the fullscreen is really available. And another SDL-based app i have supports easily the fullscreen mode.

- i builded also Dosbox without opengl, but that doesn't helped.

Any idea about the way i can try to solve that would be great appreciated...

Cheers,

Sergio

Reply 1 of 14, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

have you tried output=overlay ?
DOSBOX_SDL_OUTPUT=overlay ./dosbox

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 14, by sergio7

User metadata
Rank Newbie
Rank
Newbie

Hi Qbix,

Fantastic ! It works !

- but the usable part of the window isn't enlarged : now i suspect that is my SDL installation related. But where...

Great thank's,

Cheers,

Sergio

Reply 3 of 14, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

hi sergio,

try creating a configfile for dosbox (in dosbox: config -wc ~/.dosboxrc )
and edit that file. you can set the output there as well as well as other options that govern the size of the emulated window

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 14, by sergio7

User metadata
Rank Newbie
Rank
Newbie

Hi Obix,

OK : full working !

Thank's greatly to you for your very useful help.

Cheers,

Sergio

Reply 5 of 14, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Sergio - maybe you an Qbix could arrange for a copy of your build to be made available on the www.dosbox.com site?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 6 of 14, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Installation is rather straightforward by using autogen/configure tools.

Reply 7 of 14, by sergio7

User metadata
Rank Newbie
Rank
Newbie

Hi MiniMax,

OK : first i'll learn again the best configuration (screen, keyboard) i'll find for Solaris/Sparc, and after that report it here on the forum (or somewhere else ?) ASAP. Maybe also about the build itself if something seems really interesting.

Cheers,

Sergio

Reply 8 of 14, by sergio7

User metadata
Rank Newbie
Rank
Newbie

Hi wd

It seems that i bad understand the question from MiniMax : effectively, i can provide my executable itself, if i have a way to upload it. Other hand, as you tell, the build is very easy for everyone on Solaris, even Sparc.

Cheers,

Sergio

Reply 9 of 14, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The probably biggest problem in getting a *working* dosbox build is the keyboard,
at least that's the part that didn't work out of the box for me.

Reply 10 of 14, by sergio7

User metadata
Rank Newbie
Rank
Newbie

Hi wd,

For me (Solaris/Sparc, french Sun keyboard), finally the only thing is to switch "usescancodes" to false in dosbox.conf. After that, mapper.txt can be present or not present, that has no effect, the keyboard is always working.

On any PC with Solaris x86, i remember that i needed only the dosbox executable i builded with gcc, without any config file, and my french keyboard was also working.

Maybe the solution resides in the fact to have SDL builded on the same machine, or similar way ?

Sergio

Reply 11 of 14, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

the only thing is to switch "usescancodes" to false in dosbox.conf

Yes i know (direct scancode translation is basically only available for win+linux)
but that's the hard part if you don't have a dosbox.conf 😀

Reply 12 of 14, by sergio7

User metadata
Rank Newbie
Rank
Newbie

In this case, the easiest is to :

-open an empty file called dosbox.conf ;
- juste type :

[sdl]
usescancodes=false

Save the file, launch dosbox with this file in the same directory : after that, you should be able to type in the dosbox window :

config -wc dosbox.conf.new

(or any name you want)

And you will get a standard dosbox.conf.

Otherwise there are some dosbox.conf examples on the Web.

Sergio

Reply 13 of 14, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Well i know about how to change the layout 😉
It's just that as far as i remember this was the only thing that didn't work
out of the box, that's why i've mentioned it.

Reply 14 of 14, by Copter

User metadata
Rank Newbie
Rank
Newbie
Qbix wrote:

have you tried output=overlay ?
DOSBOX_SDL_OUTPUT=overlay ./dosbox

Thanks Qbix. I had similar problem (MIT-SHM, X_ShmPutImage) with Death Rally on Ubuntu Netbook Remix 9.04. Setting output to overlay did the trick 😀