Fedora 37 on laptop with intel and nvidia discrete card - second monitor is black

Built in monitor is fine, but second monitor is blank. I am using the nvidia proprietary driver.
Intel HD 630 GPU
Nvidia Geforce 1050 Ti discrecte GPU

Any ideas on how to fix this, or how to switch between cards for display ?

Which version of the nvidia driver is installed?
Was nvidia installed from rpmfusion? or ?
Are you using wayland or xorg?

Please post the output of inxi -Fzxx so we can see some of the details.

1 Like

Hey, thanks for the quick reply

Driver version: 530.30.02
Driver installed via :
sudo dnf -y module install nvidia-driver:latest-dkms
Using X11

  Kernel: 6.1.15-200.fc37.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.38-25.fc37 Desktop: GNOME v: 43.3 tk: GTK v: 3.24.37 wm: gnome-shell
    dm: GDM Distro: Fedora release 37 (Thirty Seven)
  Type: Laptop System: Dell product: XPS 15 9570 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0D0T05 v: A00 serial: <superuser required> UEFI: Dell
    v: 1.30.0 date: 12/15/2022
  ID-1: BAT0 charge: 36.2 Wh (86.8%) condition: 41.7/97.0 Wh (43.0%)
    volts: 11.7 min: 11.4 model: LGC-LGC8.33 DELL 5XJ2889 serial: <filter>
    status: charging
  Device-1: wacom_battery_0 model: Wacom HID 488F serial: N/A charge: 0%
    status: N/A
  Info: 6-core model: Intel Core i7-8750H bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
  Speed (MHz): avg: 1383 high: 2200 min/max: 800/4100 cores: 1: 800 2: 800
    3: 2200 4: 800 5: 800 6: 2200 7: 799 8: 2200 9: 2200 10: 800 11: 2200
    12: 800 bogomips: 52799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 ports: active: DP-1,eDP-1
    empty: DP-2,DP-3 bus-ID: 00:02.0 chip-ID: 8086:3e9b
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Dell
    driver: nvidia v: 530.30.02 arch: Pascal pcie: speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1c8c
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-12:7 chip-ID: 0c45:671d
  Device-4: Logitech C920 PRO HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-2:2 chip-ID: 046d:08e5
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.8
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa alternate: nv dri: iris gpu: i915
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2135 s-dpi: 96
  Monitor-1: DP-1 mapped: DP-1-1 pos: top-right
    model: LG (GoldStar) Ultra HD res: 1920x1080 dpi: 81 diag: 690mm (27.2")
  Monitor-2: eDP-1 mapped: eDP-1-1 pos: primary,bottom-l model: Sharp 0x148d
    res: 1920x1080 dpi: 142 diag: 395mm (15.5")
  API: OpenGL v: 4.6.0 NVIDIA 530.30.02 renderer: NVIDIA GeForce GTX 1050
    Ti with Max-Q Design/PCIe/SSE2 direct-render: Yes
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 1-2:2 bus-ID: 00:1f.3 chip-ID: 046d:08e5
    chip-ID: 8086:a348
  Device-2: Logitech C920 PRO HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Device-3: Realtek USB Audio type: USB driver: snd-usb-audio
    bus-ID: 1-5.5:9 chip-ID: 0bda:4014
  Sound API: ALSA v: k6.1.15-200.fc37.x86_64 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.67 running: yes
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Rivet Networks Killer Wireless-n/a/ac 1535 driver: ath10k_pci
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 3b:00.0
    chip-ID: 168c:003e temp: 38.0 C
  IF: wlp59s0 state: up mac: <filter>
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
    bus-ID: 4-1.2:3 chip-ID: 0bda:8153
  IF: enp58s0u1u2 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
    chip-ID: 0cf3:e301
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
  Local Storage: total: 953.87 GiB used: 27.97 GiB (2.9%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC401 NVMe 1TB size: 953.87 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 33.9 C
  ID-1: / size: 951.28 GiB used: 27.63 GiB (2.9%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-2: /boot size: 973.4 MiB used: 278.1 MiB (28.6%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-3: /boot/efi size: 598.8 MiB used: 71.8 MiB (12.0%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 951.28 GiB used: 27.63 GiB (2.9%) fs: btrfs
    dev: /dev/nvme0n1p4
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  System Temperatures: cpu: 68.0 C pch: 64.0 C mobo: N/A gpu: nvidia
    temp: 58 C
  Fan Speeds (RPM): N/A
  Processes: 706 Uptime: 33m Memory: 31 GiB used: 4.84 GiB (15.6%)
  Init: systemd v: 251 target: graphical (5) default: graphical Compilers:
  gcc: 12.2.1 Packages: pm: rpm pkgs: N/A note: see --rpm Shell: Bash
  v: 5.2.15 running-in: gnome-terminal inxi: 3.3.25

I cannot help, except to say that there have been several issues with doing a modular install using the fedora-cuda repo to install the nvidia driver.

In most cases I have dealt with, the fix was to completely remove those drivers and start over with reinstalling the nvidia drivers from rpmfusion as is the recommended source for those drivers.

Another recommendation and procedure is here

I personally have never used the fedora-cuda repo and the nvidia drivers have always worked extremely well for me.

You are using a laptop with dual GPU and I followed this to make the nvidia GPU work best on my laptop.

Thanks, I will do that. May I ask what is the recommended way to remove the drivers ?

Installed by dnf, remove by dnf.