Windows: Line-Based vs. Message Signaled-Based Interrupts. MSI tool.

Discussion in 'Operating Systems' started by mbk1969, May 7, 2013.

  1. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,040
    Likes Received:
    7,381
    GPU:
    GTX 1080ti
    only the UAA driver is capable of running with MSI's because its effectively in Intel HDA configuration.

    the WDM multikernel driver is not capable of operating in MSIs.
     
    Last edited: Aug 16, 2021
  2. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    System Info shows the same value as MSI tool just in unsigned format of integer number. You can see hexadecimal representation of negative integer IRQ number in Device Manager (switch the view to "Resources by type").
    For signed 32 bit integer: -20 = 0xFFFFFFEC
    For unsigned 32 bit integer: 0xFFFFFFEC = 4294967276.
    You can translate yourself.
    Run calculator, switch the view to "Programmer", select the width of the number "QWORD" (64 bits), switch the input to hexadecimal ("HEX") and input "FFFFFFEC" - you will see "4 294 967 276" in decimal format.
    [​IMG]

    Then click on "QWORD" to switch to "DWORD" (32 bit) and you will see "-20" in decimal format ("DEC")
    [​IMG]

    System Info is legacy software, so I guess they did not update it to reflect negative IRQ numbers.
    Use Device Manager instead.
     
    HK-1 likes this.
  3. bbacks26

    bbacks26 Guest

    Messages:
    9
    Likes Received:
    1
    GPU:
    RTX 2080Ti
    What priority should I use for my 2080ti in MSI mode? High or Undefined? Please explain
     
  4. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    Better no mess with interrupt priorities. You can try, of course, but we have not seen any gain.
     

  5. JimmyThunder

    JimmyThunder Member

    Messages:
    37
    Likes Received:
    1
    GPU:
    Gigabyte 3070
    Ive had insane lag and stutter with my 3070. Seems to be having conflicts with my audio and internet.

    I played around with the priorities and it's dropped my spikes a massive amount in latencymon. I'm hoping to fix my interrupts..

    Are there any ideal priorities or is it better to leave it as default?
     
  6. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    If you managed to improve situation then stay on your settings.
    There can`t be ideal interrupt parameters because all rigs are different.
     
  7. Morini

    Morini Member

    Messages:
    18
    Likes Received:
    1
    GPU:
    6900XT 16GB
    This is probably the wrong place to look for help, but I'm kinda desperate. Ever since I swapped my GTX970 to a 6900XT (quite the leap) I've been having problems with freezes/audio pops. My DPC latency spikes up to an insane 27k usecs caused by dxgkrnl.sys when the problem occurs. I've tried all of the basic troubleshooting steps, clean Windows and driver installs, different settings and drivers, but found nothing that would fix the problem. The only thing that eliminates the lag spikes completely is swapping the GPU back to the GTX970. Although I've found some weird things that seem to make the spikes occur less often, like using only one monitor and playing in windowed / borderless instead of full screen.

    I'm thinking of RMAing the card but I'm not sure if the problem is in the card, or is something else in my system busted and the increased stress on the components from the more powerful card breaks something.

    Any advice?

    My specs:
    Windows 10 Pro 21H1
    MSI MAG B550 Tomahawk
    Ryzen 5 5600X
    32GB G.Skill Ripjaws V 3600Mhz
    PowerColor Red Devil 6900XT
    Western Digital 1TB WD Black SN750 NVMe SSD
    Fractal Design Ion+ 860W Platinum

    Trace report: https://pastebin.com/iYD0RQ30
     
  8. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,040
    Likes Received:
    7,381
    GPU:
    GTX 1080ti
    RMA the CPU, it has a bad IO Chiplet. (or lock PCIE to 3.0)
     
  9. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    @Morini

    Have you tried to clean NV leftovers with DDU?
    Also you can do following steps:
    - while on NV card go to device settings (in Device Manager) and force driver change to ""Standard VGA" (or something like that);
    - reboot;
    - uninstall NV software through Control Panel (or Settings);
    - turn power off;
    - swap to AMD card.
     
  10. Morini

    Morini Member

    Messages:
    18
    Likes Received:
    1
    GPU:
    6900XT 16GB
    I have used DDU multiple times and also a clean Windows install. I also tried multiple driver versions and tried installing while offline to stop Windows from interfering.
     

  11. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    Then something is wrong in your rig (at least for AMD card).
     
  12. Morini

    Morini Member

    Messages:
    18
    Likes Received:
    1
    GPU:
    6900XT 16GB
    I've tried locking the PCIE to 3.0 and disabling/enabling ReBAR, but neither seemed to help.
     
  13. FronteRBumpeR

    FronteRBumpeR Member

    Messages:
    11
    Likes Received:
    0
    GPU:
    Nvidia 30 Series

    I was under the impression that you have stated not to use your GPU in MSI mode & HAGS at the same time?
     
  14. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    I do not use HAGS on my rig but not because of MSI mode.
     
  15. FronteRBumpeR

    FronteRBumpeR Member

    Messages:
    11
    Likes Received:
    0
    GPU:
    Nvidia 30 Series
    I was under the impression that earlier in this thread you stated that msi mode (for your GPU) and HAGS we're not compatible. My mistake!

    Can you comment on the relationship between your Windows default MSI mode Interrupt Priority & Microsoft Interrupt Affinity PCT? (or so it seems there is a direct relationship to me)


    On two seperate Mobo's, all drivers automatically in MSI mode that had a preset Interrupt Priority also had an Interrupt Affinity Policy.

    The picture attached is my current Mobo

    but on my old I had one SATA and my Realtek LAN on HIGH Interrupt Priority
    they both had an Affinity Policy, SATA controller SpreadMessageAcrossAllProccesors and my Realtek was AllCloseProccesors
     

    Attached Files:


  16. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    Device manufacturers choose these two settings for their devices - priority and CPU affinity.
    I do not toy with both of these settings because I am too lazy to do extensive testing (and I have no issues in games).

    PS
    To mess with CPU affinity you have to know all about CPU usage on your rig.
     
  17. FronteRBumpeR

    FronteRBumpeR Member

    Messages:
    11
    Likes Received:
    0
    GPU:
    Nvidia 30 Series
    then If I may, I'd like to know your opinion on the rest of the GPU preferences on the same window. are the two settings related? using HAGS and selecting performance per app?


    HAGS being the reg entry under : HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\GraphicsDrivers
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers



    and the GPU preferences under: HKEY_CURRENT_USER\SOFTWARE\Microsoft\DirectX\UserGpuPreferences
     

    Attached Files:

    • gpu.png
      gpu.png
      File size:
      32.1 KB
      Views:
      40
  18. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    HAGS has benefit on weak CPUs - https://devblogs.microsoft.com/directx/hardware-accelerated-gpu-scheduling/.
    Performance per app is for laptops with pair of GPUs - weak iGPU and strong dGPU - so user can select which GPU for which app (as I take it).
     
    Last edited: Oct 17, 2021
    Maulcun likes this.
  19. noGuruATall

    noGuruATall Member Guru

    Messages:
    129
    Likes Received:
    6
    GPU:
    gtx 580 3GB
    There is a way to get no rounded windows corners like in w10?
     
  20. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,606
    Likes Received:
    13,615
    GPU:
    GF RTX 4070
    noGuruATall likes this.

Share This Page