You are not logged in.

#1 2025-05-07 16:13:07

bocephus
Member
Registered: 2025-05-07
Posts: 7

hdmi issues

Hello all, first off i am newer to linux and arch and have spent countless hours trying to fix my issue using arch wiki, hyprland wiki and web searches. All with no success. But with that being said i do think its probably something simple I am missing.

My issue is that my hdmi port causes a login loop. I am using hyprland and if my hdmi cable is plugged in when i try to login from my sddm login menu i get a black screen and am reverted back to the sddm login screen. I am unable to login until i unplug the hdmi cable. And if i try to plug in the hdmi cable once logged in successfully it will again boot me back to the sddm login until i unplug it.

I am using nouveau drivers with my asus UX51VZA. it has both an intel and nvidia gpu. here is fast fetch.

                                           

 Kernel: Linux 6.12.27-1-lts
                                            Uptime: 1 hour, 1 min
                                            Packages: 947 (pacman)
                                            Theme: Fusion [Qt], Arc-Dark [GTK2/3]
                                            Host: UX51VZA (1.0)
                                            Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
                                            Font: Sans Serif (9pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
                                            Cursor: breeze (24px)
                                            Terminal Font: NotoSansMono-Regular (11pt)
                                            CPU: Intel(R) Core(TM) i7-3612QM (8) @ 3.10 GHz
                                            GPU 1: NVIDIA GeForce GT 650M [Discrete]
                                            GPU 2: Intel 3rd Gen Core processor Graphics Controller @ 1.10 GHz [Integrated]
                                            Memory: 3.19 GiB / 7.64 GiB (42%)
                                            Swap: 0 B / 3.82 GiB (0%)
                                            Disk (/): 15.54 GiB / 115.83 GiB (13%) - ext4
                                            Disk (/mnt/external-hdd): 70.28 GiB / 228.17 GiB (31%) - ext4

I had started trying to setup proprietary nvidia drivers, all of which never seemed to be loaded when i used nvidia-smi. I also loaded the original hyprland.conf file to see if my settings were causing the issue. this also did not help.

Finally the reason i feel its prob an easy fix is that i installed kde desktop environment, and when i log into kde wayland everything works with no issue.

another thing I am not sure if will help is that im getting these errors related to crtc in my journalctl.

May 07 10:57:55 home kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
May 07 10:57:55 home kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
May 07 10:57:57 home kernel: evdi evdi.0: [drm] Cannot find any crtc or sizes
May 07 10:57:57 home kernel: evdi evdi.1: [drm] Cannot find any crtc or sizes

one difference i noticed between kde and hyprland is that the WAYLAND_DISPLAY=wayland-0 on kde but on hyprland it is WAYLAND_DISPLAY=wayland-1. i tried modifying my hyprand.conf file by adding env = HYPRLAND_WAYLAND=wayland-0. Which again had no affect.

thanks for anyone taking the time to read this and hope it is something simple I am missing.

Last edited by bocephus (2025-05-08 19:01:45)

Offline

#2 2025-05-07 20:58:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,254

Re: hdmi issues

Hyprland likely crashes, check your system journal and also https://wiki.archlinux.org/title/Core_d … _core_dump
Then post your hyprland config.

                                            GPU 1: NVIDIA GeForce GT 650M [Discrete]
                                            GPU 2: Intel 3rd Gen Core processor Graphics Controller @ 1.10 GHz [Integrated]

The card order looks reversed, not idea whether this could freak out hyprland, but electron is OTR for stumbling over that.
Add "nvidia_drm.modeset=1" to the https://wiki.archlinux.org/title/Kernel_parameters (regardless of whether you're using the binary driver or this is actually also the module default - the parameter will implciitly block the simpledrm device and hopefully restore the normal card order)

Offline

#3 2025-05-08 00:38:02

bocephus
Member
Registered: 2025-05-07
Posts: 7

Re: hdmi issues

Hey there thanks so much for your reply!

I had tried adding the nvidia_drm.modset=1 prior with no success. Still not helping with the issue however i do notice initial loading of system dialog to be different. Prior it would take about half way thru loading dialog for font to reduce in size and not look so pixelated whereas now it seems to be good right from the sddm menu.

I tried using journal and coredump but am quite new to this and as such not sure that I am doing things right lol.
i ran

coredumpctl list

and this was present a bunch of times:

 634    0    0 SIGABRT inaccessible /usr/lib/Xorg 

so i than ran

coredumpctl info 634

which has this corresponding line:

Storage: /var/lib/systemd/coredump/core.Xorg.0.39a51768b6d54c4c8f17fb4471a870df.634.1746662642000000.zst (inaccessible)

not sure this helps at all, but thought I would throw it out there. I am new to coredumps and journalsand am currently going over arch wiki and researching trying to learn more and find more that can help and will post back with anymore findings, thanks again.

Last edited by bocephus (2025-05-08 19:00:27)

Offline

#4 2025-05-08 00:53:57

bocephus
Member
Registered: 2025-05-07
Posts: 7

Re: hdmi issues

here is link to my hyprland.conf file

http://0x0.st/8J6N.conf

Last edited by bocephus (2025-05-08 18:57:44)

Offline

#5 2025-05-08 01:00:36

bocephus
Member
Registered: 2025-05-07
Posts: 7

Re: hdmi issues

have just run

journalctl | grep HDMI

and returned these lines that seem relevant as well:

May 07 10:51:25 home kernel: snd_hda_codec_hdmi hdaudioC2D0: HDMI: Unknown ELD version 0
May 07 10:51:33 home org_kde_powerdevil[1118]: [  1212] Emitting DDCA_Display_Status_Event[ 28.935:  DDCA_EVENT_DISPLAY_CONNECTED, card0-HDMI-A-1, dref: DDCA_Display_Ref[3], io_path:/dev/i2c-10, ddc working: false]
May 07 10:51:33 home org_kde_powerdevil[1118]: [  1211] Emitting DDCA_Display_Status_Event[ 29.461:  DDCA_EVENT_DDC_ENABLED, card0-HDMI-A-1, dref: DDCA_Display_Ref[3], io_path:/dev/i2c-10, ddc working: false]

Last edited by bocephus (2025-05-08 18:56:54)

Offline

#6 2025-05-08 05:41:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,254

Re: hdmi issues

Please don't bump. Edit your previous post to mend it if nobody has replied yet.
Please use [code][/code] tags. Edit your post in this regard.

i ran "coredumpctl list" and this was present a bunch of times:
634    0    0 SIGABRT inaccessible /usr/lib/Xorg

You're looking for Hyprland crashes.

The by far most obvious contender is

# See https://wiki.hyprland.org/Configuring/Monitors/

#monitor=,preferred,auto,auto
monitor=HDMI-A-1,1360x768@60,0x0,1
monitor=DVI-I-2,1920x1080@144,800x1080,1
monitor=DVI-I-1,1920x1080@144,2720x1080,1
monitor=eDP-1,1920x1080@60,2520x2160,1

workspace = 1, monitor:HDMI-A-1
workspace = name:1a, monitor:HDMI-A-1
workspace = 2, monitor:DVI-I-2
workspace = name:2a, monitor:DVI-I-2
workspace = 3, monitor:DVI-I-1
workspace = name:3a, monitor:DVI-I-1
workspace = 4, monitor:eDP-1
workspace = name:4a, monitor:eDP-1
#workspace = 10, on-created-empty:[float] firefox--> this to open ap on window open

Comment all of that, try again.

Otherwise:

have just run "journalctl | grep HDMI" and returned these lines that seem relevant as well:

is unlikely to produce meaningful outputs.

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#7 2025-05-08 19:13:16

bocephus
Member
Registered: 2025-05-07
Posts: 7

Re: hdmi issues

hello again and thanks for the pointers. I am assuming by bump you mean posting repeatedly to gain attention. Which was not my intent but i can see the issue and will edit posts if noone has replied in future, thank you and let me know if i misunderstood.

I also went back to edit previous posts with code tags and add 0x0 link for conf file, I hope what I did is correct.

I reran

coredumpctl list | grep Hyprland

the only thing that was repeated was this:

 EDT   850 1000 1000 SIGABRT present      /usr/bin/Hyprland  

I tried commenting out the monitors and workspaces and the issue persists. also again ran

journalctl | grep HDMI

again which did not seem to have any useful output.

lastly here is a link for journalctl -b as requested: http://0x0.st/8J6A.txt

thanks again for your help.

Last edited by bocephus (2025-05-08 19:15:24)

Offline

#8 2025-05-08 21:13:42

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,254

Re: hdmi issues

May 08 12:18:51 home kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
May 08 12:18:51 home kernel: nouveau 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
May 08 12:18:52 home kernel: evdi: [I] (card2) Opened by Task 611 (DisplayLinkMana) of process 597 (DisplayLinkMana)
May 08 12:18:52 home kernel: evdi evdi.0: [drm] Cannot find any crtc or sizes

EDT   850 1000 1000 SIGABRT present      /usr/bin/Hyprland

Means that Hyprland aborts. What does the backtrace look like?
Though it'll likely also post an error message, https://wiki.hyprland.org/Crashes-and-Bugs/

Offline

#9 2025-05-08 22:04:56

bocephus
Member
Registered: 2025-05-07
Posts: 7

Re: hdmi issues

Here is crash report, and as for the DisplayLinkMana stuff i do also have 2 monitors connected via displaylink hub, which are currently not working under stable kernel but work under lts kernel which is what i have been using. Also I have not mention that the hdmi ,displaylink and everything worked fine for quite some time until a few updates ago. Thanks as always!

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
This was an accident, I swear!

Hyprland received signal 11(SEGV)
Version: 29e2e59fdbab8ed2cc23a20e3c6043d5decb5cdc
Tag: v0.48.1
Date: Fri Mar 28 16:16:07 2025
Flags:

System info:
	System name: Linux
	Node name: home
	Release: 6.12.27-1-lts
	Version: #1 SMP PREEMPT_DYNAMIC Mon, 05 May 2025 14:13:34 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GT 650M] [10de:0fd1] (rev a1) (prog-if 00 [VGA controller])


os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo
Backtrace:
	# | Hyprland(_Z12getBacktracev+0x61) [0x567fe4c034c1]
		getBacktrace()
		??:?
	#1 | Hyprland(_ZN14NCrashReporter18createAndSaveCrashEi+0x111f) [0x567fe4b5fb4f]
		NCrashReporter::createAndSaveCrash(int)
		??:?
	#2 | Hyprland(+0x2074d8) [0x567fe4ad64d8]
		CCompositor::getMonitorFromCursor()
		??:?
	#3 | /usr/lib/libc.so.6(+0x3def0) [0x7ed57ec4def0]
		??
		??:0


Log tail:
[LOG] New monitor: WORKSPACEID 4, exists: 0
[LOG] [hookSystem] New hook event registered: createWorkspace
[LOG] [AQ] GBM: Automatically selected format AR24 for new GBM buffer
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LINEAR
[LOG] [AQ] GBM: Automatically selected format AR24 for new GBM buffer
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LINEAR
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 256, y: 256] AR24 of length 2
[LOG] Shaders initialized successfully.
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 94
[LOG] [IWaylandProtocol] Registered global [WLOutput (eDP-1)]
[LOG] arrangeMonitors: 1 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [2520, 2160]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] [CXDGOutputProtocol] updating all xdg_output heads
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 94
[LOG] Executing systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME PATH XDG_DATA_DIRS && hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE QT_QPA_PLATFORMTHEME PATH XDG_DATA_DIRS
[LOG] Process Created with pid 958
[LOG] Executing /usr/lib/polkit-kde-authentication-agent-1
[LOG] Process Created with pid 961
[LOG] Executing hyprpaper & waybar & swaync & hypridle
[LOG] Process Created with pid 963
[LOG] Applying monitor rule for eDP-1
[LOG] Not applying a new rule to eDP-1 because it's already applied!
[LOG] [CXDGOutputProtocol] updating all xdg_output heads
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 94
[LOG] [hookSystem] New hook event registered: render
[LOG] Monitor eDP-1 -> destroyed all render data
[LOG] Shaders initialized successfully.
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[ERR] [AQ] drm: Cannot commit when a page-flip is awaiting
[ERR] [AQ] drm: Cannot commit when a page-flip is awaiting
[WARN] FIXME: color management protocol is enabled and outputs changed, check preferred image description changes
[LOG] New output with name HDMI-A-1
[LOG] Applying monitor rule for HDMI-A-1
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1360, y: 768] and format XR24 with modifier 72057594037927937 aka X_TILED
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1360, y: 768] and format XR24 with modifier 72057594037927937 aka X_TILED
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1360, y: 768] XR24 of length 2
[LOG] CMonitorState::ensureBufferPresent: no buffer or mismatched format, attaching one from the swapchain for modeset being possible
[LOG] Monitor HDMI-A-1: requested 1360x768@60.00Hz, using preferred mode 1360x768@60.01Hz
[LOG] output HDMI-A-1 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] drm: Modesetting HDMI-A-1 with 1360x768@60.01Hz
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1360, y: 768] and format XR24 with modifier 216172782119018516 aka BLOCK_LINEAR_2D,HEIGHT=4,KIND=254,GEN=0,SECTOR=1,COMPRESSION=0
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1360, y: 768] and format XR24 with modifier 216172782119018516 aka BLOCK_LINEAR_2D,HEIGHT=4,KIND=254,GEN=0,SECTOR=1,COMPRESSION=0
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1360, y: 768] XR24 of length 2
[LOG] [AQ] EGL (blit): No attachment in from, creating a new image
[ERR] [EGL] Command eglCreateImageKHR errored out with EGL_BAD_MATCH (0x12297): createImageFromDmaBufs failed
[ERR] [AQ] EGL: EGLCreateImageKHR failed: 12297
[ERR] [AQ] EGL (glTex): createEGLImage failed: 12288
[LOG] [AQ] EGL (blit): Failed to create image from source buffer directly, allocating intermediate buffer
[LOG] [AQ] EGL (blit): No attachment in to, creating a new image

Offline

#10 2025-05-09 06:44:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,254

Re: hdmi issues

CCompositor::getMonitorFromCursor()
---
[ERR] [AQ] drm: Cannot commit when a page-flip is awaiting
[ERR] [AQ] drm: Cannot commit when a page-flip is awaiting
[EGL] Command eglCreateImageKHR errored out with EGL_BAD_MATCH (0x12297): createImageFromDmaBufs failed
[ERR] [AQ] EGL: EGLCreateImageKHR failed: 12297
[ERR] [AQ] EGL (glTex): createEGLImage failed: 12288

You did comment out all monitor and workspace lines in yoru config?
Can you start weston/sway/openbox and run "eglinfo -B"?

Offline

#11 2025-05-20 15:26:45

bocephus
Member
Registered: 2025-05-07
Posts: 7

Re: hdmi issues

hey again sorry for delay. I did comment out monitors as well as try stock hyprland.conf when troubleshooting but reenabled them to continue use when nothing was working. I can rerun anything needed with original conf if helps just let me know.

I have been messing about a lot lately. I have installed other instances of arch like i3 and sway and none have any issues with the hdmi.
Also when installing a fresh arch hyprland, the hdmi works fine after initial successful install and reboot. However as soon as i reboot a second time it reverts back to the issue of not logging in from sddm when hdmi is plugged in and booting me to sddm login if i try to plug in hdmi once i am logged in successfully. This also all happens before i install any packages add or edit any files or do anything.

here is a link to eglinfo -B for my current arch hyprland system: https://0x0.st/8weq.txt
and here is a link to eglinfo -B for a fresh install of arch sway on same laptop but different drive: https://0x0.st/8weo.txt

thanks again for any help.

Offline

Board footer

Powered by FluxBB