Ubuntu 22.04 stuttering with RTX 3060 on both Wayland and X11

Hi, my Ubuntu 22.04 with RTX 3060 has a weird intermittent issue which I am trying to fix for over a week now. My systems is lagging unbearably (especially on wayland) even when I’m just typing in the browser (this post for example). I don’t know what’s the issue with my graphics drivers. Could you please help me fix my graphics drivers.

I did lots of fresh installs trying to troubleshoot (and its really time consuming). Here is how I do it:

  1. I do a fresh install of Ubuntu 22.04 (w/o downloading updates and installing proprietary drivers during OS installation)
  2. change GNOME powermanager to performance
  3. install drivers using
    sudo apt update
    sudo apt full-upgrade
    sudo reboot
    sudo apt install dkms build-essential linux-headers-$(uname -r) mesa-utils vulkan-tools
    sudo apt install nvidia-driver-595-open nvidia-dkms-595-open nvidia-kernel-source-595-open
    sudo update-initramfs -u -k $(uname -r)
    sudo update-grub
    sudo reboot
    after installing drivers using steps above the system sometimes works perfectly and sometimes it doesn’t (yeah even after a fresh install sometimes drivers don’t work and I do a fresh install again to get rid of freezes).

When it works and I test my GPU by running War Thunder (to test what GPU can handle because I know my how much FPS I get on Windows 11).
On X11 it gives 190 FPS on avg in game and on Wayland 160-170 FPS and GPU core clock and power consumption is high, hardware acceleration works perfectly, desktop environment interatctions feel snappy and I love it when it works.
But, guys I hate when it doesn’t! When the drivers work flawlessly, if I reboot the system everything becomes very slow. No hardware acceleration on Wayland (on X11 I noticed hardware acceleration works but the browser feels slows in general), FPS in War Thunder drops to 15 FPS avg and at most 30 FPS on X11 and Wayland I’ve never seen FPS go more than 5 FPS.
I tried installing Ubuntu 26.04 and everything works perfectly right after OS installation
But I need Ubuntu 22.04 for my ROS 2 Humble Robotics project at university.

I followed most of the Ubuntu and NVIDIA troubleshooting forum topics but nothing helped.

When I was trying to troubleshoot myself by comparing journalctl and logs of the flawlessly working system with the broken system, I’ve noticed that both have some weird BIOS ACPI ERROR. I’ve updated my BIOS by downloading the latest BIOS update for my MoBo from HP Website but it didn’t help. I am still getting ACPI ERROR, maybe it’s the root cause of the problem? But I’ve read that turning off ACPI may cause hardware overheating.

What I’ve done so far:

  • Tried different versions of drivers: nvidia-driver-595-open nvidia-driver-595 nvidia-driver-580
  • Tried PPA drivers from launchpad
  • Tried installing them from Software & Updates > Additional Drivers
  • Tried purging nvidia-* and then changing drivers
  • Tried changing drivers by switching to tty and stopping gdm and gdm3 and then installing drivers

I will attach my logs to this post I have logs from working system (good.log) and broken system (bad.log)

I’ve noticed also one strange behavior of the broken system. When I type my password and login using wayland my monitor turns off and I see a countdown as if I powered off my PC (No Signal HDMI1, Your device is going into standby mode, Remaining Time 3… 2… 1… seconds) but after the countdown ends the screen turns back again and I see the dektop environment loading (desktop icons showing up). But when the system is working flawlessly (160+ FPS in WT) when I login using Wayland it the screen turn black for the half a second and logs right into the desktop environment without countdown. That’s how I can tell if I can work on my project or I need a fresh intstall again. I have videos of such behavior if you think that this might be important.

Hardware:
OMEN by HP 25L Gaming Desktop PC GT15-1000i
CPU: 13th Gen Intel(R) Core™ i5-13400F (no integrated graphics)
GPU: NVIDIA RTX 3060 12GB
BIOS Version: F.30 Rev.A (Dec 15, 2025)

good.log (95.7 KB)

bad.log (90.7 KB)

bad-nvidia-bug-report.log (2.7 MB)

good-nvidia-bug-report.log (2.8 MB)

There is no Linux option when choosing OS before downloading BIOS btw

Update: I fixed it. I have no idea what I’ve done (what exactly of the steps I’ve done fixed my Ubuntu 22.04).
After days and weeks of looking for a solution online I didn’t find anything for my problem, nothing worked for me.
But I managed to consistently (twice) fresh install Ubuntu 22.04 with nvidia-driver-595-open without lags and stuttering. Maybe it was a corrupted USB, maybe it was rufus causing problem (file explorer and rufus were fighting each other over USB, while rufus was creating a USB image of my Ubuntu 22.04).

What worked for me. I decided to try completely different things when installing, since forum solutions didn’t help me, and I had to do everything on my own, and my problems seemed to be very specific. You can disregard information in the parenthesis if you’re skimming through steps, I was just trying to clarify some things.

  • I used completely new USB stick (but I think my first USB stick could do the job as well since the USB tests didn’t find any bad sectors on any of the USB sticks I own. No bad sectors on old USB sticks and no bad sectors on new USB sticks that I’ve bought just because I didn’t know what else could be a problem)
  • Used BalenaEtcher to make a USB image (but I think Rufus could do the job too, I turned off AutoPlay in Windows 11, changed it to “Take no Actions” for removable media devices, and it fixed the File Explorer opening USB while Rufus was trying to create and image issue. I highly encourage you to use Rufus or at least have it at your disposal since it’s open source and it was doing it’s job. I just wanted to change every single step I’ve done that led to laggy Ubuntu 22.04, let’s support open-source projects!)
  • Disabled BitLocker and Fast Startup on Windows 11, turned off Secure Boot in BIOS (I did this since my first Ubuntu 22.04 installation attempt, not the cause of the problem).
  • Chose “safe graphics mode” in the Live USB GRUB menu. (Just as a side-note: when booting into the live image and choosing “safe graphics mode” I could “Try Ubuntu” in the live image, but in the first option of the grub menu, specifically “Try or Install Ubuntu” when I clicked “Try Ubuntu” in the live image I got totally unresponsive black screen, sometimes it was totally black, with some white noise tearing. It completely unresponsive since I couldn’t even switch to tty or single click the power button to turn it off, and all I could do is to press and hold the power button until my PC turned off)
  • Install Ubuntu
  • Didn’t connect to Wi-Fi, Minimal Install, left “install third-party software” unchecked, left “Download updates while installing” unchecked.
  • Erase the disk and install ubuntu
  • When got into freshly installed ubuntu 22.04 I did this:
    sudo apt update
    sudo apt full-upgrade
    sudo apt-get remove --purge ‘^nvidia-.*’ (it didn’t find any package matching the pattern which is what I was expecting)
    sudo apt autoremove
    sudo apt install ubuntu-drivers-common -y (didn’t install anything for me)
    sudo reboot
    sudo apt install pkg-config libglvnd-dev dkms build-essential libegl-dev libegl1 libgl-dev libgl1 libgles-dev libgles1 libglvnd-core-dev libglx-dev libopengl-dev gcc make (source: GitHub - oddmario/NVIDIA-Ubuntu-Driver-Guide: A little guide to help you install & manage NVIDIA GPU driver on your Ubuntu system · GitHub )
    sudo add-apt-repository ppa:graphics-drivers/ppa (apt-cache policy didn’t chose it anyway since original ubuntu repos had a newer versions of the drivers)
    sudo apt update
    sudo apt install nvidia-driver-595-open
    sudo update-grub (didn’t update-initramfs since I saw sudo apt install nvidia-driver-595-open update it automatically but didn’t update-grub)
    sudo reboot
  • Then after the last reboot command (the one right after installing nvidia-driver-595-open and update-grub) I got the buggy system again, I switched to tty to reboot since I didn’t want to deal with laggy desktop environment, logged into tty, sudo reboot
  • But after reboot through tty I still got the laggy system and I did sudo reboot in tty again
  • Again the system is lagging and I did sudo reboot in tty again and after this (third) reboot I got completely working system.

I was a bit skeptical since I couldn’t understand why and how reboot fixed the issue (stuttering and low FPS in WT)? why three times (on both successful attempts)? And I did decided to install it again following my steps that I was documenting and it worked again and after three reboot (again).

Right now I am writing this update on my post in Firefox, in Ubuntu Wayland, and everything feels so smooth, I am so happy that it worked! Maybe be when I finish my university project I will try to investigate and do my research on Linux Operating Systems and how “exactly three reboots” can fix the broken Ubuntu 22.04 system on Omen 25L Desktop with RTX 3060. It would be great if anyone who has more experience in Linux OSs could tell me what to look for specifically. Race Conditions? BIOS Firmware? Maybe literature that I could start reading to strengthen my foundational Linux knowledge that would be very handy when troubleshooting Linux problems?

Although it was frustrating, I felt as if I was 9 years old again, when I was gifted a PC and was trying to figure out how to navigate through Windows, what settings it had, what I could play around with, and it was fun in a way. I hope this post helps someone!

Update: the day before yesterday I powered off my PC overnight and after coldboot everything was fine. Yesterday I powered off my PC overnight and after coldboot everything was stuttering. I started rebooting and it took my 2 tty reboots + 2 in desktop environment reboots + 1 tty reboot (in this exact order 2 tty + 2 in desktop + 1 tty). Idk maybe only tty reboots work (which will sum up to 3 tty reboots) or this time it somehow took 5 reboots to work properly.