-
-
Notifications
You must be signed in to change notification settings - Fork 3
Troubleshooting
Important
If your issue is related to a specific activity, please submit it to the activity repository.
- Desktop app is running in system tray
- Website is supported and extension is enabled
- A song is actually playing (not paused or muted)
- The music tab is not minimized
-
"Share my activity" is enabled in Discord:
- User Settings (gear icon) → Activity Privacy → Toggle on
- If Discord runs as administrator, run Discord Music RPC as administrator too
- Check logs for errors:
- Server logs: Tray app → "Open logs" (Debug section)
- Extension logs: Extension popup → Settings → Toggle "Activate Debug Mode" → Check browser console
Modern browsers use methods such as freezing background tabs and restricting JavaScript to save resources. This can cause issues with RPC updates.
-
Open:
chrome://settings/performance -
Turn OFF "Memory Saver"
-
Turn OFF "Energy Saver"
-
Open:
chrome://settings/performance -
Click "Add" next to:
Always keep these sites active -
Add your music site.
Chrome sometimes slows down background tabs. If your site is not updating properly, you can apply advanced settings:
You can run a pre-made Registry file and restart Chrome. [Click here to download Registry file]
This file sets the following registry keys:
[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]
"IntensiveWakeUpThrottlingEnabled"=dword:0
"WindowOcclusionEnabled"=dword:0
[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]
"IntensiveWakeUpThrottlingEnabled"=dword:0
"WindowOcclusionEnabled"=dword:0What this does: Stops Chrome from slowing down background tabs. Prevents "window occlusion" from pausing tabs when they're hidden.
Note: If you are using Chromium instead of Google Chrome, replace the path with:
/etc/chromium/policies/managed/
- Open the terminal (Ctrl+Alt+T on most distributions).
- Create the managed policies folder if it doesn't exist:
sudo mkdir -p /etc/opt/chrome/policies/managed/- Create the policy file:
sudo nano /etc/opt/chrome/policies/managed/background_throttle.json- Paste this content into the file:
{
"IntensiveWakeUpThrottlingEnabled": false,
"WindowOcclusionEnabled": false
}- Save the file (
Ctrl+Oin nano) and exit (Ctrl+X). - Restart Chrome.
-
Open Terminal (
Applications → Utilities → Terminal) -
Create the managed policies folder if it doesn't exist:
sudo mkdir -p "/Library/Managed Preferences/"- Create the policy file:
sudo nano "/Library/Managed Preferences/com.google.Chrome.plist"- Paste this content into the file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IntensiveWakeUpThrottlingEnabled</key>
<false/>
<key>WindowOcclusionEnabled</key>
<false/>
</dict>
</plist>-
Save the file (
Ctrl+Oin nano) and exit (Ctrl+X). -
Restart Chrome.
Note: If policies are not applying, try placing the file in the user-specific folder instead:
/Library/Managed Preferences/<your_username>/com.google.Chrome.plist
-
Open:
about:config -
Click Accept the Risk
-
Search and set the following values to false:
dom.suspend_inactive.enabled widget.windows.window_occlusion_tracking.enabled widget.windows.window_occlusion_tracking_display_state.enabled widget.windows.window_occlusion_tracking_session_lock.enabled -
Search and set the following values to 0:
dom.min_background_timeout_value dom.timeout.background_throttling_max_budget dom.min_background_timeout_value_without_budget_throttling
-
Open:
about:preferences -
Scroll to Performance
-
Uncheck:
Use recommended performance settings
Use Tray → Debug → "Run IPC Diagnostic (Linux)" to auto-check your setup.
| Type | IPC Support | Setup |
|---|---|---|
| Native (Recommended) | Best | Install via package manager |
| Snap | Needs config | sudo snap connect discord:discord-ipc |
| Flatpak | Needs override | flatpak override --user --filesystem=xdg-run/discord-ipc-0 com.discordapp.Discord |
Do Not Run Discord as Root
IPC sockets won't be accessible. Always start Discord as regular user (never sudo).
XDG_RUNTIME_DIR Issues
# Check if set correctly
echo $XDG_RUNTIME_DIR
ls -la $XDG_RUNTIME_DIR
# If not set, add to ~/.bashrc:
export XDG_RUNTIME_DIR=/run/user/$(id -u)Wayland Users
Install xdg-desktop-portal:
sudo apt install xdg-desktop-portal xdg-desktop-portal-gtk # Debian/Ubuntu
sudo pacman -S xdg-desktop-portal xdg-desktop-portal-gtk # Arch
sudo dnf install xdg-desktop-portal xdg-desktop-portal-gtk # FedoraManual Socket Check
# Check if Discord IPC socket exists
ls -la $XDG_RUNTIME_DIR/discord-ipc-0
ls -la $XDG_RUNTIME_DIR/snap.discord/discord-ipc-0 # Snap
ls -la $XDG_RUNTIME_DIR/app/com.discordapp.Discord/ # Flatpak
# Socket should be owned by your user (not root)