Skip to content

Instantly share code, notes, and snippets.

View ekondratiev's full-sized avatar

Evgeny Kondratiev ekondratiev

View GitHub Profile
@ekondratiev
ekondratiev / Install_OpenCV4_CUDA12.6_CUDNN8.9.md
Created August 26, 2025 09:32 — forked from raulqf/Install_OpenCV4_CUDA12.6_CUDNN8.9.md
How to install OpenCV 4.10 with CUDA 12 in Ubuntu 24.04

Install OpenCV 4.10 with CUDA 12.6 and CUDNN 8.9 in Ubuntu 24.04

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries:

@ekondratiev
ekondratiev / OpenCV_Build-Guide.md
Created August 20, 2025 13:40 — forked from minhhieutruong0705/OpenCV_Build-Guide.md
Guide to build OpenCV from Source with GPU support (CUDA and cuDNN)

Guide to build OpenCV from source with GPU support (CUDA and cuDNN)

Feb 22nd, 2022

System specification

  • Operating system: Ubuntu 20.04 x84_64 (64-bit)
  • Architecture: amd64
  • GPU: NVIDIA GeForce RTX 3090
  • Python 3.8

Install dependencies and recommeneded packages

Installing i3wm on Ubuntu 22.04 LTS

This guide details my experience of installing i3wm on Ubuntu 22.04 LTS.

Note: My Ubuntu Desktop environment was already set up. All the apps available in the default Ubuntu window manager will also be accessible in i3wm, which is amazing because you can switch back to the default Ubuntu window manager anytime.

Install the i3wm

Open the terminal and run the following command:

@ekondratiev
ekondratiev / gist:fca613b018013fce09ad5ff6b1e24807
Created December 30, 2023 11:15 — forked from Raltar/gist:586be522a0f3ddf2a52c5ba71533bdfc
Ubuntu 22.04 on Asus ROG Zephyrus G14 (2023 Version)
Here are my notes on how to set up an Asus ROG Zephyrus G14 2023 edition (with Ryzen 7940HX and Nvidia 4060) with Ubuntu 22.04
Thanks and respect to Vijay Prema whose earlier guide to the 2021 version of this laptop would have saved me a lot of time if I'd read it earlier. It still contains great info and is the inspiration for this 2023 version.
https://gist.github.com/vijay-prema/cfcf8cc4085663b7bb48f34172c10629
Currently I have most everything functioning correctly EXCEPT:
- It doesn't seem to bring video back after waking up from suspend. Currently I have to hold down the button to force it to turn off then reboot any time it suspends, so for now I just disable automatic suspension.
- NVIDIA-Prime, the plugin that lets you select between Ryzen integrated and Nvidia discrete graphics works only from the command line and with a reboot. It does not show up in the Nvidia control panel, and when it's in dynamic mode, it always seems to activate the Nvidia discrete graphics. The command-line selection