You are not logged in.
Hey there!
I reinstalled Arch with the proprietary drivers and Hyprland + Ly as Greeter.
Whenever I boot I get stuck at
starting systemd-udevd..
and the moment I disconnect my second monitor (DVI-D), everything unstucks at I see TTY or Ly.
Switching to TTY’s does not work during this ‘stuck’ phase.
Everything works just fine after re-plugging the DVI-D cable, except the monitor The monitor goes to power saving mode indicating it receives no signal.
My hardware:
- Ryzen 5 3600
- GT 1030
- Primary HDMI monitor (connected to GPU)
- Secondary DVI-D monitor (connected to GPU)
- Secondary GPU, that does not work at this current moment. (RX 470)
Outputs of some commands, that could help further diagnosis:
inxi -G
Graphics:
Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nvidia v: 565.77
Device-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
470/480/570/570X/580/580X/590] driver: amdgpu v: kernel
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
compositor: Hyprland v: 0.46.2 driver: X: loaded: nvidia
gpu: nvidia,nvidia-nvswitch resolution: 1920x1080~144Hz
API: EGL v: 1.5 drivers: nvidia
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 renderer: NVIDIA GeForce GT
1030/PCIe/SSE
xrandr
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
HDMI-A-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 520mm x 290mm
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 command sometimes also displays the DVI-D but as disconnected. Not now after reboot and replug of the cable.
pacman -Q | grep nvidia
lib32-nvidia-utils 565.77-1
nvidia-dkms 565.77-2
nvidia-settings 565.57.01-1
nvidia-utils 565.77-2
Thanks for any tips/help/notes!
Have a nice day fellow nerds
Last edited by TomKo (2025-01-10 23:02:25)
Offline
Are you sure the other output is connected to the nvidia GPU?
Add
module_blacklist=amdgpu nvidia_drm.modeset=1 systemd.unit=multi-user.target
to the https://wiki.archlinux.org/title/Kernel_parameters (make sure you know how to edit them from the bootloader in case this goes south and you don't get to see any output) boot the system and run and post the output of
for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done
You'll need https://aur.archlinux.org/packages/edid-decode-git
Offline
Hey!
Thanks for the reply and sorry for the late response, I've been out the town for the week.
I've noticed, that whenever I manage to get into TTY and run Hyprland within TTY, the second monitor turns on and works as expected. But this does not work when ran from Ly as Hyprland..
I've noticed the AUR repo being down so I've downloaded read-edid and modified your command accordingly.
This is what I've run before applying kernel parameters with the second monitor working.
for OUT in /sys/class/drm/card*; do echo $OUT; di-edid-decode $OUT/edid; echo "================="; done
/sys/class/drm/card0
failed to open input file: No such file or directory
=================
/sys/class/drm/card0-DP-1
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card0-DP-2
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card0-DVI-D-2
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card0-HDMI-A-2
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card0-HDMI-A-3
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card1
failed to open input file: No such file or directory
=================
/sys/class/drm/card1-DVI-D-1
Block 0, Base EDID:
EDID Structure Version & Revision: 1.3
Vendor & Product Identification:
Manufacturer: GSM
Model: 22136
Serial Number: 13961 (0x00003689)
Made in: week 3 of 2009
Basic Display Parameters & Features:
Digital display
Maximum image size: 49 cm x 32 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
RGB color display
First detailed timing is the preferred timing
Color Characteristics:
Red : 0.6347, 0.3417
Green: 0.2919, 0.6113
Blue : 0.1474, 0.0703
White: 0.3134, 0.3291
Established Timings I & II:
IBM : 720x400 70.081663 Hz 9:5 31.467 kHz 28.320000 MHz
DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz
DMT 0x08: 800x600 56.250000 Hz 4:3 35.156 kHz 36.000000 MHz
DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz
DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz
Apple : 832x624 74.551266 Hz 4:3 49.726 kHz 57.284000 MHz
DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz
DMT 0x12: 1024x768 75.028582 Hz 4:3 60.023 kHz 78.750000 MHz
DMT 0x24: 1280x1024 75.024675 Hz 5:4 79.976 kHz 135.000000 MHz
Apple : 1152x870 75.061550 Hz 192:145 68.681 kHz 100.000000 MHz
Standard Timings:
DMT 0x2f: 1440x900 59.887445 Hz 16:10 55.935 kHz 106.500000 MHz
DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz
DMT 0x20: 1280x960 60.000000 Hz 4:3 60.000 kHz 108.000000 MHz
DMT 0x15: 1152x864 75.000000 Hz 4:3 67.500 kHz 108.000000 MHz
Detailed Timing Descriptors:
DTD 1: 1680x1050 59.883253 Hz 16:10 64.674 kHz 119.000000 MHz (474 mm x 296 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 6 Vback 21 Vpol N
DTD 2: 1680x1050 59.954250 Hz 16:10 65.290 kHz 146.250000 MHz (474 mm x 296 mm)
Hfront 104 Hsync 176 Hback 280 Hpol N
Vfront 3 Vsync 6 Vback 30 Vpol P
Display Range Limits:
Monitor ranges (GTF): 56-75 Hz V, 30-83 kHz H, max dotclock 150 MHz
Display Product Name: 'W2242'
Checksum: 0xa9
----------------
Failures:
Block 0, Base EDID:
Digital Video Interface Standard set to reserved value 0xea.
EDID conformity: FAIL
=================
/sys/class/drm/card1-HDMI-A-1
Block 0, Base EDID:
EDID Structure Version & Revision: 1.3
Vendor & Product Identification:
Manufacturer: AOC
Model: 9217
Serial Number: 229441 (0x00038041)
Made in: week 51 of 2020
Basic Display Parameters & Features:
Digital display
Maximum image size: 52 cm x 29 cm
Gamma: 2.20
DPMS levels: Off
RGB color display
First detailed timing is the preferred timing
Color Characteristics:
Red : 0.6562, 0.3330
Green: 0.3232, 0.6074
Blue : 0.1455, 0.0683
White: 0.3125, 0.3291
Established Timings I & II:
IBM : 720x400 70.081663 Hz 9:5 31.467 kHz 28.320000 MHz
DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
Apple : 640x480 66.666667 Hz 4:3 35.000 kHz 30.240000 MHz
DMT 0x05: 640x480 72.808802 Hz 4:3 37.861 kHz 31.500000 MHz
DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz
DMT 0x08: 800x600 56.250000 Hz 4:3 35.156 kHz 36.000000 MHz
DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz
DMT 0x0a: 800x600 72.187572 Hz 4:3 48.077 kHz 50.000000 MHz
DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz
Apple : 832x624 74.551266 Hz 4:3 49.726 kHz 57.284000 MHz
DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz
DMT 0x11: 1024x768 70.069359 Hz 4:3 56.476 kHz 75.000000 MHz
DMT 0x12: 1024x768 75.028582 Hz 4:3 60.023 kHz 78.750000 MHz
DMT 0x24: 1280x1024 75.024675 Hz 5:4 79.976 kHz 135.000000 MHz
Standard Timings:
DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz
GTF : 640x480 99.999537 Hz 4:3 50.900 kHz 43.163000 MHz
GTF : 640x480 119.999084 Hz 4:3 61.800 kHz 52.406000 MHz
GTF : 800x600 99.999707 Hz 4:3 63.600 kHz 68.179000 MHz
GTF : 800x600 119.999886 Hz 4:3 77.160 kHz 83.950000 MHz
GTF : 1024x768 100.000177 Hz 4:3 81.400 kHz 113.309000 MHz
GTF : 1024x768 119.999931 Hz 4:3 98.760 kHz 139.054000 MHz
Detailed Timing Descriptors:
DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (521 mm x 293 mm)
Hfront 88 Hsync 44 Hback 148 Hpol P
Vfront 4 Vsync 5 Vback 36 Vpol P
DTD 2: 1920x1080 144.000765 Hz 16:9 158.113 kHz 325.080000 MHz (521 mm x 293 mm)
Hfront 24 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 10 Vpol P
Display Product Name: '24G1WG4'
Display Range Limits:
Monitor ranges (GTF): 48-144 Hz V, 30-160 kHz H, max dotclock 300 MHz
Extension blocks: 1
Checksum: 0x60
----------------
Block 1, CTA-861 Extension Block:
Revision: 3
Underscans IT Video Formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
Native detailed modes: 1
Video Data Block:
VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz
VIC 5: 1920x1080i 60.000000 Hz 16:9 33.750 kHz 74.250000 MHz
VIC 20: 1920x1080i 50.000000 Hz 16:9 28.125 kHz 74.250000 MHz
VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
VIC 19: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz
VIC 3: 720x480 59.940060 Hz 16:9 31.469 kHz 27.000000 MHz
VIC 18: 720x576 50.000000 Hz 16:9 31.250 kHz 27.000000 MHz
VIC 2: 720x480 59.940060 Hz 4:3 31.469 kHz 27.000000 MHz
VIC 17: 720x576 50.000000 Hz 4:3 31.250 kHz 27.000000 MHz
VIC 1: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
VIC 63: 1920x1080 120.000000 Hz 16:9 135.000 kHz 297.000000 MHz
Audio Data Block:
Linear PCM:
Max channels: 2
Supported sample rates (kHz): 48 44.1 32
Supported sample sizes (bits): 24 20 16
Speaker Allocation Data Block:
FL/FR - Front Left/Right
Detailed Timing Descriptors:
DTD 3: 1920x1080 119.982181 Hz 16:9 137.260 kHz 285.500000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 56 Vpol P
DTD 4: 1920x1080 99.930409 Hz 16:9 113.221 kHz 235.500000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 45 Vpol P
DTD 5: 1440x900 59.901458 Hz 16:10 55.469 kHz 88.750000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 6 Vback 17 Vpol N
DTD 6: 1680x1050 59.883253 Hz 16:10 64.674 kHz 119.000000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 6 Vback 21 Vpol N
Checksum: 0xf1
----------------
EDID conformity: PASS
=================
I will now try out the kernel parameters, run the command and post here about the results.
Thanks in advance for making your time to help!
Cheers,
TomKo
Offline
Interestingly enough, the previous way of starting Hyprland manually doesn't seem to work anymore for the second monitor.
Anyways, heres the output of that command with those given kernel parameters.
/sys/class/drm/card0 ================= /sys/class/drm/card0-DVI-D-1 ================= /sys/class/drm/card0-HDMI-A-1 Block 0, Base EDID: EDID Structure Version & Revision: 1.3 Vendor & Product Identification: Manufacturer: AOC Model: 9217 Serial Number: 229441 (0x00038041) Made in: week 51 of 2020 Basic Display Parameters & Features: Digital display Maximum image size: 52 cm x 29 cm Gamma: 2.20 DPMS levels: Off RGB color display First detailed timing is the preferred timing Color Characteristics: Red : 0.6562, 0.3330 Green: 0.3232, 0.6074 Blue : 0.1455, 0.0683 White: 0.3125, 0.3291 Established Timings I & II: IBM : 720x400 70.081663 Hz 9:5 31.467 kHz 28.320000 MHz DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz Apple : 640x480 66.666667 Hz 4:3 35.000 kHz 30.240000 MHz DMT 0x05: 640x480 72.808802 Hz 4:3 37.861 kHz 31.500000 MHz DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz DMT 0x08: 800x600 56.250000 Hz 4:3 35.156 kHz 36.000000 MHz DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz DMT 0x0a: 800x600 72.187572 Hz 4:3 48.077 kHz 50.000000 MHz DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz Apple : 832x624 74.551266 Hz 4:3 49.726 kHz 57.284000 MHz DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz DMT 0x11: 1024x768 70.069359 Hz 4:3 56.476 kHz 75.000000 MHz DMT 0x12: 1024x768 75.028582 Hz 4:3 60.023 kHz 78.750000 MHz DMT 0x24: 1280x1024 75.024675 Hz 5:4 79.976 kHz 135.000000 MHz Standard Timings: DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz GTF : 640x480 99.999537 Hz 4:3 50.900 kHz 43.163000 MHz GTF : 640x480 119.999084 Hz 4:3 61.800 kHz 52.406000 MHz GTF : 800x600 99.999707 Hz 4:3 63.600 kHz 68.179000 MHz GTF : 800x600 119.999886 Hz 4:3 77.160 kHz 83.950000 MHz GTF : 1024x768 100.000177 Hz 4:3 81.400 kHz 113.309000 MHz GTF : 1024x768 119.999931 Hz 4:3 98.760 kHz 139.054000 MHz Detailed Timing Descriptors: DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (521 mm x 293 mm) Hfront 88 Hsync 44 Hback 148 Hpol P Vfront 4 Vsync 5 Vback 36 Vpol P DTD 2: 1920x1080 144.000765 Hz 16:9 158.113 kHz 325.080000 MHz (521 mm x 293 mm) Hfront 24 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 10 Vpol P Display Product Name: '24G1WG4' Display Range Limits: Monitor ranges (GTF): 48-144 Hz V, 30-160 kHz H, max dotclock 300 MHz Extension blocks: 1 Checksum: 0x60 ---------------- Block 1, CTA-861 Extension Block: Revision: 3 Underscans IT Video Formats by default Basic audio support Supports YCbCr 4:4:4 Supports YCbCr 4:2:2 Native detailed modes: 1 Video Data Block: VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz VIC 5: 1920x1080i 60.000000 Hz 16:9 33.750 kHz 74.250000 MHz VIC 20: 1920x1080i 50.000000 Hz 16:9 28.125 kHz 74.250000 MHz VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz VIC 19: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz VIC 3: 720x480 59.940060 Hz 16:9 31.469 kHz 27.000000 MHz VIC 18: 720x576 50.000000 Hz 16:9 31.250 kHz 27.000000 MHz VIC 2: 720x480 59.940060 Hz 4:3 31.469 kHz 27.000000 MHz VIC 17: 720x576 50.000000 Hz 4:3 31.250 kHz 27.000000 MHz VIC 1: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz VIC 63: 1920x1080 120.000000 Hz 16:9 135.000 kHz 297.000000 MHz Audio Data Block: Linear PCM: Max channels: 2 Supported sample rates (kHz): 48 44.1 32 Supported sample sizes (bits): 24 20 16 Speaker Allocation Data Block: FL/FR - Front Left/Right Detailed Timing Descriptors: DTD 3: 1920x1080 119.982181 Hz 16:9 137.260 kHz 285.500000 MHz (521 mm x 293 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 56 Vpol P DTD 4: 1920x1080 99.930409 Hz 16:9 113.221 kHz 235.500000 MHz (521 mm x 293 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 45 Vpol P DTD 5: 1440x900 59.901458 Hz 16:10 55.469 kHz 88.750000 MHz (521 mm x 293 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 6 Vback 17 Vpol N DTD 6: 1680x1050 59.883253 Hz 16:10 64.674 kHz 119.000000 MHz (521 mm x 293 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 6 Vback 21 Vpol N Checksum: 0xf1 ---------------- EDID conformity: PASS =================
/sys/class/drm/card0
=================
/sys/class/drm/card0-DVI-D-1
=================
/sys/class/drm/card0-HDMI-A-1
Block 0, Base EDID:
EDID Structure Version & Revision: 1.3
Vendor & Product Identification:
Manufacturer: AOC
Model: 9217
Serial Number: 229441 (0x00038041)
Made in: week 51 of 2020
Basic Display Parameters & Features:
Digital display
Maximum image size: 52 cm x 29 cm
Gamma: 2.20
DPMS levels: Off
RGB color display
First detailed timing is the preferred timing
Color Characteristics:
Red : 0.6562, 0.3330
Green: 0.3232, 0.6074
Blue : 0.1455, 0.0683
White: 0.3125, 0.3291
Established Timings I & II:
IBM : 720x400 70.081663 Hz 9:5 31.467 kHz 28.320000 MHz
DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
Apple : 640x480 66.666667 Hz 4:3 35.000 kHz 30.240000 MHz
DMT 0x05: 640x480 72.808802 Hz 4:3 37.861 kHz 31.500000 MHz
DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz
DMT 0x08: 800x600 56.250000 Hz 4:3 35.156 kHz 36.000000 MHz
DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz
DMT 0x0a: 800x600 72.187572 Hz 4:3 48.077 kHz 50.000000 MHz
DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz
Apple : 832x624 74.551266 Hz 4:3 49.726 kHz 57.284000 MHz
DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz
DMT 0x11: 1024x768 70.069359 Hz 4:3 56.476 kHz 75.000000 MHz
DMT 0x12: 1024x768 75.028582 Hz 4:3 60.023 kHz 78.750000 MHz
DMT 0x24: 1280x1024 75.024675 Hz 5:4 79.976 kHz 135.000000 MHz
Standard Timings:
DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz
GTF : 640x480 99.999537 Hz 4:3 50.900 kHz 43.163000 MHz
GTF : 640x480 119.999084 Hz 4:3 61.800 kHz 52.406000 MHz
GTF : 800x600 99.999707 Hz 4:3 63.600 kHz 68.179000 MHz
GTF : 800x600 119.999886 Hz 4:3 77.160 kHz 83.950000 MHz
GTF : 1024x768 100.000177 Hz 4:3 81.400 kHz 113.309000 MHz
GTF : 1024x768 119.999931 Hz 4:3 98.760 kHz 139.054000 MHz
Detailed Timing Descriptors:
DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (521 mm x 293 mm)
Hfront 88 Hsync 44 Hback 148 Hpol P
Vfront 4 Vsync 5 Vback 36 Vpol P
DTD 2: 1920x1080 144.000765 Hz 16:9 158.113 kHz 325.080000 MHz (521 mm x 293 mm)
Hfront 24 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 10 Vpol P
Display Product Name: '24G1WG4'
Display Range Limits:
Monitor ranges (GTF): 48-144 Hz V, 30-160 kHz H, max dotclock 300 MHz
Extension blocks: 1
Checksum: 0x60
----------------
Block 1, CTA-861 Extension Block:
Revision: 3
Underscans IT Video Formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
Native detailed modes: 1
Video Data Block:
VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz
VIC 5: 1920x1080i 60.000000 Hz 16:9 33.750 kHz 74.250000 MHz
VIC 20: 1920x1080i 50.000000 Hz 16:9 28.125 kHz 74.250000 MHz
VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
VIC 19: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz
VIC 3: 720x480 59.940060 Hz 16:9 31.469 kHz 27.000000 MHz
VIC 18: 720x576 50.000000 Hz 16:9 31.250 kHz 27.000000 MHz
VIC 2: 720x480 59.940060 Hz 4:3 31.469 kHz 27.000000 MHz
VIC 17: 720x576 50.000000 Hz 4:3 31.250 kHz 27.000000 MHz
VIC 1: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
VIC 63: 1920x1080 120.000000 Hz 16:9 135.000 kHz 297.000000 MHz
Audio Data Block:
Linear PCM:
Max channels: 2
Supported sample rates (kHz): 48 44.1 32
Supported sample sizes (bits): 24 20 16
Speaker Allocation Data Block:
FL/FR - Front Left/Right
Detailed Timing Descriptors:
DTD 3: 1920x1080 119.982181 Hz 16:9 137.260 kHz 285.500000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 56 Vpol P
DTD 4: 1920x1080 99.930409 Hz 16:9 113.221 kHz 235.500000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 45 Vpol P
DTD 5: 1440x900 59.901458 Hz 16:10 55.469 kHz 88.750000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 6 Vback 17 Vpol N
DTD 6: 1680x1050 59.883253 Hz 16:10 64.674 kHz 119.000000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 6 Vback 21 Vpol N
Checksum: 0xf1
----------------
EDID conformity: PASS
=================
And once more for comparison,
heres the output of the command, but with Hyprland running just with the on screen.
/sys/class/drm/card0
failed to open input file: No such file or directory
=================
/sys/class/drm/card0-DVI-D-1
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card0-HDMI-A-1
Block 0, Base EDID:
EDID Structure Version & Revision: 1.3
Vendor & Product Identification:
Manufacturer: AOC
Model: 9217
Serial Number: 229441 (0x00038041)
Made in: week 51 of 2020
Basic Display Parameters & Features:
Digital display
Maximum image size: 52 cm x 29 cm
Gamma: 2.20
DPMS levels: Off
RGB color display
First detailed timing is the preferred timing
Color Characteristics:
Red : 0.6562, 0.3330
Green: 0.3232, 0.6074
Blue : 0.1455, 0.0683
White: 0.3125, 0.3291
Established Timings I & II:
IBM : 720x400 70.081663 Hz 9:5 31.467 kHz 28.320000 MHz
DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
Apple : 640x480 66.666667 Hz 4:3 35.000 kHz 30.240000 MHz
DMT 0x05: 640x480 72.808802 Hz 4:3 37.861 kHz 31.500000 MHz
DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz
DMT 0x08: 800x600 56.250000 Hz 4:3 35.156 kHz 36.000000 MHz
DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz
DMT 0x0a: 800x600 72.187572 Hz 4:3 48.077 kHz 50.000000 MHz
DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz
Apple : 832x624 74.551266 Hz 4:3 49.726 kHz 57.284000 MHz
DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz
DMT 0x11: 1024x768 70.069359 Hz 4:3 56.476 kHz 75.000000 MHz
DMT 0x12: 1024x768 75.028582 Hz 4:3 60.023 kHz 78.750000 MHz
DMT 0x24: 1280x1024 75.024675 Hz 5:4 79.976 kHz 135.000000 MHz
Standard Timings:
DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz
GTF : 640x480 99.999537 Hz 4:3 50.900 kHz 43.163000 MHz
GTF : 640x480 119.999084 Hz 4:3 61.800 kHz 52.406000 MHz
GTF : 800x600 99.999707 Hz 4:3 63.600 kHz 68.179000 MHz
GTF : 800x600 119.999886 Hz 4:3 77.160 kHz 83.950000 MHz
GTF : 1024x768 100.000177 Hz 4:3 81.400 kHz 113.309000 MHz
GTF : 1024x768 119.999931 Hz 4:3 98.760 kHz 139.054000 MHz
Detailed Timing Descriptors:
DTD 1: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (521 mm x 293 mm)
Hfront 88 Hsync 44 Hback 148 Hpol P
Vfront 4 Vsync 5 Vback 36 Vpol P
DTD 2: 1920x1080 144.000765 Hz 16:9 158.113 kHz 325.080000 MHz (521 mm x 293 mm)
Hfront 24 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 10 Vpol P
Display Product Name: '24G1WG4'
Display Range Limits:
Monitor ranges (GTF): 48-144 Hz V, 30-160 kHz H, max dotclock 300 MHz
Extension blocks: 1
Checksum: 0x60
----------------
Block 1, CTA-861 Extension Block:
Revision: 3
Underscans IT Video Formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
Native detailed modes: 1
Video Data Block:
VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz
VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz
VIC 5: 1920x1080i 60.000000 Hz 16:9 33.750 kHz 74.250000 MHz
VIC 20: 1920x1080i 50.000000 Hz 16:9 28.125 kHz 74.250000 MHz
VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
VIC 19: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz
VIC 3: 720x480 59.940060 Hz 16:9 31.469 kHz 27.000000 MHz
VIC 18: 720x576 50.000000 Hz 16:9 31.250 kHz 27.000000 MHz
VIC 2: 720x480 59.940060 Hz 4:3 31.469 kHz 27.000000 MHz
VIC 17: 720x576 50.000000 Hz 4:3 31.250 kHz 27.000000 MHz
VIC 1: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
VIC 63: 1920x1080 120.000000 Hz 16:9 135.000 kHz 297.000000 MHz
Audio Data Block:
Linear PCM:
Max channels: 2
Supported sample rates (kHz): 48 44.1 32
Supported sample sizes (bits): 24 20 16
Speaker Allocation Data Block:
FL/FR - Front Left/Right
Detailed Timing Descriptors:
DTD 3: 1920x1080 119.982181 Hz 16:9 137.260 kHz 285.500000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 56 Vpol P
DTD 4: 1920x1080 99.930409 Hz 16:9 113.221 kHz 235.500000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 5 Vback 45 Vpol P
DTD 5: 1440x900 59.901458 Hz 16:10 55.469 kHz 88.750000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 6 Vback 17 Vpol N
DTD 6: 1680x1050 59.883253 Hz 16:10 64.674 kHz 119.000000 MHz (521 mm x 293 mm)
Hfront 48 Hsync 32 Hback 80 Hpol P
Vfront 3 Vsync 6 Vback 21 Vpol N
Checksum: 0xf1
----------------
EDID conformity: PASS
=================
/sys/class/drm/card1
failed to open input file: No such file or directory
=================
/sys/class/drm/card1-DP-1
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card1-DP-2
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card1-DVI-D-2
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card1-HDMI-A-2
di_edid_parse failed: Invalid argument
=================
/sys/class/drm/card1-HDMI-A-3
di_edid_parse failed: Invalid argument
=================
Cheers!
Offline
Ok, both outputs are connected to /sys/class/drm/card1
But this does not work when ran from Ly as Hyprland
Cut out ly for these tests, it's a horrible DM that breaks logind integration what means you'll liekly ending up lacking access permissions to several device nodes.
You can revisit and focus on getting that to work once the main situation has been sorted out while starting Hyprland from a console login.
heres the output of that command with those given kernel parameters
The (expectable) change is that card1 is now card0 because card0 is gone
But also card0-DVI-D-1 is gone?
heres the output of the command, but with Hyprland running just with the on screen.
Do you somehow manually transcribe these?
Don't!
Redirect them into files and/or 0x0.st
You might have to inject the edid, what means to first copy it from a boot where it shows up.
https://wiki.archlinux.org/title/Kernel … s_and_EDID
Unfortunately read-edid doesn't print the edid as hexadcimal block, otherwise we could have reconstructed it from there.
Sidebar:
I've noticed the AUR repo being down
I was about to throw a tantrum about somebody going for an asinine package deletion spree, but https://git.linuxtv.org/edid-decode.git/commit/
Just hasn't arrived in https://archlinux.org/packages/extra/x86_64/v4l-utils/ (yet)
Offline
I've redirected the output from that command to file and copied its contents later on..
Given the tool not being able to print HEX, should I generate the edid stuff as shown in the wiki link, for you to check out?
Offline
If the edid actually shows up w/ a boot you can just copy it.
cp /sys/class/drm/card0-DVI-D-1/edid /some/place/edid.bin
Offline
Sorry if I'm just a dummey, but my edid placed at
/sys/class/drm/card0-DVI-D-1/edid
has 0 bytes.
Am I somehow supposed to generate it?
Sorry for such questions..
Offline
Hey there!
For some reason suspending my computer and turning it back on makes the second monitor turn on!
No clue why that is..
Do you guys have any further tricks on potentional fixes?
Thanks and cheers!
Offline
Can you now copy the edid ?
(It's likely only gonna be > 0B when the output actually works - which is why we want to extract and later inject it)
Offline
I've checked every single subfolder of /sys/class/drm/ and yet failed to find even a single edid file that wasn't empty..
I guess it didn't get generated as I didn't actually boot, rather than just suspended (made my PC sleep).
I've found this GitHub repository. Perhaps I could just use one of those files?
Offline
The edid had been accessed before?
/sys/class/drm/card1-DVI-D-1
Block 0, Base EDID:
EDID Structure Version & Revision: 1.3
Vendor & Product Identification:
Manufacturer: GSM
Model: 22136
Serial Number: 13961 (0x00003689)
Made in: week 3 of 2009
Basic Display Parameters & Features:
…
/sys/class/drm/card0-HDMI-A-1
Block 0, Base EDID:
EDID Structure Version & Revision: 1.3
Vendor & Product Identification:
Manufacturer: AOC
Model: 9217
Serial Number: 229441 (0x00038041)
Made in: week 51 of 2020
Basic Display Parameters & Features:
Digital display
Maximum image size: 52 cm x 29 cm
Gamma: 2.20
DPMS levels: Off
RGB color display
First detailed timing is the preferred timing
Color Characteristics:
Red : 0.6562, 0.3330
Green: 0.3232, 0.6074
Blue : 0.1455, 0.0683
White: 0.3125, 0.3291
Also nb. that you cannot infer the validity with "du" etc. - it'll always show 0 bytes. But copying it out of the sysfs will create an ~4kB big file.
Offline
I've never even heard of edid, therefore I personally did not access it. Perhaps the system did, but no clue during what task it would.
I've copied out the EDID but still ls -la lists size as 0B, catting out the file shows nothing, file edid.bin shows it's empty.
And with that edid you've sent me, should I copy that and modify it accordingly to mine setup and afterwards set it to the bin somehow?
I've also noticed the card0-DVI-D-1 renaming to card0-DVI-D-2 for some reason, even tho the card has just one DVI-D port..
Once again sorry if I'm repeating some common stuff or not getting what you mean
Offline
mkdir /tmp/edids
for OUT in /sys/class/drm/card*; do cp $OUT/edid /tmp/edids/$(basename $OUT).edid; done
ls -l /tmp/edids
Offline
Saved those edid that were > 0 into /usr/lib/firmware/edid/..
I've set these kernel parameters:
GRUB_CMDLINE_LINUX="zswap.enabled=0 rootfstype=ext4 drm.edid_firmware=DVI-D-1:edid/DVI-D.bin,HDMI-A-1:edid/HDMI-A-1.bin"
as for initframs
MODULES=(usbhid xhci_hcd nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=()
FILES=(/usr/lib/firmware/edid/DVI-D.bin /usr/lib/firmware/edid/HDMI-A-1.bin)
HOOKS=(base udev autodetect microcode modconf keyboard keymap consolefont block filesystems fsck)
yet after reboot I still was left on "Starting systemd-udevd version 2.."
second monitor still doesn't turn on even when launching Hyprland via TTY..
perhaps I've done some of this EDID stuff wrong?
I've been reading through this wiki page https://wiki.archlinux.org/title/Kernel … s_and_EDID
Offline
I've set these kernel parameters:
Did you regenerate the grub.cfg? Editing /etc/default/grub does nothing by itself - same goes for /etc/mkinitcpio.conf
You can "cat /proc/cmdline" to see whether your changes we applied.
And check the system journal for complaints about the provided EDIDs
Offline
I did update grub.cfg and ran mkinitcpio -P aswell (no errors in sight)
I've ran
journactl | grep edid
all I can see is me copying the EDIDs using terminal..
Offline
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
and
cat /proc/cmdline
You have to be in an elevated group or use sudo to see the system journal w/ journalctl, but if edid doesn't show up in that, you're not applying those kernel parameters.
Offline
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=UUID=07cbf205-a1d8-4016-a8f0-49fd6c74e7b5 rw zswap.enabled=0 rootfstype=ext4 drm.edid_firmware=DVI-D-1:edid/DVI-D.bin,HDMI-A-1:edid/HDMI-A-1.bin loglevel=1
Offline
It's there.
sudo ls /sys/kernel/debug/dri/{0,1,2}
And try to add "nvidia_drm.modeset=1 nvidia_drm.fbdev=0" to the kernel parameters.
You pretty much for sure what to get rid of the simpledrm device and disbaling fbdev doesn't really fit the symptoms but is worth a shot (also because the symptoms aren't super-clear
Offline
sudo ls /sys/kernel/debug/dri/{0,1,2}
[sudo] password for tomko:
ls: cannot access '/sys/kernel/debug/dri/2': No such file or directory
/sys/kernel/debug/dri/0:
amdgpu_benchmark amdgpu_gfxoff_count amdgpu_ring_vce1
amdgpu_discovery amdgpu_gfxoff_residency amdgpu_ring_vce2
amdgpu_dm_capabilities amdgpu_gfxoff_status amdgpu_sa_info
amdgpu_dm_dcc_en amdgpu_gpr amdgpu_sensors
amdgpu_dm_disable_hpd amdgpu_gprwave amdgpu_smu_debug
amdgpu_dm_dmcub_trace_event_en amdgpu_gpu_recover amdgpu_test_ib
amdgpu_dm_dmub_fw_state amdgpu_gtt_mm amdgpu_vbios
amdgpu_dm_dmub_tracebuffer amdgpu_gws_mm amdgpu_vm_info
amdgpu_dm_dmub_trace_mask amdgpu_iomem amdgpu_vram
amdgpu_dm_dp_ignore_cable_id amdgpu_mqd_comp_1.0.0 amdgpu_vram_mm
amdgpu_dm_dp_set_mst_en_for_sst amdgpu_mqd_comp_1.0.1 amdgpu_wave
amdgpu_dm_dtn_log amdgpu_mqd_comp_1.1.0 clients
amdgpu_dm_force_timing_sync amdgpu_mqd_comp_1.1.1 crtc-0
amdgpu_dm_skip_detection_link_training amdgpu_mqd_comp_1.2.0 crtc-1
amdgpu_dm_trigger_hpd_mst amdgpu_mqd_comp_1.2.1 crtc-2
amdgpu_dm_visual_confirm amdgpu_mqd_comp_1.3.0 crtc-3
amdgpu_error_comp_1.0.0 amdgpu_mqd_comp_1.3.1 crtc-4
amdgpu_error_comp_1.0.1 amdgpu_mqd_kiq_0.2.1.0 crtc-5
amdgpu_error_comp_1.1.0 amdgpu_mst_topology DP-1
amdgpu_error_comp_1.1.1 amdgpu_oa_mm DP-2
amdgpu_error_comp_1.2.0 amdgpu_pm_info DVI-D-2
amdgpu_error_comp_1.2.1 amdgpu_preempt_ib encoder-0
amdgpu_error_comp_1.3.0 amdgpu_regs encoder-1
amdgpu_error_comp_1.3.1 amdgpu_regs2 encoder-10
amdgpu_error_gfx amdgpu_regs_didt encoder-2
amdgpu_error_kiq_0.2.1.0 amdgpu_regs_pcie encoder-3
amdgpu_error_sdma0 amdgpu_regs_smc encoder-4
amdgpu_error_sdma1 amdgpu_ring_comp_1.0.0 encoder-5
amdgpu_error_uvd amdgpu_ring_comp_1.0.1 encoder-6
amdgpu_error_uvd_enc0 amdgpu_ring_comp_1.1.0 encoder-7
amdgpu_error_uvd_enc1 amdgpu_ring_comp_1.1.1 encoder-8
amdgpu_error_vce0 amdgpu_ring_comp_1.2.0 encoder-9
amdgpu_error_vce1 amdgpu_ring_comp_1.2.1 framebuffer
amdgpu_error_vce2 amdgpu_ring_comp_1.3.0 gem_names
amdgpu_evict_gtt amdgpu_ring_comp_1.3.1 HDMI-A-2
amdgpu_evict_vram amdgpu_ring_gfx HDMI-A-3
amdgpu_fence_info amdgpu_ring_kiq_0.2.1.0 internal_clients
amdgpu_firmware_info amdgpu_ring_sdma0 name
amdgpu_force_sclk amdgpu_ring_sdma1 state
amdgpu_gca_config amdgpu_ring_uvd ta_if
amdgpu_gds_mm amdgpu_ring_uvd_enc0 ttm_page_pool
amdgpu_gem_info amdgpu_ring_uvd_enc1
amdgpu_gfxoff amdgpu_ring_vce0
/sys/kernel/debug/dri/1:
clients crtc-1 encoder-0 framebuffer HDMI-A-1 name
crtc-0 DVI-D-1 encoder-1 gem_names internal_clients stat
Will now try the additional parameters and post again
Offline
Oh... my...
I did boot with these kernel parameters before with no effect.. yet now it just booted as it should
Thanks so much for the help man!
Take care.
Offline
Hold your horses.
See whether the behavior remains reliable.
But - if so, please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline