LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2022, 11:32 AM   #1
pepperslq
LQ Newbie
 
Registered: Feb 2018
Posts: 18

Rep: Reputation: Disabled
How to connect to monitor with HDMI cable?


I'm trying to connect an ASUS monitor to a desktop, using an HDMI cable to an Nvidia card (GeForce GT 730). The graphics card has both HDMI and VGA ports. After connecting the HDMI cable, when HDMI input is selected on the monitor, the monitor says "No HDMI signal".

The monitor connection works perfectly using a VGA cable, so the card and monitor are good. I'm using the Noveau driver, in Debian.

xrandr gives: "HDMI-1 disconnected (normal left inverted right x axis y axis)", but the HDMI cable is connected.

Every search on this I've tried talks about connecting a second monitor to a laptop, and using Intel onboard to drive the HDMI port, which doesn't apply to my situation.

Does anybody know where to start trying to diagnose this, or how to get Nouveau to output to HDMI?
 
Old 09-12-2022, 11:44 AM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,621

Rep: Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555Reputation: 2555
Quote:
Originally Posted by pepperslq View Post
The monitor connection works perfectly using a VGA cable, so the card and monitor are good.
Unless the issue is with the HDMI ports on either the card or monitor. Have you examined them for dirt or damage?

Have you tried a different cable that's known to work and/or tried the cable you have on hardware that has known working ports?

Does the monitor have a source selection option that you are explicitly setting to HDMI?

Are you unplugging the VGA cable whilst trying to get the HDMI cable working?

 
Old 09-12-2022, 11:52 AM   #3
pepperslq
LQ Newbie
 
Registered: Feb 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks boughtonp!

The ports look ok/clean, and I know the cable works. I did select HDMI as the source on the monitor - the monitor just pops up a box that says "No HDMI source"

Yes I've tried both booting with only HDMI cable plugged in, and also booting with VGA and then switching to HDMI. Always same result, "no HDMI source"
 
Old 09-12-2022, 12:04 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,732

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by pepperslq View Post
I'm trying to connect an ASUS monitor to a desktop, using an HDMI cable to an Nvidia card (GeForce GT 730). The graphics card has both HDMI and VGA ports. After connecting the HDMI cable, when HDMI input is selected on the monitor, the monitor says "No HDMI signal".

The monitor connection works perfectly using a VGA cable, so the card and monitor are good. I'm using the Noveau driver, in Debian.

xrandr gives: "HDMI-1 disconnected (normal left inverted right x axis y axis)", but the HDMI cable is connected. Every search on this I've tried talks about connecting a second monitor to a laptop, and using Intel onboard to drive the HDMI port, which doesn't apply to my situation. Does anybody know where to start trying to diagnose this, or how to get Nouveau to output to HDMI?
I bolded a piece of your post for emphasis only. Two things come to mind, having done something similar in the past. First, have you tried connecting/powering on the monitor first, before booting up? HDMI can be picky, and may not activate if it doesn't detect things in the 'right order'.

Second, I'd suggest trying the nVidia proprietary drivers. Sadly, the nouveau driver doesn't always provide 100% functionality...try the nVidia drivers, and blacklist nouveau.
https://wiki.debian.org/NvidiaGraphicsDrivers
 
Old 09-12-2022, 12:57 PM   #5
pepperslq
LQ Newbie
 
Registered: Feb 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks TB0ne!

I have tried booting with the monitor powered on, no luck.

I also just installed the nvidia drivers through apt, rebooted and nvidia is now listed in lsmod, but same result: "HDMI no signal"

I noticed one difference after installing the nvidia drivers: xrandr now says that "HDMI-0 disconnected (normal left inverted right x axis y axis)" -- before it said "HDMI-1". Don't think that makes any difference, though....
 
Old 09-12-2022, 01:17 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,732

Rep: Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973Reputation: 7973
Quote:
Originally Posted by pepperslq View Post
Thanks TB0ne!
I have tried booting with the monitor powered on, no luck. I also just installed the nvidia drivers through apt, rebooted and nvidia is now listed in lsmod, but same result: "HDMI no signal"

I noticed one difference after installing the nvidia drivers: xrandr now says that "HDMI-0 disconnected (normal left inverted right x axis y axis)" -- before it said "HDMI-1". Don't think that makes any difference, though....
Hmm; this might help. Granted, it's for Mint (and a little bit old), but may still help:
https://forums.linuxmint.com/viewtopic.php?t=235372
 
Old 09-12-2022, 09:00 PM   #7
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Rep: Reputation: Disabled
@pepperslq, Try booting without the HDMI cable connected and once booted connect the HDMI cable.
 
Old 09-13-2022, 03:11 AM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,868
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Which Debian is OP using? What does inxi -GSaz --vs report, ideally with at least two connected displays?

Given all OP's activity, it's not clear to me if HDMI never produces video, or if the no signal message only appears sometime after the Grub menu, or after Debian has started booting. How is xrandr output being examined? Is a second display involved, also on the 730 card? OP says he knows the cable is good, but sometimes a cable is only "good" when tried with something other than where it's needed, a form of infuriating flakiness. I've had to throw away HDMI cables several times that worked when new, but didn't last. HDMI connectors can go bad, both female and male. That's happened to me several times with various components' output connectors. Does the 730 also have a DVI connector, for 3 total outputs? If yes, try it with a DVI to HDMI converter or cable. Is OP trying to use all three 730 outputs at once? It's possible no more than two at a time can be used, and the HDMI is the one disabled when all three are connected. I have a GT 630 with HDMI, VGA & DVI outputs that with all three connected to a display produces:
Code:
$ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
VGA-1 connected 1680x1050+1680+0 (normal left inverted right x axis y axis) 474mm x 296mm
Screen 0: minimum 320 x 200, current 3360 x 1050, maximum 16384 x 16384
HDMI-1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
DVI-I-1 connected primary (normal left inverted right x axis y axis)
   1680x1050     59.97*+  74.89    59.95    59.88
   1680x1050     59.95*+  59.88
$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 3 associated providers: 0 name:modesetting
Note that according to xrandr, all three are "connected", but there is no resolution or location reported for the (primary) DVI port. It POSTs and puts Grub entirely on the DVI display. Shortly after making a Grub selection, the DVI goes black, and the other two light up, mirrored on the ttys, then side by side when X starts. Key to this behavior is listproviders output - "crtcs: 2" means only two outputs can function at once.

Based on info @ https://www.kernel.org/doc/Documentation/fb/modedb.txt I tried adjusting outputs using video= on Grub's linu line:
Code:
$ cat /proc/cmdline
root=LABEL=<filter> noresume mitigations=auto consoleblank=0 video=VGA-1:1680x1050@60e video=DVI-I-1:1920x1200@60D video=HDMI-A-1:d
This produced Xorg output on the VGA and DVI screens, but mirrored, and 1400x1050 resolution on both. Note for HDMI the name HDMI-A-1. This is the name found in /sys/class/drm/, not the xrandr name.

Then I tried adjusting with xrandr:
Code:
$ xrandr --output DVI-I-1 --mode 1920x1200 --rate 60 --primary --output VGA-1 --mode 1680x1050 --rate 60 --right-of DVI-I-1
$ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
VGA-1 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm
Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 16384 x 16384
DVI-I-1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1920x1200     59.88    60.00*   59.95
   1680x1050     59.99*   59.95    59.88
$ inxi -GS
System:
  Host: gb970 Kernel: 5.18.0-4-amd64 arch: x86_64 bits: 64 Desktop: Trinity
    v: R14.0.13 Distro: Debian GNU/Linux bookworm/sid
Graphics:
  Device-1: NVIDIA GF108 [GeForce GT 630] driver: nouveau v: kernel
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    gpu: nouveau resolution: 1: 1920x1200 2: 1680x1050~60Hz
  OpenGL: renderer: NVC1 v: 4.3 Mesa 22.2.0-rc3
Based on these results, I suggest it may be possible to take the same video= + xrandr approach to getting your HDMI connection to light up its display.
 
Old 09-13-2022, 08:59 AM   #9
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,989

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Just to clarify, with hdmi only can you get into your bios setup? If you are getting no output at all with hdmi only when you power on, it's definitely a hardware problem. Blown hdmi ports are not uncommon. On one of my motherboards with display port, dvi and hdmi outputs, the hdmi port stopped working one day for no apparent reason but the dvi and display ports work fine. Got a display port to hdmi adapter which I am using to this day. Just because your vga port is working doesn't mean your hdmi port is good.

Last edited by kilgoretrout; 09-13-2022 at 09:01 AM.
 
Old 09-13-2022, 11:29 AM   #10
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,814

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by TB0ne View Post
Second, I'd suggest trying the nVidia proprietary drivers. Sadly, the nouveau driver doesn't always provide 100% functionality...try the nVidia drivers, and blacklist nouveau.
https://wiki.debian.org/NvidiaGraphicsDrivers
Seconded.

I've had two ASUS monitors (VP278s) hanging off an nVidia card (1650) and had two devices hanging off the second monitor with both using HDMI (the second device was a Win11 laptop). Zero issues. Unfortunately, I cannot attest to what my experience might have been had I been using the Nouveau driver---that was blacklisted long ago.

OP: Unless there's some technical reason for not doing so, I'd install the nVidia driver.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux boots to a black screen when monitor is plugged in via HDMI cable MirceaKitsune Linux - Hardware 14 12-26-2021 08:55 AM
Connect computer hdmi outport to TV hdmi inport. ostene Linux - Software 2 07-04-2014 06:33 AM
HDMI to DVI cable > overscan on monitor bennypr0fane Linux - Hardware 13 12-30-2013 08:01 PM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
TV will not connect to laptop using HDMI cable. rstuff Linux - Newbie 7 10-24-2011 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration