External Monitor not recognized in Fedora 40 notebook

Everything was working, then one day my external monitor vanished from the xrandr commands.
Tried to upgrade to Fedora 40 (was in the 39 before) and nothing changed.
Uninstalled the drivers and installed again, again nothing changed.
Tried the “sudo depmod -a” command, but it didn’t work.
Currently in a Dell G15 notebook with ryzen CPU and Nvidia 3050 GPU. Laptop’s internal monitor works just fine.

My inix -Fzxx output:

System:
  Kernel: 6.9.4-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: i3 v: 4.23 dm: LightDM Distro: Fedora Linux 40 (Forty)
Machine:
  Type: Laptop System: Dell product: Dell G15 5515 v: 1.13.0
    serial: <superuser required> Chassis: type: 10 v: 1.13.0
    serial: <superuser required>
  Mobo: Dell model: 061C1G v: A00 serial: <superuser required> part-nu: 0A6E
    UEFI: Dell v: 1.13.0 date: 07/12/2023
Battery:
  ID-1: BAT1 charge: 41.4 Wh (100.0%) condition: 41.4/56.0 Wh (73.9%)
    volts: 12.5 min: 11.4 model: BYD 0x4D,0x31,0x38,0x50,0x69,0x03,0x03
    serial: <filter> status: full
  ID-2: hidpp_battery_0 charge: 100% condition: N/A volts: 4.2 min: N/A
    model: Logitech G502 LIGHTSPEED Wireless Gaming Mouse serial: <filter>
    status: full
CPU:
  Info: 6-core model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 1600 high: 3629 min/max: 400/4280 cores: 1: 400 2: 400
    3: 3629 4: 2396 5: 2392 6: 2469 7: 2393 8: 400 9: 1989 10: 400 11: 1935
    12: 400 bogomips: 79053
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Dell
    driver: nvidia v: 550.90.07 arch: Ampere pcie: speed: 8 GT/s lanes: 8 ports:
    active: none empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:25a2
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Dell driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s
    lanes: 16 ports: active: eDP-1 empty: DP-1 bus-ID: 06:00.0
    chip-ID: 1002:1638 temp: 48.0 C
  Device-3: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-2:3 chip-ID: 046d:082d
  Device-4: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-4:5 chip-ID: 0c45:6720
  Display: x11 server: X.Org v: 1.20.14 compositor: Picom v: 11 driver: X:
    loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x0a8a res: 1920x1080
    dpi: 142 diag: 395mm (15.5")
  API: OpenGL v: 4.6 vendor: amd mesa v: 24.1.1 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir LLVM
    18.1.6 DRM 3.57 6.9.4-200.fc40.x86_64) device-ID: 1002:1638
Audio:
  Device-1: NVIDIA vendor: Dell driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:2291
  Device-2: AMD Renoir Radeon High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 06:00.1 chip-ID: 1002:1637
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Dell
    driver: snd_rn_pci_acp3x v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 06:00.5 chip-ID: 1022:15e2
  Device-4: AMD Family 17h/19h HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3
  Device-5: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-2:3 chip-ID: 046d:082d
  API: ALSA v: k6.9.4-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 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: Realtek RTL8125 2.5GbE driver: r8169 v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8125
  IF: enp3s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer
    driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 04:00.0
    chip-ID: 8086:2723
  IF: wlp4s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-3:4 chip-ID: 8087:0029
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 715.41 GiB used: 32.72 GiB (4.6%)
  ID-1: /dev/nvme0n1 vendor: A-Data model: IM2P33F3A NVMe 512GB
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 26.9 C
  ID-2: /dev/nvme1n1 vendor: A-Data model: SX6000PNP size: 238.47 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 31.9 C
Partition:
  ID-1: / size: 236.89 GiB used: 32.36 GiB (13.7%) fs: btrfs
    dev: /dev/nvme1n1p3
  ID-2: /boot size: 973.4 MiB used: 353.1 MiB (36.3%) fs: ext4
    dev: /dev/nvme1n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.1 MiB (3.2%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-4: /home size: 236.89 GiB used: 32.36 GiB (13.7%) 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: 62.0 C mobo: 39.0 C sodimm: SODIMM C gpu: amdgpu
    temp: 50.0 C
  Fan Speeds (rpm): cpu: 0 mobo: 0
Info:
  Memory: total: 16 GiB note: est. available: 14.97 GiB used: 3.76 GiB (25.1%)
  Processes: 360 Power: uptime: 12m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: Compilers: gcc: 14.1.1 Shell: fish v: 3.7.0 running-in: kitty
    inxi: 3.3.34

Also, my nvidia drivers:

dnf list installed '*nvidia*'                    2285ms  Mon 17 Jun 2024 03:15:22 PM -03
Repository vivaldi is listed more than once in the configuration
Installed Packages
akmod-nvidia.x86_64                          3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
kmod-nvidia-6.9.4-200.fc40.x86_64.x86_64     3:550.90.07-1.fc40     @@commandline             
nvidia-modprobe.x86_64                       3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
nvidia-persistenced.x86_64                   3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
nvidia-settings.x86_64                       3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                   3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64              3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64         3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64           3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64              3:550.90.07-1.fc40     @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64             3:550.90.07-1.fc40     @rpmfusion-nonfree-updates

Secure boot is disabled:

sudo dmesg | grep secure                     4470ms  Mon 17 Jun 2024 03:15:42 PM -03
[    0.000000] secureboot: Secure boot disabled
[    0.005395] secureboot: Secure boot disabled
[    5.231681] amdgpu 0000:06:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available

xrandr only recognizes the internal monitor:

xrandr --query    12.4s  Mon 17 Jun 2024 03:23:49 PM -03
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    120.00*+  60.01  
   1680x1050    120.00  
   1280x1024    120.00  
   1440x900     120.00  
   1280x800     120.00  
   1280x720     120.00  
   1024x768     120.00  
   800x600      120.00  
   640x480      120.00  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 disconnected (normal left inverted right x axis y axis)

I am very new to this and apologize for any spelling mistakes or if this a very simple problem.

Thank you for your help in advance.

In the end, it was just a faulty hdmi cable. Sorry for the inconvenience.
Works as a reminder to check your connections i guess ¯\_(ツ)_/¯

3 Likes

Welcome to Fedora :handshake:t5: :fedora:

No need to be sorry. Such things happen. Thanks for letting us know that the issue has been solved and how. That can be helpful for others who have a comparable issue and search here for a solution.

Sometimes it occurs that the more sophisticated knowledge someone has, the less sensitive they get when it is comes to the simple issues, like a broken cable. Complex knowledge seeks to solve complex problems. Quite sure many of us have already experienced that :slight_smile: Related topics can then be a good reminder.

Btw, welcome to the community :wink:

1 Like