Follow this guide, partition your disk a install Pop OS 20.04 from live USB :
- Boot from live USB
- Partition your hard disk: EFI Boot, BTRFS root, EXT4 home, SWAP
- Install Pop OS and DO NOT REBOOT
mount -o subvolid=5,ssd,noatime,space_cache,commit=120,compress=zstd /dev/sdb5 /mnt
btrfs subvolume create @
ls | grep -v @ | xargs mv -t @
btrfs subvolume list /mnt
nano /mnt/@/etc/fstab
mount /dev/sda1 /mnt/@/boot/efi
echo "timeout 10" >> /mnt/@/boot/efi/loader/loader.conf
sed -i 's/splash/splash rootflags=subvol=@/' /mnt/@/boot/efi/loader/entries/Pop_OS-current.conf
cat /mnt/@/boot/efi/loader/entries/Pop_OS-current.conf
nano /mnt/@/etc/kernelstub/configuration
cd /
umount -l /mnt
mount -o defaults,subvol=@,ssd,noatime,space_cache,commit=120,compress=zstd /dev/sdb5 /mnt
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo cp /etc/resolv.conf /mnt/etc/
sudo chroot /mnt
mount -av
apt install -y btrfs-progs
update-initramfs -c -k all
exit
reboot
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo apt autoclean
sudo apt install -y timeshift
sudo timeshift-gtk
https://askubuntu.com/questions/935672/ubuntu-16-04-on-dell-xps-suspend-occasionally-fails
sudo micro /usr/lib/systemd/system-sleep/brcmfmac
chmod +x /usr/lib/systemd/system-sleep/brcmfmac
#!/bin/sh
case $1 in
pre) modprobe -r brcmfmac ;;
post) modprobe brcmfmac ;;
esac
Download Xanmod 5.7.16-xanmod2 from Sourceforge and install it.
sudo dpkg -i linux-image-*xanmod*.deb linux-headers-*xanmod*.deb
reboot
You may encounter issue with Nvidia dkms during kernel installation, enter below commands to fix it
sudo apt install gcc-8
sudo update-alternatives --config gcc
sudo update-alternatives --remove-all gcc
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 10
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-8 10
sudo dpkg-reconfigure nvidia-dkms-440
Fix the mutter multi-monitor 60 fps lock with below commands
xrandr
nano /etc/environment
__GL_SYNC_DISPLAY_DEVICE=DP-1
reboot
To check if fix is active :
sudo apt install mesa-utils
glxgears
sudo cp ~/.config/monitors.xml ~gdm/.config/
reboot
sudo apt install ddcutil
sudo groupadd --system i2c
sudo usermod xps -aG i2c
sudo chmod a+rw /dev/i2c-*
su - ${USER}
ddcutil detect
sudo apt install gnome-tweaks
sudo apt-get install gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0 gir1.2-gtkclutter-1.0
dconf dump / > ~/.config/dconf/user.conf
dconf load / < ~/.config/dconf/user.conf
sudo apt install htop micro
sudo apt install appimagelauncher
sudo add-apt-repository ppa:appimagelauncher-team/stable
sudo apt install appimagelauncher
sudo apt install libva-glx2 vainfo intel-media-va-driver-non-free
wget https://gitlab.com/aar642/libva-vdpau-driver/-/jobs/205841211/artifacts/raw/vdpau-va-driver_0.7.4-6ubuntu1_amd64.deb
sudo dpkg -i vdpau-va-driver_0.7.4-6ubuntu1_amd64.deb
sudo apt-mark hold vdpau-va-driver:amd64
vainfo
chmod a+x Shadow.AppImage
./Shadow.AppImage
sudo apt install apt-transport-https ca-certificates curl software-properties-common
url -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce docker-compose
sudo systemctl status docker
sudo usermod -aG docker ${USER}
su - ${USER}