LINUX.ORG.RU

Как бы порядок навести с драйверами?

 ,


0

1

После экспериментов, и всяких действий, наблюдаю что ни одна диагностическая утилита у меня ничего хорошего не выдает, все сплошь какие то ошибки, кто бы помог разобраться?

$ vulkaninfo
ERROR: [Loader Message] Code 0 : /opt/amdgpu-pro/lib/i386-linux-gnu/amdvlk32.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_virtio.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /opt/amdgpu-pro/lib/i386-linux-gnu/amdvlk32.so: wrong ELF class: ELFCLASS32
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 2.  Skipping ICD.
vulkaninfo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so: undefined symbol: amdgpu_device_get_fd

и вот тут, тоже:

clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.2 AMD-APP (3406.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback 
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

Для начала бы снести libvulkan_intel.so, но что то не знаю в каком он пакете…

Судя по всему, у тебя с ядерным драйвером какая-то проблема. Что выдает?

$ lspci -k

И что в dmesg по поводу amdgpu?

$ dmesg | grep -i amdgpu
Kron4ek ★★★★★
()
Ответ на: комментарий от Kron4ek
lspci -k
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: Gigabyte Technology Co., Ltd 4th Gen Core Processor DRAM Controller
	Kernel driver in use: hsw_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
	Kernel driver in use: pcieport
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
	Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset Family USB xHCI
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
	Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset Family MEI Controller
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
	Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset Family USB EHCI
	Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
	Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset High Definition Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
	Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
	Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5)
	Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
	Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset Family USB EHCI
	Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation B85 Express LPC Controller (rev 05)
	Subsystem: Gigabyte Technology Co., Ltd B85 Express LPC Controller
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
	Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
	Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset Family SMBus Controller
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
	Kernel driver in use: pcieport
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
	Kernel driver in use: pcieport
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 743f (rev c1)
	Subsystem: ASUSTeK Computer Inc. Device 05db
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device ab28
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device ab28
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
	Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
	Kernel driver in use: r8169
	Kernel modules: r8169
06:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8812AE 802.11ac PCIe Wireless Network Adapter (rev 01)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL8812AE 802.11ac PCIe Wireless Network Adapter
	Kernel driver in use: rtl8821ae
	Kernel modules: rtl8821ae

TolkoSprosit
() автор топика
Ответ на: комментарий от Kron4ek
$ dmesg | grep -i amdgpu
[    0.806166] [drm] amdgpu kernel modesetting enabled.
[    0.806168] [drm] amdgpu version: 5.13.11.21.50
[    0.806225] amdgpu: CRAT table not found
[    0.806227] amdgpu: Virtual CRAT table created for CPU
[    0.806236] amdgpu: Topology: Add CPU node
[    0.815032] amdgpu: PeerDirect support was initialized successfully
[    0.815064] fb0: switching to amdgpudrmfb from EFI VGA
[    0.815108] amdgpu 0000:03:00.0: vgaarb: deactivate vga console
[    0.815206] amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[    0.816213] amdgpu 0000:03:00.0: No more image in the PCI ROM
[    0.816224] amdgpu 0000:03:00.0: amdgpu: Fetched VBIOS from ROM BAR
[    0.816226] amdgpu: ATOM BIOS: 115-D632BP0-100
[    0.816263] amdgpu 0000:03:00.0: amdgpu: VRAM: 4080M 0x0000008000000000 - 0x00000080FEFFFFFF (4080M used)
[    0.816265] amdgpu 0000:03:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[    0.816266] amdgpu 0000:03:00.0: amdgpu: AGP: 267894784M 0x0000008400000000 - 0x0000FFFFFFFFFFFF
[    0.816302] [drm] amdgpu: 4080M of VRAM memory ready
[    0.816304] [drm] amdgpu: 15968M of GTT memory ready.
[    0.816531] amdgpu 0000:03:00.0: amdgpu: PSP runtime database doesn't exist
[    2.316659] amdgpu 0000:03:00.0: amdgpu: STB initialized to 2048 entries
[    2.317948] amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware
[    2.493057] amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    2.507744] amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    2.507761] amdgpu 0000:03:00.0: amdgpu: smu driver if version = 0x0000000d, smu fw if version = 0x0000000f, smu fw version = 0x00491a00 (73.26.0)
[    2.507763] amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched
[    2.507767] amdgpu 0000:03:00.0: amdgpu: use vbios provided pptable
[    2.549127] amdgpu 0000:03:00.0: amdgpu: SMU is initialized successfully!
[    2.762737] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    2.792150] amdgpu: HMM registered 4080MB device memory
[    2.792229] amdgpu: SRAT table not found
[    2.792230] amdgpu: Virtual CRAT table created for GPU
[    2.792311] amdgpu: Topology: Add dGPU node [0x743f:0x1002]
[    2.792314] kfd kfd: amdgpu: added device 1002:743f
[    2.792331] amdgpu 0000:03:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 8, active_cu_number 16
[    2.794323] fbcon: amdgpudrmfb (fb0) is primary device
[    2.794326] amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[    2.810051] amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[    2.810053] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[    2.810054] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[    2.810055] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[    2.810056] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[    2.810058] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[    2.810058] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[    2.810059] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[    2.810060] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[    2.810061] amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[    2.810062] amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[    2.810063] amdgpu 0000:03:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 1
[    2.810472] amdgpu 0000:03:00.0: amdgpu: Using BACO for runtime pm
[    2.810954] [drm] Initialized amdgpu 3.44.0 20150101 for 0000:03:00.0 on minor 0
[    7.998962] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

как будто бы все ок

TolkoSprosit
() автор топика
Ответ на: комментарий от TolkoSprosit

Я так полагаю, ты сторонний драйвер от AMD ставил? Судя по строчке:

[    0.806168] [drm] amdgpu version: 5.13.11.21.50

Вероятно, проблема в этом. Предлагаю попробовать его снести и использовать модуль, встроенный в ядро.

Kron4ek ★★★★★
()
Ответ на: комментарий от TolkoSprosit

Есть, только ядро и фирмварь и Mesa должны быть достаточно новыми. Ядро 5.15+ должно подойти, я полагаю.

Kron4ek ★★★★★
()
Ответ на: комментарий от Kron4ek

Короче пора перекатиться на новое LTS, как раз завтра релиз

TolkoSprosit
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.