Unable to install NVIDIA driver on Dell G15 RTX 4050

Hi.

My box:

System Details Report

  • Date generated: 2024-08-18 23:31:17

Hardware Information:

  • Hardware Model: Dell Inc. Dell G15 5530
  • Memory: 32.0 GiB
  • Processor: 13th Gen Intel® Core™ i7-13650HX × 20
  • Graphics: Intel® Graphics (RPL-S)
  • Disk Capacity: 3.1 TB

Software Information:

  • Firmware Version: 1.15.1
  • OS Name: openSUSE Leap 15.6
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 45.3
  • Windowing System: X11
  • Kernel Version: Linux 6.4.0-150600.23.17-default

I am having difficult to configure the NVIDIA Linux driver in my notebook. On Windows 11, everything is ok.

I tried Ubuntu 22.04, 24.04, Pop_OS 22.04 and now I am on OpenSuse Leap 15.6.

Tried the repository installation and the driver downloaded directly from the site, all times unsuccessfully.

Attached is the bug report.

Any help is welcome!
nvidia-bug-report.log.gz (1.7 MB)

With a lot of struggle, I managed to

I’ll give you the step by step of what I did

First I uninstalled all the drivers in recovery mode in grub

sudo apt remove --purge nvidia*

soon after

I installed nvidia-settings

“sudo apt install nvidia-settings”

Important (don’t install nvidia drivers yet)

Now install only the Intel graphics driver in my case.

“sudo add-apt-repository ppa:oibaf/graphics-drivers”

“sudo apt update & sudo apt upgrade -y”

“sudo reboot”

then install
“sudo apt install mesa-utils”

Then I forced the Intel driver on Wayland

“sudo nano /etc/default/grub”

Locate the line that starts with “GRUB_CMDLINE_LINUX_DEFAULT”

and add: i915.modeset=1

It will look like this: "GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash i915.modeset=1”

then save and exit and use the command

“sudo update-grub”

“sudo reboot”

At this point you can check if you are recognizing your integrated graphics card

with this command

"LSPCI -K | grep -EA3 ‘VGA|3D’
glxinfo | grep “OpenGL renderer”
glxinfo | grep “OpenGL renderer”

Now let’s install the nvidia driver
“sudo ubuntu-drivers autoinstall”
“sudo reboot”

Now we’ll be back

“sudo nano /etc/default/grub”

Locate the line that starts with “GRUB_CMDLINE_LINUX_DEFAULT”

Change to
"GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash nvidia-drm.modeset=1"”
Save and exit

“sudo update-grub”

“sudo reboot”

after
“Sudo Prime-Select Nvidia”
“sudo reboot”

Hi.
Thanks for your help.
Unfortunately, didn’t work. After login, the system just freezes.