[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#978049: vulkan-tools: Vulkan not usable by default on AMD hardware



Hi Ian.

This is not a bug in vulkan-tools. vulkan-tools correctly reports
initialization failure, as it should.

It is pretty well known fact that HD 7900 series requires switching to
amdgpu from radeontop for Vulkan support.

It is documented on Debian wiki:
https://wiki.debian.org/AtiHowTo#AMDGPU.2FVulkan_on_older_cards

Unless upstream Linux kernel fixes this to make amdgpu a default for
this hardware
(which could happen very soon, after years of waiting!), Debian can't really
(and shouldn't) do much about it.

Please close this bug.


On Fri, 25 Dec 2020 at 05:57, Ian Bruce <ian_bruce@mail.ru> wrote:
>
> Package: vulkan-tools
> Version: 1.2.154.0+dfsg1-1
> Severity: important
>
>
> # vulkaninfo
> ERROR at /build/vulkan-tools-tihVv9/vulkan-
> tools-1.2.154.0+dfsg1/vulkaninfo/vulkaninfo.h:248:vkEnumerateInstanceExtensionProperties
> failed with ERROR_INITIALIZATION_FAILED
>
>
> a google search finds this page --
>
> https://bbs.archlinux.org/viewtopic.php?id=254015
>
> -- which suggests that the root problem is that the wrong kernel module is
> getting loaded.
> and so it turns out to be:
>
>
> # lspci -k
> ...
> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
>         Subsystem: Hightech Information System Ltd. Tahiti PRO [Radeon HD
> 7950/8950 OEM / R9 280]
>         Kernel driver in use: radeon
>         Kernel modules: radeon, amdgpu
>
>
> it doesn't seem reasonable that end users should have to figure this out, and
> edit
> the mkinitramfs config files, or whatever, to get this to work. can't it be
> arranged
> that the amdgpu kernel module is preferred over the radeon kernel module,
> whenever
> AMD GCN video hardware is detected?
>
>
>
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
> Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages vulkan-tools depends on:
> ii  libc6               2.31-5
> ii  libgcc-s1           10.2.1-1
> ii  libstdc++6          10.2.1-1
> ii  libvulkan1          1.2.154.1-1
> ii  libwayland-client0  1.18.0-2~exp1.1
> ii  libx11-6            2:1.6.12-1
> ii  libxcb1             1.14-2
>
> vulkan-tools recommends no packages.
>
> vulkan-tools suggests no packages.
>
> -- no debconf information
>


Reply to: