radeon_gpu_analyzer icon indicating copy to clipboard operation
radeon_gpu_analyzer copied to clipboard

amdspv outputs string on success

Open Ryp opened this issue 5 years ago • 5 comments

Super nitpicking at this point, but amdspv prints AMDSPV SUCCESS!!! on the error output when it succeeded. I feel like this is not useful, since we already get an error code when that happens. Maybe put this output in a --verbose switch?

Ryp avatar Oct 15 '19 19:10 Ryp

Hi Ryp,

Are you getting this output from amdspv when running rga in Vulkan mode, or while interfacing with amdspv directly?

AmitBM avatar Oct 15 '19 19:10 AmitBM

I have that message while talking to amdspv directly.

Ryp avatar Oct 15 '19 19:10 Ryp

Hi Ryp,

Got it. Please note that interfacing with amdspv directly is discouraged (and using the offline Vulkan mode in general is discouraged - the recommended way to go is using the Vulkan live-driver mode). We will see if this behavior can be refined however.

AmitBM avatar Oct 15 '19 19:10 AmitBM

My use case consists of generating the GCN ISA in text mode as part of a build process. I also don't currently own a AMD GPU, I'm guessing the live-driver is not an option for me?

Ryp avatar Oct 15 '19 20:10 Ryp

RGA has the Vulkan driver packaged with it to support your use case. Give it a shot - it should fall back to using the packaged driver after failing to locate the driver.

Since I guess that you are building RGA from source rather than using the release archive, try the following steps to enable yourself:

  1. Download and extract the release archive for the relevant platform (Windows/Linux).
  2. Under x64/Vulkan (Windows) or under Vulkan (Linux), you should find an "amdvlk" folder that contains the packaged driver.
  3. Copy the amdvlk folder to the relevant location under your build output folder (where the RGA executable was generated). The hierarchy should match what you see in the release archive.
  4. Try running the tool in Vulkan live-driver mode (-s vulkan).

AmitBM avatar Oct 15 '19 20:10 AmitBM