Coder Social home page Coder Social logo

Comments (6)

juanbono avatar juanbono commented on September 4, 2024

what sway version are you using?
Also, what is the output of running this command?:

swaymsg -t get_outputs

from rot8.

enrico223 avatar enrico223 commented on September 4, 2024

Sway version: 1.7
Output for swaymsg -t get_outputs :

Output eDP-1 'Chimei Innolux Corporation 0x1376 0x00000000' (focused)
  Current mode: 1920x1080 @ 60.001 Hz
  Position: 0,0
  Scale factor: 1.300000
  Scale filter: linear
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 3
  Max render time: off
  Adaptive sync: disabled
  Available modes:
    1920x1080 @ 60.001 Hz

from rot8.

juanbono avatar juanbono commented on September 4, 2024

that's really weird, the transform field is there

from rot8.

enrico223 avatar enrico223 commented on September 4, 2024

I really have no idea why it happened. I am now on EndeavourOS and I don't have that problem anymore.
Could it be a driver issue? Not rot8 fault.

from rot8.

grandchild avatar grandchild commented on September 4, 2024

I encountered this today because of a "blind" HDMI output on my laptop (worked fine so far, I guess some driver-/kernel-/?- update added this output?)

Click for full output of swaymsg -t get_outputs.

❯ swaymsg -t get_outputs | jq
[
  {
    "id": 3,
    "type": "output",
    "orientation": "none",
    "percent": 1.0,
    "urgent": false,
    "marks": [],
    "layout": "output",
    "border": "none",
    "current_border_width": 0,
    "rect": {
      "x": 5540,
      "y": 2640,
      "width": 1920,
      "height": 1200
    },
    "deco_rect": {
      "x": 0,
      "y": 0,
      "width": 0,
      "height": 0
    },
    "window_rect": {
      "x": 0,
      "y": 0,
      "width": 0,
      "height": 0
    },
    "geometry": {
      "x": 0,
      "y": 0,
      "width": 0,
      "height": 0
    },
    "name": "eDP-1",
    "window": null,
    "nodes": [],
    "floating_nodes": [],
    "focus": [
      16,
      12,
      44,
      5,
      23
    ],
    "fullscreen_mode": 0,
    "sticky": false,
    "primary": false,
    "make": "Sharp Corporation",
    "model": "LQ134N1JW52",
    "serial": "Unknown",
    "modes": [
      {
        "width": 1920,
        "height": 1200,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1920,
        "height": 1200,
        "refresh": 96048,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1920,
        "height": 1200,
        "refresh": 72013,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1920,
        "height": 1200,
        "refresh": 60002,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1920,
        "height": 1200,
        "refresh": 60003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1920,
        "height": 1200,
        "refresh": 50008,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1920,
        "height": 1200,
        "refresh": 48009,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1920,
        "height": 1080,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1600,
        "height": 1200,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1680,
        "height": 1050,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1280,
        "height": 1024,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1440,
        "height": 900,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1280,
        "height": 800,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1280,
        "height": 720,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 1024,
        "height": 768,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 800,
        "height": 600,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      },
      {
        "width": 640,
        "height": 480,
        "refresh": 120003,
        "picture_aspect_ratio": "none"
      }
    ],
    "non_desktop": false,
    "active": true,
    "dpms": true,
    "power": true,
    "scale": 1.0,
    "scale_filter": "nearest",
    "transform": "normal",
    "adaptive_sync_status": "disabled",
    "current_workspace": "1",
    "current_mode": {
      "width": 1920,
      "height": 1200,
      "refresh": 60003,
      "picture_aspect_ratio": "none"
    },
    "max_render_time": 0,
    "focused": true,
    "subpixel_hinting": "unknown"
  },
  {
    "primary": false,
    "make": "Unknown",
    "model": "Unknown",
    "serial": "Unknown",
    "modes": [
      {
        "width": 640,
        "height": 480,
        "refresh": 59940
      }
    ],
    "non_desktop": false,
    "type": "output",
    "name": "HDMI-A-1",
    "active": false,
    "dpms": false,
    "power": false,
    "current_workspace": null,
    "rect": {
      "x": 0,
      "y": 0,
      "width": 0,
      "height": 0
    },
    "percent": null
  }
]

from rot8.

grandchild avatar grandchild commented on September 4, 2024

N.B. I'm not trying to rotate that output, but rot8 probably parses all outputs regardless of which is the target?

from rot8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.