Mouse Cursor Not Working in Ubuntu 22 and Ubuntu 24 (Issue Persisting on Both Wayland and X11)

Hello Ubuntu Community,

I’m currently facing an issue where the mouse cursor does not appear and mouse movement does not register when running GNOME on Ubuntu 22.04 and Ubuntu 24.04 distribution with both Wayland and Xorg. We notice there is a square bounded box replaced over a Cursor Pointer, But there is a inconsistent behaviour with the cursor movement where we noticed the pointer in-visible and is clicked on the Setting Button (on Top Right corner) while the box is still in the lower portion of the display. So We’d like to know how we can change the box object to a cursor icon and have a seamless cursor movements.

Please kindly do share you’re valuable suggestions and inputs, that can help us to resolve this issue. Thank you!

Below are my env setup details:

Environment Details:
Ubuntu Version: Ubuntu 22.04/24.04 (Rootfs)
Display Server: Both Wayland and X11 (both sessions exhibit the same issue)
Graphics Driver: Standard Ubuntu 22 (works fine on other setups, but issues persist in this specific Rootfs configuration)
Mouse: Standard USB Mouse
Desktop Environment: GNOME 42.9 in both Wayland and X11 environments).

shared image

What hardware platform is this, and what GPU does it have?

The fact you mentioned “rootfs” makes me inclined to think this is some kind of ARM based SBC. Is that the case?

What does this mean ? is it 22.04 or 24.04 ??

The solution may be as simple as changing the cursor theme. And be sure the cursor theme is installed in /usr/share/icons.

Hello @popey We’re currently working on our own RISC-V development platform. Where we’re noticing this behaviour with cursor on both Ubuntu 22.04 & Ubuntu 24.04.

1 Like

Ok, this is going to be very difficult to debug. I have no RISC-V devices.

Is this a custom rootfs, or an unmodified one you downloaded from an Ubuntu server?

Hi @ogra
We have tried this on both ubuntu-22.04 and ubuntu-24.04 versions.

1 Like

Hi @Dennis_N
We have tried different cursor themes and it is installed in the /usr/share/icons but still the cursor is not working.

Hi @popey,

We followed the Ubuntu RootFS build procedure outlined in the GitHub repository below. The RootFS was built manually from scratch according to the steps provided in the guide:

:point_right: riscv-bringup/Ubuntu-Rootfs-Guide.md at master · carlosedp/riscv-bringup · GitHub

Regards,
Sharath