<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unrecoverable GPU crash with DiRT 4"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110345#c28">Comment # 28</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unrecoverable GPU crash with DiRT 4"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110345">bug 110345</a>
              from <span class="vcard"><a class="email" href="mailto:v10lator@myway.de" title="Thomas Rohloff <v10lator@myway.de>"> <span class="fn">Thomas Rohloff</span></a>
</span></b>
        <pre>(In reply to Samuel Pitoiset from <a href="show_bug.cgi?id=110345#c27">comment #27</a>)
<span class="quote">> vulkaninfo reports 2 devices which means you likely have two drivers
> installed.
> Can you first clean up your install to make sure the number of reported
> devices is 1 (ie. Device Count = 1).</span >

I would love to do that but I have no idea what's happening here. This looks as
the same driver would claim two devices (same apiVersion and driverVersion) :

<span class="quote">> GPU0
> VkPhysicalDeviceProperties:
> ===========================
>    apiVersion     = 0x40105a  (1.1.90)
>    driverVersion  = 79695971 (0x4c01063)
>    vendorID       = 0x1002
>    deviceID       = 0x67df
>    deviceType     = DISCRETE_GPU
>    deviceName     = AMD RADV POLARIS10 (LLVM 9.0.0)</span >

<span class="quote">> GPU1
> VkPhysicalDeviceProperties:
> ===========================
>    apiVersion     = 0x40105a  (1.1.90)
>    driverVersion  = 79695971 (0x4c01063)
>    vendorID       = 0x1002
>    deviceID       = 0x67df
>    deviceType     = DISCRETE_GPU
>    deviceName     = AMD RADV POLARIS10 (LLVM 9.0.0)</span >

Also there aren't multiple drivers available:

<span class="quote">> $ ls -l /usr/lib64/ | grep vulkan
> lrwxrwxrwx  1 root     root            14  7. Mär 16:57 libvulkan.so -> > libvulkan.so.1
> lrwxrwxrwx  1 root     root            19  7. Mär 16:57 libvulkan.so.1 -> > libvulkan.so.1.1.92
> -rwxr-xr-x  1 root     root        317992  7. Mär 16:57 libvulkan.so.1.1.92
> -rwxr-xr-x  1 root     root       3645808 10. Mai 18:57 libvulkan_radeon.so
> $ equery b /usr/lib64/libvulkan.so.1.1.92 /usr/lib64/libvulkan_radeon.so
>  * Searching for /usr/lib64/libvulkan.so.1.1.92,/usr/lib64/libvulkan_radeon.so ... 
> media-libs/mesa-9999 (/usr/lib64/libvulkan_radeon.so)
> media-libs/vulkan-loader-1.1.92.1 (/usr/lib64/libvulkan.so.1.1.92)
> $ ls /usr/share/vulkan/icd.d/
> radeon_icd.i686.json  radeon_icd.x86_64.json
> $ cat /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
> {
>     "ICD": {
>         "api_version": "1.1.90",
>         "library_path": "/usr/lib64/libvulkan_radeon.so"
>     },
>     "file_format_version": "1.0.0"
> }
> $ strace vulkaninfo 2>&1 | grep libvulkan
> openat(AT_FDCWD, "/usr/lib64/libvulkan.so.1", O_RDONLY|O_CLOEXEC) = 3
> openat(AT_FDCWD, "/usr/lib64/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> openat(AT_FDCWD, "/usr/lib32/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> openat(AT_FDCWD, "/usr/lib32/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> openat(AT_FDCWD, "/usr/lib64/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> openat(AT_FDCWD, "/usr/lib32/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> openat(AT_FDCWD, "/usr/lib32/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> openat(AT_FDCWD, "/usr/lib64/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> openat(AT_FDCWD, "/usr/lib32/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> write(2, "ERROR: [Loader Message] Code 0 :"..., 93ERROR: [Loader Message] Code 0 : /usr/lib32/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
> openat(AT_FDCWD, "/usr/lib32/libvulkan_radeon.so", O_RDONLY|O_CLOEXEC) = 3
> write(2, "ERROR: [Loader Message] Code 0 :"..., 93ERROR: [Loader Message] Code 0 : /usr/lib32/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
> stat("/usr/lib64/libvulkan_radeon.so", {st_mode=S_IFREG|0755, st_size=3645808, ...}) = 0
> stat("/usr/lib64/libvulkan_radeon.so", {st_mode=S_IFREG|0755, st_size=3645808, ...}) = 0</span ></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>