[Solved] No HDMI output

Need help with peripherals or devices?
Post Reply
Message
Author
yankeeFarmer
Posts: 24
Joined: 2021-07-26 05:42
Has thanked: 1 time

[Solved] No HDMI output

#1 Post by yankeeFarmer »

Hello,
I have an Acer Nitro 5 laptop with a pretty generic install of Debian 12.4, no special nVidia drivers or anything.It has the geforce rtx 4050 chip. It appears it also has an Intel video controller in the chipset:

Code: Select all

0000:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT1 [UHD Graphics] (rev 0c)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4050 Max-Q / Mobile] (rev a1)
I could have sworn I had used this computer in a dual monitor setup with my TV on the HDMI port, but now, nothing. The only change I can think of was going from Debian 12.1 to 12.4 I am so used to things "just working" that I am afraid I'm a bit rusty at dealing with display issues. I tried a bunch of things, including installing the proprietary (ugh) nVidia driver, and that trashed the system, so obviously I futzed that up somehow. I am not sure what information is relevant, so am happy to post whatever is requested. I hope someone can point me in the right direction, at least. I used to be pretty good at figuring this stuff out, starting with Sarge in 2005, but either I'm getting dumber, or too much has changed....old dogs, new tricks and all that.

I just want to be able to once again use a dual monitor setup....

*Edit* I noticed it's running the nouveau driver....something else I just noticed; when I plug in the cable, the little window pops up to set the orientation of the monitors, although it doesn't do anything, and won't go away until I unplug the cable. I wouldn't be surprised it it's something simple....
The plot thickens, both controllers are at /dev/fb0

Code: Select all

gary@debian:~$ sudo lshw -C video
  *-display                 
       description: VGA compatible controller
       product: AD107M [GeForce RTX 4050 Max-Q / Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list fb
       configuration: depth=32 latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
       resources: iomemory:600-5ff iomemory:620-61f memory:61000000-61ffffff memory:6000000000-61ffffffff memory:6200000000-6201ffffff ioport:4000(size=128) memory:62080000-620fffff
  *-display
       description: VGA compatible controller
       product: Alder Lake-P GT1 [UHD Graphics]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
       resources: iomemory:620-61f iomemory:400-3ff irq:165 memory:6204000000-6204ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff

arzgi
Posts: 1832
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 107 times

Re: No HDMI output

#2 Post by arzgi »

Hello!

Install libxrandr2 and after that in terminal

Code: Select all

arto@delll:˝$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
eDP-1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
   1366x768      60.00*+  40.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  

*****

320x180       59.84    59.32  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
 arto@delll:˝$

yankeeFarmer
Posts: 24
Joined: 2021-07-26 05:42
Has thanked: 1 time

Re: No HDMI output

#3 Post by yankeeFarmer »

arzgi wrote: 2024-01-22 13:49 Hello!

Install libxrandr2 and after that in terminal

Code: Select all

arto@delll:˝$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
eDP-1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
   1366x768      60.00*+  40.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  

*****

320x180       59.84    59.32  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
 arto@delll:˝$
Thank you. I did that and here's the output:

Code: Select all

gary@debian:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080    144.00*+  60.01    60.02    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)

yankeeFarmer
Posts: 24
Joined: 2021-07-26 05:42
Has thanked: 1 time

Re: No HDMI output

#4 Post by yankeeFarmer »

So, after a great deal of research, it seems that the Intel hardware controls the HDMI port, and the nVidia hardware runs the display. I have tried about everything I can think of, ie: newer kernel, nvidia drivers, and so on, and nothing works. It may be that my memory is faulty, and I never had this piece of junk connected to the TV, and there is currently no way to do so without some god-level hacking that I simply am incapable of accomplishing. This will be the last "gaming" laptop that I ever buy (TBH, I didn't notice the "gaming" moniker until I got it home) Oh well. Caveat Emptor....

If I am mistaken, and anyone can shed some light here, I would be most grateful. It really is too bad, because I like everything else about this machine.....

arzgi
Posts: 1832
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 107 times

Re: No HDMI output

#5 Post by arzgi »

Have you tried another hdmi-cable?

yankeeFarmer
Posts: 24
Joined: 2021-07-26 05:42
Has thanked: 1 time

Re: No HDMI output

#6 Post by yankeeFarmer »

arzgi wrote: 2024-01-23 13:35 Have you tried another hdmi-cable?
Yes, several. Everything works fine on another Debian 12 laptop, just not this one.

arzgi
Posts: 1832
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 107 times

Re: No HDMI output

#7 Post by arzgi »

yankeeFarmer wrote: 2024-01-24 03:02
arzgi wrote: 2024-01-23 13:35 Have you tried another hdmi-cable?
Yes, several. Everything works fine on another Debian 12 laptop, just not this one.
It seems your hdmi-port is broken, to confirm try some live-boot-cd, like Debian or Knoppix to make sure.

yankeeFarmer
Posts: 24
Joined: 2021-07-26 05:42
Has thanked: 1 time

Re: No HDMI output

#8 Post by yankeeFarmer »

arzgi wrote: 2024-01-24 12:25 It seems your hdmi-port is broken, to confirm try some live-boot-cd, like Debian or Knoppix to make sure.
I hadn't thought of that, but it does work fine when booting into Windows.....so I don't think it is mechanically/electrically at fault.

arzgi
Posts: 1832
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 107 times

Re: No HDMI output

#9 Post by arzgi »

yankeeFarmer wrote: 2024-01-24 15:53
arzgi wrote: 2024-01-24 12:25 It seems your hdmi-port is broken, to confirm try some live-boot-cd, like Debian or Knoppix to make sure.
I hadn't thought of that, but it does work fine when booting into Windows.....so I don't think it is mechanically/electrically at fault.
Ok, I did overlook something. Try to boot without hdmi connected, when you have logged in, open terminal, connect hdmi; do you see any messages, if so copy them here, if not, try

Code: Select all

journalctl -n
, same as root or if you use sudo, post the result as well.

yankeeFarmer
Posts: 24
Joined: 2021-07-26 05:42
Has thanked: 1 time

Re: No HDMI output

#10 Post by yankeeFarmer »

Results of running jounalctl -n:

Code: Select all

$ sudo journalctl -n
[sudo] password for gary: 
Jan 28 00:16:01 debian kscreen_backend_launcher[1521]: kscreen.xrandr:         Enable outputs: false
Jan 28 00:16:01 debian kscreen_backend_launcher[1521]: kscreen.xrandr: XRandR::setConfig done!
Jan 28 00:16:11 debian plasmashell[1306]: kf.service.services: KApplicationTrader: mimeType "x-scheme-handler/file" not found
Jan 28 00:16:11 debian systemd[1099]: Started app-org.kde.konsole-4ac90878efb54027a1b20c36f158668f.scope - Konsole - Terminal.
Jan 28 00:16:11 debian plasmashell[323409]: kf.xmlgui: Shortcut for action  "" "Show SSH Manager" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 28 00:16:11 debian plasmashell[323409]: kf.xmlgui: Shortcut for action  "" "Show Quick Commands" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jan 28 00:16:15 debian rtkit-daemon[1130]: Supervising 13 threads of 6 processes of 1 users.
Jan 28 00:16:15 debian rtkit-daemon[1130]: Supervising 13 threads of 6 processes of 1 users.
Jan 28 00:16:30 debian sudo[323467]:     gary : TTY=pts/1 ; PWD=/home/gary ; USER=root ; COMMAND=/usr/bin/journalctl -n
Jan 28 00:16:30 debian sudo[323467]: pam_unix(sudo:session): session opened for user root(uid=0) by gary(uid=1000)
After stopping Kscreen:

Code: Select all

sudo journalctl -n
Jan 28 00:18:38 debian plasmashell[323634]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/Dialog.qml:329:9: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth"
Jan 28 00:18:38 debian plasmashell[323634]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "i>
Jan 28 00:18:38 debian plasmashell[323634]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "i>
Jan 28 00:18:38 debian plasmashell[323634]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "i>
Jan 28 00:18:38 debian plasmashell[323634]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/templates/InlineMessage.qml:257:13: QML SelectableLabel: Binding loop detected for property "i>
Jan 28 00:18:38 debian plasmashell[323634]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Jan 28 00:18:38 debian plasmashell[323634]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Jan 28 00:18:38 debian plasmashell[323634]: qml: The item SubCategoryPage_QMLTYPE_74(0x5649fec114e0) is already in the PageRow
Jan 28 00:18:46 debian sudo[323713]:     gary : TTY=pts/1 ; PWD=/home/gary ; USER=root ; COMMAND=/usr/bin/journalctl -n
Jan 28 00:18:46 debian sudo[323713]: pam_unix(sudo:session): session opened for user root(uid=0) by gary(uid=1000)

User avatar
NorthEast
Posts: 358
Joined: 2018-11-18 04:35
Has thanked: 12 times
Been thanked: 31 times

Re: No HDMI output

#11 Post by NorthEast »

You could try the same act of plugging in the cable after the machine has booted and see what dmesg says, e.g. what is the output of:

Code: Select all

dmesg -w
Maybe something there.

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 392
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 90 times

Re: No HDMI output

#12 Post by bbbhltz »

Something to try...
  • Press the F2 (or whatever) at startup to get into the CMOS setup
  • Select Advanced
  • Select the Display mode and change it to Discrete GPU only
  • Save and exit...
Gaming laptops sometimes cannot dynamically switch between the 2 GPUs. I don't have a laptop like this but I've seen people running Linux on similar setups. If that option isn't in the CMOS I don't know.
bbbhltz
longtime desktop Linux user; eternal newbie

yankeeFarmer
Posts: 24
Joined: 2021-07-26 05:42
Has thanked: 1 time

Re: No HDMI output

#13 Post by yankeeFarmer »

bbbhltz wrote: 2024-01-28 07:46 Something to try...
  • Press the F2 (or whatever) at startup to get into the CMOS setup
  • Select Advanced
  • Select the Display mode and change it to Discrete GPU only
  • Save and exit...
Gaming laptops sometimes cannot dynamically switch between the 2 GPUs. I don't have a laptop like this but I've seen people running Linux on similar setups. If that option isn't in the CMOS I don't know.
I tried that. It won't even boot into the desktop, but hangs on an error, that I don't remember.

yankeeFarmer
Posts: 24
Joined: 2021-07-26 05:42
Has thanked: 1 time

Re: No HDMI output

#14 Post by yankeeFarmer »

After more research, it seems that what I have is a hybrid system, and my graphics processor (nVidia RTX 4050) is not currently supported by the Optimus driver or whatever they call it. Maybe in a future kernel or Debian release. Just goes to show the importance of research BEFORE buying....OTOH, it's hard to research something you've never even heard of.

dlu2021
Posts: 234
Joined: 2021-08-13 19:55
Location: Minnesota
Has thanked: 9 times
Been thanked: 44 times

Re: No HDMI output

#15 Post by dlu2021 »

Not saying if your card is covered or not by the driver in the repos, but there are special instructions just for Optimus:

https://wiki.debian.org/NVIDIA%20Optimus

I don't use Nvidia, but I was able to get an Optimus card on a laptop working with Debian a few years ago. After I did though didn't see any speed increase compared to the integrated GPU.

So I went into the BIOS and set it to only use the integrated graphics card, which I think was the opposite of what @bbbhltz suggested above. Not sure if that is an option with your laptop or not.

mrmazda
Posts: 595
Joined: 2023-06-02 02:22
Has thanked: 15 times
Been thanked: 75 times

Re: No HDMI output

#16 Post by mrmazda »

Given the 4050 introduction still isn't a year old yet, it doesn't surprise me that its support could be imperfect or even absent in Bookworm running its OEM kernel. You haven't provided device IDs for either GPU, so we don't know which CPU provides your Alder Lake P, or when it was introduced to market. inxi -Gaz could give us a better picture of what is happening, and/or not.

Some other distros have deprecated Optimus, suggesting something that generally includes prime in its name to replace it, e.g.: https://wiki.archlinux.org/title/PRIME

wadih
Posts: 3
Joined: 2022-01-12 19:55
Has thanked: 1 time

[SOLVED] Re: No HDMI output

#17 Post by wadih »

bbbhltz wrote: 2024-01-28 07:46 Something to try...
  • Press the F2 (or whatever) at startup to get into the CMOS setup
  • Select Advanced
  • Select the Display mode and change it to Discrete GPU only
  • Save and exit...
Gaming laptops sometimes cannot dynamically switch between the 2 GPUs. I don't have a laptop like this but I've seen people running Linux on similar setups. If that option isn't in the CMOS I don't know.
This was it in my case

I have a dual boot system with Windows, it was working with windows so it wasn't the cable or the port.

Went in bios and changed from switchable -> discrete, and HDMI port started working again

As a plus, brightness control in gnome started working again too
Last edited by wadih on 2024-08-17 10:21, edited 1 time in total.

jimbean803
Posts: 1
Joined: 2024-08-17 07:07

Re: No HDMI output

#18 Post by jimbean803 »

i had similar problem with an ami bios i had to go to chipset and enable audio dsp still not 100 percent working, but very usable

arzgi
Posts: 1832
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 107 times

Re: No HDMI output

#19 Post by arzgi »

wadih wrote: 2024-07-19 19:53
I have a dual boot system with Windows, it was working with windows so it wasn't the cable or the port.

Went in bios and changed from switchable -> discrete, and HDMI port started working again

As a plus, brightness control in gnome started working again too
Nice you found the solution!
Could you edit the header of your first post in the thread, and prepend it with [SOLVED].

wadih
Posts: 3
Joined: 2022-01-12 19:55
Has thanked: 1 time

Re: No HDMI output

#20 Post by wadih »

arzgi wrote: 2024-08-17 09:52 Nice you found the solution!
Could you edit the header of your first post in the thread, and prepend it with [SOLVED].
Sure, done! Might be slight delay as it is awaiting approval.

Post Reply