You are not logged in.

#1 2022-04-25 06:45:52

Uzaku
Member
Registered: 2022-04-25
Posts: 4

Second external monitor not working

Hey, I'm not entirely sure whether this issue is related to Arch running on my Laptop, but it might have to do with it, since I use a Razer Blade 15 2020 Base Edition.

I use a USB-C hub with two HDMI slots, and the second monitor won't turn on. Or, If I explicitely try to enable it via wdisplay, it will only work with a resolution of 720x400.
I run wayland and sway. My laptop has an Intel gpu and a dedicated nvidia GPU for which I use nouveau. But I'm pretty sure, that the nvidia GPU is not involved with the external monitors.

I'm not sure if this is a problem with Sway, Wayland, the intel driver, or my system configuration which is why I ask for help here.

In the sway log, there is this regarding the issue:

00:00:03.894 [DEBUG] [sway/desktop/output.c:857] New output 0x556dc7c04a80: DP-5 (non-desktop: 0)
00:00:03.894 [DEBUG] [sway/config/output.c:390] Turning on output DP-5
00:00:03.894 [DEBUG] [sway/config/output.c:403] Set preferred mode
00:00:03.894 [DEBUG] [wlr] [backend/drm/drm.c:492] connector DP-5: Can't enable an output without a buffer
00:00:03.894 [DEBUG] [wlr] [types/output/render.c:192] Attaching empty buffer to output for modeset
00:00:03.894 [DEBUG] [wlr] [types/output/render.c:73] Choosing primary buffer format 0x34325258 for output 'DP-5'
00:00:03.894 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:03.895 [DEBUG] [wlr] [render/allocator/gbm.c:140] Allocated 1920x1080 GBM buffer (format 0x34325258, modifier 0x0)
00:00:03.895 [DEBUG] [wlr] [render/gles2/renderer.c:142] Created GL FBO for buffer 1920x1080
00:00:03.895 [DEBUG] [sway/config/output.c:436] Auto-detected output transform: 0
00:00:03.895 [DEBUG] [sway/config/output.c:450] Auto-detected output scale: 1.000000
00:00:03.895 [DEBUG] [sway/config/output.c:496] Committing output DP-5
00:00:03.897 [DEBUG] [wlr] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:03.897 [DEBUG] [wlr] [render/allocator/gbm.c:140] Allocated 1920x1080 GBM buffer (format 0x34325241, modifier 0x300000000606014)
00:00:03.897 [DEBUG] [wlr] [render/gles2/renderer.c:142] Created GL FBO for buffer 1920x1080
00:00:03.897 [INFO] [wlr] [backend/drm/drm.c:708] connector DP-5: Modesetting with '1920x1080@60000mHz'
00:00:03.897 [ERROR] [wlr] [backend/drm/legacy.c:106] connector DP-5: Failed to set CRTC: No space left on device
00:00:03.897 [ERROR] [sway/config/output.c:501] Failed to commit output DP-5

I don't know a lot about how the internals of graphics work, but after some googling I found the frame buffer compression on the wiki page for the intel driver. So I enabled that by adding the i915.conf to the modprobe.d folder and updating the initramfs.
It didn't help with my problem though. In my dmesg I found this:

[ 2250.594328] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.

I'm not sure what to make of it though. Until recently I used Ubuntu 20.04 on the same hardware, also with Sway, and there the second external monitor did work, so it must be possible to get it working somehow.

Here is my sway log which is way too big for pastebin or dpaste, so I truncated everything after the error with the display. Here is my dmesg output and here is my journalctl -b output

Offline

Board footer

Powered by FluxBB