HDMI monitor not detected for HP Pavilion laptop

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Daniel Pi
Level 1
Level 1
Posts: 7
Joined: Sun Feb 05, 2023 11:44 am

HDMI monitor not detected for HP Pavilion laptop

Post by Daniel Pi »

Hello

I struggle with my Linux Mint installation to get my external monitor running.

My system

Code: Select all

daniel-pi@HP-Pavilion-Gaming-Laptop-15-ec2xxx:~$ inxi -Fxxxrz
System:
  Kernel: 5.19.0-28-generic x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 5.6.7 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec2xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 88DF v: 96.31 serial: <superuser required> UEFI: AMI
    v: F.15 date: 08/18/2021
Battery:
  ID-1: BAT0 charge: 46.2 Wh (98.5%) condition: 46.9/46.9 Wh (100.0%)
    volts: 12.9 min: 11.6 model: HP Primary type: Li-ion serial: <filter>
    status: Charging
CPU:
  Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB
    L3: 16 MiB
  Speed (MHz): avg: 2234 high: 3527 min/max: 400/4463 boost: enabled cores:
    1: 3164 2: 400 3: 2739 4: 400 5: 2534 6: 400 7: 2730 8: 2864 9: 3167
    10: 400 11: 3166 12: 3167 13: 3527 14: 400 15: 3168 16: 3526
    bogomips: 102204
  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 Ti Mobile]
    vendor: Hewlett-Packard driver: N/A pcie: speed: 8 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:25a0 class-ID: 0300
  Device-2: AMD Cezanne vendor: Hewlett-Packard driver: amdgpu v: kernel
    pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: none
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300
  Device-3: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo
    bus-ID: 3-3:2 chip-ID: 04f2:b722 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9")
  Monitor-1: eDP res: 1920x1080 hz: 144 dpi: 142
    size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
  OpenGL: renderer: RENOIR (renoir LLVM 15.0.6 DRM 3.47 5.19.0-28-generic)
    v: 4.6 Mesa 22.2.5 direct render: Yes
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:2291
    class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Hewlett-Packard driver: N/A pcie: speed: 8 GT/s lanes: 16
    bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.19.0-28-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8852
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:3 chip-ID: 0bda:2852 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.2 sub-v: 6d7a hci-v: 5.2 rev: dfb7
Drives:
  Local Storage: total: 476.94 GiB used: 29.42 GiB (6.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ512HALU-000H1
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS4NFXV temp: 35.9 C scheme: GPT
Partition:
  ID-1: / size: 240.65 GiB used: 14.67 GiB (6.1%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 87.8 MiB (34.3%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A gpu: amdgpu temp: 52.0 C
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Repos:
  Packages: apt: 2171
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vera main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 351 Uptime: 12m wakeups: 1 Memory: 14.98 GiB
  used: 1.8 GiB (12.0%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
daniel-pi@HP-Pavilion-Gaming-Laptop-15-ec2xxx:~$ 

I realized other people having troubles too. I tried to follow the here posted solutions but it didn't help in my case.
Please help and thanks in advance!

BR Daniel
Last edited by LockBot on Sat Aug 05, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HDMI monitor not detected for HP Pavilion laptop

Post by SMG »

Daniel Pi wrote: Sun Feb 05, 2023 11:50 am I tried to follow the here posted solutions but it didn't help in my case.
Welcome to the forum, Daniel Pi.

What posted solutions did you try?

Is secure boot enabled? You can check by running the following in a terminal

Code: Select all

mokutil --sb-state
Daniel Pi wrote: Sun Feb 05, 2023 11:50 amI struggle with my Linux Mint installation to get my external monitor running.
Your external monitor is likelynot working because the Nvidia driver is not loaded. Only the AMD driver is loaded.

Graphics:
Device-1: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile]
vendor: Hewlett-Packard driver: N/A pcie: speed: 8 GT/s lanes: 8
bus-ID: 01:00.0 chip-ID: 10de:25a0 class-ID: 0300
Device-2: AMD Cezanne vendor: Hewlett-Packard driver: amdgpu v: kernel
pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: none
bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300

We need to know what you tried in order to be able to help you.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Daniel Pi
Level 1
Level 1
Posts: 7
Joined: Sun Feb 05, 2023 11:44 am

Re: HDMI monitor not detected for HP Pavilion laptop

Post by Daniel Pi »

What posted solutions did you try?
I updated to the latest Linux Kernel 5.19.0-28.29. Updating the Kernel was a valid solution for some users here.
Is secure boot enabled?
Yes.

Code: Select all

$ mokutil --sb-stat
SecureBoot enabled
Your external monitor is likelynot working because the Nvidia driver is not loaded. Only the AMD driver is loaded.
Ok. Good to know. But how can I load the correct driver?

The "Nvidia X Server Settings" app is installed as Linux Mint suggested at first start after installation. So my best guess was drivers are there and set correct.
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HDMI monitor not detected for HP Pavilion laptop

Post by SMG »

Daniel Pi wrote: Mon Feb 06, 2023 10:14 am

Code: Select all

$ mokutil --sb-stat
SecureBoot enabled
Your external monitor is likelynot working because the Nvidia driver is not loaded. Only the AMD driver is loaded.
Ok. Good to know. But how can I load the correct driver?
You have secure boot enabled which means your computer does not know to trust the Nvidia driver and let it load at boot time. Did you get any screens pop up asking about MOK or to enter a password? I do not recall how HP handles secure boot.

You either need to create the key/password or you need to go to the BIOS/UEFI and disable secure boot. Let us know which option you want to do.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Daniel Pi
Level 1
Level 1
Posts: 7
Joined: Sun Feb 05, 2023 11:44 am

Re: HDMI monitor not detected for HP Pavilion laptop

Post by Daniel Pi »

Did you get any screens pop up asking about MOK or to enter a password?
Yes I skipped one password dialog. I didn't understand the topic so I skipped it.
You either need to create the key/password or you need to go to the BIOS/UEFI and disable secure boot. Let us know which option you want to do.
What would you recommend? I don't know if I open e secure issue if i disable secure boot. I think the "key/password" is the safe solution?
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HDMI monitor not detected for HP Pavilion laptop

Post by SMG »

Daniel Pi wrote: Mon Feb 06, 2023 11:24 am
Did you get any screens pop up asking about MOK or to enter a password?
Yes I skipped one password dialog. I didn't understand the topic so I skipped it.
That was probably it.
Daniel Pi wrote: Mon Feb 06, 2023 11:24 am
You either need to create the key/password or you need to go to the BIOS/UEFI and disable secure boot. Let us know which option you want to do.
What would you recommend? I don't know if I open e secure issue if i disable secure boot. I think the "key/password" is the safe solution?
I leave it up to you as to what to do. I personally don't think secure boot adds much in the way of security, but I don't know your computer usage patterns and habits to know if that is true for you as well.

If you leave it on, you will need to make sure you do not skip password dialogs and may end up seeing them every time you install a new kernel or new Nvidia driver. (New kernels come out approximately every 3-4 weeks or so. New Nvidia drivers come out every few months.)

If I am recalling correctly, I think the last person ended up installing the open-source nouveau driver and rebooting and then they installed the Nvidia driver again and that prompted the system to bring up the password dialog box again and they set up the password and keys and then it worked. I don't recall off-hand if that was with an HP computer.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
ThaCrip
Level 5
Level 5
Posts: 989
Joined: Sat Dec 07, 2019 12:13 pm

Re: HDMI monitor not detected for HP Pavilion laptop

Post by ThaCrip »

Daniel Pi wrote: Mon Feb 06, 2023 11:24 am What would you recommend? I don't know if I open e secure issue if i disable secure boot. I think the "key/password" is the safe solution?
I am of the mindset of SMG (SMG said, "I personally don't think secure boot adds much in the way of security")... 'secure boot' is more trouble than it's worth (i.e. just disable secure boot in PC's BIOS), especially on Linux since it's unlikely to get hit with any viruses etc in general on a typical desktop/laptop computer running Mint (and other Linux variations).

p.s. 'secure boot' is a option on a used HP2000 laptop I got a hold of a while ago. it had Win8 junk on it, but the first thing I did when I got it was disable secure boot, then wipe the HDD, so I could install Mint like usual without having to deal with doing a bunch of BS just to get a OS installed to the computer and boot up so one can use it. basically it comes back to 'security vs convenience' and in this regard I think the security improvement from secure boot does not outweigh the inconvenience of setting it up, especially on Linux. on Windows one might be able to make a better argument in using secure boot's favor. but even here, I figure if someone ends up being somewhat saved by using secure boot, chances are they are going to get infected with other random viruses/junk if it's gotten to a point that secure boot helped since clearly that person is not careful on what they do online as general viruses are more of a threat to them at that point and I figure secure boot or not probably ain't going to help much in real world, at least for many people.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
Daniel Pi
Level 1
Level 1
Posts: 7
Joined: Sun Feb 05, 2023 11:44 am

Re: HDMI monitor not detected for HP Pavilion laptop

Post by Daniel Pi »

I turned off security boot and I assigned the MOK password by reinstalling the Kernel.
But still without success. No second monitor in the display settings there.
I don't know how to deal with the problem.

Code: Select all

daniel-pi@HP-Pavilion-Gaming-Laptop-15-ec2xxx:~$ inxi -Fxxxrz
System:
  Kernel: 5.19.0-28-generic x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 5.6.7 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec2xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 88DF v: 96.31 serial: <superuser required> UEFI: AMI
    v: F.15 date: 08/18/2021
Battery:
  ID-1: BAT0 charge: 45.1 Wh (99.3%) condition: 45.4/45.4 Wh (100.0%)
    volts: 12.7 min: 11.6 model: HP Primary type: Li-ion serial: <filter>
    status: Not charging
CPU:
  Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB
    L3: 16 MiB
  Speed (MHz): avg: 706 high: 3167 min/max: 400/4463 boost: enabled cores:
    1: 2535 2: 400 3: 400 4: 3167 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400
    11: 400 12: 400 13: 400 14: 400 15: 400 16: 400 bogomips: 102208
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:2291
    class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Hewlett-Packard driver: N/A pcie: speed: 8 GT/s lanes: 16
    bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.19.0-28-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8852
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:2 chip-ID: 0bda:2852 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.2 sub-v: 6d7a hci-v: 5.2 rev: dfb7
Drives:
  Local Storage: total: 476.94 GiB used: 27.3 GiB (5.7%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ512HALU-000H1
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS4NFXV temp: 25.9 C scheme: GPT
Partition:
  ID-1: / size: 240.65 GiB used: 13.61 GiB (5.7%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 87.8 MiB (34.3%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: amdgpu temp: 42.0 C
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Repos:
  Packages: apt: 2170
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vera main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 370 Uptime: 2m wakeups: 1 Memory: 14.98 GiB
  used: 1.78 GiB (11.9%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11/12 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HDMI monitor not detected for HP Pavilion laptop

Post by SMG »

Daniel Pi wrote: Thu Feb 09, 2023 1:32 pm I turned off security boot and I assigned the MOK password by reinstalling the Kernel.
If you disabled Secure Boot in your computer's BIOS/UEFI, then you should not need to assign a MOK password so I'm not sure exactly what is happening when you boot your computer.
Daniel Pi wrote: Thu Feb 09, 2023 1:32 pmBut still without success. No second monitor in the display settings there.
I don't know how to deal with the problem.
It appears you have mistakenly missed some data when you copied from the terminal. All the graphics data is missing. Please give us the ouput of inxi -Gxxx.

Additionally, X Server runs the graphics in Linux Mint. Please use this command in a terminal to upload the X Server log file to termbin:

Code: Select all

cat /var/log/Xorg.0.log | nc termbin.com 9999
It will return with a url address that you can post in your next reply.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Daniel Pi
Level 1
Level 1
Posts: 7
Joined: Sun Feb 05, 2023 11:44 am

Re: HDMI monitor not detected for HP Pavilion laptop

Post by Daniel Pi »

First, thanks for your support. For me it's rocket science.
Please give us the ouput of

Code: Select all

inxi -Gxxx.

Code: Select all

Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile]
    vendor: Hewlett-Packard driver: N/A pcie: speed: 8 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:25a0 class-ID: 0300
  Device-2: AMD Cezanne vendor: Hewlett-Packard driver: amdgpu v: kernel
    pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: none
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300
  Device-3: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo
    bus-ID: 3-3:2 chip-ID: 04f2:b722 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9")
  Monitor-1: eDP res: 1920x1080 hz: 144 dpi: 142
    size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
  OpenGL: renderer: RENOIR (renoir LLVM 15.0.6 DRM 3.47 5.19.0-28-generic)
    v: 4.6 Mesa 22.2.5 direct render: Yes
I see the driver isn't there

Code: Select all

vendor: Hewlett-Packard driver: N/A
I'm surprised because I have the "NVIDIA settings" application installed. So I expected the drivers are there. Seems that I'm wrong with my assumption.
Please use this command in a terminal to upload the X Server log file to termbin:

Code: Select all

cat /var/log/Xorg.0.log | nc termbin.com 9999
The command leads to:

Code: Select all

https://termbin.com/6qikv
I checked again in the "Driver Manager" app. It tells me the nvidia-driver-525 is in use. So I'm more confused now.

Code: Select all

nvidia-driver-525 (recommended)
Version 525.7.8.01.-0ubuntu0.22.04.1
Am I missing something important?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: HDMI monitor not detected for HP Pavilion laptop

Post by roblm »

Use this command to upload the dmesg log to terminal.com pastebin: dmesg -T | nc termbin.com 9999

Post the URL address that displays in the Terminal window.

Also, what is the output of dpkg -l | grep nvidia
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: HDMI monitor not detected for HP Pavilion laptop

Post by SMG »

Daniel Pi wrote: Fri Feb 17, 2023 10:03 amI checked again in the "Driver Manager" app. It tells me the nvidia-driver-525 is in use. So I'm more confused now.

Code: Select all

nvidia-driver-525 (recommended)
Version 525.7.8.01.-0ubuntu0.22.04.1
Am I missing something important?
What you describe sounds like secure boot is enabled. Please check this post for an explanation of the difference between the Nvidia driver files being installed and them loading at boot time.

The data you posted indicates the system did not load anything for Nvidia. It only loaded a drm device for AMD instead of one for AMD and one for Nvidia.

The data roblm requested will help to determine what is happening.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Daniel Pi
Level 1
Level 1
Posts: 7
Joined: Sun Feb 05, 2023 11:44 am

Re: HDMI monitor not detected for HP Pavilion laptop

Post by Daniel Pi »

What you describe sounds like secure boot is enabled.
In my BIOS settings "Secure boot" is definitively "Disabled".

Code: Select all

daniel-pi@HP-Pavilion-Gaming-Laptop-15-ec2xxx:~$ dmesg -T | nc termbin.com 9999
https://termbin.com/zbnna

Code: Select all

daniel-pi@HP-Pavilion-Gaming-Laptop-15-ec2xxx:~$ dpkg -l | grep nvidia
ii  libnvidia-cfg1-525:amd64                   525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-525                       525.78.01-0ubuntu0.22.04.1                 all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-525:amd64                525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA libcompute package
ii  libnvidia-compute-525:i386                 525.78.01-0ubuntu0.22.04.1                 i386         NVIDIA libcompute package
ii  libnvidia-decode-525:amd64                 525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-525:i386                  525.78.01-0ubuntu0.22.04.1                 i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-egl-wayland1:amd64               1:1.1.9-1.1                                amd64        Wayland EGL External Platform library -- shared library
ii  libnvidia-encode-525:amd64                 525.78.01-0ubuntu0.22.04.1                 amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-525:i386                  525.78.01-0ubuntu0.22.04.1                 i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-525:amd64                  525.78.01-0ubuntu0.22.04.1                 amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-525:amd64                   525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-525:i386                    525.78.01-0ubuntu0.22.04.1                 i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-525:amd64                     525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-525:i386                      525.78.01-0ubuntu0.22.04.1                 i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  nvidia-compute-utils-525                   525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA compute utilities
ii  nvidia-dkms-525                            525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA DKMS package
ii  nvidia-driver-525                          525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-525                   525.78.01-0ubuntu0.22.04.1                 amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-525                   525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA kernel source package
ii  nvidia-prime                               0.8.17.1                                   all          Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                        1.3.5                                      all          An applet for NVIDIA Prime
ii  nvidia-settings                            510.47.03-0ubuntu1                         amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-525                           525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                    0.18.2                                     all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-525              525.78.01-0ubuntu0.22.04.1                 amd64        NVIDIA binary Xorg driver
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: HDMI monitor not detected for HP Pavilion laptop

Post by roblm »

The log verifies Secure Boot is disabled:

Code: Select all

[Sun Feb 19 10:03:37 2023] secureboot: Secure boot disabled
However, the log shows no Nvidia kernel modules are loading. Use this command to check if they were built:

Code: Select all

ls /lib/modules/`uname -r`/updates/dkms/
Daniel Pi
Level 1
Level 1
Posts: 7
Joined: Sun Feb 05, 2023 11:44 am

Re: HDMI monitor not detected for HP Pavilion laptop

Post by Daniel Pi »

Code: Select all

~$ ls /lib/modules/`uname -r`/updates/dkms/
ls: cannot access '/lib/modules/5.19.0-32-generic/updates/dkms/': No such file or directory
I also tried:

Code: Select all

~$ ls /lib/modules/uname -r /updates/dkms/
ls: cannot access '/lib/modules/uname': No such file or directory
ls: cannot access '/updates/dkms/': No such file or directory
The path looks like this:

Code: Select all

~$ ls /lib/modules/
5.19.0-28-generic  5.19.0-32-generic
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: HDMI monitor not detected for HP Pavilion laptop

Post by roblm »

Use these commands to remove the Nvidia driver and re-install it:

Code: Select all

apt autoremove nvidia-driver-525

apt install nvidia-driver-525
Locked

Return to “Graphics Cards & Monitors”