| Issue | Kali Linux Screen Flickering / Glitching |
|---|---|
| Common Cause | Kernel update incompatibility with GPU drivers (Intel/NVIDIA/AMD) |
| Primary Fix | Reinstalling display drivers or rolling back the kernel version |
| Difficulty | Intermediate |

What is Kali Linux Screen Flickering After a Kernel Update?
Kali Linux screen flickering is a visual anomaly where the display rapidly pulses, tears, or blacks out intermittently. This usually occurs immediately after a sudo apt full-upgrade that installs a new Linux kernel version.
The root cause is typically a mismatch between the new kernel’s display stack and the existing graphics drivers. When the kernel is updated, specific modules for NVIDIA, Intel, or AMD hardware may fail to compile or load correctly, leading to unstable rendering.
For penetration testers, this is a critical issue as it can render the terminal unusable and cause system hangs during resource-intensive tasks.
Step-by-Step Solutions to Fix Kali Linux Screen Flickering
Step 1: Perform a Clean System Update
Sometimes, a flickering issue is caused by a partial upgrade where some dependencies are missing. Ensure your system is completely up to date.
sudo apt update
sudo apt full-upgrade -y
sudo reboot
Step 2: Reinstall NVIDIA Drivers (For NVIDIA Users)
If you are using a dedicated NVIDIA GPU, the kernel update often breaks the DKMS (Dynamic Kernel Module Support) link. Reinstalling the drivers usually fixes the flicker.
sudo apt purge nvidia*
sudo apt autoremove
sudo apt update
sudo apt install -y nvidia-driver nvidia-cuda-toolkit
sudo reboot
Step 3: Fix Intel Graphics Flickering (PSR Fix)
Intel users often experience flickering due to “Panel Self Refresh” (PSR). Disabling this feature via GRUB can stabilize the display.
Open the GRUB configuration file:
sudo nano /etc/default/grub
Find the line GRUB_CMDLINE_LINUX_DEFAULT and add i915.enable_psr=0 inside the quotes:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0"
Update GRUB and restart:
sudo update-grub
sudo reboot
Step 4: Roll Back to a Previous Kernel
If the new kernel is fundamentally incompatible, you can boot into an older, stable version from the GRUB menu during startup.
Once booted into the older kernel, you can remove the problematic kernel to prevent it from being the default boot option:
dpkg --list | grep linux-image
sudo apt purge linux-image-VERSION-NUMBER
sudo update-grub
Step 5: Disable Compositing in XFCE
If you are using the default Kali XFCE desktop, the window manager’s compositor can sometimes conflict with new kernel display parameters.
Navigate to Settings > Window Manager Tweaks > Compositor and uncheck “Enable display compositing.” This often provides an instant fix for desktop-level flickering.