New answers tagged

0 votes

Needing help installing NVIDIA legacy 340.xx driver for gt 730 on ubuntu 20.04

Your installation error is because you did not remove the HWE kernel. nvidia-340 will not work with 5.15.0-67-generic. It will only work with 5.4.0-172-generic, as I tested in a 20.04 Docker container....
Daniel T's user avatar
  • 4,388
1 vote

Needing help installing NVIDIA legacy 340.xx driver for gt 730 on ubuntu 20.04

According to the Nvidia website, you should be using driver 470. First, make sure your system is fully up to date or you will encounter issues: sudo add-apt-repository restricted sudo apt update sudo ...
mchid's user avatar
  • 43.3k
0 votes

Needing help installing NVIDIA legacy 340.xx driver for gt 730 on ubuntu 20.04

The only working solution for my system is reverting to Ubuntu 20.04 LTS without HWE. None of the other suggestions worked. I have tried installing the driver, and it worked neither in the Additional ...
Davi SN's user avatar
  • 11
2 votes

Needing help installing NVIDIA legacy 340.xx driver for gt 730 on ubuntu 20.04

With the combination of Nvidia drivers and kernels available from the Ubuntu 22.04 repos, I do not think you can do it. I have a GT 730 as well and I have not been able to get it to run the Nvidia ...
Organic Marble's user avatar
1 vote

Can't change display driver on Ubuntu 22.04 after installation failed

TL;DR Use this command if you installed the driver via "Additional drivers" tab of the "Software & Updates" sudo ubuntu-drivers install nvidia:VERSION where VERSION is the ...
Twistios_Player's user avatar
0 votes

OpenCL with Nvidia 390 on Ubuntu 18.04

On Ubuntu 22.04 LTS, I successfully installed OpenCL and CUDA for my NVIDIA GeForce GT 550M by simply using the GUI "Additional Drivers". Just make sure you use the 5.15 kernel. Versions 6.2 ...
Langdon's user avatar
0 votes

Random temporary screen lags since upgrade to 18.04

looks like i found a workaround for freezes/stutters in case of runing my Legion 5 Pro in hybrid graphics mode. The nvidia GPU can be in different states - D3cold, D0, D3hot. I randomly noticed, that ...
superqwerty's user avatar
0 votes

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running

This is the complete solution that worked for me. https://www.murhabazi.com/install-nvidia-driver don't forget to disable secure boot.
Fatemeh Karimi's user avatar
0 votes
Accepted

Sound output starts delayed. Cant force sampling rate on boot

If you look above, you will see Default values are commented out. Use either ; or # for. Remove the ; to uncomment the lines: default-sample-format = s16le default-sample-rate = 48000 alternate-...
Daniel T's user avatar
  • 4,388
2 votes

Ubuntu 20.04: Screen layout not saving after reboot

Very old question but I had the same issue and it was due to the following: I migrated to the new VM (Ubuntu) from a different machine and used a different account name. I copied my old .profile, ....
Bob's user avatar
  • 21
0 votes

Ubuntu 20.04 secondary (Integrated graphics) monitor not working

I had the same problem on 22.04 after updating the kernel. What worked for me was sudo apt install nvidia-driver-470 sudo apt-get install linux-headers-$(uname -r)
Panos's user avatar
  • 289
0 votes
Accepted

Slow rendering. Which GPU is a desktop process running on?

Run switcherooctl list and you will see output like this for each GPU: Device: 0 Name: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] Default: yes Environment: ...
Alistair Buxton's user avatar
0 votes

Display settings not saved across sessions when using fractional scaling

I recently tackled a similar issue on my system running Ubuntu 20.04.6 LTS 64-bit, GNOME 3.36.8, on X11 with Oracle VM VirtualBox. My display settings, especially fractional scaling, wouldn't stick ...
Nuri Ziarati's user avatar
1 vote
Accepted

Why is my laptop screen dim after resume from screen-lock, sleep, or suspend?

I was able to solve my problem by switching from the open-source nouveau driver to the proprietary nvidia-driver-535. This can be installed from either the command line or through the GUI. I chose to ...
mpboden's user avatar
  • 1,235
0 votes

Installing CUDA 12.0 on Ubuntu 22.04 and Driver Version: 535.86.05

Try installing with the .run file instead of the .deb, since it asks if you want the driver to be installed too (you don't want that since it will install a different driver version than you already ...
ecco55's user avatar
  • 1
0 votes
Accepted

Legion 5 Y9000P IAH7H - Freeze randomly on Kubuntu 22.04

It was a RAM bug, but my video card gets some RAM to use it and then it occur bad memory cell. that it. btw, I've found a solution via vulkan mem test
NashGC's user avatar
  • 101
0 votes

Why is my laptop screen dim after resume from screen-lock, sleep, or suspend?

It seems like your Nvidia driver isn't remembering the backlight value even though your GNOME does. Let's work around this with a sleep hook: Paste the following into /etc/systemd/system/nvidia-...
Daniel T's user avatar
  • 4,388
0 votes

Legion 5 Y9000P IAH7H - Freeze randomly on Kubuntu 22.04

I had issues with freezes on my Legion Pro 5 16ARX8 82WM (R9000P) running Linux in hybrid graphics mode (amdgpu + nvidia 550 drivers). And looks like i found a workaround. The nvidia GPU can be in ...
superqwerty's user avatar
-2 votes

Nvidia driver failure after update

Apparently I didn't update grub after my upgrade. After running sudo update-grub system booted with the new kernel.
whitecanvas's user avatar
0 votes

Please help configuring NVIDIA-SMI Ubuntu 20.04 on WSL 2

For newer versions, nvidia-smi is supported on WSL2 by default, just install the required Windows CUDA driver, and the WSL2 packages come along with it. On a side note, if nvidia-smi does not directly ...
adbarca10's user avatar
0 votes

System freeze with dual screen

In my case, the fix was to disable secure boot. In addition to your flip_done error, I also saw this in the syslog: [ 27.011771] [drm:nv_drm_ master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID ...
Adam Karvonen's user avatar
0 votes

My nvidia graphics card GT630 synergy edition not working on xubuntu

The definite answer seems to be that the legacy release 390 series of drivers is out of support... This has been my question regarding this problem. So every graphics card that is is only supported by ...
zx485's user avatar
  • 2,406
0 votes

Ubuntu 22 LTS crashes repeatedly on 2023 Asus ROG Zephyrus G14

I have the same Asus ROG Zephyrus G14 and i have it since 2021, i have similar problems with my laptop when i install ubuntu or debian in dual boot along windows i have a lot of problems. the only way ...
Alfredo Olmedo's user avatar
2 votes

WSL2 graphical application display issue

In Power Shell wsl --shutdown Then start again
ayman2011a's user avatar
0 votes

Wrongful error on version mismatch - gcc 11.4.0 kernel nvidia-cuda-515

My cuda install recently broke after a system update, too. I'm on 22.04 had a hard need for nvidia-driver-535 and cuda toolkit 12.1. Perhaps this will work for you with driver-515 and 11.4. I was ...
smcnally's user avatar
  • 366
0 votes

Switching to Nvidia driver switched my system to X11. Now I'm back to using Nouveau but can't seem to switch back to Wayland? [Ubuntu 22.04]

These two posts on ubuntu forums show to review the /usr/lib/udev/rules.d/61-gdm.rules. https://ubuntuforums.org/showthread.php?t=2486867&p=14143185#post14143185 https://ubuntuforums.org/...
alignedfibers's user avatar
0 votes

How do I fix CUDA breaking after suspend?

This problem is closely linked to a question I opened GPU not found errors. nvidia-driver-550 with cuda-12.4 works with cccplex's solution. But there's no need to enable the suspend service in the ...
Rakin Baten's user avatar
1 vote

How to disable Nouveau kernel driver

Unlike the other answers, I assert that the blacklist keyword will not actually blacklist the driver. Let me explain what that keyboard actually does. blacklist does not blacklist the driver at all. ...
Daniel T's user avatar
  • 4,388
1 vote
Accepted

ubuntu 22.04 on iMac 2012 - 27" - external screen not detected - nvidia?

I found the solution.... very simple : I think the nvidia-driver-390 package is broken in kernel 6.5.0-21 (and not in 6.2.0-26, the one on my live USB). This is my solution: See what drivers are ...
TheGlasses's user avatar
0 votes

Kernel module not loaded at boot, but fine afterwards via "modprobe"

You can add $nvidia.modeset=1 to the line that contains GRUB_CMDLINE_LINUX_DEFAULT="xx xxx nvidia.modeset=1" in the /etc/default/grub file and then you should update the boot loader config ...
عبد الرحمن's user avatar
0 votes

Video Freezes System in Ubuntu 20.04 or 22.04

Try using Xorg graphics system (log-out, select "Ubuntu on Xorg" option from an icon at botton-left of screen, then log-in again). Some apps seem to work better using different graphics ...
Stephen Lawrence's user avatar
0 votes

Screen turns yellow even using the live option Ubuntu 22.04

for me, I was missing drivers sudo apt install nvidia-driver-<version>
jsibs's user avatar
  • 101
0 votes

Ubuntu Install/Boot black screen or Stuck

I figured it out a bit. The problem was not with the ubuntu versions. As I found out, when the laptop is running on battery power, everything is fine, when I connect the charging, the system freezes ...
Юра Анкипович's user avatar
0 votes

Facing Boot and Device Issues after Removing NVIDIA Drivers on Kubuntu

Have you tried booting into terminal only? In grub options there is a line starting with linux, add a number 3 to the end of the line to boot into level 3 (terminal only, no graphics)(keep acpi=off ...
Soroush's user avatar
  • 21
0 votes

Acer Nitro 5 brightness problem in 22.04.2 LTS

Open your terminal and paste below commands sudo gedit /etc/default/grub Replace GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" With GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=...
Pratham Ingawale's user avatar
0 votes

/usr/bin/nvidia-modprobe: unrecognized option: "-s"

These answers helped me. Do not forget to select proper Ubuntu version. Mine is 20.04 So for me these commands worked: wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu$(cat /etc/os-...
Ger Katu's user avatar
0 votes

dpkg: error processing package nvidia-driver after install ubuntu 20.10

I had exactly the same problem at ubuntu 22.04 and the following configuration: vendor : NVIDIA Corporation model : GK106GLM [Quadro K2100M] driver : nvidia-driver-390 - distro non-free ...
Kuba D's user avatar
  • 1
0 votes

Benefit of using secure boot with MOK over disabling secure boot

I think I found a similar question on the Unix Stack Exchange. In the answer, the important bits which make sense to me are: The main idea is that only code which is signed is allowed to run while ...
Stéphane Tréboux's user avatar
0 votes

nvidia installer is using older version of GCC by default

Defining the gcc version explicitly CC="gcc-12" sudo ./cuda_12.1.0_530.30.02_linux.run solved this issue.
Bilal's user avatar
  • 293
-1 votes

Steam Games Suddenly Failing to Launch on Ubuntu 22.04 with NVIDIA GeForce RTX 3070 Ti

Try clearing your local download cache. It worked like a charm for me (on Ubuntu 22.04) Steam → Settings → Downloads → Clear Cache.
Andreas Häusler's user avatar
2 votes

nvidia 390 drivers will not build

To fix this issue, you need to downgrade your kernel version from 6.5 to 6.2.0-26-generic. Once done, repeat the driver installation steps, and you should be able to install the nvidia-driver-390. ...
Muhamad Luthfi Novianto's user avatar
1 vote

since last package upgrade dark screen with gdm3 on nvidia

following intuition of HW issue : No logical error with physical dark screen no signal. 7 year old MSI card with suspicion too tight calculated component. I booted on a usbkey and the graphical boot ...
frederic abel's user avatar
0 votes

Long time to launch apps, but only on single desktop

In my case, I found that the wrong driver was selected. So I just fixed it by changing to another driver and issue fixed. Go to Additional driver and change to another available driver and restart the ...
Dhaval Solanki's user avatar
0 votes

nvidia enforced power limit stuck to 45W

For anybody encountering this issue on a laptop. Make sure your laptop is connected via it's "biggest" power brick(if it has multiple ones). I was running some cuda tasks connected only via ...
Bacterie Minculescu's user avatar
1 vote
Accepted

Nvidia driver update from 525 display ports no longer working with GTX 2070

After everything of the version changes to work with 6.5 and 535 and gcc-12, I was able to get my display ports working again by unplugging everything, including the power for an extended period of ...
Kyle Watts's user avatar
0 votes

How to install Nvidia CUDA driver on AWS ec2 instance?

In case there are other readers with the same question, there is an official document to get GPU and CUDA installed on a GPU-based instance here
Carlos B's user avatar
  • 126
-1 votes

How do you uninstall the nvidia drivers?

Remove anything about NVIDIA sudo apt-get remove --purge nvidia* sudo apt-get autoremove Warning: autoremove may remove some dependencies of other softwares! Take care of the command! Install NVIDIA ...
Chuck Liu's user avatar
  • 149

Top 50 recent answers are included