You are not logged in.

#1 2023-03-30 11:06:43

mark_az
Member
Registered: 2023-03-18
Posts: 3

Incorrect mouse pointer refresh

Hi all,

I have installed Arch Linux on Virtual Box.
The current desktop environment is KDE.
I experience a strange behaviour with mouse pointer refresh.
Precisely, the operating system do not update mouse pointer when I move around desktop controls.

If I take a screenshot through PC the pointer is shown as expected but really is not.

Thank you!

Offline

#2 2023-03-30 12:21:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Incorrect mouse pointer refresh

Which graphics plugin and is 3D support enabled/guest-utils installed? Is this a Wayland or a Xorg session? Try exporting KWIN_FORCE_SW_CURSOR=1 like in this thread: https://bbs.archlinux.org/viewtopic.php?id=282219

Last edited by V1del (2023-03-30 12:21:23)

Offline

#3 2023-03-30 15:40:38

mark_az
Member
Registered: 2023-03-18
Posts: 3

Re: Incorrect mouse pointer refresh

Hi,

thanks for the response.

The problem arises only with Wayland. I have tried now Xorg and it is fine.
3D support is disabled.
Graphics plugin: VMSVGA
Guest utils are installed.

Based on thread the file path "/home/<my_username>/.config/plasma-workspace/env/kwin_vars.sh" is not present.
Here is what I have on .config folder:
- plasma-localerc                         
- plasma-org.kde.plasma.desktop-appletsrc 
- plasmashellrc
- plasmanotifyrc                           
- plasmarc                                 
- plasma-welcomerc

The variable KWIN_FORCE_SW_CURSOR is not set on system.

Thanks

Offline

#4 2023-03-30 16:01:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Incorrect mouse pointer refresh

You can create that file with that variable exported and make it executable. Generally speaking Wayland absolutely requires some form of 3D acceleration so this might fix itself if you enable that.

Last edited by V1del (2023-03-30 16:02:14)

Offline

#5 2023-03-30 16:37:03

mark_az
Member
Registered: 2023-03-18
Posts: 3

Re: Incorrect mouse pointer refresh

Hi,

the problem has been solved applying the following operations:
1. Enable 3D accelaration on Virtual Box settings
2. Creating the script "/home/<my_username>/.config/plasma-workspace/env/kwin_vars.sh" and make it executable.

On the other hand these operations create two major NEW problems as a consequence:
A. the background wallpaper is always black (before It was ok)
B. Cursor movement do not follow very well hand movement.

I would to highlight that the display's scaling set is 150% because I am using a 4K display

Thanks until now!

Offline

#6 2023-04-11 09:35:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Incorrect mouse pointer refresh

Try to drop the script/remove the export, but you still need to generally be aware that you are running in a virtual machine with a virtual GPU and performance will in general not be representative of what it would be if you ran it on bare metal.

Offline

Board footer

Powered by FluxBB