Ubuntu 22.04 and RTX 4090


I have a Dell Alienware Aurora R15 with an RTX 4090 graphics card and I run it under Ubuntu 22.04. Ubuntu is unable to find the card. I have tried to do what is advised in the post “Ubuntu 20/22.04 RTX 4090 Card not recognized” but it did not work. I include the bug report log for info. Can anybody help ?

nvidia-bug-report.log.gz (354.0 KB)

If you have seen my older post on this discussion, forget that post. I discovered the solution and everything went smoothly as it is supposed to operate on.

A. execute this:
dpkg -l | grep 'linux-image'
[This calls up your library of linux-images residing in your system]

B. Do not be surprised if you don’t see any nvidia in your library. So, execute:
apt-cache search linux-image | grep 'nvidia' | sort -h

C. You will see a listing of many kinds of linux-images available, particularly for nvidia. Pick the one that is most fitting to your system’s scenario.

TIP-1: You will notice two different kinds: “signed” and “unsigned”. I am not familiar with your DELL system as Acer and Ubuntu has always been my choice. If it’s very new, then go for signed ones but if it’s a few years old, then use unsigned ones. These signed ones are for a secured boot controlled by your motherboard, which is good.

TIP-2: pick the highest sequence number such as -1009- , -1010- ,-1011-, or others - pick the highest.

TIP-3: pick the newest version. The version number is listed like this: -5.19.0-, or -6.2.0- or -6.5.0 and such.

Here’s an example:

linux-image-nvidia    <--- Choice: 1  //this is a "play safe than sorry" choice.
linux-image-nvidia-6.5   <-- Choice: 2  //this is the default version of the newest version
linux-image-6.5.0-1004-nvidia   <--- //this is the same as choice #2
linux-image-unsigned-6.2.0-1011-nvidia   <---  Choice #A // for older motherboard without secured boot to test
and if it works - proceed to Choice #B.

linux-image-unsigned-6.5.0-1004-nvidia   <--- Choice #B // for older motherboard without secured boot.  
You can go straight to this version if you know how to undo the linux-image install.

D. After you have made the pick; you need to reset your grub loader to make sure you have a “back door” to rollback to your recent linux-image in case your system failed to load up the new linux image.

sudo nano /etc/default/grub

Edit one line by replacing 0 to 5

This tells your system to load a menu and leave the menu up for 5 seconds before your system boots up. This is where you can go to recovery mode to load up your recent Linux image if your linux-image install fails. I always have 7 on my system. This is important for those who are not familiar with managing linux-images.

E. Execute this:
sudo update-grub2

This command tells your system that it needs to update the new settings that you just edited before booting up. This MUST happen; otherwise, your system will ignore the file that was just edited (#D above).

F. Restart your system.

From there, you should be able to see your image working. If it does work, you will notice the difference in the colours on your monitor. From this point onward, your NVIDIA is linked to your motherboard with all of the functions and commands.

Voila! You are done.