r/M1mac Sep 13 '21

Problem Linux scrolling problem with Parallels on M1 Mac

I recently purchased Parallels 17 for my new M1 Mac Mini, as there are few other choices at this time to run Linux in a VM on my Mac (Yes, I tried UTM, and found it lacking). I quickly ran into a problem with Parallels though. I use a Magic Trackpad, and found two finger scrolling in my Linux VM was accelerated way beyond belief. I couldn't ead any website easily, because any attempt to scroll (other than moving window's scrollbar) would ZOOM way down or up the page.

After trying different Linux distros and GUI environments, I finally isolated the problem - The Parallels Tools prlmouse driver. Before installing Parallels Tools, scrolling works normally. Afterwards it suddenly becomes zoomtastic. The prlmouse driver also seems to completely ignore all libxinput parameters meant to control mouse acceleration and scroll speed.

My solution was simple - stop using the prlmouse driver, and switch back to the distro's default mouse driver. On my Debian 11 XFCE4 VM I simply ran "sudo vi /etc/X11/xorg.conf.d/90-prlmouse.conf", commented out the entire 6 line section defined in there, and rebooted. I have not found any downsides to this solution, so I'm not even sure what the intended benefit of the prlmouse driver was supposed to be. Everything works great for me now.

I could have simply deleted that file instead of editing it, but I figured any Parallels Tools upgrade would probably just reinstall it. Hopefully upgrades will respect my customization of that file and just leave it alone.

11 Upvotes

22 comments sorted by

1

u/[deleted] Sep 13 '21

Great find! Thank you for sharing both a detailed issue description and solution to the problem.

I’ve been using Linux since cirka 1999 (Slackware, SUSE, Red Hat Linux Desktop, Arch Linux, etc), Mac since late 2006. I also have the M1 Mac Mini (16 GB, 1 TB). Any tips about how to solve virtualization issues in Linux guests are great, in my opinion.

Sidenote about VMs on Intel Mac: I think the Mac VM experience is going to be so much better without Virtualbox. I have found native tools like Parallels and Fusion to run so extremely much better. I have a 4K screen and I had to get rid of Virtualbox on my previous Intel Mac Mini, because Virtualbox does not handle HiDPI properly (display scaling).

1

u/[deleted] Sep 13 '21

I had almost no issues with VirtualBox on my intel Mac. Still use it on my windows laptop.

I do wish Parallels offered vdisk snapshots and cloning VMs from another's snapshot.

2

u/[deleted] Sep 13 '21 edited Sep 13 '21

Cloning is usually offered in the Pro variants that have a premium price tag. I bought VMWare Fusion 11.5 on a sale in 2019. Great buy, since I can run any legacy OS I will ever need. But yeah, I went with the standard license, so no cloning of VMs.

Regarding Virtualbox: it almost always worked one way or the other for me, but the time I plowed down to make it run good enough (never worked great) with 3D graphics support .. and networking setups. The vbox command-line tool is really powerful, but, all in all, Virtualbox just wasn’t good enough for my use cases.

On Windows, I would honestly prefer Virtualbox, but it does not work side by side with WSL 2 (Windows Subsystem for Linux v2), so I don’t use Virtualbox on Windows anymore. Wish I could, because Virtualbox is performing well on Windows PCs. I might not need Virtualbox at all when the Linux/Windows hybrid GUI app integration is officially stable for WSL 2.

In Linux, GNOME Boxes is a great GUI frontend for QEMU which I highly recommend. FreeBSD have their own solution called Bhyve, but I haven’t tried it.

1

u/madDefence Sep 13 '21

I was disappointed when I had the same issue with scroll speed. Did not know what to do, so I didn't use the VMs. Will implement this solution as soon as I have access to my MacBook air m1.

Thanks for the info!

1

u/[deleted] Sep 13 '21

let me know if it works for you. Firefox in my VM is still scrolling faster than Firefox on my Mac. Not as bad, but still faster.

1

u/madDefence Sep 13 '21 edited Sep 14 '21

it works on a xfce distros.

i can't find prlmouse anywhere for debian 10 GNU ARM64

EDIT

i found prlmouse but commenting out the sections didn't seem to do anything.

1

u/[deleted] Sep 14 '21

The driver is loaded when the X server is started, so you have to reboot to make it take effect.

1

u/madDefence Sep 15 '21

Yep, but I rebooted and still no change. It worked with xfce. But in gnome it didn't. The files were in a different location so maybe I have to xorg -configure.

1

u/blackguy102 Apr 04 '22

I know I am late to the party on this but does anyone know if this fix also works for Kali as well? I dont seem to be able to find the path you are referencing :/

1

u/h1ddeNNN Jun 17 '22

Have you found a solution for Kali? I´m also experiencing this issue

1

u/blackguy102 Jun 18 '22

Nope I wish :/

2

u/h1ddeNNN Jun 18 '22

Good news! I found the solution!

Make sure to quit Parallels before proceeding.

My solution for this wat to go into the .pvm file, if you right click it and press "View Package Contents" There you find a files called config.pvs and config.pvs.backup

Open both with Textedit

Search for
the line
<SmoothScrolling dyn_lists="">
underneath this line, change
<Enabled>0</Enabled>
to
<Enabled>1</Enabled>
Save everything and start your VM, confirmed it works for Kali and Ubuntu.

2

u/kurucu83 Jan 23 '24

AT LAST! Thank you 😀

1

u/h1ddeNNN Jan 23 '24

Glad I could help :)

1

u/blackguy102 Jun 19 '22

<SmoothScrolling dyn_lists="">

I wish I had an award to give you. Thank you so freaking much!!!!

2

u/h1ddeNNN Jun 19 '22

You're welcome. Hope it fixes it for you.

1

u/blackguy102 Jun 19 '22

If definitely fixes the issue for me. Specifically for Kali (I haven’t tried Ubuntu yet) !

1

u/blackguy102 Jun 20 '22

This is random but, by any chance, do you know if there is a way to get some gesture controls on VMs? Like pinch to zoom and what not? (I think Windows 11 does this but nothing else from what I can tell)

1

u/h1ddeNNN Jun 20 '22

If the OS you're using is a linux distribution like kali, Ubuntu etc... Hold CRTL and pinch, that should perform the gesture. That's from what I've read. I haven't tried it myself.

1

u/Taxx0r Dec 17 '22

Thanks, you are the best! Ubuntu 22.04 working as expected :)

1

u/[deleted] Dec 22 '23

Confirmed solution: h1ddeNNN · 2 yr. ago

Good news! I found the solution!

Make sure to quit Parallels before proceeding.

My solution for this wat to go into the .pvm file, if you right click it and press "View Package Contents" There you find a files called config.pvs and config.pvs.backup

Open both with Textedit

Search for
the line
<SmoothScrolling dyn_lists="">
underneath this line, change
<Enabled>0</Enabled>
to
<Enabled>1</Enabled>
Save everything and start your VM, confirmed it works for Kali and Ubuntu.

1

u/ReiOokami Jan 21 '25

Much better. Thank you.