HDMI & Wayland issue

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
saliaku
Posts: 16
Joined: 2023-11-02 20:13
Location: somewhere in the biosphere
Been thanked: 1 time

HDMI & Wayland issue

#1 Post by saliaku »

Hello guys, I am using Debian 12 with GNOME DE on wayland. I am not able to connect to external monitor via hdmi port ?
Usually the option to share the screen comes in the gnome settings but now its now being shown..


edit 1: sudo journalctl --dmesg --follow I tried this command and found out that the system is not even detecting the external monitor connected through HDMI

edit 2: output of grep -s . /sys/class/drm/card*/card*/*

Code: Select all

 /sys/class/drm/card0/card0-eDP-1/connector_id:87
/sys/class/drm/card0/card0-eDP-1/dpms:On
grep: /sys/class/drm/card0/card0-eDP-1/edid: binary file matches
/sys/class/drm/card0/card0-eDP-1/enabled:enabled
/sys/class/drm/card0/card0-eDP-1/modes:1920x1080
/sys/class/drm/card0/card0-eDP-1/modes:1920x1080
/sys/class/drm/card0/card0-eDP-1/modes:1680x1050
/sys/class/drm/card0/card0-eDP-1/modes:1280x1024
/sys/class/drm/card0/card0-eDP-1/modes:1440x900
/sys/class/drm/card0/card0-eDP-1/modes:1280x800
/sys/class/drm/card0/card0-eDP-1/modes:1280x720
/sys/class/drm/card0/card0-eDP-1/modes:1024x768
/sys/class/drm/card0/card0-eDP-1/modes:800x600
/sys/class/drm/card0/card0-eDP-1/modes:640x480
/sys/class/drm/card0/card0-eDP-1/status:connected
/sys/class/drm/card0/card0-eDP-1/uevent:DEVTYPE=drm_connector

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

Re: HDMI & Wayland issue

#2 Post by arzgi »

HDMI is not the most reliable connector in Linux use, I use only Display Port.

But to your probmlem, when the monitor is connected, run

Code: Select all

arto@dell:~$ 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  
   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)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
arto@dell:~$ 

Post the output in code tags, which you nicely alreayd used. Probabley lot of is same, but I'd use xrandr instead of Gnome settings, so you could see possible errors, and paste them here. man xrandr tells more, there is no sense for me to copy it.

saliaku
Posts: 16
Joined: 2023-11-02 20:13
Location: somewhere in the biosphere
Been thanked: 1 time

Re: HDMI & Wayland issue

#3 Post by saliaku »

Code: Select all

Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080    143.88*+
   1440x1080    143.80  
   1400x1050    143.89  
   1280x1024    143.79  
   1280x960     143.86  
   1152x864     143.92  
   1024x768     143.87  
   800x600      143.83  
   640x480      143.85  
   320x240      142.05  
   1680x1050    143.88  
   1440x900     143.86  
   1280x800     143.84  
   1152x720     143.77  
   960x600      143.72  
   928x580      143.50  
   800x500      143.68  
   768x480      143.69  
   720x480      143.85  
   640x400      143.37  
   320x200      141.40  
   1600x900     143.93  
   1368x768     143.77  
   1280x720     143.67  
   1024x576     143.91  
   864x486      143.63  
   720x400      143.88  
   640x350      143.57  
this is the output. The display is not getting detected.. I don't know what exactly is the problem.
1.There is no problem with the external monitor or the HDMI cable. since it works perfectly fine with my desktop CPU

User avatar
Meow
Posts: 62
Joined: 2015-04-13 23:32
Has thanked: 25 times

Re: HDMI & Wayland issue

#4 Post by Meow »

Do you have an Optimus laptop? :mrgreen:

saliaku
Posts: 16
Joined: 2023-11-02 20:13
Location: somewhere in the biosphere
Been thanked: 1 time

Re: HDMI & Wayland issue

#5 Post by saliaku »

Meow wrote: 2024-12-20 17:48 Do you have an Optimus laptop? :mrgreen:
Sadly yes :(
wont HDMI work ?

saliaku
Posts: 16
Joined: 2023-11-02 20:13
Location: somewhere in the biosphere
Been thanked: 1 time

Re: HDMI & Wayland issue

#6 Post by saliaku »

But HDMI used to work for me earlier.. I don't know what happened in the past 2-3 months that made it stop working

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

Re: HDMI & Wayland issue

#7 Post by arzgi »

I have written this several times, but at least one time more :P

My wife bought a new monitor, plugged via HDMI to the that, booted some 30 times, monitor did not even blink any leds. She gave up, bought another from different manufacturer, that worked. I asked her to give her previous 'not working' monitor to me, connected with display port cable, and has not failed ever.

Here have been also reports from others of problems with HDMI.

User avatar
Meow
Posts: 62
Joined: 2015-04-13 23:32
Has thanked: 25 times

Re: HDMI & Wayland issue

#8 Post by Meow »

HDMI is fickle, especially with borderline cables and adapters.
Sometimes I just have to try a few different ones until I find a combination that works reliably, without sporadic blanking or even complete disappearance of the image.

mrmazda
Posts: 569
Joined: 2023-06-02 02:22
Has thanked: 15 times
Been thanked: 70 times

Re: HDMI & Wayland issue

#9 Post by mrmazda »

Is the problem exclusive to Gnome on Wayland? IOW, is failure equivalent if using X11 session instead of Wayland? Is result the same using IceWM or other WM or DE instead of Gnome? Gnome on Wayland logs to the systemd journal, so use journalctl to find error messages and other logged clues. When using neither Gnome nor Wayland, logging may be found in file Xorg.0.log found either in /var/log/ or in ~/.local/share/xorg/. More information might be useful to helping us help you. e.g.
  • xrandr --listproviders
  • xrandr --listmonitors
  • inxi -GSaz --vs

Post Reply