DPC latency better with AMD graphic cards (3 card comparison)

Configure and optimize you computer for Audio.
RELATED
PRODUCTS

Post

The full list of tweaks are in
viewtopic.php?p=7624448#p7624448

Post

Improve DPC Latency Spikes For Ada Lovelace-based GPUs(4000 series)
in R536.67 Driver​.
https://forums.guru3d.com/threads/impro ... er.448143/

Post

New AMD chipset today(August 18th, 2023).
AMD Ryzen Chipset Drivers 5.08.02.027.
https://www.techpowerup.com/download/am ... t-drivers/

Post

Thanks Pictus! Installed.
Pictus wrote: Fri Aug 18, 2023 8:43 pm New AMD chipset today(August 18th, 2023).
AMD Ryzen Chipset Drivers 5.08.02.027.
https://www.techpowerup.com/download/am ... t-drivers/

Post

How to install AMD GPU driver without ANY bloatware.
But if you gaming maybe it is better install the full pack.

- Make sure the motherboard BIOS is updated.

- If it is AMD motherboard, make sure to install the latest chipset driver.
https://www.techpowerup.com/download/amd-ryzen-chipset-drivers/

- Download the latest GPU driver
https://www.techpowerup.com/download/amd-radeon-graphics-drivers/

- Uninstall the current driver with DDU, Windows in SAFE Mode.
https://www.wagnardsoft.com/content/Display-Driver-Uninstaller-DDU-V18068-Released
How to use
https://docs.google.com/document/d/1xRRx_3r8GgCpBAMuhT9n5kK6Zse_DYKWvjsW0rLcYQ0/edit

- Install AMD GPU Driver only
Image

- Reboot

- Go to Device manager and uninstall AMD Crash Defender
Image
Select the Attempt to remove the driver for this device
Image

- Download Autoruns
https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns
Run it as an administrator
Go to the TAB Options and make sure only Hide Empty Locations is enabled
Image

- Go to TAB Scheduled Tasks and delete AMDInstallUEP
Image

- Go to TAB Services and delete AMD Crash Defender Service
Image

- Go to TAB Drivers and delete amdfendr and amdfendrmgr
Image
Last edited by Pictus on Sat Mar 16, 2024 5:16 pm, edited 4 times in total.

Post

...
Last edited by Pictus on Fri Feb 09, 2024 1:39 pm, edited 4 times in total.

Post

Tweaks 2024 Edition.
The main stuff is in PURPLE, the other stuff is optional.

First check the
"Unofficial Windows 10 and 11 Audio Workstation build and tweak guide"
by Pete Brown.
https://devblogs.microsoft.com/windows- ... de-part-1/

My version is more hardcore... :hihi:
That is why you must first Create System Restore Point!
https://www.elevenforum.com/t/create-sy ... s-11.3602/

To check for Windows DPC Latency use
https://www.resplendence.com/latencymon
or the more precise Microsoft Xperf.

- The first step is to check/fix the File System and Operational System Integrity
Run this as admin https://www.mediafire.com/file/5yqx79cn ... S.zip/file
it is from Windows 11 Tweaks, Fixes and Modifications [Overview].

- Disable Windows Hibernate
https://www.elevenforum.com/t/enable-or ... s-11.1894/

- Disable Core Isolation and Memory Integrity. (Use the registry)
https://www.elevenforum.com/t/enable-or ... s-11.4942/
Attention, Core Isolation is a security feature!
Modern CPU + updated drivers + Latest Windows 11 the performance hit
of this feature should be very small.
IF you are using AMD 7900X3D/7950X3D do not disable!
It is needed for this https://hwbusters.com/cpu/amd-ryzen-9-7 ... olution/3/
But there are two solutions, this or use Process Lasso CPU Affinity and set/limit
all background process to the non 3D-cache cores, leaving the 3D-cache
cores for the application that may benefit from it or vice-versa.
In the 7900X3D the non 3D-cache is the Core 12 to 23.
In the 7950X3D the non 3D-cache is the Core 16 to 31.
https://youtu.be/VS3AmWLYd7o

- Disable Core Parking
https://bitsum.com/parkcontrol/
If you are using AMD 7900X3D/7950X3D it is the same problem mentioned
above, else if you use Process Lasso.

- How to Activate/Enable the Ultimate Performance Mode Power Plan.
In the Command Prompt or PowerShell window, copy the command provided below.
powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61
If you are using AMD 7900X3D/7950X3D you must keep it in Balanced.
It's the same problem you saw above, the solution is Process Lasso.
https://youtu.be/bBdMKz18TWk

- Disable Widgets
https://www.elevenforum.com/t/enable-or ... s-11.1196/
or uninstall
https://www.thewindowsclub.com/how-to-u ... windows-11

- Disable Microsoft Edge from running in background
https://www.windowscentral.com/how-prev ... windows-10
Maybe disable the other stuff too https://www.oo-software.com/en/shutup10 :tu:
https://youtu.be/VU9L0udNV9M
If want to go deeper https://www.w10privacy.de/english-home/ :tu: :tu:
https://youtu.be/qttbd2Ouxmc

- Set the Windows Priority Separation to 26hex
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl]
"Win32PrioritySeparation"=dword:00000026
https://www.thewindowsclub.com/processo ... indows-7-8
Or double click the REG file https://www.mediafire.com/file/1svbqo0j ... 6.REG/file or
Image

- Set the active power scheme to Processor performance time check interval = 5000
(Click in the image to download the Windows power plan settings explorer utility)
Image
If want the details, look at
https://youtu.be/n9xAG3nb9XQ
Also deselect "Processor idle demote/promote threshold"
and set the AC value = 100 for BOTH "Processor idle demote/promote threshold"
Image

- Disable USB selective suspend setting and PCI Express Link State Power Management.
Image

- Disable Energy/GREEN/Power stuff for both Realtek and Intel LAN
Image

- Go to Settings>Personalization>Colors = Disable Transparency Effects
Image

- Go to Settings>System>Multitasking = Disable Snap Windows
Image

- For the drives(SSD/HD) enable the
"Turn off Windows write-cache buffer flushing on the device"

Step 1. Press Win + R to open the Run dialog.
Step 2. Type devmgmt.msc and hit Enter to launch Device Manager.
Step 3. Expand Disk drives and right-click on the disk drive you want to enable/disable disk write caching to choose Properties. Here, we select an internal storage drive.
Step 4. Under the Policies tab, choose from "Enable write caching on the device" and "Turn off Windows write-cache buffer flushing on the device".
Image

- Enable MSI(Message Signaled-Based Interrupts) with this utility.
You can not enable MSI for USB 2, FireWire and some WiFi, but it is a must for the GPU.
https://forums.guru3d.com/threads/windo ... ol.378044/
Image

- Set the GPU/LAN/USB(mouse/audio) DRIVER to use a different CPU CORE/E-CORE.
Microsoft Interrupt Affinity Tool
Here(AMD 5600X 12 CORES) I set the GPU to use the last 2 cores.
Because of hyperthreading/SMT each 2 cores = 1 real core.
Intel E-core does not have hyperthreading yet.
GPU driver = 11 and 10
USB xHCI Host = 9 and 8 (There may be more than one, set it to use other cores)
LAN driver = 7 and 6
Image
Details in the video
https://youtu.be/WGDRL87tg5s

- For AMD GPU we can install the driver only and to install without any bloatware, check here.
Image
IF you play games better do the Full Install, but can delete/uninstall AMD Crash Defender/amdfendr/amdfendrmgr and deselect
Image
For Nvidia you have the option to install a less bloated driver from
https://forums.guru3d.com/threads/546-2 ... on.433367/
:evil: Do not install Nvidia Shadowplay! :evil:
Image
And set "Power management mode" from Adaptive to Maximum Performance.
https://nvidia.custhelp.com/app/answers ... erformance
Image
Sometimes it is beneficial for ANY GPU to disable MPO(Multi-plane overlay).
Disabling MPO can improve some desktop apps flicker or stutter issues.
But disable only if after all teaks you still have high GPU latency.
https://forums.guru3d.com/threads/disab ... es.445266/

- Disable Threaded DPCs(Windows XP behavior).
This raises the priority of all DPCs to DISPATCH level, which is generally the
highest priority level that drivers work at and it prevents DPCs from being
blocked by the kernel, user software, page faults and asynchronous procedures.
It can have a positive or negative impact on performance, depending on the
hardware and software characteristics of the PC. YMWV!

Image
https://www.geoffchappell.com/studies/w ... /index.htm
https://learn.microsoft.com/en-us/windo ... eaded-dpcs
Open Powershell as Admin. Copy/Paste/Enter the following:
reg add "HKLM\System\CurrentControlSet\Control\Session Manager\kernel" /v ThreadDpcEnable /t REG_DWORD /f /d 0
Or double click the REG file https://www.mediafire.com/file/qn4krw22 ... s.REG/file

- Some motherboard BIOS tweaks: (If not available in your BIOS, ignore)
SB Clock Spread Spectrum = Disabled
Performance Bias = None
VDDCR CPU Switching Frequency = 350 (If the default is higher, keep the default)
VDDCR CPU Power Phase Control = Extreme
VDDCR SOC Switching Frequency = 350 (If the default is higher, keep the default)
VDDCR SOC Power Phase Control = Extreme
Power Supply Idle Control = Typical Current Idle
ErP Ready = Enable S5
Legacy USB Support = Disabled
XHCI Hand-off = Disabled
ASUS Performance Enhancement = Disabled
Download & Install ARMOURY CRATE app = Disabled
You or BIOS should not install ASUS ARMOURY CRATE!


Some good stuff:

https://bitsum.com/
https://doublecmd.sourceforge.io/
https://www.binisoft.org/wfc

https://learn.microsoft.com/en-us/sysin ... s/autoruns
https://learn.microsoft.com/en-us/sysin ... s-explorer

https://www.sordum.org/9416/powerrun-v1 ... rivileges/
https://www.sordum.org/9470/windows-upd ... cker-v1-7/
https://www.sordum.org/9480/defender-control-v2-1/

https://www.w10privacy.de/english-home/
https://www.oo-software.com/en/shutup10
https://www.oo-software.com/en/ooappbuster


For AMD 7950X/7900X it is better enable the Eco Mode.
Look here.:tu:

https://youtu.be/oubGmP4nLbQ
Be careful with the Curve Optimizer
https://youtu.be/c45KXBnbbpk

Intel How to Lower Temperatures and Power Consumption
https://youtu.be/EilwjiqCiSw

If you are not satisfied how the motherboard BIOS deal with the fans, use this.
It can set the case fans to react to BOTH CPU and GPU temperature.
https://linustechtips.com/topic/1099996 ... placement/
https://youtu.be/Uc16Ng6KkSY
IF you want better 120mm fans, check https://www.hecka.tech/p/the-best-120mm-fans :clap:
Better 140mm fans
https://youtu.be/HlH3kKJz5QQ https://youtu.be/aQotJ3vfoXY

The best thermal "paste".
https://youtu.be/brNqruM2RfM
Upsiren PCM-1/Honeywell PTM7950/Thermalright Heilos is a long lifespan PCM thermal material.
They are the same stuff, but sold with different names, thickness and sizes.
The PCM(phase change) thermal compound is a plastic(polymer) that melts, no oil to
evaporate/dry and longer molecular chain making it more resistant to pump out.
Image
It is also sold in the form of a paste(polymer+solvent), the PTM7958 is an
improved version of the paste used by Lenovo. The paste need
some time for the solvent to evaporate before mounting the cooler.
PCM needs minimal pressure to work properly or the performance will not
be better than regular thermal paste, which is why some users do not see
better performance with PCM.
One example here of an Intel CPU without the Thermalright Contact Frame.
The CPU is bent and the pressure is only good in the center. :evil:
For uneven surfaces like the bent/warped Intel example, the Shin-Etsu X-23-8117
probably is the best.

Minimum sizes for the pad:

- 30x40mm for Intel (LGA 1700)
- 40x40mm for AMD (AM4/AM5)
Last edited by Pictus on Mon Mar 18, 2024 4:05 am, edited 18 times in total.

Post

Very helpful tips here @Pictus, even for people who aren't doing music on their PCs. The tips on reducing the AMD and NVidia driver bloat are great, and you've probably noted this on a previous page (my apologies if so), but wouldn't someone have to go through all the tips again with each update of the driver? AMD and NVidia sometimes update drivers within a week or two of a previous version when they find a particularly troublesome bug. As much as I might want to keep their bloatware off my machine (and those of my clients), I wouldn't want to have to spend 20 to 30 minutes every other week doing that, just to chase down their bloat.

Of course, you didn't create the problem, and I'm thankful for what you've posted here. But I know that when I've de-bloated both in the past, I'd have to do it again after each update. AMD and NVidia would simply re-populate the Registry and the items in Device Manager.

I know there are ways of "automating" some of this, and/or storing Registry values (or setting up Group Policies) after you've cleaned up the PC and then loading those .reg files back into the Registry, effectively making the changes for you. But these work-arounds could also make things.

And FWIW, I think it's kind of ironic that the video card manufacturers bloat their drivers with the same kind of junk that could affect game play or the efficiency of the card itself. Sure, some of it looks nice, but hardcore gamers are probably more concerned about frame rates than the transparency effects of the driver GUI.

Steve
Here's some of my stuff: https://soundcloud.com/shadowsoflife. If you hear something you like, I'm looking for collaborators.

Post

planetearth wrote: Tue Jan 02, 2024 2:48 am Very helpful tips here @Pictus, even for people who aren't doing music on their PCs. The tips on reducing the AMD and NVidia driver bloat are great, and you've probably noted this on a previous page (my apologies if so), but wouldn't someone have to go through all the tips again with each update of the driver? (...)
Not all tweaks, I guess the latest NVIDIA has MSI enabled by default, so just
the Microsoft Interrupt Affinity Tool and the AMD GPU steps and I guess
the Nvidia Power management mode.
Can get a less bloated Nvidia from https://forums.guru3d.com/threads/546-2 ... on.433367/
Well...
I tested Gfrad to install a totally debloated AMD driver, probably it will
work for Nvidia too.
https://forums.guru3d.com/threads/gfrad ... ns.443504/
I haven't mentioned it because I don't know much yet, but it's working well. :tu:
So, don't ask me questions... :pray:

Post

Doing some tweaking this week, on a new build. Will def scan this thread. Thx.
I'm not a musician, but I've designed sounds that others use to make music. http://soundcloud.com/obsidiananvil

Post

Is it no longer recommended to disable unneeded services in Windows 11?
A well-behaved signature.

Post

JerGoertz wrote: Wed Mar 13, 2024 12:20 am Is it no longer recommended to disable unneeded services in Windows 11?
I think that's always recommended.

I never do it ;), but, the less you have running, the better the performance.

Post

chk071 wrote: Wed Mar 13, 2024 12:23 am
JerGoertz wrote: Wed Mar 13, 2024 12:20 am Is it no longer recommended to disable unneeded services in Windows 11?
I think that's always recommended.

I never do it ;), but, the less you have running, the better the performance.
I read that Win 10/11 does a better job with only loading and running services "as-needed", so that disabling them doesn't matter so much. Not sure exactly whether this is true.
A well-behaved signature.

Post Reply

Return to “Computer Setup and System Configuration”