Fix Regular Cursor Stutter on a Mac over Wi-Fi (AirDrop, Universal Control)
If the cursor keeps freezing for a moment, about twice a second, while VirtualTablet is connected to a Mac over Wi-Fi, the Mac’s own Wi-Fi is pausing. It happens even right next to the router, and it goes away completely when the Mac is plugged in with an Ethernet cable or the tablet is connected with USB.
This page explains why, and how to stop it while staying on Wi-Fi.
Why it happens
Macs use a second wireless link called AWDL (Apple Wireless Direct Link) to talk directly to nearby Apple devices. AirDrop and Universal Control run on it. While AWDL is active, the Mac’s Wi-Fi radio leaves your router’s channel on a fixed schedule, about every half second, to visit the channel AWDL uses. While it is away, packets from your tablet cannot arrive, so the cursor stops and then catches up.
In our measurements on a MacBook Pro with the router 1 m away, the Mac spent about a quarter of the time off the router’s channel, in gaps of up to about 130 ms. With AWDL idle, the longest gap was under 30 ms.
Two settings keep AWDL active even when you are not using it:
- AirDrop set to Everyone
- Universal Control (moving your pointer and keyboard to a nearby Mac or iPad)
Handoff and AirPlay Receiver did not keep it active in our tests, so you can leave them on.
Fix 1: change two settings (recommended)
- Open System Settings > General > AirDrop & Handoff
- Set AirDrop to Contacts Only (or No One)
- Open System Settings > Displays > Advanced
- Turn off Allow your pointer and keyboard to move between any nearby Mac or iPad
- Wait a few minutes, then draw again
Fix 2: move the router to the channel AWDL uses
If you want to keep AirDrop on Everyone or keep Universal Control, put your router’s 5 GHz Wi-Fi on the same channel AWDL uses. Then the Mac no longer has to leave the router’s channel.
Find the channel AWDL uses:
- Open Terminal on the Mac
- Run the command below and enter your Mac password
|
|
- Look at Channel Sequence. It lists 16 slots, for example
44 44 149 149 44 44 44 44 44 44 149 149 44 44 44 44. One number is your router’s channel; the other one is the channel AWDL visits (149 in this example)
Change the router’s channel:
- Open your router’s admin page (see the label on the router or its manual)
- In the 5 GHz wireless settings, set the channel to the AWDL channel you found, and keep the channel width as it was
- Save, wait for the Mac and tablet to reconnect, then run the command again. Every slot should now show the same channel
In our test (South Korea), AWDL used channel 149 while the router was on 44. With the router moved to 149, every slot showed 149 and the regular freezes were gone. AWDL can use a different channel in other countries, so always check with the command above instead of copying a number.
Fix 3: skip Wi-Fi on one side
The two options from How to Minimize Cursor Delays also remove this problem completely:
- Connect the Mac to the router with an Ethernet cable
- Connect the tablet with USB (Android, iPhone and iPad)
Check whether AWDL is still active
Run the same command in Terminal:
|
|
- AWDL Enabled: No: AWDL is idle and cannot cause this stutter
- AWDL Enabled: Yes: something still keeps it active. Check the two settings in Fix 1 again, and wait a few minutes after changing them
VirtualTablet Server on a Mac also detects this pattern. When it sees the cursor stalling at a regular interval over Wi-Fi, the connection quality section suggests the same settings.