"Failed to enable link training"

This happens mainly after I use the "Suspend" function and then try to wake up the laptop. The screen usually doesn't come back for a while and then it says "failed to enable link training" and if I wait it eventually comes back to the lock screen but not always. Sometimes it flashes the desktop for a few seconds only to go black again. Sometimes the screen never comes back and it only gets stuck between black screen and no screen. Here are my specs:
CPU: 13th Gen Intel Core i5-13500H @ 16x 4,7GHz
GPU: NVIDIA GeForce RTX 3050 6GB Laptop GPU
HP Victus 15
X11
nvidia-driver-590 (proprietary)

Hi. Zorin 18 is a fork of Ubuntu 24.04 so I used it in search criteria of Brave A.I. search engine via Mojeek which gives:

" NVIDIA Suspend/Resume Fix for HP Victus 15 on Ubuntu 24.04

The issue with your HP Victus 15 failing to wake from sleep when using the nvidia-driver-590 proprietary driver on Ubuntu 24.04 is a known problem linked to the NVIDIA driver's systemd integration and GPU power management.

The most effective solution, confirmed by users on similar hardware and driver versions, is to enable and properly configure the NVIDIA systemd suspend/resume services :

  1. Enable the required services:
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service
  1. Ensure the services are not masked:
sudo systemctl unmask nvidia-suspend.service
sudo systemctl unmask nvidia-hibernate.service
sudo systemctl unmask nvidia-resume.service
  1. Verify the services are active:
systemctl list-unit-files | grep nvidia

The output should show enabled for all three services.
4. Check for the required directory: The script /usr/bin/nvidia-sleep.sh expects a directory at /var/run/nvidia-sleep . If it doesn't exist, create it:

sudo mkdir -p /var/run/nvidia-sleep
sudo chown nvidia-persistenced:nvidia-persistenced /var/run/nvidia-sleep

After completing these steps, reboot your system. This configuration ensures the NVIDIA driver properly handles the suspend and resume cycle.

Alternative (if the above fails): If the issue persists, consider the following:

  • Kernel Version: Some users have found that the 6.12 kernel (or later) resolves the issue. You can install it via the mainline tool (sudo apt install mainline ).
  • BIOS Update: Ensure your HP Victus 15's BIOS is up-to-date, as power management bugs are sometimes fixed in newer firmware.
  • Driver Version: While nvidia-driver-590 is current, the nvidia-driver-580 or nvidia-driver-570 versions have been reported to work more reliably in some cases on Ubuntu 24.04. You can try downgrading using the ppa:graphics-drivers/ppa repository.

AI-generated answer. Please verify critical facts."

Maybe some of the suggestions in those threads can help you:

1 Like

nvidia-hibernate.service enabled enabled
nvidia-persistenced.service static -
nvidia-resume.service enabled enabled
nvidia-suspend-then-hibernate.service disabled enabled
nvidia-suspend.service enabled enabled

I get this after all those commands

Have you tried dropping to a lower driver?

Yeah I still get the same "Failed to enable the link error" the screen still blacks out and it still flashes the desktop screen before eventually opening the lockscreen.

Worth a read:

Some users post a few workarounds but I do not know if any will help you...

1 Like

Looks like upgrading to newer kernel versions fixes the problem. Mine seems to be fixed after upgrading to version 6.19.10 using Mainline. I first tried installing 6.19.11 but I couldn't make that work.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.