Install NVIDIA CUDA Toolkit 12.1 on Ubuntu 21.10 / Debian 11 / Linux Mint 20.3

This is guide, howto install NVIDIA CUDA Toolkit 12.1 on Ubuntu 21.10, 21.04, 20.04.3 LTS, 18.04.6 LTS / Debian 11, 10, Sid / Linux Mint 20.3, 20.2, 20.1. I assume here that you have installed NVIDIA drivers successfully using my earlier Install NVIDIA 495.xx Drivers on Debian / Ubuntu / Linux Mint Guide. You will need NVIDIA 495.xx drivers. As always remember backup important files before doing anything! Check video version of guide, Howto Install NVIDIA CUDA Toolkit 12.
Read more →

Uninstall NVIDIA CUDA Toolkit 12.1 on Ubuntu 21.10 / Debian 11 / Linux Mint 20.3

  1. Uninstall NVIDIA CUDA Toolkit 12.1 on Ubuntu 21.10 / Debian 11 / Linux Mint 20.3 2.1 Change root user su - ## OR ## sudo -i 2.2 Run NVIDIA CUDA Uninstall Script /usr/local/cuda/bin/cuda-uninstaller 2.3 Remove /etc/profile.d/cuda.sh rm /etc/profile.d/cuda.sh Then logout/login get NVIDIA CUDA away from PATH and LD_LIBRARY_PATH.
Read more →

Building GNOME 40 / GNOME latest using JHBuild on Debian / Ubuntu

  1. Building Gnome 40 using JHBuild on Debian / Ubuntu 4.1 JHBuild list modules [normal user] jhbuild list gettext yelp-xsl python3-setuptools python3-lxml meson yelp-tools python3-pygments gtk-doc glib cairo python3-markdown gobject-introspection … pipewire mutter sassc gnome-shell gnome-shell-extensions appstream libxmlb malcontent fwupd gnome-software gtkmm-3 gnome-system-monitor gnome-terminal gnome-user-docs gnome-user-share gnome-weather speech-dispatcher orca rygel simple-scan sushi totem yelp meta-inttf-gnome 4.2 JHBuild build modules [normal user] Build whole meta-inttf-gnome. jhbuild build ## If you want use your PC same time, then run this command with limited memory, like ## systemd-run –scope -p MemoryMax=11G jhbuild build 4.
Read more →

GNOME 40.3 on Debian / Ubuntu - JHBuild GNOME Latest

Official GNOME 40 for Debian and Ubuntu is coming. This is guide howto build GNOME 40.3 now and run it as your desktop environment. This is actually a bit more than just building exact GNOME 40 Desktop, this is your Swiss Army Knife to build latest GNOME packages when you want and survival pack to help you live on bleeding edge. GNOME 40 is, of course, a major release, but also all minor releases GNOME 40.
Read more →

Install All Needed Dependencies to Build GNOME 40 / GNOME latest on Debian / Ubuntu

  1. Install all needed dependencies and other things necessary for using JHBuild to build GNOME 3.1 Clone inttf modulesets [normal user] You can of course build original modulesets too, but this will fail and you have to figure out howto fix all errors. I use here currently GNOME 40.3 packages from /pub/GNOME/teams/releng/40.3/ and I have fixed and patched all packages to build and compile now: cd ~/jhbuild/modulesets git clone https://[email protected]/inttf/inttf-jhbuild-gnome.git 3.
Read more →

Install JHBuild on Debian / Ubuntu

  1. Install JHBuild on Debian Bullseye 11 / Sid and Ubuntu 21.04 / 21.10 You will need two consoles another root and another normal user. Whole JHBuild will run under normal user account, but you will need lot of dependencies to get everything up and running. Check step title is command meant to run as [normal user] or [root]. 2.1 Check python3 version Should be >= 3.5 python3 –version 2.2 Install git and other build tools [root] apt install git make autoconf automake gettext yelp-tools autopoint gcc pkg-config 2.
Read more →

Possible Error messages when building GNOME latest using JHBuild on Debian / Ubuntu

  1. Error messages and solutions I will collect here some common error messages and solutions. Following is simple network error, this is not uncommon at all. Just press [1] Rerun phase checkout. *** Checking out pixman *** [10/168] git clone https://gitlab.freedesktop.org/pixman/pixman.git pixman Cloning into 'pixman'… fatal: unable to access 'https://gitlab.freedesktop.org/pixman/pixman.git/': Failed to connect to gitlab.freedesktop.org port 443: Connection timed out *** Error during phase checkout of pixman: ########## Error running git clone https://gitlab.
Read more →

Run GNOME 40 / GNOME latest using JHBuild on Debian / Ubuntu

  1. Run Gnome 40 using JHBuild on Debian / Ubuntu You will need following files. 6.1 Create /usr/local/bin/gnome-session-jhbuild file [root] All credits to Florian Müllner. Add following content to /usr/local/bin/gnome-session-jhbuild #!/bin/sh # # All credit to fmuellner! # https://gitlab.gnome.org/fmuellner/silverblue-stuff/-/blob/master/sb-session-setup.sh set -x jhbuild() { /home/inttf/.local/bin/jhbuild "$@" } export $(jhbuild run env | grep JHBUILD_PREFIX= | sed 's:\r::') USER_UNIT_DIR=$XDG_RUNTIME_DIR/systemd/user.control if [ ! -e $USER_UNIT_DIR ] then # Pick up systemd units defined in jhbuild ln -s $JHBUILD_PREFIX/lib/systemd/user $USER_UNIT_DIR systemctl –user daemon-reload fi DBUS_SERVICE_DIR=$XDG_RUNTIME_DIR/dbus-1 rm -rf $DBUS_SERVICE_DIR if [ !
Read more →

Debian / Ubuntu / Linux Mint / LMDE NVIDIA Drivers Uninstall Guide

  1. Debian / Ubuntu / Linux Mint / LMDE Uninstall NVIDIA drivers and Enable Nouveau I assume here that you have used this guide install part to install your NVIDIA drivers. This whole process is good to run on runlevel 3. When there is no X running. So first boot to runlevel 3 using direct parameter (3) on Grub linux/linuxefi line or using “systemctl set-default multi-user.target”. 5.1 Change root user su - ## OR ## sudo -i 5.
Read more →

Debian / Ubuntu / Linux Mint / LMDE NVIDIA Restore / Change / Update Plymouth (BIOS/UEFI Users)

  1. Restore/Change/Update Plymouth After NVIDIA Drivers Installation (BIOS/UEFI Users) Please let me know if it works or if you have some problems. 4.1 Create /etc/modprobe.d/nvidia.conf file Create /etc/modprobe.d/nvidia.conf with content “options nvidia_drm modeset=1” echo "options nvidia_drm modeset=1" >> /etc/modprobe.d/nvidia.conf 4.2 Create /etc/dracut.conf.d/nvidia.conf file Create /etc/dracut.conf.d/nvidia.conf file with following content, note you need white spaces inside add_drivers and install_items: cat << EOF > /etc/dracut.conf.d/nvidia.conf add_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm " install_items+=" /etc/modprobe.
Read more →

Install NVIDIA [550.54.14 / 545.29.06 / 535.161.07 / 525.147.05 / 470.239.06 / 390.157 / 340.108] Drivers on Debian / Ubuntu / Linux Mint / LMDE

This is guide, howto install NVIDIA proprietary drivers (manually using .run files) on Debian Sid / 12 / 11 / 10, Ubuntu 23.10 / 22.04, Linux Mint 21.3 / 21.2 / 21.1 / 21 / 20.3 / 20.2 / 20.1, LMDE 4 and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500/600/700/800/900/10/20/30 series cards. This is alternative way to install NVIDIA drivers, because Debian based Linux distros have NVIDIA drivers directly from repos too.
Read more →

NVIDIA 550.54.14 / 545.29.06 / 535.161.07 / 525.147.05 / 470.239.06 + Xwayland on Debian / Ubuntu 23.10 / 22.04 and Gnome 45/44/43/42, Linux Mint 21.3 Cinnamon 6.0.1

  1. Enable Xwayland with NVIDIA 550.54.14 / 545.29.06 / 535.161.07 / 525.147.05 / 470.239.06 proprietary drivers on Debian / Ubuntu / Linux Mint This is guide, howto enable NVIDIA accelerated 3D rendering and Xwayland on Ubuntu 22.04 with NVIDIA 550.xx (550.40.07) / 545.xx (545.29.06) / 535.xx (535.154.05) / 525.xx (525.147.05) / 470.xx (470.223.02) proprietary drivers on GNOME 42/41/40. Tested with latest NVIDIA drivers, I assume here that you have installed NVIDIA drivers using this guide.
Read more →

inttf NVIDIA 340.xx, 390.xx, 470.xx Patcher for Kernel 6.5/6.4/6.3/6.2/5.19/5.14/5.13 [BASH Script]

This is a BASH script, which download NVIDIA installer, extract it, patch it and make new patched installer package. This is very quickly tested alpha version so if you have any problems please let me know or if this works as it should you can also let me know. I use here currently ARCH Linux Patches + my own patches. Currently this works with NVIDIA 340.108 / 390.157 / 418.113 / 435.
Read more →

PHP: APC Configuration and Usage Tips and Tricks

PHP APC (Alternative PHP Cache / Opcode Cache) is framework that optimizes PHP intermediate code and caches data and compiled code from the PHP bytecode compiler in shared memory. APC Opcode Cache is quickly becoming the de-facto standard PHP caching mechanism. (adsbygoogle = window.adsbygoogle || []).push({});PHP APC installation is very easy, example with Fedora / CentOS / Red Hat (RHEL) you can check following guides to see howto install it:
Read more →
Subscribe and follow: