External monitor issues on Fedora 39 & Nvidia

Hi folks

I get an issue with external monitor on laptop with nvidia 3070 TI. I have already had similar issues after driver updates on F38, but with that instruction I could make it work.

However when I update to F39 it doesn’t help if I try to install latest available NVIDIA drivers (as of now 545). External monitor doesn’t work

inxi -Fzxx output:

System:
  Kernel: 6.6.6-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-13.fc39 Desktop: GNOME v: 45.2 tk: GTK v: 3.24.38 wm: gnome-shell
    dm: 1: GDM 2: SDDM note: stopped Distro: Fedora release 39 (Thirty Nine)
Machine:
  Type: Laptop System: LENOVO product: 82RB v: Legion 5 15IAH7H
    serial: <superuser required> Chassis: type: 10 v: Legion 5 15IAH7H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    UEFI: LENOVO v: J2CN49WW date: 11/25/2022
Battery:
  ID-1: BAT0 charge: 77.0 Wh (95.1%) condition: 81.0/80.0 Wh (101.2%)
    volts: 17.0 min: 15.4 model: BYD L21B4PC0 serial: <filter>
    status: not charging
CPU:
  Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-12700H bits: 64
    type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 1.2 MiB L2: 11.5 MiB
    L3: 24 MiB
  Speed (MHz): avg: 400 min/max: 400/4600:4700:3500 cores: 1: 400 2: 400
    3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 400 17: 400 18: 400 19: 400 20: 400
    bogomips: 107520
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-12.2 ports: active: eDP-1 empty: DP-1,DP-2
    bus-ID: 00:02.0 chip-ID: 8086:46a6
  Device-2: NVIDIA GA104M [Geforce RTX 3070 Ti Laptop GPU] vendor: Lenovo
    driver: nvidia v: 535.129.03 arch: Ampere pcie: speed: 2.5 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:24e0
  Device-3: Luxvisions Innotech [] driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-6:4 chip-ID: 30c9:0056
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.2
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915,nvidia display-ID: 0
  Monitor-1: eDP-1 res: 1920x1080 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: iris
    device: 2 drv: swrast gbm: drv: iris surfaceless: drv: nvidia wayland:
    drv: iris x11: drv: iris
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 23.2.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
    device-ID: 8086:46a6 display-ID: :0.0
  API: Vulkan v: 1.3.268 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: mesa intel device-ID: 8086:46a6 device: 1
    type: discrete-gpu driver: nvidia device-ID: 10de:24e0 device: 2 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:51c8
  Device-2: NVIDIA GA104 High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s lanes: 8
    bus-ID: 01:00.1 chip-ID: 10de:228b
  Device-3: GN Netcom [] driver: jabra,snd-usb-audio,usbhid type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-8.3:9 chip-ID: 0b0e:0e30
  API: ALSA v: k6.6.6-200.fc39.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 34:00.0 chip-ID: 10ec:8168
  IF: enp52s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-10:7 chip-ID: 8087:0033
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 1.86 TiB used: 173.68 GiB (9.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL21T0HCLR-00BL2
    size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 38.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: MZVL21T0HCLR-00BL2
    size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 35.9 C
Partition:
  ID-1: / size: 952.28 GiB used: 173.25 GiB (18.2%) fs: btrfs
    dev: /dev/nvme1n1p3
  ID-2: /boot size: 973.4 MiB used: 358.9 MiB (36.9%) fs: ext4
    dev: /dev/nvme1n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 76.2 MiB (12.7%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-4: /home size: 952.28 GiB used: 173.25 GiB (18.2%) fs: btrfs
    dev: /dev/nvme1n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 523 Uptime: 11m Memory: total: 32 GiB note: est.
  available: 31.07 GiB used: 4.52 GiB (14.6%) Init: systemd v: 254
  target: graphical (5) default: graphical Compilers: gcc: 13.2.1 Packages:
  pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 60 Shell: Zsh v: 5.9
  running-in: gnome-terminal inxi: 3.3.31

I could fix it only with driver version 535 for 6.6.6 but with older kernel for f38

Here my current list of packages which work for 6.6.4-100.fc38.x86_64

akmod-nvidia.x86_64                      3:535.129.03-1.fc39  @rpmfusion-nonfree
kmod-nvidia-6.6.6-100.fc38.x86_64.x86_64 3:535.129.03-1.fc39  @@commandline     
kmod-nvidia-6.6.6-200.fc39.x86_64.x86_64 3:535.129.03-1.fc39  @@commandline     
nvidia-gpu-firmware.noarch               20231111-1.fc39      @updates          
nvidia-settings.x86_64                   3:535.129.03-1.fc39  @rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64               3:535.129.03-2.fc39  @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.x86_64     3:535.129.03-2.fc39  @rpmfusion-nonfree
xorg-x11-drv-nvidia-kmodsrc.x86_64       3:535.129.03-2.fc39  @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.i686            3:535.129.03-2.fc39  @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.x86_64          3:535.129.03-2.fc39  @rpmfusion-nonfree
xorg-x11-drv-nvidia-power.x86_64         3:535.129.03-2.fc39  @rpmfusion-nonfree

But looks like it isn’t long term solution

This looks like it may be related to issues caused when updating.

it potentially may be related to something else, but I would suggest that you try the workaround in that post first. I had that happen as well when I upgraded from F38 to F39 and one of the workarounds suggested was what worked for me.

Thanks Jeff, the suggested workaround in the topic works to me.