Sway Version:
Debug Log:
Configuration File:
Description:
output HDMI-A-1 res --custom 640x480 or output HDMI-A-1 res --custom 640x480@60Hz option in the sway config, and a black screen occurs swaymsg -t get_outputs
```Output HDMI-A-1 'Dell Inc. DELL AW2518HF JW2VM03C0K6U' (focused)
Current mode: 1920x1080 @ 60.000000 Hz
Position: 0,0
Scale factor: 1.000000
Scale filter: nearest
Subpixel hinting: rgb
Transform: normal
Workspace: $ws4
Max render time: off
Adaptive sync: disabled
Available modes:
720x400 @ 70.082001 Hz
640x480 @ 59.939999 Hz
640x480 @ 60.000000 Hz
640x480 @ 75.000000 Hz
720x480 @ 59.939999 Hz
720x480 @ 60.000000 Hz
720x576 @ 50.000000 Hz
800x600 @ 60.317001 Hz
800x600 @ 75.000000 Hz
1024x768 @ 60.004002 Hz
1024x768 @ 75.028999 Hz
1280x720 @ 50.000000 Hz
1280x720 @ 59.939999 Hz
1280x720 @ 60.000000 Hz
1152x864 @ 75.000000 Hz
1280x1024 @ 60.020000 Hz
1280x1024 @ 75.025002 Hz
1600x900 @ 60.000000 Hz
1920x1080 @ 50.000000 Hz
1920x1080 @ 59.939999 Hz
1920x1080 @ 60.000000 Hz
Output LVDS-1 'Unknown 0x0384 0x00000000' (inactive)
Available modes:
640x480 @ 59.938000 Hz
720x480 @ 59.938000 Hz
848x480 @ 59.938999 Hz
800x600 @ 59.959999 Hz
1024x768 @ 59.949001 Hz
1152x768 @ 59.950001 Hz
1280x720 @ 59.973999 Hz
1366x768 @ 40.042000 Hz
1366x768 @ 60.068001 Hz```
Interesting, I got it to work using output HDMI-A-1 res --custom 640x480@75Hz. Using output HDMI-A-1 res --custom 640x480@60Hz and output HDMI-A-1 res --custom 640x480 will result in a black screen. Maybe it has to do with my second deactivated laptop screen?
Why are you using --custom when it's a natively supported resolution of your monitor?
Sounds like Sway does the right thing, and doesn't get an error from the kernel:
00:00:01.651 [INFO] [backend/drm/drm.c:852] Registered custom mode 640x480@59375
00:00:01.651 [INFO] [backend/drm/drm.c:803] Modesetting 'HDMI-A-1' with '640x480@59375mHz'
00:00:01.651 [DEBUG] [backend/drm/drm.c:685] Initializing renderer on connector 'HDMI-A-1'
Can you obtain DRM debug logs? See https://github.com/swaywm/wlroots/wiki/DRM-Debugging