I am trying to use external monitor with my laptop running rtx 3060.
I have a lot of problems with the default installation, with first nothing working. The external monitor was not detected at all in settings and the Nvidia Server Settings software was not installed as well as the log generating script.
I have followed these steps:
and installed the drivers from the the terminal sudo apt install nvidia-driver-525 nvidia-dkms-525
After that I was able to run the Nvidia Server Settings and the log script was there.
I am able to see my monitor in the Nvidia Server Settings and also in ubuntu displays settings but as soon as I try to switch to use the external monitor the settings instantly revert to using only the built in one.
The farthest I got to the external monitor working was using this driver: X.Org X server - Nouveau display driver from xserver-xorg-video-nouveau (open source)
When booting, the monitor shows the Ubuntu logo and the loading bar but as soon as the system finishes booting it shows artifacts on the whole screen, although the mouse is perfectly displayed. When using this driver I also cannot use the Nvidia Server Settings.
Hello @kuba.pilch2001 and welcome to the NVIDIA developer forums.
Looking at the log it seems you have an AMD integrated GPU. That can easily conflict with the NVIDIA GPU unless prime-select is used properly or the integrated GPU is disabled in your BIOS.
Then another thing in your log:
Sep 11 23:29:46 jakub-Nitro-AN515-45 kernel: [ 1.384219] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 525.125.06 Tue May 30 05:11:37 UTC 2023
Sep 11 23:29:46 jakub-Nitro-AN515-45 kernel: [ 1.398620] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 525.125.06 Tue May 30 04:58:48 UTC 2023
[...]
Sep 11 23:37:30 jakub-Nitro-AN515-45 kernel: [ 1.294527] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 470.199.02 Thu May 11 11:46:56 UTC 2023
Sep 11 23:37:30 jakub-Nitro-AN515-45 kernel: [ 1.306740] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 470.199.02 Thu May 11 11:46:10 UTC 2023
By now you have conflicting driver versions installed. Ubuntu is not forgiving when you do not completely clean up third party drivers before trying out new ones.
Also you should not combine the dkms packages with the normal apt installation, since the kernel modules will be built as part of the installation.
Right now I recommend the following:
Uninstall and purge ALL NVIDIA drivers. For that to work correctly boot into console mode (disable X11 and the window manager and/or start up in runlevel 3). Make sure no nvidia kernel modules are loaded.
Reboot!
Go into Software Center (see your screenshot) and install nvidia-driver-535 (proprietary) and follow the on-screen instructions exactly.
Reboot!
Go into nvdia-settings, look for “PRIME profiles” and select “NVIDIA (performance mode)”
Reboot!
Now the external display should be visible in settings and you should be able to chose it as an output.