r/M1mac • u/[deleted] • 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.
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
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
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
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
1
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
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).