Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Failed to open ICD JSON file for DXVK #3646

Open
ahzay opened this issue Dec 31, 2024 · 0 comments
Open

[Bug]: Failed to open ICD JSON file for DXVK #3646

ahzay opened this issue Dec 31, 2024 · 0 comments

Comments

@ahzay
Copy link

ahzay commented Dec 31, 2024

Describe the bug

On arch linux with the proper Radeon instructions followed, vulkaninfo shows nothing weird. When launching a game with DXVK, there seems to be a problem with vulkan. It first appears as:

Required Vulkan extension VK_KHR_surface not supported

After validating that the GPU does in fact support this extension and enabling more vk logging I see:

DRIVER:            Searching for driver manifest files
DRIVER:               In following locations:
DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.i686
DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
DRIVER:               Found the following files:
DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
ERROR:             loader_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
LAYER:             Searching for implicit layer manifest files
LAYER:                In following locations:
LAYER:                   /home/user/.var/app/com.usebottles.bottles/config/vulkan/implicit_layer.d
...
DRIVER:               Found the following files:
DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
ERROR:             loader_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
LAYER:             Searching for implicit layer manifest files
...
LAYER:                   /run/host/share/vulkan/implicit_layer.d
LAYER:                Found the following files:
LAYER:                   /usr/lib/x86_64-linux-gnu/GL/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
INFO:              Found manifest file /usr/lib/x86_64-linux-gnu/GL/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json (file version 1.0.0)
DRIVER:            Searching for driver manifest files
DRIVER:               In following locations:
DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.i686
DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
DRIVER:               Found the following files:
DRIVER:                  /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
ERROR:             loader_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json
LAYER:             Searching for implicit layer manifest files
LAYER:                In following locations:

Am thinking it might be a flatpak issue (I've reset the config to no avail) but I haven't run bottles without flatpak to try.

To Reproduce

Start a game with DXVK.

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '51.17'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.12.7-arch1-1
Disk:
    Total: 67504590848
    Free: 67504418816
RAM:
    MemTotal: 125.7GiB
    MemAvailable: 104.8GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant