[solved] cant install vulkan

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
soumodip
Level 1
Level 1
Posts: 22
Joined: Mon Apr 22, 2019 3:02 pm

[solved] cant install vulkan

Post by soumodip »

i've mesa-vulkan-drivers libvulkan1 and vulkan-utils all installed as i can see in the synaptic package manager but still when trying to see vulkaninfo in terminal it shows this

===========
VULKAN INFO
===========

Vulkan Instance Version: 1.1.73

/build/vulkan-77a_zE/vulkan-1.1.73+dfsg/demos/vulkaninfo.c:3141: failed with VK_ERROR_INITIALIZATION_FAILED


i want to play dota 2 but its lagging in opengl i thought installing vulkan will be helpful
Last edited by soumodip on Sat Oct 26, 2019 1:25 pm, edited 1 time in total.

User avatar
Lord Boltar
Level 5
Level 5
Posts: 688
Joined: Mon Jan 09, 2017 7:24 pm
Location: Sunny Florida

Re: cant install vulkan

Post by Lord Boltar »

Need some system info - what is the output of

Code: Select all

inxi -Fx
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members

The only way for evil to prosper is for good men to do nothing

User avatar
phd21
Level 19
Level 19
Posts: 9635
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: cant install vulkan

Post by phd21 »

Hi soumodip,

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

Not all video cards support the vulkan drivers.

FYI: Here are my results:
my video card wrote:Graphics: Device-1: Intel 4 Series Integrated Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1440x900~60Hz
OpenGL: renderer: Mesa DRI Intel Q45/Q43 v: 2.1 Mesa 19.2.0-devel (git-f53ebfb 2019-05-13 bionic-oibaf-ppa)
direct render: Yes
phd21 wrote:$ vulkaninfo
===========
VULKAN INFO
===========

Vulkan Instance Version: 1.1.70

ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
/build/vulkan-UL09PJ/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:2700: failed with VK_ERROR_INITIALIZATION_FAILED
Various search results....

Can't get Vulkan to work : archlinux
https://www.reddit.com/r/archlinux/comm ... n_to_work/

[Solved] Can't get Vulkan working / Multimedia and Games / Arch Linux Forums
https://bbs.archlinux.org/viewtopic.php?id=239916

vulkaninfo/vulkaninfo.c:3339: failed with VK_ERROR_INITIALIZATION_FAILED - NVIDIA Developer Forums
https://devtalk.nvidia.com/default/topi ... on_failed/

[SOLVED] vulkan 1.1.70 not loading libraries due to "wrong elf class 32" error
https://www.linuxquestions.org/question ... 175634621/

wrong ELF class: ELFCLASS32 - LunarXchange
https://vulkan.lunarg.com/issue/home?li ... s=new,open

BLOCKER: Wrong ELF class (Gentoo, Argent, Debian, Arch) · Issue #108 · KhronosGroup/Vulkan-Loader
https://github.com/KhronosGroup/Vulkan- ... issues/108

Good Luck...

Hope this helps ...
Phd21: Mint 19.2 Cinnamon & xKDE (Xfce) & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 2 in 1, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics. I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

soumodip
Level 1
Level 1
Posts: 22
Joined: Mon Apr 22, 2019 3:02 pm

Re: cant install vulkan

Post by soumodip »

System:
Host: god-HP-15-Notebook-PC Kernel: 4.15.0-48-generic x86_64 bits: 64
compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.10
Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic
Machine:
Type: Laptop System: Hewlett-Packard product: HP 15 Notebook PC
v: 0974120000405F00001610180 serial: <filter>
Mobo: Hewlett-Packard model: 22CE v: 93.2D serial: <filter> UEFI: Insyde
v: F.32 date: 11/12/2014
Battery:
ID-1: BAT1 charge: 17.8 Wh condition: 22.8/22.8 Wh (100%)
model: 13-42 OA04041 status: Unknown
CPU:
Topology: Quad Core model: AMD A8-6410 APU with AMD Radeon R5 Graphics
bits: 64 type: MCP arch: Puma rev: 1 L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 15969
Speed: 998 MHz min/max: 1000/2000 MHz Core speeds (MHz): 1: 1014 2: 1020
3: 1012 4: 1028
Graphics:
Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard
driver: radeon v: kernel bus ID: 00:01.0
Device-2: AMD Sun LE [Radeon HD 8550M / R5 M230] driver: radeon v: kernel
bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: ati,radeon
unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
OpenGL: renderer: AMD MULLINS (DRM 2.50.0 4.15.0-48-generic LLVM 8.0.0)
v: 4.5 Mesa 19.2.0-devel (git-f53ebfb 2019-05-13 bionic-oibaf-ppa)
direct render: Yes
Audio:
Device-1: AMD Kabini HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 00:01.1
Device-2: AMD FCH Azalia vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus ID: 00:14.2
Sound Server: ALSA v: k4.15.0-48-generic
Network:
Device-1: Broadcom and subsidiaries BCM43142 802.11b/g/n
vendor: Hewlett-Packard driver: wl v: kernel port: 4100 bus ID: 03:00.0
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL810xE PCI Express Fast Ethernet
vendor: Hewlett-Packard driver: r8169 v: 2.3LK-NAPI port: 2000
bus ID: 04:00.0
IF: enp4s0 state: down mac: <filter>
Drives:
Local Storage: total: 465.76 GiB used: 90.62 GiB (19.5%)
ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS545050A7E680
size: 465.76 GiB
Partition:
ID-1: / size: 456.96 GiB used: 90.61 GiB (19.8%) fs: ext4 dev: /dev/sda2
Sensors:
System Temperatures: cpu: 48.0 C mobo: 20.0 C gpu: radeon temp: 49 C
Fan Speeds (RPM): N/A
Info:
Processes: 192 Uptime: 49m Memory: 3.31 GiB used: 1.53 GiB (46.3%)
Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.19
inxi: 3.0.27



this is the output of the command inxi -Fxz

soumodip
Level 1
Level 1
Posts: 22
Joined: Mon Apr 22, 2019 3:02 pm

Re: cant install vulkan

Post by soumodip »

Bus 002 Device 003: ID 05c8:036e Cheng Uei Precision Industry Co., Ltd (Foxlink) Webcam
Bus 002 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0a5c:216c Broadcom Corp. BCM43142A0 Bluetooth Device
Bus 001 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

this is the output for lsusb

System:
Host: god-HP-15-Notebook-PC Kernel: 4.15.0-48-generic x86_64 bits: 64
compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.10
Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic
Machine:
Type: Laptop System: Hewlett-Packard product: HP 15 Notebook PC
v: 0974120000405F00001610180 serial: <filter>
Mobo: Hewlett-Packard model: 22CE v: 93.2D serial: <filter> UEFI: Insyde
v: F.32 date: 11/12/2014
Battery:
ID-1: BAT1 charge: 14.4 Wh condition: 19.4/19.4 Wh (100%)
model: 13-42 OA04041 status: Charging
CPU:
Topology: Quad Core model: AMD A8-6410 APU with AMD Radeon R5 Graphics
bits: 64 type: MCP arch: Puma rev: 1 L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 15970
Speed: 1002 MHz min/max: 1000/2000 MHz Core speeds (MHz): 1: 1011 2: 998
3: 998 4: 998
Graphics:
Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard
driver: radeon v: kernel bus ID: 00:01.0
Device-2: AMD Sun LE [Radeon HD 8550M / R5 M230] driver: radeon v: kernel
bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: ati,radeon
unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
OpenGL: renderer: AMD MULLINS (DRM 2.50.0 4.15.0-48-generic LLVM 8.0.0)
v: 4.5 Mesa 19.2.0-devel (git-f53ebfb 2019-05-13 bionic-oibaf-ppa)
direct render: Yes
Audio:
Device-1: AMD Kabini HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 00:01.1
Device-2: AMD FCH Azalia vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus ID: 00:14.2
Sound Server: ALSA v: k4.15.0-48-generic
Network:
Device-1: Broadcom and subsidiaries BCM43142 802.11b/g/n
vendor: Hewlett-Packard driver: wl v: kernel port: 4100 bus ID: 03:00.0
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL810xE PCI Express Fast Ethernet
vendor: Hewlett-Packard driver: r8169 v: 2.3LK-NAPI port: 2000
bus ID: 04:00.0
IF: enp4s0 state: down mac: <filter>
Drives:
Local Storage: total: 465.76 GiB used: 99.64 GiB (21.4%)
ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS545050A7E680
size: 465.76 GiB
Optical-1: /dev/sr0 vendor: hp model: DVDRW GUB0N rev: UB00
dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 62 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
ID-1: / size: 456.96 GiB used: 99.63 GiB (21.8%) fs: ext4 dev: /dev/sda2
Sensors:
System Temperatures: cpu: 53.1 C mobo: 20.0 C gpu: radeon temp: 52 C
Fan Speeds (RPM): N/A
Info:
Processes: 201 Uptime: 12m Memory: 3.31 GiB used: 1.77 GiB (53.4%)
Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.19
inxi: 3.0.27


and this for inxi -Fxzd

mfreeman
Level 3
Level 3
Posts: 179
Joined: Thu Jan 21, 2010 3:11 am

Re: [solved] cant install vulkan

Post by mfreeman »

This was marked as solved, but there is no solution listed that I can see. It would help the rest of us having these same issues if the actual solution was posted. How was this solved?!

soumodip
Level 1
Level 1
Posts: 22
Joined: Mon Apr 22, 2019 3:02 pm

Re: [solved] cant install vulkan

Post by soumodip »

Sorry for late reply wasn't using forums lately. I just referred to the links given above on the comments and it was installed and running since

Post Reply

Return to “Newbie Questions”