I've spent hours to get my new Dell xps 9440 with Nvidia RTX 4050 GPU running. I freshly installed Ubuntu 23.10 with my bootable USB-Stick. After installing and restarting my device is stuck with a blackscreen and a blinking cursor while booting. I cant find any error messages in the journalctl. My devices uses 2 GPU's:
lspci | grep -E "VGA|3D"
0000:00:02.0 VGA compatible controller: Intel Corporation Device 7d55 (rev 08)
0000:01:00.0 3D controller: NVIDIA Corporation Device 28a1 (rev a1)
nvidia-smi recognizes my GPU with driver-version: 535.161.07 and Cuda-Version: 12.2
When i switch to the intel grapic with sudo prime-select intel and then reboot. I can boot to the login-screen and use the system.
When i switch to nvidia, i am stuck on the booting again with a blackscreen and a cursor. This time the cursors is not even blinking and i have to go to the grub recovery mode to switch the GPU again.
I have spent hours to browse the internet for fixes like:
reinstall the drivers with ubuntu-driver autoinstall, donwloaded a .run file from nvidia and tried to install it this way, used apt, checked for blacklist entries, edited the /etc/default/grub file and set parameters that were recomended. But whatever i tried, i always got stuck while booting when using on demand-mode or the nvidia gpu.
Can someone please help me to get the Device running with Ubuntu?
 
     
    