Debian 10(Radeon HD 295X2)에 Vulkan 설치

Debian 10(Radeon HD 295X2)에 Vulkan 설치

이 컴퓨터는 나에게 익숙하지만 내 것이 아닙니다. Vulkan은 소유자의 Windows 7 드라이브에서는 제대로 작동하지만 내 Debian 드라이브에서는 작동하지 않습니다. Debian.org의 지침에 따라 contrib 및 non-free를 활성화하고
firmware-linux, firmware-linux-nonfree, libgl1-mesa-dri, xserver-xorg-video-ati
다음 패키지를 설치했습니다.
libvulkan-dev, libvulkan1, vulkan-tools, vulkan-utils, vulkan-validationlayers, vulkan-validationlayers-dev, mesa-vulkan-drivers

OpenGL은 Steam과 해당 게임(i386 및 amd64 지원 포함) 내부와 외부 모두에서 잘 작동하지만 Vulkan은 시작되지 않습니다(dpkg/apt에 따라 올바르게 설치되었음에도 불구하고). 저는 주로 Serious Sam Fusion(2017)을 실행하는 데 관심이 있었지만 덜 까다로운 GZDoom을 사용하여 Vulkan의 기능을 테스트할 수도 있었습니다.


몇가지 정보:
AMD Radeon HD 295X2(Vulkan 호환)
Ryzen 1700X
16GB RAM(DDR4)
(기타 필요한 정보는 항상 제공됩니다)

$vk큐브

vkcube: /build/vulkan-tools-6bmpQy/vulkan-tools-1.1.97+dfsg1/cube/cube.c:3148: 
demo_init_vk: Assertion `!err' failed.
Aborted

$vulkaninfo

Vulkan Instance Version: 1.1.97

/build/vulkan-tools-6bmpQy/vulkan-tools-1.1.97+dfsg1/vulkaninfo/vulkaninfo.c:3845: 
failed with VK_ERROR_INITIALIZATION_FAILED

$ dpkg -l | dpkg -l grep AMDGPU

ii  libdrm-amdgpu1:amd64                   2.4.97-1
ii  libdrm-amdgpu1:i386                    2.4.97-1
ii  libgbm1-amdgpu-pro-base                16.40-348864
ii  libgl1-amdgpu-pro-appprofiles          16.40-348864
ii  libgl1-amdgpu-pro-dri:amd64            16.40-348864
ic  libgl1-amdgpu-pro-glx:amd64            16.40-348864
ii  opencl-amdgpu-pro-icd:amd64            16.40-348864
ii  xserver-xorg-video-amdgpu              18.1.99+git20190207-1

$ glxinfo grep OpenGL |

OpenGL vendor string: X.Org
OpenGL renderer string: AMD HAWAII (DRM 2.50.0, 4.19.0-8-amd64, LLVM 7.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.6
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

답변1

결국 AMD 웹사이트에서 최신 amdgpu(amdgpu-pro 아님)를 설치했습니다. 이 경우 "Radeon Crimson 15.12"보다 최신 드라이버를 다운로드해야 합니다. 이는 fglrx(원하는 버전은 아니지만) 최신 버전이기 때문입니다.

radeon그 이유는 AMD가 기존 커널 드라이버와 새 커널 드라이버 를 모두 지원하는 다양한 그래픽 카드(대략 Radeon HD 7000 시리즈부터 R9 Fury X까지)를 보유하고 있어 amdgpu사용자에게 하나를 사용할 수 있는 옵션을 제공하기 때문인 것으로 나타났습니다. 다른 한편으로는. 하나에서 다른 것으로 전환하는 방법을 설명합니다.이 데비안 위키 페이지에서(GRUB의 몇 가지 명령일 뿐입니다).

amdgpu그러나 내 해결책은 데비안 커널에서 제공하는 다소 오래된 드라이버에 의존하는 대신 AMD 사이트에서 최신 커널 드라이버를 설치하는 것이었습니다 .

관련 정보