wlc
wlc copied to clipboard
Provide API for accessing and configuring output devices
Having information such as adapter names is useful.
a687827 Connector (adapter) names and ids are now available.
Should return unique names for each x output as well (when running on top of x), like X-1, X-2, etc. (currently gives NULL)
They already have names None-1, None-2, if you need to check if running under X11, use wlc_get_backend_type()
I get them as null, not as None.
Is the output handle valid?
https://github.com/SirCmpwn/sway/blob/master/sway/container.c#L45-L48
I have no reason to think it's not. The resolution thing works.
94ce0ca
Changed title as this means modesetting as well.
This is a problem for me as well. I am running Arch Linux 4.14.6-1-ARCH with sway 0.15.0. I can access both monitors simultaneously, but the Ultrawide is "scrunched up" into the TTY mode with black bars on both sides. Effectively it is fitting the "correct resolution" into the TTY mode resolution.
Any fixes would be appreciated. I already tried the v86d effort to no avail. (I will try again as I think my vesa config needs work).
I have the following hardware:
Dell Inspiron 7370 2-in-1 Laptop Dell Ultrawide U3417W
relevant KMS in refind.conf
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /vmlinuz-linux
initrd /initramfs-linux.img
options "rd.luks.uuid=920a154d-bb16-43ff-a8e8-e8956df2f5ad rd.luks.name=920a154d-bb16-43ff-a8e8-e8956df2f5ad=VolGrp01 root=/dev/mapper/VolGrp01-root rw video=eDP-1:1920x1080:e video=DP-1:3440:1440:e splash quiet"
$ swaymsg -t get_outputs
Output eDP-1
Geometry: 1920x1080 @ 0,0
Scale factor: 1x
Workspace: 1
Output DP-3
Geometry: 3440x1440 @ 1920,0
Scale factor: 1x
Workspace: 2