Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-1965

Using NVAPI to change application profile creates dependency on unrelated file causing rebuilds

    XMLWordPrintableJSON

Details

    • Defect
    • Status: Closed
    • Unset
    • Resolution: Released
    • None
    • None
    • None

    Description

      Since the NVAPI has been included in the viewer to change the Second Life application profile, this apparently creates random dependencies on unrelated files. Namely, this is either

      C:\PROGRAMDATA\NVIDIA CORPORATION\DRS\NVDRSDB0.BIN
      or
      C:\PROGRAMDATA\NVIDIA CORPORATION\DRS\NVDRSDB1.BIN

      Both files contain the application profile database for the nvidia display driver. Starting the viewer will change the profile database, changing the timestamp of the file and eventually cause a rebuild of the viewer although nothing has changed.

      For instance, see this snippet from the llcommon build log:
      Task "LIB"
      Write Tracking Logs:
      llcommon.dir\Release\Lib-link.write.1.tlog
      Read Tracking Logs:
      llcommon.dir\Release\Lib-link.read.1.tlog
      Outputs for F:\VIEWERDEV\VIEWER-RELEASE\BUILD-VC100\LLCOMMON\LLCOMMON.DIR[...]:
      C:\PROGRAMDATA\NVIDIA CORPORATION\DRS\NVDRSDB1.BIN
      C:\WINDOWS\SYSTEM32\TZRES.DLL
      [...]
      C:\WINDOWS\GLOBALIZATION\SORTING\SORTDEFAULT.NLS
      Source compilation required: input C:\PROGRAMDATA\NVIDIA CORPORATION\DRS\NVDRSDB1.BIN is newer than output F:\VIEWERDEV\VIEWER-RELEASE\BUILD-VC100\LLCOMMON\RELEASE\LLCOMMON.LIB.
      C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\Lib.exe /OUT:"F:\ViewerDev\viewer-release\build-vc100\llcommon\Release\llcommon.lib" /NOLOGO llcommon.dir\Release\imageids.obj

      Also, this issue seem to have happened before for others, according to

      This is rather annoying as you can't run the viewer to test things without ending up in half of the viewer getting rebuild, and needs to be addressed in some way.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ansariel.hiller Ansariel Hiller
            Oz Linden Oz Linden
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: