batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.98k stars 513 forks source link

Mouse cursor appears in-game when using Sinden lightgun on RPi 5 #11911

Closed goldenegg closed 4 months ago

goldenegg commented 4 months ago

Batocera build version

40-dev-1025ea1425 2024/06/02 05:50

Your architecture

Raspberry Pi 5

Your Graphic Processor Unit(s) (GPU)

Raspberry Pi 5

Issue description

When using a Sinden lightgun on an RPi 5 build, a mouse cursor is displayed on screen when playing gun games. The cursor is tracked with the gun.

IMG_9984

Detailed reproduction steps

  1. Connect Sinden lightgun
  2. Calibrate gun
  3. Load a gun game

Details of any attempts to fix this yourself

I've made sure that all options in RetroArch that would display a cursor for the gun have been disabled.

Details of any modifications you have made to Batocera.

None

Logs and data

No response

goldenegg commented 4 months ago

Forgot to mention this doesn't happen on a PC build. Only on the RPI 5 build (haven't tried on older RPi boards).

Tovarichtch commented 4 months ago

I did reproduce the issue on rpi4. It always showing when launching a game, on the ES loading screen. I suppose it has to do with xorg or Wayland.

dmanlfc commented 4 months ago

only when using RetroArch cores?

goldenegg commented 4 months ago

I’ve only tested with RetroArch cores at the moment

dmanlfc commented 4 months ago

try others please to see if we can narrow it down

goldenegg commented 4 months ago

Looks to only be an issue with RetroArch

Tovarichtch commented 4 months ago

I don't see the cursor on standalones (e.g.: Hypseus Singe)

dmanlfc commented 4 months ago

fixed, should be sorted in the next version

goldenegg commented 4 months ago

Thanks! I’ll test as soon as dev is updated.

goldenegg commented 4 months ago

Just tested on a 6/12 build and this fix works great! Thanks again for the quick response!