Jerky motion on ATI cards: possible community fix?
- keenmaster486
- Vorticon Elite
- Posts: 542
- Joined: Sun Mar 20, 2016 18:29
- Location: Tranquility Base
- Contact:
Jerky motion on ATI cards: possible community fix?
We all know about the "SVGA compatibility" and "Fix jerky motion" options in the Keen Galaxy menus.
But these do nothing to fix the jerky motion and scrolling glitches on ATI video cards, which are common on retro DOS computers.
One thing I have noticed, however: Keen Dreams, and therefore Atroxian Realm and cksrcmod, are devoid of this jerky motion bug.
So I want to know the following:
1. Why does the Dreams codebase not have that ATI incompatibility?
2. Can we compile new executables using cksrcmod for Keens 4, 5, and 6, to fix the jerky motion bug for good?
I've been mulling this over in my mind for a while, ever since I built a retro DOS computer with an ATI card and ended up banging my head on the table because it's incompatible with Keen.
But then I discovered that Atroxian Realm works on it, so I had fun playing that for a while
So is anyone else interested in fixing this?
But these do nothing to fix the jerky motion and scrolling glitches on ATI video cards, which are common on retro DOS computers.
One thing I have noticed, however: Keen Dreams, and therefore Atroxian Realm and cksrcmod, are devoid of this jerky motion bug.
So I want to know the following:
1. Why does the Dreams codebase not have that ATI incompatibility?
2. Can we compile new executables using cksrcmod for Keens 4, 5, and 6, to fix the jerky motion bug for good?
I've been mulling this over in my mind for a while, ever since I built a retro DOS computer with an ATI card and ended up banging my head on the table because it's incompatible with Keen.
But then I discovered that Atroxian Realm works on it, so I had fun playing that for a while
So is anyone else interested in fixing this?
I flermmed the plootash just like you asked.
-
- Kuliwho?
- Posts: 2167
- Joined: Fri Jan 20, 2012 7:02
- Location: Tied up in the Oracle Chamber's basement
- Contact:
You've probably looked into this already, but is there a more recent display driver you could use? I'm not sure what options there are for such things in DOS, but there might be a fix there.
Keening_Product was defeated before the game.
"Wise words. One day I may even understand what they mean." - Levellass
"Wise words. One day I may even understand what they mean." - Levellass
- keenmaster486
- Vorticon Elite
- Posts: 542
- Joined: Sun Mar 20, 2016 18:29
- Location: Tranquility Base
- Contact:
Well, there's no such thing as a DOS display driver. That's all program-specific, which is why Keen Galaxy can choke while Keen Dreams doesn't.
And as for display drivers in Windows, it doesn't matter what you use there since DOS programs get direct hardware access.
And as for display drivers in Windows, it doesn't matter what you use there since DOS programs get direct hardware access.
I flermmed the plootash just like you asked.
Re: Jerky motion on ATI cards: possible community fix?
Jesus man, I'm usually not the one to start a flamewar, but this almost asks for itkeenmaster486 wrote:jerky motion and scrolling glitches on ATI video cards
On a serious note, let's try to get to the bottom of this. Could you post full specs of the system + your config.sys and autoexec.bat?
Also a video capture (recording screen with phone would be enough) should confirm that I probably have no idea what to do, but the one thing that would be worth trying is measuring vblank times on the card (that I should be able to help with) - jerky motion would indicate inconsistent frame timing and i do have a potential fix in mind.
Also, did anyone research what "fix jerky motion" does? Maybe I've got the same idea
- BlueGasMask
- Vorticon Elite
- Posts: 382
- Joined: Tue Nov 20, 2007 9:56
- Location: Wellington, New Zealand
- Contact:
- keenmaster486
- Vorticon Elite
- Posts: 542
- Joined: Sun Mar 20, 2016 18:29
- Location: Tranquility Base
- Contact:
Video
It's doesn't look pretty but you can see the glitching pretty well. And this happens no matter what the combination of SVGA Compatibility and Fix Jerky Motion.
As for system specs, it doesn't matter what they are, you can have any combination of EMM386, QEMM, HIMEM, various TSRs, mouse drivers, etc.
The video was shot using a stripped-down floppy disk booting with the following config:
CONFIG.SYS:
DEVICE=HIMEM.SYS
DEVICEHIGH=EMM386.EXE
DOS=HIGH,UMB
AUTOEXEC.BAT:
@ECHO OFF
A:
CD\
CLS
Totally stripped down and basic. But like I said, this glitch happens no matter what PC you're using and what configuration you have, the only common denominator is the ATI video cards.
Also, see this: http://gona.mactar.hu/DOS_TESTS/
Scroll down to the ATI cards, and notice how every single one has "Scrolling problems" in red for Keens 4,5, and 6, but Keen Dreams is green. Apparently this also happens for various Matrox cards.
It's doesn't look pretty but you can see the glitching pretty well. And this happens no matter what the combination of SVGA Compatibility and Fix Jerky Motion.
As for system specs, it doesn't matter what they are, you can have any combination of EMM386, QEMM, HIMEM, various TSRs, mouse drivers, etc.
The video was shot using a stripped-down floppy disk booting with the following config:
CONFIG.SYS:
DEVICE=HIMEM.SYS
DEVICEHIGH=EMM386.EXE
DOS=HIGH,UMB
AUTOEXEC.BAT:
@ECHO OFF
A:
CD\
CLS
Totally stripped down and basic. But like I said, this glitch happens no matter what PC you're using and what configuration you have, the only common denominator is the ATI video cards.
Also, see this: http://gona.mactar.hu/DOS_TESTS/
Scroll down to the ATI cards, and notice how every single one has "Scrolling problems" in red for Keens 4,5, and 6, but Keen Dreams is green. Apparently this also happens for various Matrox cards.
Last edited by keenmaster486 on Mon Sep 12, 2022 19:10, edited 1 time in total.
I flermmed the plootash just like you asked.
-
- Kuliwho?
- Posts: 2167
- Joined: Fri Jan 20, 2012 7:02
- Location: Tied up in the Oracle Chamber's basement
- Contact:
I had EXACTLY same problem, but I solved it the easiest way. My 486 Gaming Rig had PCI ATI RAGE II+DVD, scrolling problem was horrible, it didn't do only the glitch you recorded, but few other glitches too. Few weeks later I noticed that we have an exposition of old stuff in computer class. So I dug out one broken TNT2 on AGP card and asked teacher, if I can swap it for something else. Few moments later I scored S3 Trio 64V+, which was little bit older, but had WAY better test results, and had NO problem with Commander Keen whatsoever! (Well, to be fair, it wasn't the first try, I tried also SIS 6326, it worked well too, but turned CK all red. Don't know how, don't know why, it just did.) Here is one interesting website that shows compatibility with quite a few games and quite a few graphics card.
- keenmaster486
- Vorticon Elite
- Posts: 542
- Joined: Sun Mar 20, 2016 18:29
- Location: Tranquility Base
- Contact:
Right, exactly. The s3 trios are awesome for DOS compatibility; they'll run just about anything flawlessly. That's why it's the emulated card in DOSBox!
At this time I'm thinking that the best approach is to compile cksrcmod to work with Keens 4,5,6,etc. and be done with it, and not mess with patching.
Question: what exactly needs to be done to cksrcmod to make that work?
We don't even know what it is in the code that's causing it, all we know is that cksrcmod, AR, and Dreams are unaffected.
At this time I'm thinking that the best approach is to compile cksrcmod to work with Keens 4,5,6,etc. and be done with it, and not mess with patching.
Question: what exactly needs to be done to cksrcmod to make that work?
We don't even know what it is in the code that's causing it, all we know is that cksrcmod, AR, and Dreams are unaffected.
I flermmed the plootash just like you asked.