nvidiaProfileInspector icon indicating copy to clipboard operation
nvidiaProfileInspector copied to clipboard

[Feature request] Add setting support for CUDA - Sysmem Fallback Policy

Open levicki opened this issue 1 year ago • 5 comments

@Orbmu2k Latest NVIDIA drivers (546.01 as of this writing) support new CUDA - Sysmem Fallback Policy option.

I created a setting entry which I am sharing below, if you are still maintaining the program could you please add it to the Reference.xml file and create a new release?

    <CustomSetting>
      <UserfriendlyName>CUDA - Sysmem Fallback Policy</UserfriendlyName>
      <HexSettingID>0x10ECECC9</HexSettingID>
      <Description />
      <GroupName>5 - Common</GroupName>
      <SettingValues>
        <CustomSettingValue>
          <UserfriendlyName>Driver Default</UserfriendlyName>
          <HexValue>0x00000000</HexValue>
        </CustomSettingValue>
        <CustomSettingValue>
          <UserfriendlyName>Prefer No Sysmem Fallback</UserfriendlyName>
          <HexValue>0x00000001</HexValue>
        </CustomSettingValue>
        <CustomSettingValue>
          <UserfriendlyName>Prefer Sysmem Fallback</UserfriendlyName>
          <HexValue>0x00000002</HexValue>
        </CustomSettingValue>
      </SettingValues>
      <SettingMasks />
    </CustomSetting>

levicki avatar Nov 01 '23 15:11 levicki

I would like to know how did you get the HexSettingID since this option results in 'NVAPI_SETTING_NOT_FOUND' in R545 NVAPI in driver 546.29, which means the id may need an update

Justin62628 avatar Dec 10 '23 04:12 Justin62628

@Justin62628 By comparing profile settings using NVIDIA Profile Inspector with the option turned on and off using the NVIDIA Control Panel.

levicki avatar Dec 12 '23 13:12 levicki

@Justin62628

image

image

It's not really rocket science to reverse-engineer it.

levicki avatar Dec 14 '23 13:12 levicki

@Justin62628

image

image

It's not really rocket science to reverse-engineer it.

Thank you, this solves my issue

Justin62628 avatar Dec 31 '23 10:12 Justin62628

@Orbmu2k Latest NVIDIA drivers (546.01 as of this writing) support new CUDA - Sysmem Fallback Policy option.

I created a setting entry which I am sharing below, if you are still maintaining the program could you please add it to the Reference.xml file and create a new release?

... snip

@levicki Since there's no reply from the authors, is there some way I can incorporate those settings to profile inspector? I want to install it but I don't wanna end up worsening Stable Diffusion performance in some way.

Edit: Nvm, I'm blind apparently and completely missed the file Reference.xml existing in the program's directory. So I guess I just append your code in it? Do you maybe have any other settings suggestions for AI/CUDA focused users?

jtabox avatar Jan 17 '24 17:01 jtabox