New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse cursor lags in Lost in Time (CD version only) #2465
Comments
A couple of things you might try (I intend to investigate the issue of course, but I don’t have time today):
|
I tried all of these steps, but alas. Maybe its not mouse related issue after all, i dunno.. |
Have you tried either increasing or decreasing the Have you tried enabling Have you also run the command (-r 125 means a rate of 125 Hz) |
I recommend to use small per-game configs; no need to specify all config params for every game, use the layered approach. I think you're running out of CPU power. Set cycles to fixed 20000 or something then increase it to the minimum setting that runs the game well enough. I assume this is a protected mode game which defaults to max cycles. This can overload/starve other parts of the emulation. |
Also, test it on real hardware if possible before drawing any conclusions. |
Yes, nothing helped.
No, its not protected mode game, it default to 3000 cycles (and runs just fine with these cycles and auto core/cpu settings in non-staging dosbox). |
I tested it against 0.80.1, and the mouse is especially fluid - the game will re-draw cursor at 70 fps, steadily, when moving. lost_in_time.mp4Your display is 60 Hz, so I suspect there's something going on at the host-level. Try this minimal conf and experiment by commenting in the [sdl]
fullscreen = false
windowresolution = 960x720
# vsync = true
[dosbox]
startup_verbosity = quiet
# dos_rate = 60
[cpu]
core = dynamic
cycles = 4000
[sblaster]
sbtype = sbpro2
[midi]
mpu401 = none
mididevice = none
[gus]
gus = false
[speaker]
pcspeaker = none
[mouse]
mouse_raw_input = true
dos_mouse_immediate = true
ps2_mouse_model = none
[joystick]
joysticktype = disabled
[ethernet]
ne2000 = false
[autoexec]
imgmount d cd/opus/cdrom.cue -t cdrom
mount c .
c:
lost |
Yeah, all is smooth in your video!
No luck, here is my video with this problem https://www.youtube.com/watch?v=E8ZPfAisFqk
Yeah, interestingly that floppy version of Lost in Time (without CD audio music) is not affected.
I wish i can 😅 I will just use non-staging Dosbox or ScummVM for now. |
It looks you're mounting the physical CDROM disk -- can you rip your CD to bin/cue? That's what I'm using. (And maybe SDL1's built-in CDROM access layer had caching and/or read-ahead) |
I'm using cd image file mounted through daemon tools. |
Have you tried using the |
Looks like we found the problem here. |
Go for direct |
DAEMON Tools is excellent with Wine but i always do my DOSBox mounts through IMGMOUNT. The way the CD is accessed is different with DAEMON Tools vs MSCDEX that ruled in the DOS era and may cause compatibility problems: |
I couldn't reproduce the problem on my Linux setup neither... tried both current GIT main and 0.80.1 |
Ha-ha, finally, imgmount did the job! Seems like Dosbox Staging has some troubles with daemon tools (unlike plain dosbox). |
Excellent suggestion guys. Also, glad there's no regression with internal |
Or Daemon Tools has some problem with emulating MSCDEX properly; they just haven't manifested in other DOSBox variants 😎 Seriously, accurate MSCDEX emulation is not the goal of Daemon Tools or other similar Windows programs. We should warn people in the manual that other image mounting tools than IMGMOUNT are discouraged and unsupported. |
I have created https://github.com/dosbox-staging/dosbox-staging/wiki/Tips-&-tricks#always-use-imgmount-for-mounting-disc-images-within-dosbox-staging. Under https://github.com/dosbox-staging/dosbox-staging/wiki/Getting-started, I've also added a 2nd note about not using Daemon Tools in Dosbox Staging under the |
Are you using the latest Dosbox-Staging Version?
Different version than latest?
No response
What Operating System are you using?
Windows 10
If Other OS, please describe
No response
Relevant hardware info
No response
Have you checked that no other similar issue already exists?
A clear and concise description of what the bug is.
Mouse cursor lags heavily when i try playing the game (seems like not only cursor, but game itself too, like fmv transitions, but cursor is more apparent), but only when i try moving mouse around playscreen, when i enter the game menus (like options) - mouse cursor moves fine! It occurs only in CD version of Lost in Time (patch installed) and maybe in other Coktel Vision games, like Goblins 3.
Btw floppy version of Lost in Time does not have this issue, neither does it occur in other Dosbox builds (like ECE).
PS - another interesting issue, i cannot even launch this game in Dosbox Staging without this patch http://www.sierrahelp.com/Patches-Updates/Patches-Updates-Games/MiscGamesUpdates.html#LIT (This patch will fix problems that occur in conjunction with certain sound cards and CD ROM drives.), but it works fine without any patches in normal dosbox.
Steps to reproduce the behaviour.
Explain how to reproduce
Your configuration
Provide a Log
Code of Conduct & Contributing Guidelines
The text was updated successfully, but these errors were encountered: