Solved: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
racarlson
Level 1
Level 1
Posts: 5
Joined: Tue Apr 20, 2021 12:24 am

Solved: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Post by racarlson »

I have read a ton of threads as it seems many users have problems with second monitor configurations. Have tried many possible fixes without success.

My story: Bought a Dell Inspiron 24 5400 AIO (all in one) in Mexico. Came with Windows 10 Home in Spanish. Re-installed the OS with Linux Mint 20.1 Ulyssa. See inxi specs below. Plugged in a working external monitor on the HDMI port (not the HDMI-in port) but it sees no signal.

Have tried to upgrade the kernel to 5.8 but get an error. On 5.4 now.

Am really confused by all the variations and the versatility of the LM ecology. Can anybody point me in the right direction?

Thanks in advance.

Code: Select all

System:
  Host: amarynth-Inspiron-5400-AIO Kernel: 5.4.0-70-generic x86_64 bits: 64 
  Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa 
Machine:
  Type: Desktop System: Dell product: Inspiron 5400 AIO v: N/A 
  serial: <superuser/root required> 
  Mobo: Dell model: 0H1TR9 v: A00 serial: <superuser/root required> 
  UEFI: Dell v: 1.0.0 date: 08/25/2020 
CPU:
  Topology: Quad Core model: 11th Gen Intel Core i5-1135G7 bits: 64 
  type: MT MCP L2 cache: 8192 KiB 
  Speed: 1203 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 1217 2: 1221 
  3: 1239 4: 1219 5: 1315 6: 1444 7: 1202 8: 1285 
Graphics:
  Device-1: Intel driver: N/A 
  Display: x11 server: X.Org 1.20.9 driver: fbdev unloaded: modesetting,vesa 
  resolution: 1920x1080~77Hz 
  OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6 
Audio:
  Device-1: Intel driver: snd_hda_intel 
  Device-2: Logitech USB Headset H540 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid 
  Sound Server: ALSA v: k5.4.0-70-generic 
Network:
  Device-1: Intel driver: iwlwifi 
  IF: wlo1 state: up mac: dc:41:a9:42:b9:ae 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp2s0 state: down mac: a4:bb:6d:60:fb:62 
Drives:
  Local Storage: total: 3.02 TiB used: 852.57 GiB (27.6%) 
  ID-1: /dev/nvme0n1 model: KBG40ZNS256G NVMe KIOXIA 256GB size: 238.47 GiB 
  ID-2: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB 
  ID-3: /dev/sdb type: USB vendor: Western Digital 
  model: WD My Passport 2626 size: 1.82 TiB 
  ID-4: /dev/sdc type: USB vendor: Kingston model: DataTraveler 3.0 
  size: 57.75 GiB 
Partition:
  ID-1: / size: 233.24 GiB used: 16.46 GiB (7.1%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 1435 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
  1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyssa main upstream import backport
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list 
  1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
  1: deb [arch=amd64] https://repo.skype.com/deb stable main
Info:
  Processes: 274 Uptime: 1d 14h 13m Memory: 11.34 GiB used: 5.00 GiB (44.1%) 
  Shell: bash inxi: 3.0.38 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
manyroads
Level 5
Level 5
Posts: 586
Joined: Wed Mar 30, 2011 11:14 am
Location: just around the corner
Contact:

Re: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Post by manyroads »

Given you are running a gen10 Intel chip, is there a reason you did not install LinuxMint edge (for new hardware)? That might be your only problem.
Pax vobiscum,
...mark
SwayWM, i3wm, bspwm, hlwm, dwm
Professional Genealogist & Technologist
(http://eirenicon.org & http://many-roads.com)
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Post by SMG »

racarlson wrote: Sat Apr 24, 2021 3:36 pm Plugged in a working external monitor on the HDMI port (not the HDMI-in port) but it sees no signal.
Your system does not have a graphics driver installed. You will not be able to get the HDMI port working until a graphics driver is installed.

Graphics:
Device-1: Intel driver: N/A
Display: x11 server: X.Org 1.20.9 driver: fbdev unloaded: modesetting,vesa
resolution: 1920x1080~77Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6

The Intel graphics drivers come from the kernel. Your system most likely needs at least the 5.8 kernel and possibly the 5.10-oem kernel in order to get the drivers.
racarlson wrote: Sat Apr 24, 2021 3:36 pm Have tried to upgrade the kernel to 5.8 but get an error.
What kind of error are you getting? The 5.8 kernel is available in Update Manager. Open Update Manager. Select View > Linux Kernels and click Continue. Make sure 5.8 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear. Install the kernel and then reboot for it to become active.

The Linux Mint 20.1 "Ulyssa" - Cinnamon (Edge, 64-bit) ISO has the 5.8 kernel. You could try booting to that to see if your inxi info shows you having graphics drivers. If not, you may need the 5.10-oem kernel, but you will need to add that to an installed version to check if it works.

I also suggest checking to make sure you have the latest BIOS/UEFI available.

Code: Select all

Machine:
  Type: Desktop System: Dell product: Inspiron 5400 AIO v: N/A 
  serial: <superuser/root required> 
  Mobo: Dell model: 0H1TR9 v: A00 serial: <superuser/root required> 
  UEFI: Dell v: 1.0.0 date: 08/25/2020 
Image
A woman typing on a laptop with LM20.3 Cinnamon.
racarlson
Level 1
Level 1
Posts: 5
Joined: Tue Apr 20, 2021 12:24 am

Re: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Post by racarlson »

Only due to my limited newbie knowledge - just didn't know about edge. I'm already on LM 20.1 - but haven't been able to get past kernel v 5.4 to get to 5.8 which apparently is part of edge as well. Can I install LM edge if I'M already on 20.1? Looks like the install utility wants to upgrade from 19. Thanks for your help.
racarlson
Level 1
Level 1
Posts: 5
Joined: Tue Apr 20, 2021 12:24 am

Re: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Post by racarlson »

Thanks SMG. I was suspecting it was a driver problem. I'll work through your comments and let you know where I get to.
racarlson
Level 1
Level 1
Posts: 5
Joined: Tue Apr 20, 2021 12:24 am

Re: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Post by racarlson »

The Intel graphics drivers come from the kernel. Your system most likely needs at least the 5.8 kernel
Downloaded LM 10.1 edge iso onto a bootable USB stick. Booted from usb and, low and behold, the external monitor came to life in extended mode. Here's the inxi from that test:

mint@mint:~$ sudo inxi -Fr
System:
Host: mint Kernel: 5.8.0-33-generic x86_64 bits: 64
Desktop: Cinnamon 4.8.5 Distro: Linux Mint 20.1 Ulyssa
Machine:
Type: Desktop System: Dell product: Inspiron 5400 AIO v: N/A
serial: 5H8QF92
Mobo: Dell model: 0H1TR9 v: A00 serial: /5H8QF92/CNPE1000AO03WS/
UEFI: Dell v: 1.0.0 date: 08/25/2020
CPU:
Topology: Quad Core model: 11th Gen Intel Core i5-1135G7 bits: 64
type: MT MCP L2 cache: 8192 KiB
Speed: 1201 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 1136 2: 1124
3: 1173 4: 1193 5: 1145 6: 1138 7: 1134 8: 1142
Graphics:
Device-1: Intel driver: i915 v: kernel
Display: server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 20.0.8
Audio:
Device-1: Intel driver: snd_hda_intel
Sound Server: ALSA v: k5.8.0-33-generic
Network:
Device-1: Intel driver: iwlwifi
IF: wlo1 state: down mac: dc:41:a9:42:b9:ae
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp2s0 state: down mac: a4:bb:6d:60:fb:62
Drives:
Local Storage: total: 1.21 TiB used: 21.71 GiB (1.7%)
ID-1: /dev/nvme0n1 model: KBG40ZNS256G NVMe KIOXIA 256GB size: 238.47 GiB
ID-2: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB
ID-3: /dev/sdb type: USB vendor: Kingston model: DataTraveler 3.0
size: 14.41 GiB
ID-4: /dev/sdc type: USB vendor: Kingston model: DataTraveler 3.0
size: 57.75 GiB
Partition:
ID-1: / size: 5.67 GiB used: 35.7 MiB (0.6%) fs: overlay source: ERR-102
ID-2: /var/log size: 12.08 GiB used: 41.6 MiB (0.3%) fs: ext4
dev: /dev/sdb3
Sensors:
System Temperatures: cpu: 53.0 C mobo: N/A
Fan Speeds (RPM): cpu: 1370
Repos:
Active apt repos in: /etc/apt/sources.list
1: deb cdrom:[Linux Mint 20.1 _Ulyssa_ - Release amd64 20210106]/ focal contrib main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
Processes: 257 Uptime: 1m Memory: 11.34 GiB used: 820.8 MiB (7.1%)
Shell: bash inxi: 3.0.38
Looks like my UEFI is the correct version.

Now comes the question how to get kernel 5.8 enabled. I keep getting errors in update manager:
(Reading database ... 512180 files and directories currently installed.)
Removing linux-image-5.4.0-67-generic (5.4.0-67.75) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-67-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 10: /etc/default/grub: drm.edid_firmware=DP-1:edid/1920x1080.bin drm.edid_firmware=DP-1:edid/1920x1080.bin: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.4.0-67-generic (--remove):
installed linux-image-5.4.0-67-generic package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
linux-image-5.4.0-67-generic
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-5.4.0-72-generic (5.4.0-72.80) ...
Setting up linux-image-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
Setting up linux-image-5.8.0-50-generic (5.8.0-50.56~20.04.1) ...
Processing triggers for linux-image-5.4.0-72-generic (5.4.0-72.80) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.4.0-72-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-72-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 10: /etc/default/grub: drm.edid_firmware=DP-1:edid/1920x1080.bin drm.edid_firmware=DP-1:edid/1920x1080.bin: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.4.0-72-generic (--configure):
installed linux-image-5.4.0-72-generic package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.8.0-49-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.0-49-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 10: /etc/default/grub: drm.edid_firmware=DP-1:edid/1920x1080.bin drm.edid_firmware=DP-1:edid/1920x1080.bin: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.8.0-49-generic (--configure):
installed linux-image-5.8.0-49-generic package post-installation script subprocess returned error exit status 1
Processing triggers for linux-image-5.8.0-50-generic (5.8.0-50.56~20.04.1) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.8.0-50-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.0-50-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 10: /etc/default/grub: drm.edid_firmware=DP-1:edid/1920x1080.bin drm.edid_firmware=DP-1:edid/1920x1080.bin: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.8.0-50-generic (--configure):
installed linux-image-5.8.0-50-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.4.0-72-generic
linux-image-5.8.0-49-generic
linux-image-5.8.0-50-generic
So any idea how I can change the active kernel from 5.4 to 5.8 which I hope will fix my monitor problem?

Thanks for your help! I think we're on the right track...
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Post by SMG »

racarlson wrote: Sat Apr 24, 2021 11:38 pmNow comes the question how to get kernel 5.8 enabled. I keep getting errors in update manager
I'm not understanding what steps you took to see this output.

However, if you added parameters to grub to try and fix the issue (which may be what the below is indicating??) then you should remove them.

Code: Select all

Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 10: /etc/default/grub: drm.edid_firmware=DP-1:edid/1920x1080.bin drm.edid_firmware=DP-1:edid/1920x1080.bin: not found
Image
A woman typing on a laptop with LM20.3 Cinnamon.
racarlson
Level 1
Level 1
Posts: 5
Joined: Tue Apr 20, 2021 12:24 am

Re: Upgraded PC from Windows to LM 20.1. HDMI port not found.

Post by racarlson »

Ok. Got it working.

Reinstalled and updated GRUB2. Then corrected a syntax error in the Grub file. This seemed to fix the Update Manager errors and it made kernel 5.8.50 active. And the hdmi monitor now works.

Thanks for all your help.
Locked

Return to “Graphics Cards & Monitors”