0

Now I'm trying to setting my new Ubuntu machine up, and the spec is as below:
OS: Ubuntu 24.04.2
CPU: Intel Core Ultra9 285K
GPU: NVIDIA RTX3090
xrdp will be used for connection from windows machine.

I'd like to configure that iGPU for display, dGPU for GPGPU.
I searched the way including this community (such as How to configure iGPU for xserver and nvidia GPU for CUDA work) but most of them for 20.04 or 18.04.

How do I configure it for Ubuntu 24.04?

I tried:

  1. Disable wayland(Edit /etc/gdm3/custom.conf)
  2. Disable Nouveau drivers
    make /etc/modprobe.d/blacklist-nouveau.conf and write
blacklist nouveau
option nouveau modeset=0

then execute update-initramfs -u and reboot
confirmed that nouveau driver disabled by lsmod | grep nouveau
3. Install nvidia driver and reboot
search recommended driver by ubuntu-drivers devices and nvidia-driver-570 has recommended.

After step3, system properly booted, but xorg uses dGPU (I knew it when I check nvidia-smi).
Thus,
4. make xorg.conf with nvidia-xconfig and edit it
I modified as below:

Section "Device"  
 Identifier "Intel Graphics" #orig: "Device0"  
 Driver "modesetting"  #orig: "nvidia"  
 BusID "PCI:0:2:0" #orig: "PCI:2:0:0"  
EndSection

after modify it and reboot, the machine can't boot(login screen not displayed and can't switch to tty2 or 3 using [ctrl] + [F2/F3].

mas
  • 1
  • 1

0 Answers0