LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2018, 03:59 PM   #1
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Rep: Reputation: 19
Question Dosbox not capturing mouse movements


Hello,

I have Dosbox 0.74 installed in a fully updated Manjaro Linux desktop. Even though it worked fine before, there is a relatively recent problem which is that Dosbox can capture my mouse clicks, but *not* mouse movements.

I can tell because I can click my mouse to skip intro screens in games, but my mouse cursor's movements is not captured by Dosbox. This appears to be a broader problem because I also experience the same thing when running DOS games from GoG which runs from GoG's own packaged Dosbox. I made sure that mouse "autolock" is set to true in my Dosbox configuration, but that didn't help.

How do I troubleshoot this problem? Thank you.
 
Old 10-08-2018, 01:39 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,294

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Congrats on having Dosbox do anything for you. Is yours a USB mouse, or serial port?

Dos, i.e. IBM PC-DOS or m$ M$-DOS (same thing, basically) really was awful.The few peripheral parts it knew about (serial & parallel ports, the 16 bit ISA bus, and the firmly allocated I/O and interrupts with zero feedback, memory over 640k needing a driver) are all 15-20 years obsolete. What it DIDN'T know about (PCIE, PCI, USB 1/2/3, sd cards, advanced file systems, PNP devices, Gigs of ram, DECENT Graphics cards, fast multicore cpus & dsps, etc.) are what we use today. The later Dos versions had emm386.exe whose function in life was to make extended memory (over 1 MB) pretend to be expanded memory (=a few k of ram on an ISA card with an address between 640k and 1023k because Dos did funny thgings with the A20 line seeing as nobody ever was going to want more than 1MB of ram :-/).

I'd try to give it the mouse on a pretend serial port or check what wheeze it's using to get around that usb -->serial port issue.
 
Old 10-09-2018, 04:15 PM   #3
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Original Poster
Rep: Reputation: 19
Question

Quote:
Originally Posted by business_kid View Post
Congrats on having Dosbox do anything for you.
Dosbox has always worked just fine for me, have you had many problems with it before?

Quote:
Originally Posted by business_kid View Post
Is yours a USB mouse, or serial port?
Quote:
Originally Posted by business_kid View Post
I'd try to give it the mouse on a pretend serial port or check what wheeze it's using to get around that usb -->serial port issue.
What is a wheeze? My physical mouse is connected via USB, but that has never been a problem. AFAIK Dosbox does not present the physical mouse to programs it runs as USB so is there something else to check? Thanks.
 
Old 10-09-2018, 05:36 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I suspect it is a xorg-server problem and probably something along the lines of the thread below. Are you running dosbox .74-2?

https://bbs.archlinux.org/viewtopic.php?id=237587

Maybe contact the dosbox developers and see if they might have any ideas.
 
1 members found this post helpful.
Old 10-09-2018, 05:41 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Uh, business_kid, do you even know what DosBox is? It's an emulator, like ZSNES, and it runs on modern OSses and modern hardware. It doesn't make you deal with any of the issues that you mentioned.

Last edited by dugan; 10-09-2018 at 05:59 PM.
 
Old 10-10-2018, 04:20 AM   #6
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Original Poster
Rep: Reputation: 19
Question

Quote:
Originally Posted by michaelk View Post
I suspect it is a xorg-server problem and probably something along the lines of the thread below. Are you running dosbox .74-2?

https://bbs.archlinux.org/viewtopic.php?id=237587
I followed that link and it appears to describe my problem. I tried setting "autolock" to FALSE as suggested and it worked for me when trying some Dosbox programs but not others. When it doesn't work well, I mean that the mouse cursor would only be captured for a small part of the program's screen. If I move my mouse cursor outside of that area, it jumps out of the Dosbox window and back into my host system. Very strange.

Anyways, I guess it is indeed a problem with xorg as suggested in that thread. But the update to xorg 1.20 happened months ago and I no longer have the package cache to downgrade it...

Quote:
Originally Posted by michaelk View Post
Maybe contact the dosbox developers and see if they might have any ideas.
Thank you for suggesting this! After some searching I came across a very similar thread on the Dosbox forums:

https://www.vogons.org/viewtopic.php?f=31&t=62703

Should I continue there?
 
Old 10-10-2018, 06:34 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,294

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by dugan View Post
Uh, business_kid, do you even know what DosBox is? It's an emulator, like ZSNES, and it runs on modern OSses and modern hardware. It doesn't make you deal with any of the issues that you mentioned.
Yeah, installed it a while back and it was just a PITA. I could have used it - then.

I've since reluctantly dragged myself into this millenium, ditching/selling old machinery along the way.
 
Old 10-10-2018, 06:52 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Quote:
Should I continue there?
I would think so. The developers would have a better idea how it all works...

Last edited by michaelk; 10-10-2018 at 07:47 AM.
 
1 members found this post helpful.
Old 10-10-2018, 07:37 AM   #9
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by michaelk View Post
I would think so. The developers would have a better how it all works...
OK, then, I will do that. Thanks for your help, and for the record setting "autolock = FALSE" works as a partial fix.
 
  


Reply

Tags
dosbox, mouse



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
plasma-desktops does not respond (but hasn't crashed) to mouse movements nass Slackware 0 10-21-2010 01:21 PM
Mouse Movement Problem in DOSbox smannell Linux - Software 14 06-14-2009 03:35 PM
evbug.c flooding /var/log/messages w/ mouse movements, help! hollywoodb Linux - Software 2 05-24-2004 09:56 PM
USB and PS/2 Mouse conflict - "jerky" pointer movements jonnyO2 Linux - Hardware 0 04-07-2004 05:05 AM
Choppy Mouse Movements Nightshade999 Linux - Hardware 1 05-29-2003 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration