First post, by bLUEbYTE11
Hi,
I am trying to get dosbox 0.65 running on linux, without the X server. The reason for this is because X is slow; I want good response latency. In my system X is not even installed.
As you might know, SDL can supposedly use one of the numerous video output drivers, svgalib, directfb, fbcon etc, using the SDL_VIDEODRIVER environment variable.
So, I began trying a few video drivers, namely fbcon, diretfb, svgalib and ggi, since these seem to be good candidates for my aim (especially svgalib and fbcon). directfb and ggi did not work at all no matter what I did, always giving some absurd error.
And something amazing happened. Svgalib made dosbox run in native dos VGA resolution (my montitor shows as 720x400@70hz). And I immediately felt in love with it. BUT, something bad was got to happed, and it did, my keyboard keys layout was completely screwed...
It was like keys were shifted to the left, and up. Speaking based on an US keyboard, [ printed e, q and w some numbers (7 and 8 IIRC), hope you get the idea.
Later I got it working with fbcon too, but exactly the same problem...
I tried it with two different linux distros and kernels (2.6.12 & 2.6.16) and it's the same.
Of course I can't use keymapper, because I cannot do ctrl+f1. Moreover, pressing some of the keys immediately crashes dosbox. I think this is because the key codes are shifted, some keys correspond to invalid codes and crashes it.
So it is almost certainly not a svgalib problem, but it seems that something bad happens with keyboard key mappings when svgalib or fbcon was used as the SDL video driver...
Please help, if you have any idea, as I want to run dosbox with svgalib so badly! Thanks in advance