Page 1 of 1

Unable to Detect Projector on Linux Mint 19.2

Posted: Tue Aug 20, 2019 10:53 am
by rhb2k9
I have installed latest Linux Mint 19.2 on my new Laptop.
However whenever I'm trying to connect the projector through HDMI to VGA connector, the projector is not getting connected.
As the Laptop is dual boot, i checked on Windows platform, and it works fine.
However on Mint the problem persists.
I didn't face any problems in earlier version of Linux Mint.

Can anyone provide the suitable solution, as this is (mostly) neither related to HDMI port nor the HDMI_VGA connector.
Many Thanks in advance.

Re: Unable to Detect Projector on Linux Mint 19.2

Posted: Wed Aug 21, 2019 4:27 pm
by roblm
Use this command in the Terminal and copy the output: inxi -SMCGx; ls /sys/class/drm; xrandr --prop

Open the Mint Forum reply window and select </> at the top. Press Ctrl+V to paste the copied lines into a code display window.

Re: Unable to Detect Projector on Linux Mint 19.2

Posted: Thu Aug 22, 2019 10:09 am
by rhb2k9

Code: Select all

raj@raj-Nitro-AN515-52:~$ inxi -SMCGx; ls /sys/class/drm; xrandr --prop
System:
  Host: raj-Nitro-AN515-52 Kernel: 4.15.0-58-generic x86_64 bits: 64 
  compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.2.3 
  Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: Acer product: Nitro AN515-52 v: V1.19 
  serial: <root required> 
  Mobo: CFL model: Freed_CFS v: V1.19 serial: <root required> UEFI: Insyde 
  v: 1.19 date: 07/13/2018 
CPU:
  Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 9216 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52992 
  Speed: 801 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 801 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 
Graphics:
  Device-1: Intel vendor: Acer Incorporated ALI driver: i915 v: kernel 
  bus ID: 00:02.0 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] 
  vendor: Acer Incorporated ALI driver: nouveau v: kernel bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting,nouveau 
  unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
  v: 4.5 Mesa 19.0.8 direct render: Yes 
card0  card0-eDP-1  card1  card1-HDMI-A-1  renderD128  renderD129  ttm  version
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
	EDID: 
		00ffffffffffff0006afed6100000000
		001a0104952213780259259358599329
		26505400000001010101010101010101
		010101010101783780b470382e406c30
		aa0058c1100000180000000f00000000
		00000000000000000020000000fe0041
		554f0a202020202020202020000000fe
		004231353648414e30362e31200a00ea
	scaling mode: Full aspect 
		supported: Full, Center, Full aspect
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
   1920x1080     60.05*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
	PRIME Synchronization: 1 
		supported: 0, 1
	dithering depth: auto 
		supported: auto, 6 bpc, 8 bpc
	dithering mode: auto 
		supported: auto, off, static 2x2, dynamic 2x2, temporal
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	color vibrance: 150 
		range: (0, 200)
	vibrant hue: 90 
		range: (0, 180)
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: auto, off, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad

Re: Unable to Detect Projector on Linux Mint 19.2

Posted: Thu Aug 22, 2019 7:23 pm
by roblm
You have a laptop with graphics provided by an Integrated Intel + Nvidia card. Usually the HDMI port is internally connected to the Nvidia GPU, so the Nvidia driver needs to be installed for that port to work. Open Driver Manager and install the recommended Nvidia driver.

After installing the Nvidia driver, open the NVIDIA X Server Settings utility. If you see the HDMI display is named a PRIME display, then the HDMI port is connected internally to the Intel GPU.

nvidia-settings prime displays.jpg

Re: Unable to Detect Projector on Linux Mint 19.2

Posted: Mon Aug 26, 2019 11:12 am
by rhb2k9
I installed the recommended software
DriverManger.png


However it NVIDIA Server Setting do not show any HDMI display.

NVIDIA X Server Settings.png

Re: Unable to Detect Projector on Linux Mint 19.2

Posted: Mon Aug 26, 2019 12:40 pm
by roblm
Use these commands and post the output:

Code: Select all

1. lspci -nnk | egrep -A3 -i "3D|VGA"
2. ls /lib/modprobe.d
3. dpkg -l | grep -i nvidia
4. mokutil --sb-state

Re: Unable to Detect Projector on Linux Mint 19.2

Posted: Wed Aug 28, 2019 1:57 am
by rhb2k9

Code: Select all

raj@raj-Nitro-AN515-52:~$ lspci -nnk | egrep -A3 -i "3D|VGA"
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3e9b]
	Subsystem: Acer Incorporated [ALI] Device [1025:1264]
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] [10de:1c8d] (rev a1)
	Subsystem: Acer Incorporated [ALI] GP107M [GeForce GTX 1050 Mobile] [1025:1265]
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
raj@raj-Nitro-AN515-52:~$ ls /lib/modprobe.d
aliases.conf                            fbdev-blacklist.conf
blacklist_linux_4.15.0-20-generic.conf  nvidia-graphics-drivers.conf
blacklist_linux_4.15.0-54-generic.conf  systemd.conf
blacklist_linux_4.15.0-58-generic.conf
raj@raj-Nitro-AN515-52:~$ dpkg -l | grep -i nvidia
ii  libnvidia-cfg1-430:amd64                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-430                       430.26-0ubuntu0.18.04.2                     all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-430:amd64                430.26-0ubuntu0.18.04.2                     amd64        NVIDIA libcompute package
ii  libnvidia-compute-430:i386                 430.26-0ubuntu0.18.04.2                     i386         NVIDIA libcompute package
ii  libnvidia-decode-430:amd64                 430.26-0ubuntu0.18.04.2                     amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-430:i386                  430.26-0ubuntu0.18.04.2                     i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-430:amd64                 430.26-0ubuntu0.18.04.2                     amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-430:i386                  430.26-0ubuntu0.18.04.2                     i386         NVENC Video Encoding runtime library
ii  libnvidia-fbc1-430:amd64                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-430:i386                    430.26-0ubuntu0.18.04.2                     i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-430:amd64                     430.26-0ubuntu0.18.04.2                     amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-430:i386                      430.26-0ubuntu0.18.04.2                     i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-430:amd64                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-430:i386                    430.26-0ubuntu0.18.04.2                     i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-430                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA compute utilities
ii  nvidia-dkms-430                            430.26-0ubuntu0.18.04.2                     amd64        NVIDIA DKMS package
ii  nvidia-driver-430                          430.26-0ubuntu0.18.04.2                     amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-430                   430.26-0ubuntu0.18.04.2                     amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-430                   430.26-0ubuntu0.18.04.2                     amd64        NVIDIA kernel source package
ii  nvidia-prime                               0.8.8.2                                     all          Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                        1.0.7                                       all          An applet for NVIDIA Prime
ii  nvidia-settings                            390.77-0ubuntu0.18.04.1                     amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-430                           430.26-0ubuntu0.18.04.2                     amd64        NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-430              430.26-0ubuntu0.18.04.2                     amd64        NVIDIA binary Xorg driver
raj@raj-Nitro-AN515-52:~$ mokutil --sb-state
SecureBoot enabled
raj@raj-Nitro-AN515-52:~$ 



Re: Unable to Detect Projector on Linux Mint 19.2

Posted: Wed Aug 28, 2019 7:04 am
by roblm
Your system has Secure Boot enabled. This prevents the Nvidia driver from loading. Either disable Secure Boot in the BIOS, or if you want it enabled for an added layer of security, then the Nvidia kernel modules that were built during the Nvidia driver installation will need to be signed. Many distributions require modules to be signed with a trusted key when loaded into kernels running on UEFI systems with Secure Boot enabled.

For the instructions on how to do this, go down to the section:
How to install the Nvidia driver with Secure Boot enabled; for drivers installed using Driver Manager, apt or Synaptic in this post:

viewtopic.php?f=59&t=154932&start=20#p847465

Re: Unable to Detect Projector on Linux Mint 19.2

Posted: Fri Aug 30, 2019 12:14 am
by rhb2k9
Thank you Sir.
It worked. I disabled secured boot and it worked perfectly.