[SOLVED] LM19.3 no HDMI signal

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
gbone
Level 3
Level 3
Posts: 110
Joined: Wed Aug 20, 2014 7:55 am

[SOLVED] LM19.3 no HDMI signal

Post by gbone »

Under LM19.2 I finally got hardware acceleration to work on my Lenovo W530 laptop that has the Nvidia Optimus K1000M video card. I was able to get video but no sound on the HDMI external monitor, so when I got the pop-up window suggesting that I upgrade to LM19.3 I thought, good, maybe I'll get the sound on HDMI. So I did the software upgrade to LM 19.3 as well as the new kernel 5.0. I now have hardware acceleration (by removing 'nomodeset' from the booting parameters) but no signal whatsoever to the HDMI external monitor. When I go to Driver manager I see that I have ticked Nvidia driver 4.15 and that is the highest number there. Also, there is no Nvidia icon on the bottom panel like I had under LM 19.2.
Any suggestions?
Thanks
Last edited by gbone on Thu Jan 02, 2020 1:34 pm, edited 1 time in total.

DisturbedDragon
Level 3
Level 3
Posts: 111
Joined: Mon Oct 29, 2012 6:29 pm
Location: Texas

Re: LM19.3 no HDMI signal

Post by DisturbedDragon »

The port or driver may not support hot plugging. Try plugging in with laptop completely powered off. Make sure the external screen is on and boot it up. This solved the same issue on my Chromebook running Galluim.

For the audio issue, this can usually be fixed by manually selecting the HDMI audio under the system sound settings.
AMD Ryzen 3700x
MSI x470 Gaming Pro
1TB Crucial P1 NVMe
1TB Samsung 960 Pro NVMe
32GB DDR4 3200
Nvidia RTX2080 OC
-------------------------------------
Linux Mint 19.3 Cinnamon
Kernel 5.3.0-40

User avatar
roblm
Level 12
Level 12
Posts: 4067
Joined: Sun Feb 24, 2013 2:41 pm

Re: LM19.3 no HDMI signal

Post by roblm »

You should respond to DisturbedDragon’s post first.

Then post some additional info. Use these commands in the Terminal and post the output:

Code: Select all

inxi -SMCGx
lspci -nnk | egrep -A3 -i "3D|VGA"
ls /lib/modprobe.d				
dpkg -l | grep -i nvidia
mokutil --sb-state
Use this command to upload the Xorg.0.log file to terminal.com pastebin:
cat /var/log/Xorg.0.log | nc termbin.com 9999

Post the URL link that displays in the Terminal window.

gbone
Level 3
Level 3
Posts: 110
Joined: Wed Aug 20, 2014 7:55 am

Re: LM19.3 no HDMI signal

Post by gbone »

The port or driver may not support hot plugging. Try plugging in with laptop completely powered off. Make sure the external screen is on and boot it up. This solved the same issue on my Chromebook running Galluim.
No luck here as there was no difference whether or not the external monitor was on or off when laptop was powered up.
As well, the system sound settings do not show any HDMI speakers, only the laptop speakers.

gbone
Level 3
Level 3
Posts: 110
Joined: Wed Aug 20, 2014 7:55 am

Re: LM19.3 no HDMI signal

Post by gbone »

Thanks for the reply roblm, but this sound problem has now morphed into a more serious problem where I cannot even boot into LM19.3.
When I tried to load the Nvidia driver 418.88 with the steps below, I think I messed up royally.
Here are the steps I've just tried:
<ctrl><alt>F1
login
password
sudo service lightdm stop
cd /Downloads
sudo sh NVIDIA-Linux-x86_64-418.88.run


During this process it said there were some warnings but do I want to continue, I did and it did build modules and finished ok
However on reboot, the boot process gets to the login prompt and then the screen goes black with the cursor in top left corner not flashing. I think X server failed to start or the video driver has failed. In any case I can no longer get into LM 19.3.
However, I can do a live boot from cdrom into LM 19.2 and I can see that partition with 19.3, and when I start the install LM19.2 it does ask me if I want to erase the LM19.3 and install the LM19.2 there. That may be an option but since I've got the triple booting working nicely I'm cautious about messing that up as well.
If I do the LM19.2 install over top of the 19.3, I'll still have the problem of not having HDMI sound. So getting the Nvidia driver installed correctly seems to be the big hurdle.

User avatar
roblm
Level 12
Level 12
Posts: 4067
Joined: Sun Feb 24, 2013 2:41 pm

Re: LM19.3 no HDMI signal

Post by roblm »

Try to enter tty1 by pressing Ctrl+Alt+F1. Use this command to uninstall the Nvidia driver you downloaded from Nvidia's website:
sudo nvidia-installer --uninstall

Use this command in case an xorg.conf file was created: sudo rm /etc/X11/xorg.conf

Use this command to check for a file named disable-nouveau.conf or something similar: ls /etc/modprobe.d
If the file exists, then remove it: sudo rm /etc/modprobe.d/disable-nouveau.conf

Update the initial ramdisk and reboot: sudo update-initramfs -u; reboot

I won't be online again until tomorrow.

gbone
Level 3
Level 3
Posts: 110
Joined: Wed Aug 20, 2014 7:55 am

Re: LM19.3 no HDMI signal

Post by gbone »

Thanks roblm, I've got my X server back.
Here are the requested outputs:

Code: Select all

$ inxi -SMCGx
System:    Host: douglas-ThinkPad-W530 Kernel: 5.0.0-37-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.4.6 
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: LENOVO product: 2436CTO v: ThinkPad W530 serial: <root required> 
           Mobo: LENOVO model: 2436CTO serial: <root required> UEFI [Legacy]: LENOVO v: G5ETA5WW (2.65 ) date: 03/04/2016 
CPU:       Topology: Quad Core model: Intel Core i7-3720QM bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 41502 
           Speed: 1197 MHz min/max: 1200/3600 MHz Core speeds (MHz): 1: 1197 2: 1197 3: 1198 4: 1199 5: 1197 6: 1197 7: 1197 
           8: 1200 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GK107GLM [Quadro K1000M] vendor: Lenovo driver: N/A bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa tty: N/A 
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 19.0.8 direct render: Yes 

Code: Select all

$ lspci -nnk | egrep -A3 -i "3D|VGA"
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
	Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K1000M] [10de:0ffc] (rev a1)
	Subsystem: Lenovo GK107GLM [Quadro K1000M] [17aa:21f5]
	Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1)

Code: Select all

$ ls /lib/modprobe.d
aliases.conf                            blacklist_linux-hwe_5.0.0-32-generic.conf  nvidia-graphics-drivers.conf
blacklist_linux_4.15.0-54-generic.conf  blacklist_linux-hwe_5.0.0-37-generic.conf  systemd.conf
blacklist_linux_4.15.0-72-generic.conf  fbdev-blacklist.conf

Code: Select all

$ dpkg -l | grep -i nvidia
ii  libnvidia-cfg1-415:amd64                   415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-390                       390.129-0ubuntu0~gpu18.04.1                     all          Shared files used by the NVIDIA libraries
ii  libnvidia-common-415                       415.27-0ubuntu0~gpu18.04.2                      all          Shared files used by the NVIDIA libraries
rc  libnvidia-compute-390:amd64                390.129-0ubuntu0~gpu18.04.1                     amd64        NVIDIA libcompute package
ii  libnvidia-compute-415:amd64                415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA libcompute package
ii  libnvidia-compute-415:i386                 415.27-0ubuntu0~gpu18.04.2                      i386         NVIDIA libcompute package
rc  libnvidia-compute-430:amd64                430.50-0ubuntu0.18.04.2                         amd64        NVIDIA libcompute package
ii  libnvidia-decode-415:amd64                 415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-415:i386                  415.27-0ubuntu0~gpu18.04.2                      i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-415:amd64                 415.27-0ubuntu0~gpu18.04.2                      amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-415:i386                  415.27-0ubuntu0~gpu18.04.2                      i386         NVENC Video Encoding runtime library
ii  libnvidia-fbc1-415:amd64                   415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-415:i386                    415.27-0ubuntu0~gpu18.04.2                      i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-415:amd64                     415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-415:i386                      415.27-0ubuntu0~gpu18.04.2                      i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-415:amd64                   415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-415:i386                    415.27-0ubuntu0~gpu18.04.2                      i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
rc  nvidia-compute-utils-390                   390.129-0ubuntu0~gpu18.04.1                     amd64        NVIDIA compute utilities
ii  nvidia-compute-utils-415                   415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA compute utilities
rc  nvidia-dkms-390                            390.129-0ubuntu0~gpu18.04.1                     amd64        NVIDIA DKMS package
ii  nvidia-dkms-415                            415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA DKMS package
ii  nvidia-driver-415                          415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA driver metapackage
rc  nvidia-kernel-common-390                   390.129-0ubuntu0~gpu18.04.1                     amd64        Shared files used with the kernel module
ii  nvidia-kernel-common-415                   415.27-0ubuntu0~gpu18.04.2                      amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-415                   415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA kernel source package
rc  nvidia-opencl-icd-340                      340.107-0ubuntu0.18.04.4                        amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                               0.8.8.2                                         all          Tools to enable NVIDIA's Prime
ii  nvidia-prime-applet                        1.0.8                                           all          An applet for NVIDIA Prime
ii  nvidia-settings                            418.56-0ubuntu0~gpu18.04.1                      amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-415                           415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-415              415.27-0ubuntu0~gpu18.04.2                      amd64        NVIDIA binary Xorg driver

Code: Select all

$ mokutil --sb-state
EFI variables are not supported on this system
My external HDMI monitor/TV is connected to the mini DP on the W530 and currently this is NO video and NO sound.

User avatar
roblm
Level 12
Level 12
Posts: 4067
Joined: Sun Feb 24, 2013 2:41 pm

Re: LM19.3 no HDMI signal

Post by roblm »

Use this command to remove the installed nvidia-driver-415: apt autoremove nvidia-driver-415

Reboot. Use this command to see what drivers are available: ubuntu-drivers debug | grep nvidia

gbone
Level 3
Level 3
Posts: 110
Joined: Wed Aug 20, 2014 7:55 am

Re: LM19.3 no HDMI signal

Post by gbone »

Here is the output:

Code: Select all

$ ubuntu-drivers debug | grep nvidia
nvidia-driver-415: installed: <none>   available: 415.27-0ubuntu0~gpu18.04.2 (auto-install)  [third party]  free  modalias: pci:v000010DEd00000FFCsv000017AAsd000021F5bc03sc00i00  path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0  vendor: NVIDIA Corporation  model: GK107GLM [Quadro K1000M] 
nvidia-340: installed: <none>   available: 340.107-0ubuntu0.18.04.4  [distro]  non-free  modalias: pci:v000010DEd00000FFCsv000017AAsd000021F5bc03sc00i00  path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0  vendor: NVIDIA Corporation  model: GK107GLM [Quadro K1000M] 
nvidia-304: installed: <none>   available: 304.137-0ubuntu2  [third party]  free  modalias: pci:v000010DEd00000FFCsv000017AAsd000021F5bc03sc00i00  path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0  vendor: NVIDIA Corporation  model: GK107GLM [Quadro K1000M] 
nvidia-driver-410: installed: <none>   available: 410.104-0ubuntu0~18.04.1  [third party]  free  modalias: pci:v000010DEd00000FFCsv000017AAsd000021F5bc03sc00i00  path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0  vendor: NVIDIA Corporation  model: GK107GLM [Quadro K1000M] 
nvidia-driver-390: installed: <none>   available: 390.129-0ubuntu0~gpu18.04.1  [third party]  free  modalias: pci:v000010DEd00000FFCsv000017AAsd000021F5bc03sc00i00  path: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0  vendor: NVIDIA Corporation  model: GK107GLM [Quadro K1000M] 

User avatar
roblm
Level 12
Level 12
Posts: 4067
Joined: Sun Feb 24, 2013 2:41 pm

Re: LM19.3 no HDMI signal

Post by roblm »

On your Optimus based system, the Nvidia driver should be installed through the distro’s package manager. It’s possible to download the driver from Nvidia’s website but the installation can be a little to a lot more complicated, depending on the driver version. The instructions for doing this are found in this post, under the section:
How to install the Nvidia driver on an Optimus laptop (integrated Intel + Nvidia card)
viewtopic.php?f=59&t=154932&start=20#p847465

I suggest installing nvidia-driver-390. The 410 and 415 series may not see any more newer releases.
apt install nvidia-driver-390

After the installation, copy the installation log that is displayed in the Terminal window and save it to a file, such as nvidia-390.txt, in case it needs to be viewed later.

Reboot and post the output of: lspci -nnk | egrep -A3 -i "3D|VGA"

If there is a problem, then enter tty1 and use this command: apt autoremove nvidia-driver-390; reboot

gbone
Level 3
Level 3
Posts: 110
Joined: Wed Aug 20, 2014 7:55 am

Re: LM19.3 no HDMI signal

Post by gbone »

Here is the output:

Code: Select all

$ lspci -nnk | egrep -A3 -i "3D|VGA"
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
	Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K1000M] [10de:0ffc] (rev a1)
	Subsystem: Lenovo GK107GLM [Quadro K1000M] [17aa:21f5]
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
I've got some errands, so I'll be back in 2 hours

gbone
Level 3
Level 3
Posts: 110
Joined: Wed Aug 20, 2014 7:55 am

Re: LM19.3 no HDMI signal

Post by gbone »

I've now got full HDMI video AND sound.
Thanks roblm. Just getting the right nvidia driver correctly installed (ver 390.129) made all the difference.

pcgamez
Level 1
Level 1
Posts: 9
Joined: Mon Dec 09, 2019 1:09 am

Re: LM19.3 no HDMI signal

Post by pcgamez »

gbone wrote:
Thu Jan 02, 2020 1:33 pm
I've now got full HDMI video AND sound.
Thanks roblm. Just getting the right nvidia driver correctly installed (ver 390.129) made all the difference.
Did you do anything special to install the driver? im just trying to figure this out myself

Post Reply

Return to “Graphics Cards & Monitors”