Hey everyone,
I am trying to connect a second monitor to my laptop through the HDMI port so I can use it more like a desktop. I am using Debian 12 and I've tested it with XFCE/KDE and SDDM/LightDM in case the problem was with the window/display manager. When I plug the monitor into the HDMI port nothing seems to happen, except for when I removed Nvidia drivers in which case plugging in the HDMI cable popped up a screen to allow me to select the type of output (mirror/extend) on the second monitor but nothing happens after clicking it and a similar window pops up when using XFCE. The output of xrandr on XFCE shows HDMI-1 as disconnected and the output when using KDE doesn't display it at all. There's nothing appearing in the kernel logs that seems relevant. I also checked acpi_listen and seen the following message appears when I plug HDMI in: video/switchmode VMOD 00000080 00000000, but once again the message only appears when the Nvidia drivers aren't installed and it's using the Nouveau ones. My laptop has 2 graphics cards, one is integrated with the Intel CPU and the other is a Nvidia graphics card. Both graphics card's show up on lshw and lspci and the external graphics card seems to work fine when running glxgears on it. The external card also appears as an HDMI audio output but just shows disconnected constantly.
Can anyone suggest anything I can do to try and narrow down what the problem might be? I have used the HDMI output before on Windows but unfortunately I don't have any other operating system installed at the moment to test if it's still working with windows. If I'm unable to think of anything else then my last resort will be to install windows, but that's really something I'd like to avoid if possible. The fact that the window pops up for selecting the display when using the Nouveau drivers, despite the fact that pop up doesn't do anything, make me think it's likely a driver/software problem than a hardware issue.
Edit* I also know the cable works as I've tested it on another setup.
Any help will be much appreciated.
Output of inxi -G
Graphics:
Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM206M [GeForce GTX 965M] driver: nvidia v: 525.105.17
Device-3: Chicony HP Wide Vision HD type: USB driver: uvcvideo
Display: wayland server: X.Org v: 1.22.1.9 with: Xwayland v: 22.1.9
compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
dri: iris gpu: i915 resolution: 1920x1080~60Hz
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 530 (SKL
GT2)
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Second monitor not detected through HDMI
Re: Second monitor not detected through HDMI
Use code tags to show this difference in xrandr output....
The output of xrandr on XFCE shows HDMI-1 as disconnected and the output when using KDE doesn't display it at all.
...
use code tags and show both....
Both graphics card's show up on lshw and lspci
...
Are you sure xrandr output is relevant when using wayland? Maybe you have an issue a little more complicated, posting the lspci would probably be best chance of getting help.Display: wayland server: X.Org v: 1.22.1.9 with: Xwayland v: 22.1.9
p.s. Code Tags!
resigned by AI ChatGPT
Re: Second monitor not detected through HDMI
Thanks for the reply. I'm not sure xrandr output is relevant at all tbh, I don't know much about wayland as I've never used it before updating to bookworm. All I know is that when typing xrandr on wayland, it displays my built-in monitor but nothing else, as if the HDMI port doesn't exist.
Output of lspci:
Output of lshw -c video:
Output of xrandr on XFCE:
Output of xrandr on KDE (wayland):
Output of lspci:
Code: Select all
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #6 (rev f1)
00:1c.6 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #7 (rev f1)
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation HM170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation GM206M [GeForce GTX 965M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GM206 High Definition Audio Controller (rev a1)
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
08:00.0 Network controller: Intel Corporation Wireless 7265 (rev 61)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
0a:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980
Code: Select all
*-display
description: 3D controller
product: GM206M [GeForce GTX 965M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:16 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128) memory:a4080000-a40fffff
*-display
description: VGA compatible controller
product: HD Graphics 530
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 06
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: irq:16 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff
Code: Select all
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 194mm
1920x1080 60.02*+ 59.93 40.03
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1368x768 59.88 59.85
1280x800 59.97 59.81 59.91
1280x720 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
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
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 disconnected (normal left inverted right x axis y axis)
Code: Select all
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
1920x1080 59.96*+
1440x1080 59.99
1400x1050 59.98
1280x1024 59.89
1280x960 59.94
1152x864 59.96
1024x768 59.92
800x600 59.86
640x480 59.38
320x240 59.52
1680x1050 59.95
1440x900 59.89
1280x800 59.81
720x480 59.71
640x400 59.95
320x200 58.96
1600x900 59.95
1368x768 59.88
1280x720 59.86
1024x576 59.90
864x486 59.92
720x400 59.55
640x350 59.77
Re: Second monitor not detected through HDMI
Is this relevant?Can anyone suggest anything I can do to try and narrow down what the problem might be?
https://wiki.debian.org/NVIDIA%20Optimus
If yes, I can understand why you're having trouble.
ain't that special?I have used the HDMI output before on Windows
resigned by AI ChatGPT
Re: Second monitor not detected through HDMI
Yes I have already read through that page. The reason I made the comment about it working on Windows is to show that it's unlikely to be a hardware problem, I honestly didn't think there would be anyone here so stupid as to misconstrue my comment, but yet here you are, so my sincerest apologies for upsetting you by mentioning the word Windows (I guess it's a swear word around here). This forum is a waste of time with unhelpful trolls like you lurking around on the forums just to make unhelpful and slightly rude comments, I'll try somewhere else.bw123 wrote: ↑2023-07-06 23:35Is this relevant?Can anyone suggest anything I can do to try and narrow down what the problem might be?
https://wiki.debian.org/NVIDIA%20Optimus
If yes, I can understand why you're having trouble.
ain't that special?I have used the HDMI output before on Windows
Thanks anyway.
Re: Second monitor not detected through HDMI
I apologize for trolling you after you posted a question knowing you had an optimus system, but leaving that fact out of your post.Yes I have already read through that page.
Do you have anything further to add to this or should I taunt you again?
Keep on, you'll see the real me in a minute....slightly rude comments,
resigned by AI ChatGPT
- FreewheelinFrank
- Global Moderator
- Posts: 2120
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 232 times
Re: Second monitor not detected through HDMI
Please observe forum rules: be polite, and do not engage in flame wars.bw123 wrote: ↑2023-07-07 00:00I apologize for trolling you after you posted a question knowing you had an optimus system, but leaving that fact out of your post.Yes I have already read through that page.
Do you have anything further to add to this or should I taunt you again?
Keep on, you'll see the real me in a minute....slightly rude comments,
viewtopic.php?t=149781
-
- Posts: 263
- Joined: 2023-03-02 05:26
- Location: USA
- Has thanked: 50 times
- Been thanked: 60 times
- Contact:
Re: Second monitor not detected through HDMI
@tomcass
The relevant section from NVIDIA Optimius "https://wiki.debian.org/NVIDIA%20Optimus"
Probably best debugged on X first (NVIDIA and Wayland really don't mix).
Please see this thread with almost the exact same issue as you.
viewtopic.php?t=154216
The relevant section from NVIDIA Optimius "https://wiki.debian.org/NVIDIA%20Optimus"
In Wayland "Xrandr" displays info about a dummy X server related to XWayland (for backwards compatibility with X) and won't be very useful for finding errors. (Wayland has no equivalent diagnostic tool for most compositors, for Wayland roots i.e sway, wlr-randr is an option).The situation is further complicated by the fact that some laptop models have all external display connectors hardwired to the onboard GPU the same way the internal screen is, some have all external display connectors wired to the discrete GPU, and some have a mix. In order to take advantage of Optimus and also have full use of external displays, different configuration is required depending on the hardware variant. There appears to be no way to query the system for this information, which leaves trial and error: try the configurations for each hardware variant until one works.
Probably best debugged on X first (NVIDIA and Wayland really don't mix).
Please see this thread with almost the exact same issue as you.
viewtopic.php?t=154216
Be seeing you...