<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cannot set environment variables in Intel® Graphics Performance Analyzers (Intel® GPA)</title>
    <link>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165743#M1836</link>
    <description>&lt;P&gt;I am trying to run the gpasample&amp;nbsp;application, however, for some reason, the Graphics Monitor does not import any environment variable from my system. Even when I try to set up my own environment variables the gpasample subprocess does not have any environment variables in it.&lt;/P&gt;&lt;P&gt;The attached image shows what happens. Is this a bug? Am I missing something?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="no env vars.PNG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/10416i1B774AE1AFCD7080/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="no env vars.PNG" alt="no env vars.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2019 10:34:08 GMT</pubDate>
    <dc:creator>Thales_S_</dc:creator>
    <dc:date>2019-03-08T10:34:08Z</dc:date>
    <item>
      <title>Cannot set environment variables</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165743#M1836</link>
      <description>&lt;P&gt;I am trying to run the gpasample&amp;nbsp;application, however, for some reason, the Graphics Monitor does not import any environment variable from my system. Even when I try to set up my own environment variables the gpasample subprocess does not have any environment variables in it.&lt;/P&gt;&lt;P&gt;The attached image shows what happens. Is this a bug? Am I missing something?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="no env vars.PNG"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/10416i1B774AE1AFCD7080/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="no env vars.PNG" alt="no env vars.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:34:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165743#M1836</guid>
      <dc:creator>Thales_S_</dc:creator>
      <dc:date>2019-03-08T10:34:08Z</dc:date>
    </item>
    <item>
      <title>Hi Thales!</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165744#M1837</link>
      <description>&lt;P&gt;Hi Thales!&lt;/P&gt;&lt;P&gt;Oh no! This is due to the DirectX Runtime files being missing on your machine:&amp;nbsp;https://www.microsoft.com/en-us/download/details.aspx?id=8109&lt;/P&gt;&lt;P&gt;Let me know if the issue continues after install the runtime.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 21:17:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165744#M1837</guid>
      <dc:creator>Giselle_G_Intel</dc:creator>
      <dc:date>2019-03-12T21:17:01Z</dc:date>
    </item>
    <item>
      <title>Quote:Giselle G. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165745#M1838</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Giselle G. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Thales!&lt;/P&gt;&lt;P&gt;Oh no! This is due to the DirectX Runtime files being missing on your machine:&amp;nbsp;&lt;A href="https://www.microsoft.com/en-us/download/details.aspx?id=8109"&gt;https://www.microsoft.com/en-us/download/details.aspx?id=8109&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if the issue continues after install the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can confirm that is not the case. The DLL error I attached to the post is&amp;nbsp;&lt;STRONG&gt;just an example&lt;/STRONG&gt; of why the gsample&amp;nbsp;application cannot be executed with the latest version of the GPA. If I double-click in the gsample.exe manually everything work as expected, the problem is when launching any application as a child process of the GPA. Again, as illustrated in the screenshot attached to the post, both the GPA and the child-process does not have any environment variables, so the only explanation is that the GPA is somehow removing all the environment variables before launching the actual application.&lt;/P&gt;&lt;P&gt;Another thing to consider, I tried an older version of the GPA and it is working fine.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 23:22:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165745#M1838</guid>
      <dc:creator>Thales_S_</dc:creator>
      <dc:date>2019-03-12T23:22:17Z</dc:date>
    </item>
    <item>
      <title>Hi Thales, </title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165746#M1839</link>
      <description>&lt;P&gt;Hi Thales,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means you have already downloaded and installed the DirectX Runtime? The reason I bring this up is that this&amp;nbsp;is the exact error that shows when you run our sample through GPA with this build.&lt;/P&gt;&lt;P&gt;What environment variables have you attempted to set? Does this error happen without trying to set an environment variable as well?&lt;/P&gt;&lt;P&gt;When you ran GPA using an old build could you also take a frame capture or did you only run the application?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 15:26:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165746#M1839</guid>
      <dc:creator>Giselle_G_Intel</dc:creator>
      <dc:date>2019-03-13T15:26:49Z</dc:date>
    </item>
    <item>
      <title>Quote:Giselle G. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165747#M1840</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Giselle G. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Thales,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means you have already downloaded and installed the DirectX Runtime? The reason I bring this up is that this&amp;nbsp;is the exact error that shows when you run our sample through GPA with this build.&lt;/P&gt;&lt;P&gt;What environment variables have you attempted to set? Does this error happen without trying to set an environment variable as well?&lt;/P&gt;&lt;P&gt;When you ran GPA using an old build could you also take a frame capture or did you only run the application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the DirectX runtime is installed. I can run gsample.exe manually.&lt;/P&gt;&lt;P&gt;As per screenshot, I tried to set a variable called FOO=BAR for testing purposes. The error also happens when I don't try to set environment variables.&lt;/P&gt;&lt;P&gt;Yes, using an old build I was able to perform a frame capture and inspect the frame details.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 15:36:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165747#M1840</guid>
      <dc:creator>Thales_S_</dc:creator>
      <dc:date>2019-03-13T15:36:42Z</dc:date>
    </item>
    <item>
      <title>Hi Thales,</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165748#M1841</link>
      <description>&lt;P&gt;Hi Thales,&lt;/P&gt;&lt;P&gt;Can you please try re-installing the DirectX Runtime that I linked before we try to debug further?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2019 18:10:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Cannot-set-environment-variables/m-p/1165748#M1841</guid>
      <dc:creator>Giselle_G_Intel</dc:creator>
      <dc:date>2019-03-20T18:10:35Z</dc:date>
    </item>
  </channel>
</rss>

