You are not logged in.

#1 2021-04-12 22:03:20

Jing-Linux
Member
Registered: 2021-04-12
Posts: 2

Broken Vulkan

I found that my vulkan is having some error there.
Here is the output of

vulkaninfo

:

ERROR: [Loader Message] Code 0 : /usr/lib32/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.2.172/vulkaninfo/vulkaninfo.h:248:vkGetPhysicalDeviceSurfaceFormats2KHR failed with ERROR_INITIALIZATION_FAILED

Output of

inxi -Fxxxz

:

System:    Kernel: 5.11.13-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: KDE Plasma 5.21.4 tk: Qt 5.15.2 
info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux 
Machine:   Type: Laptop System: LENOVO product: 81Y3 v: IdeaPad L3 15IML05 serial: <filter> Chassis: type: 10 
v: IdeaPad L3 15IML05 serial: <filter> 
Mobo: LENOVO model: LNVNB161216 v: SDK0J40688 WIN serial: <filter> UEFI: LENOVO v: EJCN18WW date: 05/08/2020 
Battery:   ID-1: BAT0 charge: 19.1 Wh (55.4%) condition: 34.5/36.0 Wh (96.0%) volts: 11.6 min: 11.2 model: SMP L18M3PF2 
type: Li-poly serial: <filter> status: Unknown cycles: 25 
CPU:       Info: Dual Core model: Intel Core i3-10110U bits: 64 type: MT MCP arch: Kaby Lake note: check rev: C cache: 
L2: 4 MiB 
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20799 
Speed: 3929 MHz min/max: 400/2100 MHz Core speeds (MHz): 1: 3929 2: 3884 3: 4016 4: 3922 
Graphics:  Device-1: Intel UHD Graphics vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:9b41 
class-ID: 0300 
Device-2: NVIDIA GP108M [GeForce MX330] vendor: Lenovo driver: N/A bus-ID: 01:00.0 chip-ID: 10de:1d16 
class-ID: 0302 
Device-3: Syntek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-7:3 chip-ID: 174f:244e class-ID: 0e02 
serial: <filter> 
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: intel resolution: 1920x1080~60Hz s-dpi: 96 
OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.0.2 direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH-LP cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
chip-ID: 8086:02c8 class-ID: 0403 
Sound Server-1: ALSA v: k5.11.13-zen1-1-zen running: yes 
Sound Server-2: JACK v: 0.125.0 running: no 
Sound Server-3: PulseAudio v: 14.2 running: yes 
Sound Server-4: PipeWire v: 0.3.25 running: yes 
Network:   Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel port: 5000 bus-ID: 00:14.3 chip-ID: 8086:02f0 
class-ID: 0280 
IF: wlp0s20f3 state: up mac: <filter> 
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000 
bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
IF-ID-1: ham0 state: unknown speed: 10 Mbps duplex: full mac: <filter>
Bluetooth: Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8 bus-ID: 1-10:4
chip-ID: 8087:0aaa class-ID: e001
Report: ID: hci0 state: up address: <filter>
Drives:    Local Storage: total: 1.14 TiB used: 181.76 GiB (15.5%)
ID-1: /dev/nvme0n1 vendor: Lenovo model: UMIS RPJTJ256MEE1OWX size: 238.47 GiB speed: 31.6 Gb/s lanes: 4
rotation: SSD serial: <filter> rev: 2.0C0628 temp: 36.9 C scheme: GPT
ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-08Z10 size: 931.51 GiB speed: 6.0 Gb/s rotation: 5400 rpm
serial: <filter> rev: 1A05 scheme: GPT
Partition: ID-1: / size: 100 GiB used: 32.95 GiB (32.9%) fs: btrfs dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 256 MiB used: 57.5 MiB (22.5%) fs: vfat dev: /dev/nvme0n1p1
ID-3: /home size: 294.29 GiB used: 17.79 GiB (6.0%) fs: ext4 dev: /dev/sda4
ID-4: /var/log size: 100 GiB used: 32.95 GiB (32.9%) fs: btrfs dev: /dev/nvme0n1p5
ID-5: /var/tmp size: 100 GiB used: 32.95 GiB (32.9%) fs: btrfs dev: /dev/nvme0n1p5
Swap:      ID-1: swap-1 type: zram size: 1.88 GiB used: 226.1 MiB (11.8%) priority: 32767 dev: /dev/zram0
ID-2: swap-2 type: zram size: 1.88 GiB used: 226.2 MiB (11.8%) priority: 32767 dev: /dev/zram1
ID-3: swap-3 type: zram size: 1.88 GiB used: 222.7 MiB (11.6%) priority: 32767 dev: /dev/zram2
ID-4: swap-4 type: zram size: 1.88 GiB used: 232 MiB (12.1%) priority: 32767 dev: /dev/zram3
Sensors:   System Temperatures: cpu: 61.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:      Processes: 269 Uptime: 17h 21m wakeups: 6 Memory: 7.51 GiB used: 4.25 GiB (56.6%) Init: systemd v: 248 Compilers:
gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1647 Shell: fish v: 3.2.1 default: Bash v: 5.1.4 running-in: yakuake
inxi: 3.3.03

Cannot start the game Ori and the Blind Forest. Please help. Any suggestion will be appreciated.

Last edited by Jing-Linux (2021-04-14 09:50:20)

Offline

#2 2021-04-13 11:35:46

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Broken Vulkan

Probably something missing in your setup.

Please post the output of the following commands

$ glxinfo -B # comes with mesa-demos
$ lspci -k
$ pacman -Qs vulkan
$ ls -l /usr/share/vulkan/icd.d/

If you feel the output is a bit big to post, use a pastebin client


Welcome to archlinux forums.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-04-13 16:35:43

Jing-Linux
Member
Registered: 2021-04-12
Posts: 2

Re: Broken Vulkan

glxinfo -B

:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics (CML GT2) (0x9b41)
    Version: 21.0.2
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.0.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.0.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
lspci -k

:

00:00.0 Host bridge: Intel Corporation Device 9b71 (rev 0c)
	Subsystem: Lenovo Device 3802
	Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
	Subsystem: Lenovo Device 3fb9
	Kernel driver in use: i915
	Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
	Subsystem: Lenovo Device 384d
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
	Subsystem: Lenovo Device 387f
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
	Subsystem: Lenovo Device 380a
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller
	Subsystem: Lenovo Device 380c
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM
	Subsystem: Lenovo Device 380b
00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi
	Subsystem: Intel Corporation Device 0234
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
	Subsystem: Lenovo Device 380e
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
	Subsystem: Lenovo Device 3808
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller
	Subsystem: Lenovo Device 3806
	Kernel driver in use: ahci
00:19.0 Serial bus controller [0c80]: Intel Corporation Device 02c5
	Subsystem: Lenovo Device 3803
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:19.2 Communication controller: Intel Corporation Device 02c7
	Subsystem: Lenovo Device 3804
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:1c.0 PCI bridge: Intel Corporation Device 02bc (rev f0)
	Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Device 02b1 (rev f0)
	Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation Device 02b4 (rev f0)
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
	Subsystem: Lenovo Device 3809
00:1f.3 Audio device: Intel Corporation Comet Lake PCH-LP cAVS
	Subsystem: Lenovo Device 3819
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
	Subsystem: Lenovo Device 3812
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
	Subsystem: Lenovo Device 3811
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX330] (rev a1)
	Subsystem: Lenovo Device 3fb9
	Kernel modules: nouveau
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
	Subsystem: Lenovo Device 38df
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Non-Volatile memory controller: Union Memory (Shenzhen) Device 6202 (rev 03)
	Subsystem: Union Memory (Shenzhen) Device 1cc4
pacman -Qs vulkan

:

error: package 'vulkan' was not found
ls -l /usr/share/vulkan/icd.d/

:

.rw-r--r-- 148 root  8 Apr 23:51 intel_icd.i686.json
.rw-r--r-- 146 root  8 Apr 23:27 intel_icd.x86_64.json
.rw-r--r-- 140 root 19 Mar 13:23 nvidia_icd.json

Offline

#4 2021-04-14 14:23:33

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Broken Vulkan

$ pacman -F nvidia_icd.json
extra/nvidia-utils 460.67-1
    usr/share/vulkan/icd.d/nvidia_icd.json
$ 
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX330] (rev a1)
	Subsystem: Lenovo Device 3fb9
	Kernel modules: nouveau

Remove nvidia-utils .


pacman -Qs vulkan

:

error: package 'vulkan' was not found

You probably ran pacman -Qi instead of pacman -Qs .
to avoid confusion use the long version :

$ pacman --query --search vulkan

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB