No monitor detected on Linux Mint 19

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
sinderel
Level 2
Level 2
Posts: 50
Joined: Fri Oct 20, 2017 5:50 am

No monitor detected on Linux Mint 19

Post by sinderel »

I have an external monitor that I plug to my HP-Envy, with a usbc-c to hdmi adaptor. This worked well in Linux Mint 18.3 xfce, and it still works on windows. However, I have just installed Linux Mint MATE 19 Tara and I can't use the monitor anymore.
I go to Displays, I press the button to detect monitors, but it just won't. So the monitor does not receive any signal and thus I can't use it.
What shall I do?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Hoser Rob
Level 20
Level 20
Posts: 11762
Joined: Sat Dec 15, 2012 8:57 am

Re: No monitor detected on Linux Mint 19

Post by Hoser Rob »

There's not a lot of useful info there, copy/paste this to the terminal and copy/paste the text output here:

Code: Select all

inxi -Fxz
Also the make/model of the usb to hdmi adapter.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
sinderel
Level 2
Level 2
Posts: 50
Joined: Fri Oct 20, 2017 5:50 am

Re: No monitor detected on Linux Mint 19

Post by sinderel »

I am sorry that you did not find the information useful enough. Here's the output of the command you proposed:

System: Host: ghostrider Kernel: 4.15.0-39-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: MATE 1.20.1 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine: Device: laptop System: HP product: HP ENVY Laptop 13-ah0xxx v: Type1ProductConfigId serial: N/A
Mobo: HP model: 8482 v: 69.28 serial: N/A UEFI: Insyde v: F.13 date: 06/07/2018
Battery BAT0: charge: 52.4 Wh 100.0% condition: 52.4/52.4 Wh (100%) model: 333-2B-49-A KC04053XL status: Full
CPU: Quad core Intel Core i7-8550U (-MT-MCP-) arch: Kaby Lake rev.10 cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15936
clock speeds: max: 4000 MHz 1: 930 MHz 2: 1819 MHz 3: 2013 MHz 4: 1824 MHz 5: 1853 MHz 6: 1826 MHz
7: 1247 MHz 8: 1682 MHz
Graphics: Card-1: Intel UHD Graphics 620 bus-ID: 00:02.0
Card-2: NVIDIA Device 1d12 bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.6 ) drivers: nvidia,fbdev,nouveau (unloaded: modesetting,vesa)
Resolution: 1920x1080@77.00hz
OpenGL: renderer: N/A version: N/A Direct Render: N/A
Audio: Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.15.0-39-generic
Network: Card: Intel Wireless 7265 driver: iwlwifi bus-ID: 04:00.0
IF: wlo1 state: up mac: <filter>
Drives: HDD Total Size: 512.1GB (7.2% used)
ID-1: /dev/nvme0n1 model: SK_hynix_BC501_HFM512GDJTNG size: 512.1GB
Partition: ID-1: / size: 30G used: 14G (48%) fs: ext4 dev: /dev/nvme0n1p5
ID-2: /home size: 268G used: 21G (8%) fs: ext4 dev: /dev/nvme0n1p7
ID-3: swap-1 size: 1.02GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 41.0C mobo: 38.5C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 210 Uptime: 6 min Memory: 2028.9/15783.3MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56
sinderel
Level 2
Level 2
Posts: 50
Joined: Fri Oct 20, 2017 5:50 am

Re: No monitor detected on Linux Mint 19

Post by sinderel »

the usb-c to hdmi adapter is StarTech.com
User avatar
AndyMH
Level 21
Level 21
Posts: 13503
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: No monitor detected on Linux Mint 19

Post by AndyMH »

Can mint see the monitor, what is the output of xrandr?
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
sinderel
Level 2
Level 2
Posts: 50
Joined: Fri Oct 20, 2017 5:50 am

Re: No monitor detected on Linux Mint 19

Post by sinderel »

I don't think it can, at least judging from the Displays app.

This is the output of xrandr:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 77.00*
sinderel
Level 2
Level 2
Posts: 50
Joined: Fri Oct 20, 2017 5:50 am

Re: No monitor detected on Linux Mint 19

Post by sinderel »

(as you can see, I also can't change the resolution of the laptop screen)
Hoser Rob
Level 20
Level 20
Posts: 11762
Joined: Sat Dec 15, 2012 8:57 am

Re: No monitor detected on Linux Mint 19

Post by Hoser Rob »

Looking at the graphics part of the inxi report:
Graphics: Card-1: Intel UHD Graphics 620 bus-ID: 00:02.0
Card-2: NVIDIA Device 1d12 bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.6 ) drivers: nvidia,fbdev,nouveau (unloaded: modesetting,vesa)
Resolution: 1920x1080@77.00hz
OpenGL: renderer: N/A version: N/A Direct Render: N/A
Not an nvidia expert at all but it looks to me like you may have installed an nvidia driver. Where from if so? The Mint Driver Manager is almost always the place to look, not the mfr's site, which is the Windows way but not in Linux usually.

The reason I'm wonderng about the driver is the last line quoted. inxi should be able to tell what the OpenGL renderer and "Direct Render: N/A" is definitely NOT right. Even in fairly borked video setups it will usually say Direct Render: Yes.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
User avatar
AndyMH
Level 21
Level 21
Posts: 13503
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: No monitor detected on Linux Mint 19

Post by AndyMH »

No output of what video ports you've got and whether connected or not, that's what I was expecting to see, e.g. LVDS-1 (laptop), VGA-1, DP-1, HDMI-2, etc? Looking at the specs, it looks like one model only has USB C while the other has both USB C and HDMI - so don't know whether HDMI is an option for you. Can you remember what kernel you had when you were running LM18.3?

Install read-edid from software manager and then in a terminal sudo get-edid, what I'm looking for is does LM detect the monitor, example output from mine below. As you can see it found an EDID (Extended Display Identification Data) on bus 3 and 4. Bus 3 is my laptop screen, bus 4 is my external monitor.

Code: Select all

andy@T430 ~ $ sudo get-edid
[sudo] password for andy: 
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 1
No EDID on bus 2
No EDID on bus 5
No EDID on bus 6
No EDID on bus 7
No EDID on bus 8
No EDID on bus 9
3 potential busses found: 0 3 4
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
Bus 0 doesn't really have an EDID...
128-byte EDID successfully retrieved from i2c bus 3
�������>!!�xa��YR�&!PT�*@�a�
                                                   0@*35��@�a�
                                                                 0@*35��AUO
         �B140RW02 V1 
Looks like i2c was successful. Have a good day.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
tomfun
Level 1
Level 1
Posts: 3
Joined: Tue Nov 28, 2017 6:57 am

Re: No monitor detected on Linux Mint 19

Post by tomfun »

I have very same situation.
I have LM19, external display connected to hdmi, and a week ago all were fine, maybe I updated something... and now I must use VGA because HDMI is broken.

Code: Select all

inxi -Fxz
System:    Host: ************ Kernel: 4.15.0-39-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Xfce 4.12.3 (Gtk 2.24.31) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: HP product: HP ProBook 450 G5 serial: N/A
           Mobo: HP model: 837D v: KBC Version 02.2A.00 serial: N/A
           UEFI: HP v: Q85 Ver. 01.02.05 date: 03/12/2018
Battery    BAT0: charge: 35.3 Wh 76.4% condition: 46.2/46.2 Wh (100%)
           model: Hewlett-Packard Primary status: Charging
CPU:       Quad core Intel Core i7-8550U (-MT-MCP-) 
           arch: Kaby Lake rev.10 cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15936
           clock speeds: max: 4000 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz
           4: 800 MHz 5: 800 MHz 6: 800 MHz 7: 800 MHz 8: 800 MHz
Graphics:  Card: Intel UHD Graphics 620 bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.06hz, 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-39-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 01:00.0
           IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Intel Wireless 8265 / 8275 driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    ********* /dev/nvme0n1 ****
Partition: ********* /dev/dm-1 ******
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
so the same Graphics: Card-1: Intel UHD Graphics 620 bus-ID: 00:02.0

Code: Select all

xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.06*+  60.01    59.97    59.96    59.93    40.04  
........................
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
(when I connect VGA DP-1 connected obviously)

I have DELL display

Code: Select all

~$ sudo get-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 1
No EDID on bus 3
No EDID on bus 5
No EDID on bus 6
No EDID on bus 7
3 potential busses found: 0 2 4
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
Bus 0 doesn't really have an EDID...
256-byte EDID successfully retrieved from i2c bus 2
���������BTS0	�5x�!��VR�&PT�KqO������:�q8-@X,E(!�P7HT88310STB
�DELL SE2416H
�8LS
      O�L�e
                         :�q8-@X,E(!�q X,%(!�rQ� n(U(!�
Looks like i2c was successful. Have a good day.
User avatar
AndyMH
Level 21
Level 21
Posts: 13503
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: No monitor detected on Linux Mint 19

Post by AndyMH »

Okay, get-edid found monitors on bus 2 and 4, I'm assuming that bus 2 is the laptop screen and bus 4 is your external monitor. What I want to see now is the output from (with your monitor connected via HDMI):

Code: Select all

sudo get-edid -b 4 | parse-edid
The -b 4 is telling edid that you want the output from bus 4 = external monitor. This is what mine looks like:

Code: Select all

4
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Only trying 4 as per your request.
256-byte EDID successfully retrieved from i2c bus 4
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
	Identifier "LG ULTRAWIDE"
	ModelName "LG ULTRAWIDE"
	VendorName "GSM"
	# Monitor Manufactured week 9 of 2017
	# EDID version 1.3
	# Digital Display
	DisplaySize 670 280
	Gamma 2.20
	Option "DPMS" "true"
	Horizsync 30-90
	VertRefresh 56-75
	# Maximum pixel clock is 240MHz
	#Not giving standard mode: 1152x864, 75Hz
	#Not giving standard mode: 1280x1024, 60Hz
	#Not giving standard mode: 1280x720, 60Hz
	#Not giving standard mode: 1600x900, 60Hz
	#Not giving standard mode: 1680x1050, 60Hz

	#Extension block found. Parsing...
	Modeline 	"Mode 11" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
	Modeline 	"Mode 0" 185.58 2560 2624 2688 2784 1080 1083 1093 1111 -hsync -vsync 
	Modeline 	"Mode 1" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
	Modeline 	"Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 3" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 4" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
	Modeline 	"Mode 5" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
	Modeline 	"Mode 6" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
	Modeline 	"Mode 7" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
	Modeline 	"Mode 8" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 9" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
	Modeline 	"Mode 10" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 12" 74.25 1920 2008 2052 2200 540 542 547 562 +hsync +vsync interlace
	Modeline 	"Mode 13" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync 
	Modeline 	"Mode 14" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync 
	Option "PreferredMode" "Mode 11"
EndSection
This will prove that mint can see the monitor and what the various resolutions (modelines) available are. You might want to repeat the above with the monitor connected via HDMI and via VGA (expect the bus numbers to change) and see if there is any difference in the output.

If this gives a sensible output with the monitor connected via HDMI (obvious question - have you tried with a different HDMI cable?), then there are two potential solutions:
  • Force mint to use the monitor using xrandr.
  • Try installing an earlier kernel - I traced the problems I had (it found the monitor, but wrong resolution) to the kernel, any kernel less than 4.5.7 was okay, anything later wouldn't work.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
tomfun
Level 1
Level 1
Posts: 3
Joined: Tue Nov 28, 2017 6:57 am

Re: No monitor detected on Linux Mint 19

Post by tomfun »

After few days, it just eventually returns to working state... I even didn't install updates or something, just few start / shutdown loops. Self-healing...
More interesting: display (with hdmi) begins to work before encrypted filesystems.
sdet00

Re: No monitor detected on Linux Mint 19

Post by sdet00 »

Just to jump on the bandwagon here, I've been noticing similar issues. What is interesting is that if I connect HDMI before my system boots it is OK, but if I connect it after it boots it tends to mess up. I've switched back to Windows for now but it is a bit of a shame that this is still an issue on some systems.
eriatarka

Re: No monitor detected on Linux Mint 19

Post by eriatarka »

Hello all.

Just had the same problem with a freshly installed Linux Mint 19.1.

For me, it had to do with the filesystem being encrypted. It seems that the driver is loaded before the decryption, and if the monitor is not connected at boot time it won't work.

The fix for me was to shut down the system, keep the HDMI connected, and then booting it up.

Hope this helps someone!
Locked

Return to “Graphics Cards & Monitors”