You are not logged in.

#1 2018-05-31 15:52:57

kmiernik
Member
From: Poland
Registered: 2009-10-20
Posts: 48

Dosbox mouse capture [Solved]

I haven't been using dosbox in a while, but it seems that some recent upgrade (certainly within last month) made all my games, on two different machines, unable to capture mouse (ctrl+f10 doesn't work either). I have tried to downgrade some of the packages (like xorg-xinput, libinput), but the list of potential candidates is couple dozen long. Any clue which direction I should look? Anyone noticing the same issue?

Last edited by kmiernik (2018-06-01 10:01:18)

Offline

#2 2018-05-31 15:59:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: Dosbox mouse capture [Solved]

Which general environment? Most logical connection would be that you run on Wayland and that the corresponding XWayland implementation that got updated with xorg-server 1.20 doesn't implement the mouse capture as expected.

Offline

#3 2018-05-31 19:46:55

HantaHanta
Member
Registered: 2018-05-21
Posts: 4

Re: Dosbox mouse capture [Solved]

I've also been having this issue with dosbox. I can get the mouse to work if I make dosbox fullscreen, but then theres a constant cursor flickering in the middle of the screen. I had fixed the issue by downgrading my packages to 5/16/2018.

[2018-05-21 22:33] [ALPM] downgraded xdg-utils (1.1.3-1 -> 1.1.2-2)
[2018-05-21 22:33] [ALPM] downgraded libdrm (2.4.92-1 -> 2.4.91-3)
[2018-05-21 22:33] [ALPM] downgraded libinput (1.10.7-1 -> 1.10.6-1)
[2018-05-21 22:33] [ALPM] downgraded wayland (1.15.0-1 -> 1.14.0-1)
[2018-05-21 22:33] [ALPM] downgraded mesa (18.0.3-4 -> 18.0.3-1)
[2018-05-21 22:33] [ALPM] downgraded ndctl (60.2-1 -> 60.1-1)
[2018-05-21 22:33] [ALPM] downgraded wayland-protocols (1.14-1 -> 1.13-1)
[2018-05-21 22:33] [ALPM] downgraded xorg-server-common (1.20.0-2 -> 1.19.6+13+gd0d1a694f-2)
[2018-05-21 22:33] [ALPM] downgraded xorg-server (1.20.0-2 -> 1.19.6+13+gd0d1a694f-2)

So I think it has to be one of these packages causing the issue for me, but I'm not sure exactly which.

Offline

#4 2018-06-01 05:44:08

kmiernik
Member
From: Poland
Registered: 2009-10-20
Posts: 48

Re: Dosbox mouse capture [Solved]

V1del wrote:

Which general environment? Most logical connection would be that you run on Wayland and that the corresponding XWayland implementation that got updated with xorg-server 1.20 doesn't implement the mouse capture as expected.

I tested the following environments: lxde, lxqt, gnome-xorg, gnome-wayland. All the same, so it is not connected to the Wayland directly.

HantaHanta wrote:

I've also been having this issue with dosbox. I can get the mouse to work if I make dosbox fullscreen, but then theres a constant cursor flickering in the middle of the screen. I had fixed the issue by downgrading my packages to 5/16/2018.
(...)
So I think it has to be one of these packages causing the issue for me, but I'm not sure exactly which.

Thanks, I confirm that in the full screen mode, the mouse works. I will try to downgrade packages from your list and figure out which one is causing the trouble.

Offline

#5 2018-06-01 10:04:13

kmiernik
Member
From: Poland
Registered: 2009-10-20
Posts: 48

Re: Dosbox mouse capture [Solved]

The troublesome package is the xorg-server. After downgrade to 1.19.6+13+gd0d1a694f-2, mouse is being captured in the window mode, and there is no flickering in either mode. This downgrade also requires removal of xf86-video-intel. Should this be reported as a bug in dosbox or rather xorg-server?

Offline

#6 2018-06-01 11:35:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: Dosbox mouse capture [Solved]

Hard to say, if this is just in dosbox it might be an issue with how dosbox implements that, or it's a unexpected regression in xorg-server. I'd probably initially go for xorg to be at fault unless it is shown that dosbox uses wrong/outdated API

Offline

#7 2018-06-18 13:20:14

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 768

Re: Dosbox mouse capture [Solved]

I also have this problem.  Are we expecting it to get fixed in a future version of xorg-server?

Offline

#8 2018-06-19 12:44:20

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Dosbox mouse capture [Solved]

Are we expecting it to get fixed in a future version of xorg-server?

Not until someone troubleshoots the issue further*.

Some comments :

try running xorg 1.20 with modesetting (remove any xf86-video-* packages)

What type of mouse is this happening with : usb , ps2 , touchpad ?

If dosbox is started on it's own x-server, does this also happen ?



* atm all we know is that dosbox + xorg server 1.20 mouse capturing is not working, while same dosbox + xorg-server 1.19 works


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2018-08-07 18:07:57

carado
Member
Registered: 2018-08-07
Posts: 1

Re: Dosbox mouse capture [Solved]

Hi,
I don't know how much this helps, but I'm having the same problem on Void Linux with dosbox and xorg-server 1.20, and setting

autolock=false

in ~/.dosbox/dosbox-0.74.conf circumvents the problem for me.

Offline

#10 2018-08-23 12:59:07

allencch
Member
Registered: 2011-03-25
Posts: 118

Re: Dosbox mouse capture [Solved]

I just found that I face the same issue. Running the game that requires mouse will crash immediately. My only solution is to use the DOSBox for Windows, extract, and run with Wine.

wine ./DOSBox.exe -conf game.conf

Offline

#11 2018-11-24 18:59:36

Scritch
Member
Registered: 2018-11-24
Posts: 1

Re: Dosbox mouse capture [Solved]

Setting

autolock=false

worked for me also.

Last edited by Scritch (2018-11-24 19:00:12)

Offline

#12 2018-11-24 19:46:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Dosbox mouse capture [Solved]


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB