Update 02/03/2022 5:14 pm PT
Nvidia has divulged via its Nvidia Customer Care (opens in new tab) Twitter account that it has started deploying an updated application profile for Discord to fix the memory speed bug. However, it's not a Windows, Discord, or Nvidia driver update. Instead, it's a new application profile for the Nvidia display drivers, which the chipmaker can send over the air. Therefore, GeForce graphics card owners don't have to do anything other than restart their systems for the new profile to take effect:
You can find Nvidia's complete statement below:
"GeForce users can now download an app profile update for Discord. This resolves a recent issue where some GeForce GPUs memory clocks did not reach full speed w/ Discord running in the background. The update automatically downloads to your PC the next time you log into Windows."
If you're an avid user of Discord and own an Nvidia graphics card, you may lose performance without knowing it. Nvidia (opens in new tab) has discovered a bug with the Discord application that will prevent the memory on even the best graphics cards from reaching its full speed.
The latest update to the Discord software results in a throttled memory clock on Nvidia graphics cards. When the software runs in the background, the graphics card will fail to hit the maximum memory clock, leading to a performance loss. It's an intriguing bug since it affects Nvidia graphics cards only and, more specifically, the memory subsystem. Unfortunately, the chipmaker didn't specify which models are impacted, so we can only assume that all graphics cards from the company are affected.
Nvidia didn't share how Discord disrupts the memory on the graphics card. However, Discord recently enabled AV1 support for Nvidia's latest GeForce RTX 40-series (Ada Lovelace) graphics card, so the bug could be potentially related to AV1 encoding support for video streaming. Nonetheless, it's a bug that has managed to slip through the developers.
Nvidia has stated it will push a fix for PC users with an over-the-air (OTA) update. However, there's a simple solution if you don't want to wait for the official fix. The chipmaker has shared the following method to solve the Discord application bug manually:
1. Click here (opens in new tab) to download the NVIDIA program GeForce 3D Profile Manager.
2. Open the GeForce 3D Profile Manager.
3. Click on the button Export SLI Profiles.
4. A file explorer window will pop up. Select a location to export and save the NVIDIA Profiles text file.
5. Open the text file saved in step 4 using Notepad (or any program that does not automatically apply formatting).
6. Perform a search for the section "Discord." Add a new line and type the following text as shown in the screenshot below:
Setting ID_0x50166c5e = 0x00000000
7. Save the edited NVIDIA Profiles as a txt file.
8. Go back to the GeForce 3D Profile Manager and click on the Import SLI Profiles button.
9. A file explorer window will appear. Select the updated "NVIDIA Profiles.txt" file and then click on the Open button.
10. Once completed, you may close the GeForce 3D Profile Manager application.
I wonder if it's detecting that Discord isn't used that much GPU juice normally and is downthrottling the chip accordingly. Discord IS an Electron app afterall, so this may affect all Electron apps
Discord is forcing CUDA P2 state when its running.
I found a solution on reddit.
Run nvidiaProfileInspector and disable Cuda force P2 state from the discord profile
This worked for both my GTX 1060 and RTX 2070
Discord running in the background while gaming has long affected the performance and there is really no need to run it while gaming anyway.
Rule Number One for Gaming: Turn off ALL unnecessary background applications dummy
Plenty of people use it for group communication with other people they're playing games with.
For those interested the performance drop is only around 1% using 3Dmark. Minuscule but it's still there, we paid good money for these cards and to have performance robbed even as low as this is a no go for me.
Discord is the go to voice chat app for all manner of games. For FFXIV which I play it is pretty much the defacto standard VC app. In this regard it is necessary, but generally I agree with the rest of your statement.
This worked perfectly fine for me.