Getting OpenCL 1.2 to work with AMD GPUs on Ubuntu

On Ubuntu 22.04, you can install OpenCL 1.2 using Mesa’s Clover OpenCL implementation. Here’s the procedure: Step 1: Update Your System Ensure your system is up to date to avoid compatibility issues: sudo apt update && sudo apt upgrade -y Step 2: Install Mesa’s OpenCL ICD Install the Mesa OpenCL runtime and the OpenCL ICD … Read more

Install AMD driver on ubuntu 22 (jammy)

https://www.amd.com/en/support/download/linux-drivers.html wget https://repo.radeon.com/amdgpu-install/6.2.3/ubuntu/jammy/amdgpu-install_6.2.60203-1_all.deb $ sudo apt-get install ./amdgpu-install-VERSION.deb$ sudo apt-get update

Completely remove all traces of AMD drivers, ROCm, and any related OpenCL components from your Ubuntu system

To completely remove all traces of AMD drivers, ROCm, and any related OpenCL components from your Ubuntu system, follow these steps: sudo amdgpu-uninstallsudo apt remove –purge ‘rocm*’ ‘rock-dkms’ ‘hsa-rocr-dev’sudo rm -rf /opt/rocm sudo apt remove –purge ‘amdgpu’ ‘amd’ ‘ocl-icd*’sudo apt autoremove –purge sudo rm -rf /etc/apt/sources.list.d/amdgpu*sudo rm -rf /etc/apt/sources.list.d/rocm*sudo apt update sudo apt list –installed … Read more

IDRAC6 – Connection failed

1. Add IP or hostname of iDRAC on exception site list from Java Control Panel. 2. Comment out these two lines at C:\Program Files (x86)\Java\…\lib\security\java.security and save with administrator privileges. jdk.jar.disabledAlgorithms= jdk.tls.disabledAlgorithms=

How to Install the latest OpenSSL version from Source on Ubuntu

sudo apt update sudo apt install build-essential checkinstall zlib1g-dev -y cd /usr/local/src/ sudo wget https://www.openssl.org/source/openssl-3.2.0.tar.gz Before upgrade: $ openssl version -a OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) built on: Fri Oct 13 12:02:49 2023 UTC platform: debian-amd64 options: bn(64,64) compiler: gcc -fPIC -pthread -m64 -Wa,–noexecstack -Wall -Wa,–noexecstack -g -O2 -ffile-prefix-map=/build/openssl-8L8jlV/openssl-3.0.2=. … Read more

Merge video without reencoding

Check bitrates : find . -type f -name *.mp4 | sort | while read line; do echo “‘$line’” ; done > file_list OIFS=”$IFS” ; IFS=$’\n’ ; for file in $(find . -type f -name “*.mp4”) ; do echo “${file}” ; ffprobe -v quiet -show_entries “stream=codec_name,bit_rate” -i $file | egrep ‘codec|bit’ ; done All files that … Read more

kubectl Cheat Sheet

Common Options Configuration Files (Manifest files) Cluster Management & Context Daemonsets Deployments Events Logs Namespaces Nodes Pods Replication Controllers ReplicaSets Secrets Services Service Accounts  Common Options In kubectl you can specify optional flags for use with various commands. alias – Set an alias for kubectl. alias k=kubectl echo ‘alias k=kubectl’ >>~/.bashrc -o=json – Output format in JSON. … Read more