Audio Audio/Peripherals Basics Motherboard Reviews Soundcards System

Solving “unexplained” interrupt problems: Message-Signaled Interrupts (MSI) against sound dropouts, USB problems & Co. | Practice

And it’s at this point that I’ll let FcryCola have his say again, who moved from his old setup with newer hardware to the Lian Li O11 Dynamic XL in early 2021, as this case is perfect for water cooling. At the beginning, everything worked fine until he unfortunately found out that the sound card no longer fit into the lower PCIe x1 slot of his Asus Crosshair 8 Hero. The reason was quite simple – the two nickel-plated brass tubes to the lower radiator collided with the EMI shield of the sound card.

So, the GeForce RTX 3090 was reduced to eight of the PCIe x16 lanes and the sound card was inserted into the second large slot with 8 lanes. The bus was the same. So far so good, because everything went to full satisfaction for the time being. However, after his aging Windows 10 didn’t quite want it anymore, he decided to play the test candidate for MS at the end of 2021 and he installed Windows 11 as his new operating system. Of course, everything was reloaded cleanly and seemed to work at first – except for sudden sound dropouts, which were difficult or impossible to reproduce. It was only ever noticeable that the problem occurred more frequently during short GPU load peaks than otherwise.

After almost 1 year of frustration and hours of searching the internet, he then came across a sadly no longer available forum link that described the exact problem in question. The reason for this is the so-called “lanesharing” of the hardware, which in this case is caused by the GPU and the audio card. In the forum, which is no longer accessible, there was then a reference to a thread at Guru3D, which I have listed again below as a source.

I already mentioned that modern hardware in the current Windows versions can work in two different modes (LBI or MSI) and that you really have to be careful as hell here. In the case, it was so that the Nvidia driver worked in LB mode and the audio driver in MSI mode. As a result, the signals were processed with a delay when there was a heavy load on his system, and both devices were constantly getting in each other’s way. He was able to test this very well with suitable tools like the DPC Latency Monitor, which confirmed that he had a real latency problem. In the MSI tool, you can then see very well that the graphics card is working in LBI mode, which is abundantly pointless due to the amount of necessary interrupt requests:

VGA card in LBI Mode

But you can’t count on anything. Looking into my system, HD Audio uses LBI twice, for whatever reason:

Audio Controller in LBI Mode

 

The solution is so simple…

I also had a rather unpleasant crackling in the speakers several times under full graphics load, which was easily solved with the help of the MSI tool. You just need to check the relevant boxes in the MSI column (if the device supports it) and then click “Apply”. The whole thing happens in real time and you can also check it immediately.  In our case acoustically, but the latency monitor can also help.

The check with the Latency Monitor clearly shows that the “Highest reported ISR routine execution time” is no longer with HD Audio. Problem solved!

After

 

Summary and conclusion

Small cause, big effect! For me, the topic was not new and I have been haunted by interrupts since the early 1990s. But even I, although I also wrote more than one article on the subject of Windows Vista, drivers and interrupts at that time, keep falling for this supposed convenience of Windows. The feel-good package is often enough not a feel-good package and you often lose a lot of performance due to such carelessly (because automatically) set interrupt settings.

If in the future the sound is spackling or the mouse is twitching, the graphics card is coughing or whatever: Use the latency monitor and the MSI tool and check what is going on. Both tools are free, but never useless. With this in mind – the credits go to the sources listed below and I’m now inwardly scolding my memory as well. Yes, you really do get old, obviously.

Sources: Microsoft, Intel, “mbk1969”(via Guru3D), FcryCola

 

154 Antworten

Kommentar

Lade neue Kommentare

ipat66

Urgestein

1,359 Kommentare 1,357 Likes

Ja,diese Probleme gibt es immer wieder.
Sehr nervig.
Sobald mich dieses „Lane-sharing Problem“ mal wieder nerven sollte,werde ich dieses Tool ausprobieren.
Gut zu wissen,dass man beim nächsten Mal (und es wird ein nächstes Mal geben!),
etwas in der Hinterhand zu haben.
Danke Igor für diesen wertvollen Tipp...:)

Antwort 3 Likes

konkretor

Veteran

302 Kommentare 306 Likes

Auf Seite 2 noch ein Typo

einfach lösen ließ lösen ließ.

Ach was habe ich mich früher rum geärgert mit den 15 IRQ auf den Boards.
Das ist etwas was ich nicht vermisse.

Antwort 5 Likes

BlackFireHawk

Veteran

101 Kommentare 107 Likes

Hinzukommt der Umstand das Windows alle Interrupts standartmäßig auf Core0 (bzw dem stärksten Core mit CPPC enabled) ausführt und das ganze auf 5% maximaler Prozessorleistung kappt.

Mit dem Tool powersettingexplorer (ebenfalls von mnk1969 aus dem Guru3D Forum)
Kann man nun das Interrupt Routing von windows beeinflussen
Freier Kern.. nicht geparkter Kern mit verzögern.. alles auf core0 leiten (Standart) und diese 5% Sperre aufheben.

Mit dem Tool kann man auch noch n paar andere Sachen ändern was zb das thread sheduling angeht.
Zb das priorisiert Leistungsstarke (oder besonders effiziente stromsparende) cores bevorzugt werden..oder ob die Last wenn möglich über viele cores verteilt wird.
Das ganze hat massive Auswirkungen auf Minfps und AVG-fps und kann diese ordentlich boosten

Antwort 16 Likes

RevAngel

Veteran

122 Kommentare 88 Likes

Wow, klasse Artikel! Danke Igor!
Was konnte man sich früher mit den hardware interrupts dusselig suchen, wenn es um Fehler ging... Der Artikel zeigt, das man auch mit "software" gesteuerten interrupts scheinbar nicht alles "gut" ist. Und das Thema offensichtlich mindestens so komplex ist wie früher. Danke für diesen Artikel - Ich hoffe viele Nutzer mit dem Problem finden dadurch Hilfe und finden den Artikel auch beim Suchen in ihrer bevorzugten Suchmaschine.

Antwort 2 Likes

TSH-Lightning

Mitglied

72 Kommentare 39 Likes

Könnte man grundsätzlich sagen, dass alle Komponenten die "MSI" unterstützen auch "MSI" nutzen sollten oder sollte man das teilweise so lassen wie es ist, also auf "LBI"?

Bei mir sind es diese 2, die "LBI" nutzen obwohl sie "MSI" untersützen:

High Definition Audio-Controller
Intel(R) Dynamic Tuning Processor Participant

Antwort 1 Like

BlackFireHawk

Veteran

101 Kommentare 107 Likes

Wobei das ganze kein Windows Problem per se ist.. sondern wie die Hardware Hersteller ihre Treiber schreiben.
Nvidia zb hat jahrelang den MSI Mode nur bei den quadros genutzt.. Default waren die GeForce Karten alle IRQ

Antwort Gefällt mir

F
Furda

Urgestein

663 Kommentare 371 Likes

Danke für den Artikel, gefühlt seit Assembler Programmierung in den 90er Jahren nicht mehr explizit mit Interrupts in Kontakt gekommen, aber jetzt ein Grund, mal wieder genauer hinzuschauen.

Die Tools werden ausprobiert und kommen definitiv in die Sammlung, auch das von @BlackFireHawk genannte!

Antwort 1 Like

Igor Wallossek

1

10,211 Kommentare 18,896 Likes

Schau mal nach den Latenzen! Bei mir war HD Audio deshalb der lahmste Gaul auf der Strecke, was vor allem in Spielen immer mal zu Knacksern führte. MSI(-X) schadet nie. Die GeForce sind bei mir alle per Default im MSI-Modus, auch die von Asus :P

Antwort 1 Like

CrystalyseR

Mitglied

38 Kommentare 8 Likes

Du hast nicht zufällig lust dazu einen kleinen Artikel zu schreiben? :love:🥰😘

Antwort 4 Likes

BlackFireHawk

Veteran

101 Kommentare 107 Likes

Kann ich bei Gelegenheit Mal machen.. Problem ist halt das ich momentan durch die Schichten immer platt bin..
Und ich dafür auch erstmal alles Benchen müsste..

Da fehlt es dann an einer gewissen professionellität.. wo sich nacher wieder jeder das Maul zerreist

Antwort Gefällt mir

M
McFly_76

Veteran

396 Kommentare 136 Likes

Es kann auch dazu führen wie mit meiner Soundkarte ( PowerColor HDX ) dass die Hardware nicht mehr erkannt wird ( Relais schaltet nicht sauber ) wenn "MSI" erzwungen wird.
Aber bei mir ist der "Übertäter" NTOSKRNL.EXE ( danke MS ) :)

Antwort Gefällt mir

DrDre

Veteran

240 Kommentare 93 Likes

Sehr interessant (y)
War das bei Win95 und XP noch eine Bastelei. Win95 wollte nach etlichen Versuchen manchmal neuinstalliert werden :rolleyes:Schaue mir das bei Gelegenheit mal an.

Antwort Gefällt mir

McDexter

Mitglied

62 Kommentare 23 Likes

Habe ewig nicht mehr an Interrupt (IRQ) gedacht.
Wie DrDre schreibt, war damit meine letzte Berührung bei Win95 - Win98 wo es ab und zu einen Ressourcenkonflikt (Gerätekonflikte) kam.

Danke für denn Artikel.

Antwort 1 Like

E
Eribaeri

Veteran

124 Kommentare 48 Likes

Instruktionen unklar. Kleiner Finger steckt jetzt im USB-Port fest.

Antwort Gefällt mir

F
Furda

Urgestein

663 Kommentare 371 Likes

Ich hab' mir die beiden Tools nun mal angeschaut.

"MSI mode utility":
Funktioniert bei mir *nicht* in Echtzeit (Windows 10 19044). Musste neu starten, damit neue IRQs vergeben werden (MSI IRQs sollten negativ sein). Vorher- / Nachher-Test mit LatencyMon, keine Verbesserung beim Audio Driver (den ich als "MSI" konfiguriert habe), erst nach PC neu starten. "Apply" oben rechts wurde natürlich gedrückt.

"LatencyMon":
Empfehlenswert ist den "Stats" Tab genau zu studieren. Am besten kopieren und in eine Textdatei speichern, zum Vorher/Nachher Vergleich (kann man mit WinMerge gut machen, Unterschiede in den Textdateien nebeneinander vergleichen). Hier in den Stats sieht man schön wo es Verbesserungen gegeben hat, absolut, im Durchschnitt, bei welchen Treiber und Prozessen. Wenn hier der Audio Treiber (in meinem Fall HDAudBus.sys) besser abschneidet, können Audio Probleme verbessert worden sein. Schaut auf alle Fälle genau hin, welcher Treiber (.sys) und welche Application (.exe) die höchste Latenzen haben. Bei mir taucht da Microsoft Defender (AntiVirus) auf. Ebenso hat Nvidia hier absolut die Nase vorn, im negativen Sinne, die mit Abstand höchsten Latenzen.

TLDR:
Gute Tools, schaut aber genau hin, vorher/nachher, was wirklich betroffen ist, und ob wirklich eine hörbare Verbesserung (hoffentlich) stattfindet. Danke für den Artikel, interessante Einblicke.
Mein Audio Driver war nicht MSI, hatte bisher jedoch das Glück, nie irgendwelche Probleme zu haben resp. zu hören. Nachdem er auf MSI gesetzt wurde (+ reboot), wurden dessen Latenzen sehr verbessert. Ich lass es nun mal bei MSI stehen und "sehe" was in Zukunft so zu "hören" ist...

Antwort 2 Likes

Klicke zum Ausklappem
F
Furda

Urgestein

663 Kommentare 371 Likes

Hab das Tool mal kurz geöffnet, da gibt's 'ne Menge versteckter Settings. Heisst bei mir, wie bei Dir, ohne Bench nix los, und ohne Zeit nix Bench. Werde es aber mal anschauen müssen, bin neugierig...

Antwort Gefällt mir

BlackFireHawk

Veteran

101 Kommentare 107 Likes

Interessant sind die int
Interessant sind die Interrupt settings und die threatplanungs settings für lange und kurze Laufzeiten.
Je mehr Kerne (5950x)desto mehr fällt das ins gewicht

Antwort Gefällt mir

Nulight

Veteran

228 Kommentare 150 Likes

Kurz , sehr geil (y)
Ich habe die 6900XT auf high gesetzt und schon habe ich mein nerviges Blackscreen-Blinken beim Start des PC´s behoben.
(Bios Black / Windows Kreis Black / Willkommen Black)
dann hatte ich auch noch die gleichen fehlenden Haken beim Sound.

View image at the forums


Chic

Antwort Gefällt mir

G
Guest

Guys, in MSI tool after applying the changes you have to reboot computer. MSI tool only writes values to registry, and they take effect namely at boot of Windows and device drivers.

Antwort 7 Likes

Danke für die Spende



Du fandest, der Beitrag war interessant und möchtest uns unterstützen? Klasse!

Hier erfährst Du, wie: Hier spenden.

Hier kannst Du per PayPal spenden.

About the author

Igor Wallossek

Editor-in-chief and name-giver of igor'sLAB as the content successor of Tom's Hardware Germany, whose license was returned in June 2019 in order to better meet the qualitative demands of web content and challenges of new media such as YouTube with its own channel.

Computer nerd since 1983, audio freak since 1979 and pretty much open to anything with a plug or battery for over 50 years.

Follow Igor:
YouTube Facebook Instagram Twitter

Werbung

Werbung