Ubuntu linux подружити с Radeon RX 580

Осталось пять плат – сняты с майнинга, они несколько побыстрее, чем Nvidia 3060. (по 17 в рублях, еще и дешевле в 2 раза.)

На винде 11 с ними все игры просто летают, до 400 fps доходит скорость, с довольно сложными настройками. И на них еще можно добывать Monero Zephyr, от майнеров отказались только Ethereum? Теперь его место займет Kaspa или Dero – которые все таки майнятся, и поддерживают фанатов денежкой. В том числе игрулей – тоже.

На Ubuntu выполняются несколько игр, и – что радует, появились все офисные программы, даже 1С бухгалтерия. Можно стереть глючащую винду.

Более мощная видеоплата прекрасно работала в версии 2020 года, 20.04 а в 22.04 пришлось собирать более старое ядро, kernel. 5.18 работает.

На 23.10 поддержки от amd пока нет, а в драйвере от сообщества amdgpu pro пока нет поддержки вычислений – значит и майнинга – и половины игр, и не работает даже звук, выключились колонки, подключенные к монитору и по цифре через hdmi.

github.com/darktable-org/

берем официяльный документ https://rocm.docs.amd.com/_/downloads/install-on-linux/en/latest/pdf/

ну не работает што то

I have an HP840 with dual Xeon E5-2667 v3 and a RX 6750 XT and spent the majority of a day to get the drivers to work… I have installed Ubuntu multiple times as the “no-dkms” is extremely important to include as it will break your system.

Below is Ubuntu 23.10 (downloaded December 2023). I used the guide below:

https://amdgpu-install.readthedocs.io/en/latest/install-installing.html

This scripts:

https://repo.radeon.com/amdgpu-install/5.7.2/ubuntu/jammy/ https://repo.radeon.com/amdgpu-install/5.7.2/ubuntu/jammy/

не забыть заменить источники (repo) из пакета и

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
apt-get install linux-headers-5.19.0-46-generic linux-image-5.19.0-46-generic linux-modules-5.19.0-46-generic linux-modules-extra-5.19.0-46-generic
apt-get install linux-headers-5.19.0-46-generic linux-image-5.19.0-46-generic linux-modules-5.19.0-46-generic linux-modules-extra-5.19.0-46-generic
apt-get install linux-headers-5.19.0-46-generic linux-image-5.19.0-46-generic linux-modules-5.19.0-46-generic linux-modules-extra-5.19.0-46-generic

These options

amdgpu-install -y –accept-eula –usecase=rocmdev,opencl–opencl=rocr –opengl=mesa –vulkan=amdvlk –no-dkms

amdgpu-install --usecase=workstation -y --vulkan=pro --opencl=rocr

Remember to add video and render to group:

sudo usermod -a -G video $LOGNAME
sudo usermod -a -G render $LOGNAME

Reboot the system. ( работает с ubuntu 22.04 + kernel 5.18 – hdmi Radeon graphics works audio ok) на 23.10 пока не установил.

1:~$ uname -r
5.18.17-051817-generic

1:~$ sudo apt install ./amdgpu-install_5.7.50702-1_all.deb

amdgpu-install -y –accept-eula –usecase=rocmdev,opencl–opencl=rocr –opengl=mesa –vulkan=amdvlk –no-dkms –no-32

The snap installer of darktable does not enable OpenCL on AMD, I had to compile darktable from source and it did work.
Then compile darktable on the machine and it works….

Here is my script for doing that:

git clone git://github.com/darktable-org/darktable.git

cd $HOME/darktable

git submodule init

git submodule update

sudo apt-get install cmake -y

sudo apt-get update -y

sudo apt-get install -y libsqlite3-dev

sudo apt-get install -y libjpeg-dev

sudo apt-get install -y libpng-dev

sudo apt-get install -y libpugixml-dev

sudo apt-get install -y gtk+-3-dev

sudo apt-get install -y cairo-dock cairo-dock-plug-ins

sudo apt-get install -y liblcms2-dev

sudo apt-get install -y exiv2

sudo apt-get install -y libtiff-dev

sudo apt-get install -y curl

sudo apt-get install -y gphoto2

sudo apt-get install -y fop

sudo apt-get install -y openexr

sudo apt-get install -y libsoup2.4

sudo apt-get install -y clang-format clang-tidy clang-tools clang clangd libc++-dev libc++1

sudo apt-get install -y libc++abi-dev libc++abi1 libclang-dev libclang1 liblldb-dev libllvm-ocaml-dev

sudo apt-get install -y libomp-dev libomp5 lld lldb llvm-dev llvm-runtime llvm python-clang

sudo apt-get install -y intltool

sudo apt-get install -y python3-jsonschema

sudo apt-get install -y xsltproc exiftool libxml2-utils webp openexr

sudo apt-get install -y liblensfun-dev

sudo apt-get install libcurl4-gnutls-dev libidn11-dev libldap2-dev librsvg2-dev

sudo apt-get install libbabl-dev

sudo apt-get install intltool libatk1.0-dev libbabl-dev libgegl-0.0-dev

sudo apt-get install -y libcairo2-dev libexiv2-dev libfontconfig1-dev

sudo apt-get install -y libfreetype-dev libgconf2-dev libglade2-dev

./build.sh –prefix /opt/darktable

sudo cmake –build “/home/user/darktable/build” –target install — -j4

скрипт ставит все пакеты как на Freebsd 12 – там вычисления mesa opencl работают наконец то с 2023-04 – rx580-8gb та же плата. pavucontrol с ней пока не работает – работал на 22.04

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo apt install ”linux-headers-$(uname -r)” ”linux-modules-extra-$(uname -r)
# See prerequisites. Adding current user to Video and Render groups
sudo usermod -a -G render,video $LOGNAME
wget https://repo.radeon.com/amdgpu-install/6.0/ubuntu/jammy/amdgpu-install_6.0.60000-1_all.deb
sudo apt install ./amdgpu-install_6.0.60000-1_all.deb
sudo apt update
sudo apt install amdgpu-dkms
sudo apt install rocm-hip-libraries
echo Please reboot system for all settings to take effect
более новая версия скрипта. в ubuntu 23.10 закомментировать кернель 6.05 в звгрузчике, работает 5.18
звука нет, устройство видно
$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7f20000 irq 137
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xf7e60000 irq 138
$ aplay -l
**** Список PLAYBACK устройств ****
карта 0: PCH [HDA Intel PCH], устройство 0: ALC887-VD Analog [ALC887-VD Analog]
Подустройства: 1/1
Подустройство №0: subdevice #0
карта 0: PCH [HDA Intel PCH], устройство 1: ALC887-VD Digital [ALC887-VD Digital]
Подустройства: 1/1
Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 3: HDMI 0 [HDMI 0]
Подустройства: 1/1
Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 7: HDMI 1 [HDMI 1]
Подустройства: 1/1
Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 8: HDMI 2 [HDMI 2]
Подустройства: 1/1
Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 9: HDMI 3 [HDMI 3]
Подустройства: 1/1
Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 10: HDMI 4 [HDMI 4]
Подустройства: 1/1
Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 11: HDMI 5 [HDMI 5]
Подустройства: 1/1
Подустройство №0: subdevice #0
alsamixer нашел звуковую на материнке - можно подкл. колонки туда
клавиатура через bluetooth - работает, можно и звук по bt
sudo apt install ”linux-headers-$(uname -r)” ”linux-modules-extra-$(uname -r)” # See prerequisites. Adding current user to Video and Render groups sudo usermod -a -G render,video $LOGNAME wget https://repo.radeon.com/amdgpu-install/6.0/ubuntu/jammy/amdgpu-install_6.0.60000-1_all.deb sudo apt install ./amdgpu-install_6.0.60000-1_all.deb sudo apt update sudo apt install amdgpu-dkms sudo apt install rocm-hip-libraries echo Please reboot system for all settings to take effect более новая версия скрипта. в ubuntu 23.10 закомментировать кернель 6.05 в звгрузчике, работает 5.18 звука нет, устройство видно $ cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf7f20000 irq 137 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf7e60000 irq 138 $ aplay -l **** Список PLAYBACK устройств **** карта 0: PCH [HDA Intel PCH], устройство 0: ALC887-VD Analog [ALC887-VD Analog] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 0: PCH [HDA Intel PCH], устройство 1: ALC887-VD Digital [ALC887-VD Digital] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 1: HDMI [HDA ATI HDMI], устройство 3: HDMI 0 [HDMI 0] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 1: HDMI [HDA ATI HDMI], устройство 7: HDMI 1 [HDMI 1] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 1: HDMI [HDA ATI HDMI], устройство 8: HDMI 2 [HDMI 2] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 1: HDMI [HDA ATI HDMI], устройство 9: HDMI 3 [HDMI 3] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 1: HDMI [HDA ATI HDMI], устройство 10: HDMI 4 [HDMI 4] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 1: HDMI [HDA ATI HDMI], устройство 11: HDMI 5 [HDMI 5] Подустройства: 1/1 Подустройство №0: subdevice #0 alsamixer нашел звуковую на материнке - можно подкл. колонки туда клавиатура через bluetooth - работает, можно и звук по bt
sudo apt install ”linux-headers-$(uname -r)” ”linux-modules-extra-$(uname -r)”
# See prerequisites. Adding current user to Video and Render groups
sudo usermod -a -G render,video $LOGNAME
wget https://repo.radeon.com/amdgpu-install/6.0/ubuntu/jammy/amdgpu-install_6.0.60000-1_all.deb
sudo apt install ./amdgpu-install_6.0.60000-1_all.deb
sudo apt update
sudo apt install amdgpu-dkms
sudo apt install rocm-hip-libraries
echo Please reboot system for all settings to take effect


более новая версия скрипта. в ubuntu 23.10 закомментировать кернель 6.05 в звгрузчике, работает 5.18

звука нет, устройство видно
$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7f20000 irq 137
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xf7e60000 irq 138


$ aplay -l
**** Список PLAYBACK устройств ****
карта 0: PCH [HDA Intel PCH], устройство 0: ALC887-VD Analog [ALC887-VD Analog]
  Подустройства: 1/1
  Подустройство №0: subdevice #0
карта 0: PCH [HDA Intel PCH], устройство 1: ALC887-VD Digital [ALC887-VD Digital]
  Подустройства: 1/1
  Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 3: HDMI 0 [HDMI 0]
  Подустройства: 1/1
  Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 7: HDMI 1 [HDMI 1]
  Подустройства: 1/1
  Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 8: HDMI 2 [HDMI 2]
  Подустройства: 1/1
  Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 9: HDMI 3 [HDMI 3]
  Подустройства: 1/1
  Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 10: HDMI 4 [HDMI 4]
  Подустройства: 1/1
  Подустройство №0: subdevice #0
карта 1: HDMI [HDA ATI HDMI], устройство 11: HDMI 5 [HDMI 5]
  Подустройства: 1/1
  Подустройство №0: subdevice #0



alsamixer  нашел звуковую на материнке  - можно подкл. колонки туда

клавиатура через bluetooth - работает, можно и звук по bt

сначала понизить версию ядра – с 6.05 до 5.18 – это обязательно, а то часть драйвера, которая собирается из исходника, не соберется, либо будет с ошибками.

$ uname -r
5.18.17-051817-generic

1 or 0 (yes – no false or true)

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
apt-get install amdgpu-dkms
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово
Будут установлены следующие дополнительные пакеты:
amdgpu-dkms-firmware grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-signed
Следующие НОВЫЕ пакеты будут установлены:
amdgpu-dkms amdgpu-dkms-firmware grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-signed
Обновлено 0 пакетов, установлено 6 новых пакетов, для удаления отмечено 0 пакетов, и 2 пакетов не обновлено.
Необходимо скачать 25,4 MB архивов.
- Original module
- Installation
- Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/
amdttm.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/
amdkcl.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/
amd-sched.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/
amddrm_ttm_helper.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/
amddrm_buddy.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/
amdxcp.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/
depmod....
update-initramfs: Generating /boot/initrd.img-5.18.17-051817-generic
Обрабатываются триггеры для man-db (2.11.2-3)
arbeit..
@pc1:~/$ clinfo
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (3302.5)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name Ellesmere
Device Vendor Advanced Micro Devices, Inc.
Device Vendor ID 0x1002
Device Version OpenCL 2.0 AMD-APP (3302.5)
Driver Version 3302.5 (PAL,HSAIL)
Device OpenCL C Version OpenCL C 2.0
Device Type GPU
Device Board Name (AMD) Radeon RX 580 Series
Device PCI-e ID (AMD) 0x67df
Device Topology (AMD) PCI-E, 0000:02:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 36
SIMD per compute unit (AMD) 4
SIMD width (AMD) 16
SIMD instruction width (AMD) 1
Max clock frequency 1366MHz
Graphics IP (AMD) 8.0
Device Partition (core)
Max number of sub-devices 36
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 256
Preferred work group size (AMD) 256
Max work group size (AMD) 1024
Preferred work group size multiple (kernel) 64
Wavefront width (AMD) 64
Preferred / native vector sizes
char 4 / 4
short 2 / 2
int 1 / 1
long 1 / 1
half 1 / 1 (cl_khr_fp16)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (cl_khr_fp16)
Denormals No
Infinity and NANs No
Round to nearest No
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 8589934592 (8GiB)
Global free memory (AMD) 8323072 (7.938GiB) 8060928 (7.688GiB)
Global memory channels (AMD) 8
Global memory banks per channel (AMD) 4
Global memory bank width (AMD) 256 bytes
Error Correction support No
Max memory allocation 7073274265 (6.587GiB)
Unified memory for Host and Device No
Shared Virtual Memory (SVM) capabilities (core)
Coarse-grained buffer sharing Yes
Fine-grained buffer sharing Yes
Fine-grained system sharing No
Atomics No
Minimum alignment for any data type 128 bytes
Alignment of base address 2048 bits (256 bytes)
Preferred alignment for atomics
SVM 0 bytes
Global 0 bytes
Local 0 bytes
Max size for global variable 6365946624 (5.929GiB)
Preferred total size of global vars 8589934592 (8GiB)
Global Memory cache type Read/Write
Global Memory cache size 16384 (16KiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 442079641 pixels
Max 1D or 2D image array size 2048 images
Base address alignment for 2D image buffers 256 bytes
Pitch alignment for 2D image buffers 256 pixels
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 64
Max number of read/write image args 64
Max number of pipe args 16
Max active pipe reservations 16
Max pipe packet size 2778306969 (2.587GiB)
Local memory type Local
Local memory size 65536 (64KiB)
Local memory size per CU (AMD) 65536 (64KiB)
Local memory banks (AMD) 32
Max number of constant args 8
Max constant buffer size 7073274265 (6.587GiB)
Preferred constant buffer size (AMD) 16384 (16KiB)
Max size of kernel argument 1024
Queue properties (on host)
Out-of-order execution No
Profiling Yes
Queue properties (on device)
Out-of-order execution Yes
Profiling Yes
Preferred size 262144 (256KiB)
Max size 8388608 (8MiB)
Max queues on device 1
Max events on device 1024
Prefer user sync for interop Yes
Number of P2P devices (AMD) 0
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 1705006312964373551ns (Thu Jan 11 23:51:52 2024)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Thread trace supported (AMD) Yes
Number of async queues (AMD) 4
Max real-time compute queues (AMD) 1
Max real-time compute units (AMD) 0
printf() buffer size 4194304 (4MiB)
Built-in kernels (n/a)
Device Extensions cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p
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] Success [AMD]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Ellesmere
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Ellesmere
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) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Ellesmere
NOTE: your OpenCL library only supports OpenCL 2.0,
but some installed platforms support OpenCL 2.1.
Programs using 2.1 features may crash
or behave unexpectedly
основной модуль ядра собирается - для тех настроек, где при загрузке ядро 5.18 5.19 .. на 6.05 пока не собирается.
apt-get install amdgpu-dkms Чтение списков пакетов… Готово Построение дерева зависимостей… Готово Чтение информации о состоянии… Готово Будут установлены следующие дополнительные пакеты: amdgpu-dkms-firmware grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-signed Следующие НОВЫЕ пакеты будут установлены: amdgpu-dkms amdgpu-dkms-firmware grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-signed Обновлено 0 пакетов, установлено 6 новых пакетов, для удаления отмечено 0 пакетов, и 2 пакетов не обновлено. Необходимо скачать 25,4 MB архивов. - Original module - Installation - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/ amdttm.ko: Running module version sanity check. - Original module - Installation - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/ amdkcl.ko: Running module version sanity check. - Original module - Installation - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/ amd-sched.ko: Running module version sanity check. - Original module - Installation - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/ amddrm_ttm_helper.ko: Running module version sanity check. - Original module - Installation - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/ amddrm_buddy.ko: Running module version sanity check. - Original module - Installation - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/ amdxcp.ko: Running module version sanity check. - Original module - Installation - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/ depmod.... update-initramfs: Generating /boot/initrd.img-5.18.17-051817-generic Обрабатываются триггеры для man-db (2.11.2-3) … arbeit.. @pc1:~/$ clinfo Number of platforms 1 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc. Platform Version OpenCL 2.1 AMD-APP (3302.5) Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices Platform Extensions function suffix AMD Platform Host timer resolution 1ns Platform Name AMD Accelerated Parallel Processing Number of devices 1 Device Name Ellesmere Device Vendor Advanced Micro Devices, Inc. Device Vendor ID 0x1002 Device Version OpenCL 2.0 AMD-APP (3302.5) Driver Version 3302.5 (PAL,HSAIL) Device OpenCL C Version OpenCL C 2.0 Device Type GPU Device Board Name (AMD) Radeon RX 580 Series Device PCI-e ID (AMD) 0x67df Device Topology (AMD) PCI-E, 0000:02:00.0 Device Profile FULL_PROFILE Device Available Yes Compiler Available Yes Linker Available Yes Max compute units 36 SIMD per compute unit (AMD) 4 SIMD width (AMD) 16 SIMD instruction width (AMD) 1 Max clock frequency 1366MHz Graphics IP (AMD) 8.0 Device Partition (core) Max number of sub-devices 36 Supported partition types None Supported affinity domains (n/a) Max work item dimensions 3 Max work item sizes 1024x1024x1024 Max work group size 256 Preferred work group size (AMD) 256 Max work group size (AMD) 1024 Preferred work group size multiple (kernel) 64 Wavefront width (AMD) 64 Preferred / native vector sizes char 4 / 4 short 2 / 2 int 1 / 1 long 1 / 1 half 1 / 1 (cl_khr_fp16) float 1 / 1 double 1 / 1 (cl_khr_fp64) Half-precision Floating-point support (cl_khr_fp16) Denormals No Infinity and NANs No Round to nearest No Round to zero No Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Single-precision Floating-point support (core) Denormals No Infinity and NANs Yes Round to nearest Yes Round to zero Yes Round to infinity Yes IEEE754-2008 fused multiply-add Yes Support is emulated in software No Correctly-rounded divide and sqrt operations Yes Double-precision Floating-point support (cl_khr_fp64) Denormals Yes Infinity and NANs Yes Round to nearest Yes Round to zero Yes Round to infinity Yes IEEE754-2008 fused multiply-add Yes Support is emulated in software No Address bits 64, Little-Endian Global memory size 8589934592 (8GiB) Global free memory (AMD) 8323072 (7.938GiB) 8060928 (7.688GiB) Global memory channels (AMD) 8 Global memory banks per channel (AMD) 4 Global memory bank width (AMD) 256 bytes Error Correction support No Max memory allocation 7073274265 (6.587GiB) Unified memory for Host and Device No Shared Virtual Memory (SVM) capabilities (core) Coarse-grained buffer sharing Yes Fine-grained buffer sharing Yes Fine-grained system sharing No Atomics No Minimum alignment for any data type 128 bytes Alignment of base address 2048 bits (256 bytes) Preferred alignment for atomics SVM 0 bytes Global 0 bytes Local 0 bytes Max size for global variable 6365946624 (5.929GiB) Preferred total size of global vars 8589934592 (8GiB) Global Memory cache type Read/Write Global Memory cache size 16384 (16KiB) Global Memory cache line size 64 bytes Image support Yes Max number of samplers per kernel 16 Max size for 1D images from buffer 442079641 pixels Max 1D or 2D image array size 2048 images Base address alignment for 2D image buffers 256 bytes Pitch alignment for 2D image buffers 256 pixels Max 2D image size 16384x16384 pixels Max 3D image size 2048x2048x2048 pixels Max number of read image args 128 Max number of write image args 64 Max number of read/write image args 64 Max number of pipe args 16 Max active pipe reservations 16 Max pipe packet size 2778306969 (2.587GiB) Local memory type Local Local memory size 65536 (64KiB) Local memory size per CU (AMD) 65536 (64KiB) Local memory banks (AMD) 32 Max number of constant args 8 Max constant buffer size 7073274265 (6.587GiB) Preferred constant buffer size (AMD) 16384 (16KiB) Max size of kernel argument 1024 Queue properties (on host) Out-of-order execution No Profiling Yes Queue properties (on device) Out-of-order execution Yes Profiling Yes Preferred size 262144 (256KiB) Max size 8388608 (8MiB) Max queues on device 1 Max events on device 1024 Prefer user sync for interop Yes Number of P2P devices (AMD) 0 Profiling timer resolution 1ns Profiling timer offset since Epoch (AMD) 1705006312964373551ns (Thu Jan 11 23:51:52 2024) Execution capabilities Run OpenCL kernels Yes Run native kernels No Thread trace supported (AMD) Yes Number of async queues (AMD) 4 Max real-time compute queues (AMD) 1 Max real-time compute units (AMD) 0 printf() buffer size 4194304 (4MiB) Built-in kernels (n/a) Device Extensions cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p 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] Success [AMD] clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1) Platform Name AMD Accelerated Parallel Processing Device Name Ellesmere clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1) Platform Name AMD Accelerated Parallel Processing Device Name Ellesmere 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) Success (1) Platform Name AMD Accelerated Parallel Processing Device Name Ellesmere NOTE: your OpenCL library only supports OpenCL 2.0, but some installed platforms support OpenCL 2.1. Programs using 2.1 features may crash or behave unexpectedly основной модуль ядра собирается - для тех настроек, где при загрузке ядро 5.18 5.19 .. на 6.05 пока не собирается.
apt-get install amdgpu-dkms
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Будут установлены следующие дополнительные пакеты:
  amdgpu-dkms-firmware grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-signed
Следующие НОВЫЕ пакеты будут установлены:
  amdgpu-dkms amdgpu-dkms-firmware grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-signed
Обновлено 0 пакетов, установлено 6 новых пакетов, для удаления отмечено 0 пакетов, и 2 пакетов не обновлено.
Необходимо скачать 25,4 MB архивов.
- Original module
 - Installation
   - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/

amdttm.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/

amdkcl.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/

amd-sched.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/

amddrm_ttm_helper.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/

amddrm_buddy.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/

amdxcp.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/5.18.17-051817-generic/updates/dkms/
depmod....
update-initramfs: Generating /boot/initrd.img-5.18.17-051817-generic
Обрабатываются триггеры для man-db (2.11.2-3) …


arbeit..
@pc1:~/$ clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3302.5)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     Ellesmere
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 AMD-APP (3302.5)
  Driver Version                                  3302.5 (PAL,HSAIL)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         Radeon RX 580 Series
  Device PCI-e ID (AMD)                           0x67df
  Device Topology (AMD)                           PCI-E, 0000:02:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               36
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             1366MHz
  Graphics IP (AMD)                               8.0
  Device Partition                                (core)
    Max number of sub-devices                     36
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             256
  Preferred work group size (AMD)                 256
  Max work group size (AMD)                       1024
  Preferred work group size multiple (kernel)     64
  Wavefront width (AMD)                           64
  Preferred / native vector sizes                 
    char                                                 4 / 4       
    short                                                2 / 2       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 1 / 1        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     No
    Infinity and NANs                             No
    Round to nearest                              No
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     No
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              8589934592 (8GiB)
  Global free memory (AMD)                        8323072 (7.938GiB) 8060928 (7.688GiB)
  Global memory channels (AMD)                    8
  Global memory banks per channel (AMD)           4
  Global memory bank width (AMD)                  256 bytes
  Error Correction support                        No
  Max memory allocation                           7073274265 (6.587GiB)
  Unified memory for Host and Device              No
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   Yes
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       2048 bits (256 bytes)
  Preferred alignment for atomics                 
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Max size for global variable                    6365946624 (5.929GiB)
  Preferred total size of global vars             8589934592 (8GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        16384 (16KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            442079641 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   256 bytes
    Pitch alignment for 2D image buffers          256 pixels
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                64
    Max number of read/write image args           64
  Max number of pipe args                         16
  Max active pipe reservations                    16
  Max pipe packet size                            2778306969 (2.587GiB)
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Local memory size per CU (AMD)                  65536 (64KiB)
  Local memory banks (AMD)                        32
  Max number of constant args                     8
  Max constant buffer size                        7073274265 (6.587GiB)
  Preferred constant buffer size (AMD)            16384 (16KiB)
  Max size of kernel argument                     1024
  Queue properties (on host)                      
    Out-of-order execution                        No
    Profiling                                     Yes
  Queue properties (on device)                    
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                262144 (256KiB)
    Max size                                      8388608 (8MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Number of P2P devices (AMD)                     0
  Profiling timer resolution                      1ns
  Profiling timer offset since Epoch (AMD)        1705006312964373551ns (Thu Jan 11 23:51:52 2024)
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Thread trace supported (AMD)                  Yes
    Number of async queues (AMD)                  4
    Max real-time compute queues (AMD)            1
    Max real-time compute units (AMD)             0
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_khr_gl_depth_images cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_amd_copy_buffer_p2p 

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]              Success [AMD]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   Ellesmere
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   Ellesmere
  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)  Success (1)
    Platform Name                                 AMD Accelerated Parallel Processing
    Device Name                                   Ellesmere
	NOTE:	your OpenCL library only supports OpenCL 2.0,
		but some installed platforms support OpenCL 2.1.
		Programs using 2.1 features may crash
		or behave unexpectedly


основной модуль ядра собирается - для тех настроек, где при загрузке ядро 5.18 5.19   .. на 6.05 пока не собирается.


linux kernel 5.18 * устройства Bluetooth после перезагрузки заработали, звук можно на BT вывести, или на встроеную плату звуковую, если есть на материнке. Не работает только через видюху, hdmi – причем, само устройство видно.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ lsmod
Module Size Used by
joydev 32768 0
input_leds 16384 0
hid_logitech_hidpp 49152 0
hidp 36864 1
tls 114688 0
ntfs3 278528 1
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
rfcomm 81920 4
nls_utf8 16384 12
cifs 1228800 4
cifs_arc4 16384 1 cifs
cifs_md4 16384 1 cifs
fscache 364544 1 cifs
netfs 57344 1 fscache
cmac 16384 3
algif_hash 16384 1
algif_skcipher 16384 1
af_alg 32768 6 algif_hash,algif_skcipher
bnep 28672 2
nft_chain_nat 16384 4
xt_nat 16384 15
nf_nat 49152 2 xt_nat,nft_chain_nat
xt_tcpudp 20480 0
xt_conntrack 16384 3
nf_conntrack 172032 3 xt_conntrack,nf_nat,xt_nat
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
nft_compat 20480 18
nf_tables 270336 139 nft_compat,nft_chain_nat
libcrc32c 16384 3 nf_conntrack,nf_nat,nf_tables
nfnetlink 20480 2 nft_compat,nf_tables
binfmt_misc 24576 1
btusb 61440 0
btrtl 24576 1 btusb
btbcm 24576 1 btusb
btintel 40960 1 btusb
btmtk 16384 1 btusb
bluetooth 802816 35 btrtl,hidp,btmtk,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic 16384 1 bluetooth
ecc 36864 1 ecdh_generic
snd_hda_codec_realtek 159744 1
snd_hda_codec_generic 102400 1 snd_hda_codec_realtek
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_codec_hdmi 77824 1
snd_hda_intel 53248 2
snd_intel_dspcfg 32768 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hda_codec 159744 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 151552 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
intel_rapl_msr 20480 0
intel_rapl_common 40960 1 intel_rapl_msr
intel_tcc_cooling 16384 0
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
mei_hdcp 24576 0
mei_pxp 20480 0
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
coretemp 24576 0
ee1004 20480 0
snd_rawmidi 45056 1 snd_seq_midi
crct10dif_pclmul 16384 1
ghash_clmulni_intel 16384 0
snd_seq 73728 9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
aesni_intel 376832 4
crypto_simd 16384 1 aesni_intel
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
cryptd 24576 3 crypto_simd,ghash_clmulni_intel
snd_timer 40960 3 snd_seq,snd_hrtimer,snd_pcm
eeepc_wmi 16384 0
asus_wmi 61440 1 eeepc_wmi
rapl 20480 0
platform_profile 16384 1 asus_wmi
intel_cstate 20480 0
sparse_keymap 16384 1 asus_wmi
snd 106496 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
mei_me 45056 2
i2c_i801 36864 0
wmi_bmof 16384 0
mei 139264 5 mei_hdcp,mei_pxp,mei_me
soundcore 16384 1 snd
i2c_smbus 20480 1 i2c_i801
mxm_wmi 16384 0
acpi_pad 184320 0
mac_hid 16384 0
serio_raw 20480 0
msr 16384 0
parport_pc 53248 0
ppdev 24576 0
lp 28672 0
parport 69632 3 parport_pc,lp,ppdev
efi_pstore 16384 0
dmi_sysfs 20480 0
ip_tables 32768 0
x_tables 53248 5 xt_conntrack,nft_compat,xt_tcpudp,xt_nat,ip_tables
autofs4 45056 2
hid_logitech_dj 28672 0
hid_generic 16384 0
usbhid 65536 1 hid_logitech_dj
hid 151552 5 hidp,usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp
amdgpu 13631488 34
amddrm_ttm_helper 16384 1 amdgpu
amdttm 94208 2 amdgpu,amddrm_ttm_helper
amdxcp 16384 1 amdgpu
iommu_v2 24576 1 amdgpu
amddrm_buddy 20480 1 amdgpu
drm_dp_helper 155648 1 amdgpu
uas 28672 1
usb_storage 77824 1 uas
drm_kms_helper 196608 4 drm_dp_helper,amdgpu
syscopyarea 16384 1 drm_kms_helper
sysfillrect 20480 1 drm_kms_helper
sysimgblt 20480 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
cec 77824 1 drm_dp_helper
rc_core 65536 1 cec
amd_sched 45056 1 amdgpu
nvme 49152 2
crc32_pclmul 16384 0
amdkcl 36864 3 amd_sched,amdttm,amdgpu
r8169 102400 0
drm 602112 16 drm_dp_helper,drm_kms_helper,amd_sched,amdttm,amdgpu,amddrm_buddy,amdkcl,amddrm_ttm_helper,amdxcp
nvme_core 139264 4 nvme
psmouse 180224 0
ahci 49152 3
realtek 32768 1
xhci_pci 24576 0
i2c_algo_bit 16384 1 amdgpu
libahci 49152 1 ahci
xhci_pci_renesas 20480 1 xhci_pci
wmi 32768 3 asus_wmi,wmi_bmof,mxm_wmi
video 61440 1 asus_wmi
$ lsmod Module Size Used by joydev 32768 0 input_leds 16384 0 hid_logitech_hidpp 49152 0 hidp 36864 1 tls 114688 0 ntfs3 278528 1 snd_seq_dummy 16384 0 snd_hrtimer 16384 1 rfcomm 81920 4 nls_utf8 16384 12 cifs 1228800 4 cifs_arc4 16384 1 cifs cifs_md4 16384 1 cifs fscache 364544 1 cifs netfs 57344 1 fscache cmac 16384 3 algif_hash 16384 1 algif_skcipher 16384 1 af_alg 32768 6 algif_hash,algif_skcipher bnep 28672 2 nft_chain_nat 16384 4 xt_nat 16384 15 nf_nat 49152 2 xt_nat,nft_chain_nat xt_tcpudp 20480 0 xt_conntrack 16384 3 nf_conntrack 172032 3 xt_conntrack,nf_nat,xt_nat nf_defrag_ipv6 24576 1 nf_conntrack nf_defrag_ipv4 16384 1 nf_conntrack nft_compat 20480 18 nf_tables 270336 139 nft_compat,nft_chain_nat libcrc32c 16384 3 nf_conntrack,nf_nat,nf_tables nfnetlink 20480 2 nft_compat,nf_tables binfmt_misc 24576 1 btusb 61440 0 btrtl 24576 1 btusb btbcm 24576 1 btusb btintel 40960 1 btusb btmtk 16384 1 btusb bluetooth 802816 35 btrtl,hidp,btmtk,btintel,btbcm,bnep,btusb,rfcomm ecdh_generic 16384 1 bluetooth ecc 36864 1 ecdh_generic snd_hda_codec_realtek 159744 1 snd_hda_codec_generic 102400 1 snd_hda_codec_realtek ledtrig_audio 16384 1 snd_hda_codec_generic snd_hda_codec_hdmi 77824 1 snd_hda_intel 53248 2 snd_intel_dspcfg 32768 1 snd_hda_intel snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg snd_hda_codec 159744 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_hwdep 20480 1 snd_hda_codec snd_pcm 151552 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core intel_rapl_msr 20480 0 intel_rapl_common 40960 1 intel_rapl_msr intel_tcc_cooling 16384 0 x86_pkg_temp_thermal 20480 0 intel_powerclamp 20480 0 mei_hdcp 24576 0 mei_pxp 20480 0 snd_seq_midi 20480 0 snd_seq_midi_event 16384 1 snd_seq_midi coretemp 24576 0 ee1004 20480 0 snd_rawmidi 45056 1 snd_seq_midi crct10dif_pclmul 16384 1 ghash_clmulni_intel 16384 0 snd_seq 73728 9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy aesni_intel 376832 4 crypto_simd 16384 1 aesni_intel snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi cryptd 24576 3 crypto_simd,ghash_clmulni_intel snd_timer 40960 3 snd_seq,snd_hrtimer,snd_pcm eeepc_wmi 16384 0 asus_wmi 61440 1 eeepc_wmi rapl 20480 0 platform_profile 16384 1 asus_wmi intel_cstate 20480 0 sparse_keymap 16384 1 asus_wmi snd 106496 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi mei_me 45056 2 i2c_i801 36864 0 wmi_bmof 16384 0 mei 139264 5 mei_hdcp,mei_pxp,mei_me soundcore 16384 1 snd i2c_smbus 20480 1 i2c_i801 mxm_wmi 16384 0 acpi_pad 184320 0 mac_hid 16384 0 serio_raw 20480 0 msr 16384 0 parport_pc 53248 0 ppdev 24576 0 lp 28672 0 parport 69632 3 parport_pc,lp,ppdev efi_pstore 16384 0 dmi_sysfs 20480 0 ip_tables 32768 0 x_tables 53248 5 xt_conntrack,nft_compat,xt_tcpudp,xt_nat,ip_tables autofs4 45056 2 hid_logitech_dj 28672 0 hid_generic 16384 0 usbhid 65536 1 hid_logitech_dj hid 151552 5 hidp,usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp amdgpu 13631488 34 amddrm_ttm_helper 16384 1 amdgpu amdttm 94208 2 amdgpu,amddrm_ttm_helper amdxcp 16384 1 amdgpu iommu_v2 24576 1 amdgpu amddrm_buddy 20480 1 amdgpu drm_dp_helper 155648 1 amdgpu uas 28672 1 usb_storage 77824 1 uas drm_kms_helper 196608 4 drm_dp_helper,amdgpu syscopyarea 16384 1 drm_kms_helper sysfillrect 20480 1 drm_kms_helper sysimgblt 20480 1 drm_kms_helper fb_sys_fops 16384 1 drm_kms_helper cec 77824 1 drm_dp_helper rc_core 65536 1 cec amd_sched 45056 1 amdgpu nvme 49152 2 crc32_pclmul 16384 0 amdkcl 36864 3 amd_sched,amdttm,amdgpu r8169 102400 0 drm 602112 16 drm_dp_helper,drm_kms_helper,amd_sched,amdttm,amdgpu,amddrm_buddy,amdkcl,amddrm_ttm_helper,amdxcp nvme_core 139264 4 nvme psmouse 180224 0 ahci 49152 3 realtek 32768 1 xhci_pci 24576 0 i2c_algo_bit 16384 1 amdgpu libahci 49152 1 ahci xhci_pci_renesas 20480 1 xhci_pci wmi 32768 3 asus_wmi,wmi_bmof,mxm_wmi video 61440 1 asus_wmi
$ lsmod
Module                  Size  Used by
joydev                 32768  0
input_leds             16384  0
hid_logitech_hidpp     49152  0
hidp                   36864  1
tls                   114688  0
ntfs3                 278528  1
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
rfcomm                 81920  4
nls_utf8               16384  12
cifs                 1228800  4
cifs_arc4              16384  1 cifs
cifs_md4               16384  1 cifs
fscache               364544  1 cifs
netfs                  57344  1 fscache
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 32768  6 algif_hash,algif_skcipher
bnep                   28672  2
nft_chain_nat          16384  4
xt_nat                 16384  15
nf_nat                 49152  2 xt_nat,nft_chain_nat
xt_tcpudp              20480  0
xt_conntrack           16384  3
nf_conntrack          172032  3 xt_conntrack,nf_nat,xt_nat
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
nft_compat             20480  18
nf_tables             270336  139 nft_compat,nft_chain_nat
libcrc32c              16384  3 nf_conntrack,nf_nat,nf_tables
nfnetlink              20480  2 nft_compat,nf_tables
binfmt_misc            24576  1
btusb                  61440  0
btrtl                  24576  1 btusb
btbcm                  24576  1 btusb
btintel                40960  1 btusb
btmtk                  16384  1 btusb
bluetooth             802816  35 btrtl,hidp,btmtk,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           16384  1 bluetooth
ecc                    36864  1 ecdh_generic
snd_hda_codec_realtek   159744  1
snd_hda_codec_generic   102400  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     77824  1
snd_hda_intel          53248  2
snd_intel_dspcfg       32768  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         159744  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          110592  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               151552  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
intel_rapl_msr         20480  0
intel_rapl_common      40960  1 intel_rapl_msr
intel_tcc_cooling      16384  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
mei_hdcp               24576  0
mei_pxp                20480  0
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
coretemp               24576  0
ee1004                 20480  0
snd_rawmidi            45056  1 snd_seq_midi
crct10dif_pclmul       16384  1
ghash_clmulni_intel    16384  0
snd_seq                73728  9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
aesni_intel           376832  4
crypto_simd            16384  1 aesni_intel
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
snd_timer              40960  3 snd_seq,snd_hrtimer,snd_pcm
eeepc_wmi              16384  0
asus_wmi               61440  1 eeepc_wmi
rapl                   20480  0
platform_profile       16384  1 asus_wmi
intel_cstate           20480  0
sparse_keymap          16384  1 asus_wmi
snd                   106496  17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
mei_me                 45056  2
i2c_i801               36864  0
wmi_bmof               16384  0
mei                   139264  5 mei_hdcp,mei_pxp,mei_me
soundcore              16384  1 snd
i2c_smbus              20480  1 i2c_i801
mxm_wmi                16384  0
acpi_pad              184320  0
mac_hid                16384  0
serio_raw              20480  0
msr                    16384  0
parport_pc             53248  0
ppdev                  24576  0
lp                     28672  0
parport                69632  3 parport_pc,lp,ppdev
efi_pstore             16384  0
dmi_sysfs              20480  0
ip_tables              32768  0
x_tables               53248  5 xt_conntrack,nft_compat,xt_tcpudp,xt_nat,ip_tables
autofs4                45056  2
hid_logitech_dj        28672  0
hid_generic            16384  0
usbhid                 65536  1 hid_logitech_dj
hid                   151552  5 hidp,usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp
amdgpu              13631488  34
amddrm_ttm_helper      16384  1 amdgpu
amdttm                 94208  2 amdgpu,amddrm_ttm_helper
amdxcp                 16384  1 amdgpu
iommu_v2               24576  1 amdgpu
amddrm_buddy           20480  1 amdgpu
drm_dp_helper         155648  1 amdgpu
uas                    28672  1
usb_storage            77824  1 uas
drm_kms_helper        196608  4 drm_dp_helper,amdgpu
syscopyarea            16384  1 drm_kms_helper
sysfillrect            20480  1 drm_kms_helper
sysimgblt              20480  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
cec                    77824  1 drm_dp_helper
rc_core                65536  1 cec
amd_sched              45056  1 amdgpu
nvme                   49152  2
crc32_pclmul           16384  0
amdkcl                 36864  3 amd_sched,amdttm,amdgpu
r8169                 102400  0
drm                   602112  16 drm_dp_helper,drm_kms_helper,amd_sched,amdttm,amdgpu,amddrm_buddy,amdkcl,amddrm_ttm_helper,amdxcp
nvme_core             139264  4 nvme
psmouse               180224  0
ahci                   49152  3
realtek                32768  1
xhci_pci               24576  0
i2c_algo_bit           16384  1 amdgpu
libahci                49152  1 ahci
xhci_pci_renesas       20480  1 xhci_pci
wmi                    32768  3 asus_wmi,wmi_bmof,mxm_wmi
video                  61440  1 asus_wmi

grub-customizer еще надо устанавливать – убрать с первой строчки новое ядро и поставить 5.18 или 5.19

установка программы роверки графического ускорителя (по вычислениям на графической плате – все показывает clinfo)

glxgears -info выполняется без дерганий, скорость 60 кадров в секунду. От ключив синхронизацию с разверткой экрана – Running synchronized to the vertical refresh. – нет такой опции больше – но как то получалось, на фряхе – программа выдает 400 кадров.

sudo apt install mesa-utils

GL_RENDERER = AMD Radeon RX 580 Series (polaris10, LLVM 15.0.7, DRM 3.54, 5.18.17-051817-generic)

по опции -info показывает драйвер и устройство – видюху. На Freebsd 13 14 так же. Gnome 4.2 там раньше.

sudo flatpak install flathub com.basemark.BasemarkGPU

еще проверка видеоплаты. с версией ubuntu 23.10 и с понижением ядра до 5.18 на Radeon работает – драйвер amdgpu . пакет загружается минут 5, объем около 2 гб. Там вариант нескольких игр.

программа появится после перезагрузки.

(это как – ubuntu не предназначена для игр ?? Только, они почему то быстрее работают – чем на винде..)

[2024-01-17 00:17:48.062] cpu disabled (no suitable configuration found)
[2024-01-17 00:18:26.018] opencl #0 02:00.0 132W 86C 3486RPM 1210/2000MHz
[2024-01-17 00:18:26.019] miner speed 10s/60s/15m 12.41 12.43 n/a MH/s max 12.62 MH/s
[2024-01-17 00:18:48.072] net new job from gulf.moneroocean.stream:10128 diff 569M algo kawpow height 576912

(это как проверка opencl ubuntu 23. 10

, такой девайс сутками не гоняется, хотя, полгода не выключаясь – работала плата. 13? а на похожей по мощности и в 15 раз более дорогой и новейшей nv 3090 всего 58 попугаев, гигахэш. )

это проверка включения вычислений, майнинг монеты clore ai.

  • ADL press e for health report
  • OPENCL #0 AMD Accelerated Parallel Processing/OpenCL 2.1 AMD-APP (3302.5)
  • OPENCL GPU #0 02:00.0 Radeon RX 580 Series (Ellesmere) 1366 MHz cu:36 mem:6745/8192 MB
  • CUDA disabled
    [2024-01-17 00:14:25.791] net use pool gulf.moneroocean.stream:10128 185.84.224.184
    [2024-01-17 00:14:25.842] net use pool gulf.moneroocean.stream:10128 185.84.224.184
    [2024-01-17 00:14:25.843] net new job from gulf.moneroocean.stream:10128 diff 2096M algo kawpow height 576911
    [2024-01-17 00:14:25.843] cpu disabled (no suitable configuration found)
    [2024-01-17 00:14:25.843] opencl use profile kawpow (1 thread) scratchpad 32 KB
    | # | GPU | BUS ID | INTENSITY | WSIZE | MEMORY | NAME
    | 0 | 0 | 02:00.0 | 9437184 | 256 | 1657 | Radeon RX 580 Series (Ellesmere)
    [2024-01-17 00:14:26.335] opencl READY threads 1/1 (491 ms)
    [2024-01-17 00:14:27.035] opencl KawPow program for period 192303 compiled (700ms)
    [2024-01-17 00:14:27.737] opencl KawPow program for period 192304 compiled (701ms)
    [2024-01-17 00:14:32.492] miner KawPow light cache for epoch 76 calculated (5450ms)
    [2024-01-17 00:14:40.332] opencl KawPow DAG for epoch 76 calculated (7826ms)
    [2024-01-17 00:15:25.881] opencl #0 02:00.0 133W 79C 3211RPM 1219/2000MHz
    [2024-01-17 00:15:25.881] miner speed 10s/60s/15m 12.54 n/a n/a MH/s max 12.62 MH/s

серьезная штука, 36 процессоров на 2 гигагерца память и 1219 у ядра. fpga разгоняли до 2500, только 760 ватт. Долго не гоняю, температура 90 почти, печку перетопил. Плата берет 280 ватт.

система нипель (из описания студебекера 1943)

Живем и работаем в Медвежьем углу Moscow Mosk au. Приезжайте в гости зимой, когда мишки спят.