GeForce RTX 4060 not working with Ubuntu 20.04

Sorry, wrong command, please try
sudo journalctl -b-2 |grep kernel |head -n2
and then create a log wit that offset where the second line doesn’t contain “recovery nomodeset”

1 Like

No problem , I did it but I never found a the second line without recovery nomodeset. Should I keep decreasing or is it useless ?

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-2 |grep kernel |head -n2
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-3 |grep kernel |head -n2
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-3-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-16ubuntu1~focal (2023-04
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-3-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-4 |grep kernel |head -n2
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-5 |grep kernel |head -n2
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-060211-generic (kernel@sita) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-9ubuntu1) 12.2.0, GNU ld (GNU Binutils for Ubuntu) 2.39) #202304131639 SMP PREEMPT_DYNAMIC Thu Apr 13 16:45:29 UTC 2023
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-060211-generic root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-6 |grep kernel |head -n2
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-7 |grep kernel |head -n2
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-3-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-16ubuntu1~focal (2023-04
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-3-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-8 |grep kernel |head -n2
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-9 |grep kernel |head -n2
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-060211-generic (kernel@sita) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-9ubuntu1) 12.2.0, GNU ld (GNU Binutils for Ubuntu) 2.39) #202304131639 SMP PREEMPT_DYNAMIC Thu Apr 13 16:45:29 UTC 2023
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-060211-generic root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-10 |grep kernel |head -n2
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-11 |grep kernel |head -n2
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-3-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-16ubuntu1~focal (2023-04
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-3-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-12 |grep kernel |head -n2
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-13 |grep kernel |head -n2
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-060211-generic (kernel@sita) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-9ubuntu1) 12.2.0, GNU ld (GNU Binutils for Ubuntu) 2.39) #202304131639 SMP PREEMPT_DYNAMIC Thu Apr 13 16:45:29 UTC 2023
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-060211-generic root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-14 |grep kernel |head -n2
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-15 |grep kernel |head -n2
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-3-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-16ubuntu1~focal (2023-04
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-3-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-16 |grep kernel |head -n2
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-17 |grep kernel |head -n2
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-060211-generic (kernel@sita) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-9ubuntu1) 12.2.0, GNU ld (GNU Binutils for Ubuntu) 2.39) #202304131639 SMP PREEMPT_DYNAMIC Thu Apr 13 16:45:29 UTC 2023
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-060211-generic root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-18 |grep kernel |head -n2
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-19 |grep kernel |head -n2
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-3-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-16ubuntu1~focal (2023-04
avril 25 10:07:21 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-3-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-20 |grep kernel |head -n2
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 12:03:43 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-21 |grep kernel |head -n2
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.11-060211-generic (kernel@sita) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-9ubuntu1) 12.2.0, GNU ld (GNU Binutils for Ubuntu) 2.39) #202304131639 SMP PREEMPT_DYNAMIC Thu Apr 13 16:45:29 UTC 2023
avril 25 10:12:53 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.11-060211-generic root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

eliott@eliott-ROG-Strix-G713PV-GL713PV:~$ sudo journalctl -b-22 |grep kernel |head -n2
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Linux version 6.2.12-1-liquorix-amd64 (steven@liquorix.net) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.2-17ubuntu1~focal (2023-04
avril 25 10:10:52 eliott-ROG-Strix-G713PV-GL713PV kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.12-1-liquorix-amd64 root=UUID=b26f711f-4c00-4a51-97c7-bdbe0f4a7450 ro recovery nomodeset dis_ucode_ldr

Hi @ELTGR , I am also having the same problem with my ROG Strix G17 with 7945hx + 4060 rtx Dual boot with Ubuntu 20.04

Tried all the version listed in “Additional Drivers” to use nvidia-driver-530 or 525 . But so far No luck.

  1. After driver update or installation and post reboot, Laptop screen with get stuck with a Cursor without blink
  2. have to take ssh from another computer and will have to uninstall nvidia drivers.

Please let me know if you could use the Laptop with External monitor ?

2 Likes

Hi, @devguruhb, sorry for the delay

I solved my problem, i had selected the Canonical Partners in Other software section :


Next i ran :

sudo apt update

sudo apt upgrade

I reinitialized my graphic parameters. I got the black screen with the white cursor. I went into the maj+alt+F3 mode. I reinitialized the nvidia-xconfig parameters while I was having an external screen plugged. I rebooted and it worked. Now I can use my graphic card but only with an external screen. The laptop screen is still stuck on black screen with the white cursor.

2 Likes

Hey @generix I am getting the same error, my external lenovo display is not connecting
NVIDIA-smi gives the driver error
here is the log file
nvidia-bug-report.log.gz (93.0 KB)

Hi @helloanishjain, I had exactly this same problem for RTX 4060 Ubuntu 22.04 LTS. I just solved my problem using a plugged-in external monitor, similarly the way described by @ELTGR. Let me provide you the details. Once you are able to get into tty terminal through Ctrl+Alt+F3 (during the black screen with white cursor), ensure you have an external monitor plugged into your laptop, then do
sudo nvidia-xconfig
This is to initialize and generate your configuration parameters, as described here Ubuntu Manpage: nvidia-xconfig - manipulate X configuration files for the NVIDIA driver (navigate to your Ubuntu version of 20.04 LTS). The nvidia-xconfig command will generate nvidia configuration file to /etc/X11/xorg.conf, if none exist before. You can look at what the config file looks like by doing ‘sudo nano /etc/X11/xorg.conf’, note the details.

To enable the gpu to recognize the external monitor, do
sudo nvidia-xconfig --enable-all-gpus
This will examine the system and configures an X screen for each display device it finds. Do ‘nano’ to check the config file again, you should now see the part that says Section “Device” with your NVIDIA GPU showing under the BoardName. Then reboot your system.

On starting back, the external monitor should now be displaying, while the laptop monitor remain in the black screen. You should be able to work fine with this for now until this is resolved by NVIDIA with an updated Linux kernel for the RTX 4060. Currently, the most up-to-date Kernel 5.15.0-84-generic is not working well with RTX 4060. This problem you have is widely reported - I have read a lot of it in the past one week since I had this issue (Nvidia-smi failing to communicate). Follow the steps above here to update your kernel, I used the Liquorix in my ‘Other Software’ for ‘ppa’ as shown above under Software & Updates. Find link here Liquorix Kernel : Steven Barrett. Good luck!!

Hello everyone,

I would like to know if their is any update on this topic because I bought an ASUS TUF F15 laptop and I need to have both OS, Ubuntu and Windows. I have windows 11, for Ubuntu I tried with 20.04 LTS and 22.04 LTS, with almost all drivers from 525 to 545 (with different versions), but i was not able to have my display except with an external display as mentioned by you guys.

Please if their is any update or trick I can try that can fix the rtx 4060 problem, let me know.

Hello everyone,

Still having the same issue with my rtx 4050 on 22.04 LTS, tried all drivers from 525 to 545 with no success working with the two monitors. If there are any updates that allow me to work with both it would be appreciated!

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

1 Like

Hello there, similar issue here.

Some info before I describe it:
Laptop is ASUS-TUF-Gaming-A15-FA507XI
GPU: RTX 4070
CPU: Ryzen™ 9 7940HS
System: Ubuntu 20.04.6 LTS
Kernel: 5.15
GPU Driver Version: Server Driver metapackage from nvidia-driver-535-server (proprietary)
Tested this with alot of other drivers, both installed through terminal and Additional Drivers but also to no luck.

Followed this thread so far and came to no solution, before this I followed a number(about 4-6) similar threads both on Nvidia forums as well as others but also to no luck.
Trying to get this up and running for the same reasons as another person in this thread, need to get ROS Noetic which runs no problem at the moment but this is a rather annoying problem as it doesn’t let me even connect to external display.

Now onto the issue:
While the driver is installed (checked by whereis nvidia and got
nvidia: /usr/lib/x86_64-linux-gnu/nvidia /usr/lib/nvidia /usr/share/nvidia /usr/src/nvidia-srv-535.129.03/nvidia )

When I try nvidia-smi I get
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

I also tried sudo prime-select nvidia but while this worked fine, it did not fix my issue.

I can 100% confirm that the cable works(usb-c to DP) with the same laptop on Windows.

Thanks in advance for any help and really appreciate it :D
nvidia-bug-report.log.gz (140.0 KB)

You installed a kernel with incompatible header package so the driver doesn’t compile. Please add the liquorix ppa and install a compatible kernel from there.

1 Like

That worked, tested everything and all is good, tyvm <3

1 Like

Hey People,

Purge and Reinstall NVIDIA Drivers

you can try purging the existing drivers and reinstalling them. Here are the commands you need to use:

sudo apt-get purge 'nvidia*'
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo ubuntu-drivers autoinstall

The first command (sudo apt-get purge 'nvidia*') removes all NVIDIA-related packages. The second command (sudo add-apt-repository ppa:graphics-drivers) adds the Graphics Drivers PPA to your system. The third command (sudo apt-get update) updates the package list. The final command (sudo ubuntu-drivers autoinstall) installs the recommended drivers for your system.

After running these commands, restart your computer.

It worked like magic.

5 Likes

Hello again,

I did try the things added by @generix and @ahmedhusseinelsayed92 but still i can only display on my externel screen. I am using an ASUS TUF f15 with i9-13700H and RTX 4060.

Here is the bug report:
Processing: nvidia-bug-report.log.gz…

Thanks really in advance for your help guys.

This worked,
I had some issues because I was using secure boot (this also caused me some issues with other drivers), but I had to clear everything and use your method, now both internal and external monitors are working.

1 Like

Hello people,

Thank you all for the sharing which is really helpful.

However, after trying all suggestions, I still can only use an external monitor. The internal one is black screen with some system states text.

This link seems the same as ours, but the linux firmware provided no longer exists.

I’m wondering if there’s any update on solutions.


Specs of my laptop:

OS: Ubuntu 20.04.6 LTS x86_64
Host: Dell G16 7630
Kernel: 6.3.13-1-liquorix-amd64
Uptime: 25 mins
Packages: 2538 (dpkg), 9 (snap)
Shell: bash 5.0.17
Resolution: 1920x1080
DE: GNOME
WM: Mutter
WM Theme: Adwaita
Theme: Yaru [GTK2/3]
Icons: Yaru [GTK2/3]
Terminal: terminator
CPU: 13th Gen Intel i9-13900HX (32) @ 2.401GHz
GPU: NVIDIA 01:00.0 NVIDIA Corporation Device 28e0 (NVIDIA GeForce RTX 4060 )
GPU: Intel Device a788
Memory: 2122MiB / 31783MiB

My bug report:
nvidia-bug-report.log.gz (362.7 KB)

The nvidia driver is fine, the i915 driver that is driving your internal display is broken. The firmware for it is missing, also for your wifi. Ubuntu 20.04 is not the correct choice for your hardware.
Please install the firmware package:
http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_20220329.git681281e4-0ubuntu3.26_all.deb
and delete /etc/X11/xorg.conf

Thank you so much it works!! My built-in display now works! However, the other monitors connected through HDMI and USB-C no longer works.

I rerun sudo nvidia-xconfig && sudo nvidia-xconfig --enable-all-gpus and reboot, the external HDMI monitor works and built-in screen not. I delete the xconfig and reboot, now built-in screen works but HDMI monitor not. The USB-C monitor never works.

The reason I chose Ubuntu 20.04 is because I have to use ROS1 which is not supported in later Ubuntu.

Please create a new nvidia-bug-report.log without xorg.conf.

This is the report after I deleting xorg.conf and reboot.

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