ChromeOS Virtual Desks provide an organized workspace for separating schoolwork, research, and gaming. However, many players who place an idle browser game or multiplayer lobby on Desk 2 while working on Desk 1 discover that their game abruptly disconnects or freezes within 30 seconds.
This is caused by window occlusion and background timer clamping. When a Virtual Desk is not active on your screen, ChromeOS marks all windows on that desk as fully occluded, cutting their requestAnimationFrame loop and clamping JavaScript timers to 1 execution per second.
Here is how to prevent ChromeOS from throttling your games across Virtual Desks.
1. How Occlusion Detection Works
Chromium’s compositor tracks whether a window is physically visible on the display panel. If a window is hidden behind another app or placed on a hidden Virtual Desk:
- Canvas rendering is completely halted to save power.
- WebSocket ping/pong timers can miss keep-alive intervals, causing the game server to disconnect you for timing out.
2. Solution: Running in a Standalone PWA Window
Instead of running the game inside a regular browser tab on a hidden Virtual Desk:
- In the Chrome address bar on the game website, click the Install or Create Shortcut icon in the URL bar.
- Check the box labeled Open as window.
- Move this standalone app window to your secondary Virtual Desk.
- Standalone window PWAs receive higher process priority from the ChromeOS window manager and are less aggressively evicted than standard background tabs.
Related Guides & Documentation
- Category Hub: Browse all guides in Chromebook & Low-End Optimization
- Related Guide: Testing the Scheduler and Hyper-Threading Flags on Intel Chromebooks for WebGL — How Intel Hyper-Threading flags (#scheduler-configuration) in ChromeOS affect WebAssembly compilation and multi-worker physics threads.
- Related Guide: Managing the ChromeOS Android Subsystem (ARCVM) to Free Memory for Browser Games — A guide to understanding how ChromeOS
- Related Guide: Overcoming 2-Key Rollover Keyboard Ghosting and Diagonal Movement Lockouts on School Chromebooks — Why budget Chromebook membrane keyboards block simultaneous W+A+Space key presses in browser shooters and how to rebind keys to bypass ghosting.