Since some time I have noticed occasional episodes of strange screen flicker, and it did not improve with the latest release. What did make a differenece was that after a few weeks of observation, and I would not be able to either trigger a start or a stop of the behavior, I sought out an updated driver, and that changed the behavior. It happens with a graphics intensive screen. and usually it stops by itself. Occasionally I can seem to stop it, e.g. by re-launching a particular browser, but none of it is reliably repeatable. Sofar, I have been unable to reach out to NVIDIA, but their hardware seems to be the source of the problem.
Relevant System Information
NVIDIA T400 4GB - instability. - HP HP Z4 G5 Workstation Desktop PC
Error Messages / Logs
no error messages, just symptoms that start and stop uncontrollably.
What I’ve Tried
Described above.
I replaced an old, cranky keyboard with a brand new one… no help.
Oh then how come when I upgraded to 26.04.01, it checked for drivers, but did not find the NVIDIA updates. It was HP that had me check for the drivers, and told me to install the NVIDIA ones, but HP is lousy on the Linux support, which suggests to me that professionals don’t use HP? I remember working in hosting (Verio around 2000), and all of the engineers used linux, except for actual customer support for windows customers.
Oh well, so what do I do to get the correct drivers from Ubuntu???
should have been enough. Don’t use it now unless you uninstall the driver from the Nvidia installer first. And make sure you have a fully up-to-date system, always.
Need to know: The Nvidia drivers from the Ubuntu repository corresponds to the same branch as the Nvidia installer but, unlike the latter, it has been packaged and tested for the Ubuntu release it’s released for, and automatically compiles for any new kernel. With the driver you installed you WILL have problems in the next cycle of kernel updates.
???
HP supports selected Linux distros, including Ubuntu, in some models. But it never asks the users to go to Nvidia for find drivers. All mainstream distros package the same drivers and have those in the repositories. HP support for Linux always ask users to troubleshoot within their distro specific resources. And some professionals do use HP, with Ubuntu or others.
In summary, part of the problem seems to be you living in the past and the other part is a certain phenomena I usually describe as “Windows mentality” which is toxic in its own right.
The installer will check for the presence of DKMS on your system. If DKMS is found, you will be given the option of registering the kernel module with DKMS, and using the DKMS infrastructure to build and install the kernel module. On most systems with DKMS, DKMS will take care of automatically rebuilding registered kernel modules when installing a different Linux kernel.
If nvidia-installer is unable to install the kernel module through DKMS, the installation will be aborted and no kernel module will be installed. If this happens, installation should be attempted again, without the DKMS option.
Note that versions of nvidia-installer shipped with drivers before release 304 do not interact with DKMS. If you choose to register the NVIDIA kernel module with DKMS, please ensure that the module is removed from the DKMS database before using a non-DKMS aware version of nvidia-installer to install an older driver; otherwise, module source files may be deleted without first unregistering the module, potentially leaving the DKMS database in an inconsistent state. Running nvidia-uninstall before installing a driver using an older installer will invoke the correct dkms remove command to clean up the installation.
Due to the lack of secure storage for private keys that can be utilized by automated processes such as DKMS, it is not possible to use DKMS in conjunction with the module signing support built into nvidia-installer.
A lot of assumptions here. I had linux dual boot since v 0.90. and beyond. I permanently switched to linux in 2017 when the Win10 “anniversary update” bricked a perfectly good hp desktop, which today still runs fine under Linux. For my daily driver I now have this workstation.
And it absolutely was a support tech from HP telling me to get the latest driver from NVIDIA… the linux support there is pretty whacky.
In any case, I will unwind this thing and then get the ubuntu driver for this card, however the problem existed under the previous release as well with the ubuntu drivers. I had sort of hoped that with the 26.04.1 it might go away, and the upgrade forces updating the drivers, but when the HP tech had me check the driver, it was not the latest, and that’s when he gave me that advice. I won’t make that mistake again.
Did he/she/they explicitly told you to download and install it from Nvidia’s website or you just assume you were supposed to do that? If so that was bad advice indeed. Any competent support (Ubuntu/Linux) agent would have mentioned the command I posted above or the Additional Drivers app/tool. Either would install the drivers from the Ubuntu repository.
yes, they very specifically directed me to the invidia site, so, reconstructing it now, here is what I see happened:
I did the 26.04.1 update, which required updating all the drivers, etc.
but then the problems with the invidia card did not stop, although the symptoms changed a bit.
Hp support suggested checking the driver on the nvidia card, and sure enough, it was not the latest, and they suggested downloading the latest from nvidia.
Now my remaining challenge is that I cannot find how to uninstall the driver again
sudo /usr/bin/nvidia-uninstall - would not do it??
following NVIDIA instructions:
apt remove --autoremove --purge -V \
cuda-compat* \
libnvidia-cfg1*
libnvidia-compute*
libnvidia-decode*
libnvidia-encode*
libnvidia-extra*
libnvidia-fbc1*
libnvidia-gl*
libnvidia-gpucomp*
libnvidia-nscq*
libnvsdm*
libxnvctrl*
nvidia-dkms-open*
nvidia-driver*
nvidia-fabricmanager*
nvidia-firmware*
nvidia-headless-open*
nvidia-headless-no-dkms-open*
nvidia-imex*
nvidia-kernel-common*
nvidia-kernel-source-open*
nvidia-modprobe*
nvidia-open*
nvidia-persistenced*
nvidia-settings*
nvidia-xconfig*
xserver-xorg-video-nvidia*
Error: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
Error: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
I left it in this condition and sudo-ubuntu-drivers install tells me all available drivers already installed. but the symptoms got worse again after removing thos invidia drivers. Sofar everything I tried has made it worse.
I am thoroughly confused by now. No I did not use DKMS.
dkms status produces nothing.
so that does not look like it’s an issue?
but the display is whackier than ever.
In short, by the behavior alone the installation of the NVIDIA driver update caused fewer problem. Or actually, the same type of problems but lesser intensity. I think I will reinstall it and work on the symptoms with NVIDIA. I have a maintenance agreement with HP, but that is about the hardware.
Clearly based on the evidence sofar, this is a driver issue, and both the machine and the graphics hardware are in fairly wide use, so there are likely others out there with similar issues.