You are not logged in.

#1 2020-07-10 15:03:33

StepanSebestian
Member
Registered: 2019-04-14
Posts: 6

Sway doesn't detect output before reload

Hi.
I'm trying to setup sway on my laptop (Lenovo Idepad MIIX 300-10IBY).
When I launch sway, I get an error

Error on line 3 (/etc/sway/config.d/60-builtin-screen.conf) 'transform 90 clockwise': Cannot apply relative transform to unknown output DSI-1

I would understand this, but when I reload the config, poof the error is gone and the screen rotates.
Here are the contents of /etc/sway/config.d/60-builtin-screen.conf

output DSI-1 {
    resolution 800x1280
    transform 90 clockwise
}

Also, the output of swaymsg -t get_outputs before clicking "Reload sway"

[stepan@destr02 ~]$ swaymsg -t get_outputs
Output DSI-1 '<Unknown> <Unknown> ' (focused)
  Current mode: 800x1280 @ 59.992001 Hz
  Position: 0,0
  Scale factor: 1.00000
  Scale filter: nearest
  Subpixel hinting: rgb
  Transform: normal
  Workspace: 1
  Max render time: off
  Available modes:
    800x1280 @ 59.992001 Hz

[stepan@destr02 ~]$

After clicking it the only change is that the Transform is now 90.

The GPU is an Intel HD Graphics for Intel Atom Processor Z3700 series and DSI-1 is the built-in screen.

Is there a way to get rid of this error? Thanks.

Last edited by StepanSebestian (2020-07-10 15:03:54)

Offline

Board footer

Powered by FluxBB