You are not logged in.
Hi,
I am trying to fix an issue with my multi-head setup since the last pacman update.
I have 2 monitors connected, the Primary (right-hand side) is connected on DP-3 and is working fine, the Secondary (left-hand side) is connected on HDMI-1 and is not working correctly. The monitor is being detected by the system, but stays in sleep mode.
From boot, the second display is asleep during bootloader (which is normal as it always has been), but when I reach my sddm greeter, it flicks on briefly but then goes to sleep mode. If I log in to i3, it does not wake up and stays asleep, but is detected by xrandr.
~ ∮ xrandr | grep -w connected
DP-3 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
HDMI-1 connected (normal left inverted right x axis y axis)I am able to restore it's functionality by a simply restarting i3wm. When I do
killall on i3, it kicks me back to sddm and the second monitor wakes up and displays as normal, I can then log back in to i3 and dual monitor setup works.
I have tried another
pacman -Syubut it is still broken.
Any ideas?
Also, this is my xorg config:
~ ∮ cat /etc/X11/xorg.conf.d/20-settings.conf
Section "ServerFlags"
Option "Blanktime" "0"
EndSection
~ ∮ cat /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "DP-3"
Option "Primary" "true"
Option "DPMS" "false"
EndSection
Section "Monitor"
Identifier "HDMI-1"
Option "LeftOf" "DP-3"
Option "DPMS" "false"
EndSection
Section "Extensions"
Option "DPMS" "Disable"
EndSectionLast edited by coxe87b (2023-03-10 08:21:34)
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline
xrandr | grep -w connected
Don't grep.
I guess when this happens a mere
xrandr --output HDMI-1 --auto --left-of DP-3 will do?
It's likely SDDM that disables the output then. You could use the Xset script to convince it otherwise…
https://wiki.archlinux.org/title/SDDM#L … ed_display
Offline
I guess when this happens a mere
xrandr --output HDMI-1 --auto --left-of DP-3will do?
Yes, that works. The screen awakens and goes where it is supposed to.
It's likely SDDM that disables the output then. You could use the Xset script to convince it otherwise…
https://wiki.archlinux.org/title/SDDM#L … ed_display
Thank you for the suggestion. I did try that to no avail however.
Here is full output of xrandr:
~ ∮ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
DP-3 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 144.00*+ 120.00 59.99 99.95 59.96 59.95
1920x1440 85.00 75.00 60.00
1856x1392 75.00 60.01
1792x1344 75.00 60.01
2048x1152 59.99 59.98 59.90 59.91
1920x1200 144.00 59.88 59.95
1920x1080 60.01 59.97 59.96 60.00 50.00 59.94 59.93
1600x1200 144.00 85.00 75.00 70.00 65.00 60.00
1680x1050 59.95 59.88
1400x1050 74.76 59.98
1600x900 59.99 59.94 59.95 60.00 59.82
1280x1024 85.02 75.02 60.02
1440x900 59.89
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 60.00 50.00 59.94 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
720x576 50.00
700x525 74.76 59.98
800x450 59.95 59.82
720x480 60.00 59.94
640x512 85.02 75.02 60.02
700x450 59.96 59.88
640x480 85.09 60.00 85.01 75.00 72.81 75.00 66.67 60.00 59.94
720x405 59.51 58.99
720x400 85.04 70.08
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)
HDMI-1 connected (normal left inverted right x axis y axis)
1920x1080 60.00 + 59.96 50.00 59.94 59.93
1680x1050 59.95 59.88
1400x1050 74.76 59.98
1600x900 59.95 60.00 59.82
1280x1024 75.02 60.02
1440x900 60.00
1400x900 59.96 59.88
1280x960 60.00
1440x810 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 60.00 50.00 59.94 59.74
1024x768 75.05 60.04 75.03 70.07 60.00
960x720 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 75.00 70.00 65.00 60.00 72.19 75.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
720x576 50.00
700x525 74.76 59.98
800x450 59.95 59.82
720x480 60.00 59.94
640x512 75.02 60.02
700x450 59.96 59.88
640x480 60.00 75.00 72.81 75.00 60.00 59.94
720x405 59.51 58.99
720x400 70.08
684x384 59.88 59.85
640x400 59.88 59.98
576x432 75.00
640x360 59.86 59.83 59.84 59.32
512x384 75.03 70.07 60.00
512x288 60.00 59.92
416x312 74.66
480x270 59.63 59.82
400x300 72.19 75.12 60.32 56.34
432x243 59.92 59.57
320x240 72.81 75.00 60.05
360x202 59.51 59.13
320x180 59.84 59.32And:
~ ∮ cat /usr/share/sddm/scripts/Xsetup
#!/bin/sh
# Xsetup - run as root before the login dialog appears
xrandr --output DP-3 --auto --primary
xrandr --output HDMI-1 --auto --left-of DP-3Short of adding in
xrandr --output HDMI-1 --auto --left-of DP-3to my .profile or i3 config, is there a cleaner way to handle this?
As an aside, what could have caused this issue to arise in my last update? I looked through https://github.com/archlinux/svntogit-p … sddm/trunk for an indication but I don't think there is anything there that aligns with the problem (not that I really know what I'm looking at).
Here are the package changes since the issue arose (truncated 'cat /var/log/pacman.log' to show only from 13th);
[2022-12-13T21:51:54+1100] [PACMAN] Running 'pacman -S polybar'
[2022-12-13T21:54:49+1100] [PACMAN] Running 'pacman -S polybar'
[2022-12-13T21:55:02+1100] [ALPM] transaction started
[2022-12-13T21:55:02+1100] [ALPM] removed polybar-git (3.5.7.r228.g52992c58-1)
[2022-12-13T21:55:02+1100] [ALPM] installed polybar (3.6.3-2)
[2022-12-13T21:55:02+1100] [ALPM] transaction completed
[2022-12-13T21:55:02+1100] [ALPM] running '30-systemd-update.hook'...
[2022-12-13T21:59:01+1100] [PACMAN] Running 'pacman --sync -- community/python-pywal community/calc'
[2022-12-13T21:59:04+1100] [ALPM] transaction started
[2022-12-13T21:59:04+1100] [ALPM] installed python-pywal (3.3.0-5)
[2022-12-13T21:59:04+1100] [ALPM] installed calc (2.14.1.0-1)
[2022-12-13T21:59:04+1100] [ALPM] transaction completed
[2022-12-13T21:59:04+1100] [ALPM] running '30-systemd-update.hook'...
[2022-12-13T21:59:04+1100] [PACMAN] Running 'pacman --database --asdeps -- python-pywal calc'
[2022-12-13T21:59:11+1100] [PACMAN] Running 'pacman --upgrade --noconfirm -- /home/ewan/.cache/paru/clone/networkmanager-dmenu-git/networkmanager-dmenu-git-r165.60c12b5-1-any.pkg.tar.zst'
[2022-12-13T21:59:11+1100] [ALPM] transaction started
[2022-12-13T21:59:11+1100] [ALPM] installed networkmanager-dmenu-git (r165.60c12b5-1)
[2022-12-13T21:59:11+1100] [ALPM-SCRIPTLET]
[2022-12-13T21:59:11+1100] [ALPM-SCRIPTLET] To customize dmenu, copy /usr/share/doc/networkmanager-dmenu-git/config.ini.example into ~/.config/networkmanager-dmenu/config.ini and edit:
[2022-12-13T21:59:11+1100] [ALPM-SCRIPTLET]
[2022-12-13T21:59:12+1100] [ALPM] transaction completed
[2022-12-13T21:59:12+1100] [ALPM] running '30-systemd-update.hook'...
[2022-12-13T21:59:12+1100] [ALPM] running 'update-desktop-database.hook'...
[2022-12-13T21:59:12+1100] [PACMAN] Running 'pacman --database --asdeps -- networkmanager-dmenu-git'
[2022-12-13T22:14:46+1100] [PACMAN] Running 'pacman --upgrade --noconfirm -- /home/ewan/.cache/paru/clone/polybar-themes-git/polybar-themes-git-1:r28.c80ad81-1-any.pkg.tar.zst'
[2022-12-13T22:14:46+1100] [ALPM] transaction started
[2022-12-13T22:14:46+1100] [ALPM] installed polybar-themes-git (1:r28.c80ad81-1)
[2022-12-13T22:14:46+1100] [ALPM] transaction completed
[2022-12-13T22:14:46+1100] [PACMAN] Running 'pacman --database --asexplicit -- polybar-themes-git'
[2022-12-13T23:00:42+1100] [PACMAN] Running 'pacman -S powerline'
[2022-12-13T23:00:43+1100] [ALPM] transaction started
[2022-12-13T23:00:43+1100] [ALPM] installed powerline-common (2.8.3-1)
[2022-12-13T23:00:43+1100] [ALPM] installed python-powerline (2.8.3-1)
[2022-12-13T23:00:43+1100] [ALPM] installed powerline (2.8.3-1)
[2022-12-13T23:00:43+1100] [ALPM] transaction completed
[2022-12-13T23:00:43+1100] [ALPM] running '30-systemd-update.hook'...
[2022-12-14T16:58:39+1100] [PACMAN] Running 'pacman -Syu'
[2022-12-14T16:58:39+1100] [PACMAN] synchronizing package lists
[2022-12-14T16:58:40+1100] [PACMAN] starting full system upgrade
[2022-12-14T16:59:41+1100] [ALPM] running '60-mkinitcpio-remove.hook'...
[2022-12-14T16:59:41+1100] [ALPM] running 'texinfo-remove.hook'...
[2022-12-14T16:59:41+1100] [ALPM] transaction started
[2022-12-14T16:59:41+1100] [ALPM] upgraded krb5 (1.20-3 -> 1.20.1-1)
[2022-12-14T16:59:41+1100] [ALPM] upgraded systemd-libs (252.2-2 -> 252.3-1)
[2022-12-14T16:59:41+1100] [ALPM] upgraded ca-certificates-mozilla (3.85-1 -> 3.86-1)
[2022-12-14T16:59:41+1100] [ALPM] upgraded binutils (2.39-3 -> 2.39-4)
[2022-12-14T16:59:41+1100] [ALPM] upgraded libxau (1.0.10-2 -> 1.0.11-1)
[2022-12-14T16:59:41+1100] [ALPM] upgraded libxdamage (1.1.5-5 -> 1.1.6-1)
[2022-12-14T16:59:41+1100] [ALPM] upgraded hwdata (0.364-1 -> 0.365-1)
[2022-12-14T16:59:41+1100] [ALPM] upgraded systemd (252.2-2 -> 252.3-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded libxcomposite (0.4.5-4 -> 0.4.6-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded tracker3 (3.4.1-1 -> 3.4.2-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded libxshmfence (1.3.1-1 -> 1.3.2-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded libxv (1.0.11-5 -> 1.0.12-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded libice (1.0.10-4 -> 1.1.1-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded libcheese (43alpha+r8+g1de47dbc-1 -> 43.0-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded libass (0.16.0-1 -> 0.17.0-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded zvbi (0.2.37-1 -> 0.2.38-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded libbluray (1.3.3-1 -> 1.3.4-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded rav1e (0.5.1-2 -> 0.6.1-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded sdl2 (2.26.0-1 -> 2.26.1-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded svt-av1 (1.3.0-1 -> 1.4.0-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded nss (3.85-1 -> 3.86-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded imagemagick (7.1.0.53-1 -> 7.1.0.54-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded cheese (43alpha+r8+g1de47dbc-1 -> 43.0-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded containerd (1.6.10-1 -> 1.6.12-1)
[2022-12-14T16:59:42+1100] [ALPM] upgraded re2 (1:20220601-1 -> 1:20221201-2)
[2022-12-14T16:59:43+1100] [ALPM] upgraded electron (20.0.3-3 -> 20.3.8-1)
[2022-12-14T16:59:43+1100] [ALPM] upgraded electron19 (19.1.4-3 -> 19.1.9-1)
[2022-12-14T16:59:43+1100] [ALPM] upgraded exempi (2.6.2-1 -> 2.6.3-1)
[2022-12-14T16:59:43+1100] [ALPM] upgraded libarchive (3.6.1-5 -> 3.6.2-2)
[2022-12-14T16:59:43+1100] [ALPM] upgraded extra-cmake-modules (5.100.0-1 -> 5.101.0-1)
[2022-12-14T16:59:43+1100] [ALPM] upgraded fd (8.5.3-1 -> 8.6.0-1)
[2022-12-14T16:59:43+1100] [ALPM] upgraded firefox (107.0.1-1 -> 108.0-1)
[2022-12-14T16:59:44+1100] [ALPM] upgraded jasper (3.0.6-1 -> 4.0.0-1)
[2022-12-14T16:59:44+1100] [ALPM] upgraded libraw (0.20.2-2 -> 0.20.2-3)
[2022-12-14T16:59:44+1100] [ALPM] upgraded suitesparse (6.0.1-1 -> 6.0.2-1)
[2022-12-14T16:59:44+1100] [ALPM] upgraded gegl (0.4.40-1 -> 0.4.40-2)
[2022-12-14T16:59:44+1100] [ALPM] upgraded git (2.38.1-2 -> 2.39.0-1)
[2022-12-14T16:59:45+1100] [ALPM] upgraded go (2:1.19.3-1 -> 2:1.19.4-1)
[2022-12-14T16:59:45+1100] [ALPM] upgraded grub (2:2.06.r380.g151467888-1 -> 2:2.06.r403.g7259d55ff-1)
[2022-12-14T16:59:45+1100] [ALPM-SCRIPTLET] :: To use the new features provided in this GRUB update, it is recommended
[2022-12-14T16:59:45+1100] [ALPM-SCRIPTLET] to install it to the MBR or UEFI. Due to potential configuration
[2022-12-14T16:59:45+1100] [ALPM-SCRIPTLET] incompatibilities, it is advised to run both, installation and generation
[2022-12-14T16:59:45+1100] [ALPM-SCRIPTLET] of configuration:
[2022-12-14T16:59:45+1100] [ALPM-SCRIPTLET] $ grub-install ...
[2022-12-14T16:59:45+1100] [ALPM-SCRIPTLET] $ grub-mkconfig -o /boot/grub/grub.cfg
[2022-12-14T16:59:45+1100] [ALPM] upgraded xorg-xprop (1.2.5-1 -> 1.2.6-1)
[2022-12-14T16:59:45+1100] [ALPM] upgraded xorg-xset (1.2.4-3 -> 1.2.5-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded qt5-base (5.15.7+kde+r176-1 -> 5.15.7+kde+r177-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded karchive (5.100.0-1 -> 5.101.0-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded kcoreaddons (5.100.0-1 -> 5.101.0-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded kauth (5.100.0-1 -> 5.101.0-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded qt5-declarative (5.15.7+kde+r23-1 -> 5.15.7+kde+r25-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded qt5-wayland (5.15.7+kde+r55-1 -> 5.15.7+kde+r56-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded kguiaddons (5.100.0-1 -> 5.101.0-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded kwindowsystem (5.100.0-1 -> 5.101.0-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded lib32-libsm (1.2.3-1 -> 1.2.3-2)
[2022-12-14T16:59:46+1100] [ALPM] upgraded lib32-libxdmcp (1.1.3-2 -> 1.1.4-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded lib32-nss (3.85-1 -> 3.86-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded lib32-systemd (252.2-1 -> 252.3-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded libcddb (1.3.2-6 -> 1.3.2-7)
[2022-12-14T16:59:46+1100] [ALPM] upgraded libfontenc (1.1.6-1 -> 1.1.7-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded liblouis (3.23.0-1 -> 3.24.0-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded libmpc (1.2.1-2 -> 1.3.0-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded libusb-compat (0.1.7-1 -> 0.1.8-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded libxkbfile (1.1.1-1 -> 1.1.2-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded libxres (1.2.1-1 -> 1.2.2-1)
[2022-12-14T16:59:46+1100] [ALPM] upgraded mkinitcpio (33-1 -> 34-2)
[2022-12-14T16:59:47+1100] [ALPM] upgraded linux (6.0.11.arch1-1 -> 6.0.12.arch1-1)
[2022-12-14T16:59:47+1100] [ALPM] upgraded linux-zen (6.0.11.zen1-1 -> 6.0.12.zen1-1)
[2022-12-14T16:59:47+1100] [ALPM] upgraded xorg-xrandr (1.5.1-2 -> 1.5.2-1)
[2022-12-14T16:59:47+1100] [ALPM] upgraded lutris (0.5.11-2 -> 0.5.12-2)
[2022-12-14T16:59:47+1100] [ALPM] upgraded qt5-quickcontrols2 (5.15.7+kde+r6-1 -> 5.15.7+kde+r7-1)
[2022-12-14T16:59:47+1100] [ALPM] upgraded nextcloud-client (2:3.6.2-1 -> 2:3.6.4-1)
[2022-12-14T16:59:48+1100] [ALPM] upgraded oxygen-icons (1:5.100.0-1 -> 1:5.101.0-1)
[2022-12-14T16:59:48+1100] [ALPM] upgraded protobuf (21.10-1 -> 21.11-1)
[2022-12-14T16:59:48+1100] [ALPM] upgraded python-protobuf (21.10-1 -> 21.11-1)
[2022-12-14T16:59:48+1100] [ALPM] upgraded python-websockets (10.3-1 -> 10.4-1)
[2022-12-14T16:59:48+1100] [ALPM] upgraded qt5-webengine (5.15.11-2 -> 5.15.11-3)
[2022-12-14T16:59:49+1100] [ALPM] upgraded signal-desktop (6.0.0-1 -> 6.0.1-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded systemd-sysvcompat (252.2-2 -> 252.3-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded texinfo (7.0-1 -> 7.0.1-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded thunderbird (102.5.1-1 -> 102.6.0-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded tracker3-miners (3.4.1-1 -> 3.4.2-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded virglrenderer (0.9.1-1 -> 0.10.3-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded xorg-xhost (1.0.8-3 -> 1.0.9-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded xorg-xinit (1.4.1-3 -> 1.4.2-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded xorg-xkbcomp (1.4.5-1 -> 1.4.6-1)
[2022-12-14T16:59:49+1100] [ALPM] upgraded xscreensaver (6.05.1-2 -> 6.06-1)
[2022-12-14T16:59:50+1100] [ALPM] transaction completed
[2022-12-14T16:59:50+1100] [ALPM] running '20-systemd-sysusers.hook'...
[2022-12-14T16:59:50+1100] [ALPM] running '30-systemd-catalog.hook'...
[2022-12-14T16:59:50+1100] [ALPM] running '30-systemd-daemon-reload.hook'...
[2022-12-14T16:59:50+1100] [ALPM] running '30-systemd-hwdb.hook'...
[2022-12-14T16:59:51+1100] [ALPM] running '30-systemd-sysctl.hook'...
[2022-12-14T16:59:51+1100] [ALPM] running '30-systemd-tmpfiles.hook'...
[2022-12-14T16:59:51+1100] [ALPM] running '30-systemd-udev-reload.hook'...
[2022-12-14T16:59:51+1100] [ALPM] running '30-systemd-update.hook'...
[2022-12-14T16:59:51+1100] [ALPM] running '30-update-mime-database.hook'...
[2022-12-14T16:59:51+1100] [ALPM] running '40-update-ca-trust.hook'...
[2022-12-14T16:59:52+1100] [ALPM] running '60-depmod.hook'...
[2022-12-14T16:59:54+1100] [ALPM] running '90-mkinitcpio-install.hook'...
[2022-12-14T16:59:54+1100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2022-12-14T16:59:54+1100] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2022-12-14T16:59:54+1100] [ALPM-SCRIPTLET] ==> Starting build: 6.0.12-arch1-1
[2022-12-14T16:59:54+1100] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-12-14T16:59:54+1100] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-12-14T16:59:54+1100] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2022-12-14T16:59:54+1100] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-12-14T16:59:54+1100] [ALPM-SCRIPTLET] -> Running build hook: [kms]
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2022-12-14T16:59:55+1100] [ALPM-SCRIPTLET] ==> Starting build: 6.0.12-arch1-1
[2022-12-14T16:59:56+1100] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-12-14T16:59:56+1100] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-12-14T16:59:56+1100] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-12-14T16:59:56+1100] [ALPM-SCRIPTLET] -> Running build hook: [kms]
[2022-12-14T16:59:56+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: ast
[2022-12-14T16:59:58+1100] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-12-14T16:59:58+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-12-14T16:59:58+1100] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2022-12-14T16:59:58+1100] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2022-12-14T16:59:58+1100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2022-12-14T16:59:58+1100] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-12-14T16:59:59+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qed
[2022-12-14T16:59:59+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qla2xxx
[2022-12-14T16:59:59+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
[2022-12-14T16:59:59+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qla1280
[2022-12-14T16:59:59+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2022-12-14T16:59:59+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2022-12-14T17:00:00+1100] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-12-14T17:00:00+1100] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-12-14T17:00:01+1100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-12-14T17:00:01+1100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] ==> Starting build: 6.0.12-zen1-1-zen
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-12-14T17:00:02+1100] [ALPM-SCRIPTLET] -> Running build hook: [kms]
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-12-14T17:00:03+1100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] ==> Starting build: 6.0.12-zen1-1-zen
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] -> Running build hook: [kms]
[2022-12-14T17:00:04+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: ast
[2022-12-14T17:00:06+1100] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-12-14T17:00:06+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-12-14T17:00:06+1100] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2022-12-14T17:00:06+1100] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2022-12-14T17:00:06+1100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2022-12-14T17:00:06+1100] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-12-14T17:00:07+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qed
[2022-12-14T17:00:07+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qla2xxx
[2022-12-14T17:00:07+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
[2022-12-14T17:00:07+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qla1280
[2022-12-14T17:00:07+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2022-12-14T17:00:07+1100] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2022-12-14T17:00:08+1100] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-12-14T17:00:08+1100] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-12-14T17:00:09+1100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-12-14T17:00:09+1100] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
[2022-12-14T17:00:10+1100] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-12-14T17:00:10+1100] [ALPM] running 'dbus-reload.hook'...
[2022-12-14T17:00:10+1100] [ALPM] running 'detect-old-perl-modules.hook'...
[2022-12-14T17:00:10+1100] [ALPM] running 'fontconfig.hook'...
[2022-12-14T17:00:10+1100] [ALPM] running 'fontconfig-32.hook'...
[2022-12-14T17:00:10+1100] [ALPM] running 'glib-compile-schemas.hook'...
[2022-12-14T17:00:10+1100] [ALPM] running 'gtk-update-icon-cache.hook'...
[2022-12-14T17:00:10+1100] [ALPM] running 'texinfo-install.hook'...
[2022-12-14T17:00:10+1100] [ALPM] running 'update-desktop-database.hook'...
[2022-12-14T22:09:58+1100] [PACMAN] Running 'pacman -Sy chntpw'
[2022-12-14T22:09:58+1100] [PACMAN] synchronizing package lists
[2022-12-14T22:10:01+1100] [ALPM] transaction started
[2022-12-14T22:10:01+1100] [ALPM] installed chntpw (140201-4)
[2022-12-14T22:10:01+1100] [ALPM] transaction completed
[2022-12-14T22:10:01+1100] [ALPM] running '30-systemd-update.hook'...
[2022-12-14T22:26:40+1100] [PACMAN] Running 'pacman -Sy'
[2022-12-14T22:26:40+1100] [PACMAN] synchronizing package lists
[2022-12-14T22:26:43+1100] [PACMAN] Running 'pacman -Syu'
[2022-12-14T22:26:43+1100] [PACMAN] synchronizing package lists
[2022-12-14T22:26:43+1100] [PACMAN] starting full system upgrade
[2022-12-14T22:26:53+1100] [ALPM] transaction started
[2022-12-14T22:26:53+1100] [ALPM] upgraded xorg-server-common (21.1.4-1 -> 21.1.5-1)
[2022-12-14T22:26:53+1100] [ALPM] upgraded xz (5.2.9-1 -> 5.2.10-1)
[2022-12-14T22:26:53+1100] [ALPM] upgraded xorg-server (21.1.4-1 -> 21.1.5-1)
[2022-12-14T22:26:53+1100] [ALPM] upgraded xorg-xwayland (22.1.5-1 -> 22.1.6-1)
[2022-12-14T22:26:53+1100] [ALPM] transaction completed
[2022-12-14T22:26:53+1100] [ALPM] running '30-systemd-update.hook'...I'm pretty sure that the issue started on the 13th which aligns with when I uninstalled polybar-git and replaced it with the community version of polybar, but I don't know how that could cause the issue. I would prefer to use the community version than the AUR version which was the reason for the change.
Last edited by coxe87b (2022-12-15 12:25:45)
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline
Also, since adding the 2 lines in to '/usr/share/sddm/scripts/Xsetup', sddm does actually display the greeter on both monitors now, in case that helps.
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline
Thank you for the suggestion. I did try that to no avail however.
Also, since adding the 2 lines in to '/usr/share/sddm/scripts/Xsetup', sddm does actually display the greeter on both monitors now
Means "yes avail", but something™ disables the output when your session starts.
to my .profile or i3 config, is there a cleaner way to handle this?
.profile would be the wrong file, but it very much sounds as if some of your session scripts do already xrandr - something.
grep -r xrandr ~would be the broadswoard approach to find that file. (Hopefully)
Offline
Thank you for the suggestion. I did try that to no avail however.
Also, since adding the 2 lines in to '/usr/share/sddm/scripts/Xsetup', sddm does actually display the greeter on both monitors now
Means "yes avail", but something™ disables the output when your session starts.
My apologies, but it seems as after another restart sddm reverted back to primary monitor only and putting the secondary to sleep on the greeter.
to my .profile or i3 config, is there a cleaner way to handle this?
.profile would be the wrong file, but it very much sounds as if some of your session scripts do already xrandr - something.
grep -r xrandr ~would be the broadswoard approach to find that file. (Hopefully)
Thank you again for your help, I will try that search when I get home and post my findings.
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline
Well I'm not really sure what I've done because this afternoon when I cold booted my machine, both monitors worked as normal and the issue appears to be resolved.
I did run a recursive grep for 'xrandr' in my home as you suggested and most of the results appear to be irrelevant (eg. Lutris and Steam scripts, log files and polybar configs).
I'll mark this as solved as I can no longer troubleshoot because it is working again.
Thanks for your help Seth.
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline
Flaky cable/plugs?
Offline
Flaky cable/plugs?
That is a possibility, I did unplug and inspect both ends of the cable during the process...
Thanks again.
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline
So I've found the the issue that was causing this problem.
What was happening was; when the sddm greeter appeared, the LED on the secondary monitor flashed on briefly as if it was waking up, but then would go back to power saving mode again. I would then enter my password and log in to i3, which would load on single display.
At this point, simply quitting i3, thereby pushing me back to the sddm greeter would wake the secondary display and I could log in a second time with both displays active.
It seemed to point to an issue with SDDM as I had tried another HDMI cable per your suggestion with the same result.
After confirming that the Xsetup script still contained the instructions to set both monitors;
~ ∮ cat /usr/share/sddm/scripts/Xsetup
#!/bin/sh
# Xsetup - run as root before the login dialog appears
xrandr --output DP-3 --auto --primary
xrandr --output HDMI-1 --auto --left-of DP-3I started wondering how this script gets called. Which lead me to my sddm.conf file;
~ ∮ cat /etc/sddm.conf.d/sddm.conf
[General]
# Halt command
HaltCommand=/usr/bin/systemctl poweroff
# Reboot command
RebootCommand=/usr/bin/systemctl reboot
[Theme]
# Current theme name
Current=sugar-dark
# Cursor theme used in the greeter
CursorTheme=FlatbedCursors-Green
# Theme directory path
ThemeDir=/usr/share/sddm/themes
[Users]
# Remember the session of the last successfully logged in user
RememberLastSession=true
# Remember the last successfully logged in user
RememberLastUser=trueRealising that when I was having issues with the greeter not displaying correctly, I had cut out a lot of the options from the template at "/usr/lib/sddm/sddm.conf.d/default.conf", I noticed that I had cut out a very obviously needed section being;
[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/XsetupOnce I added that in to my sddm.conf file so that the script actually gets called, the problem was resolved.
The only thing that is puzzling is the intermittent nature of the issue. It was working fine for over a week without that section in the config file, then didn't work, then did work for 2 days before not working again. I guess that is why I didn't suspect the change I made to the sddm.conf file straight away as being the cause.
Either way, hopefully this might help someone in the future, and looking back now, it seems like a stupid mistake on my part that caused the issue...
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline
The only thing that is puzzling is the intermittent nature of the issue.
Race condition. If it's not the cable, try https://wiki.archlinux.org/title/Kernel … _KMS_start (though the GPU seems to be there, but maybe the monitor is a bit slow to wake up?)
Offline
The only thing that is puzzling is the intermittent nature of the issue.
Race condition. If it's not the cable, try https://wiki.archlinux.org/title/Kernel … _KMS_start (though the GPU seems to be there, but maybe the monitor is a bit slow to wake up?)
Thanks seth, I'll give that a look as it has started happening again this morning after all that...
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline
So after adding in
MODULES=(amdgpu)to my "/etc/mkinitcpio.conf", and re-generating the initramfs, the monitor seems to be working again as normal.
Before trying this, I did temporarily switch from sddm to lightdm and the problem persisted, so that ruled out an issue with sddm.
I'll see how it goes for a while now, I won't mark as solved just yet as I thought it was fixed before when it wasn't. Hopefully this has finally fixed it though, *fingers crossed*
Desktop: Dual boot {Arch & Windows 11} | Hyprland | AMD Ryzen 5700X | 32GB DDR4 | AMD Radeon RX 6700XT | Dual display DP-1 & DP-2=2560x1440
Laptop: Triple boot {Arch & Mint & Windows 11} | Dell Latitude 5420 | Intel Core i5-1145G7 | 16GB DDR4 | Iris Xe GPU | eDP-1=1920x1080
~ Do or do not, there is no try ~
Offline