Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2019 20:37:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 208647] x11/xrandr standardizing video output names
Message-ID:  <bug-208647-7141-dgS3wJXF3a@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208647-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208647-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208647

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Emmanuel Vadot from comment #2)
> Connector names are indeed set in the drm drivers and can be anything.

Including - (hyphen)? RANDR appears to get output from DDX which concatenat=
es
connector_type and connector_type_id. Wayland compositor does something
similar.

For example:

  # xf86-video-intel by default
  $ xrandr
  Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
  DP1 connected primary 3840x2160+0+0 (normal left inverted right x axis y
axis) 600mm x 340mm
  [...]
  HDMI1 disconnected (normal left inverted right x axis y axis)
  HDMI2 disconnected (normal left inverted right x axis y axis)
  HDMI3 disconnected (normal left inverted right x axis y axis)
  VIRTUAL1 disconnected (normal left inverted right x axis y axis)

  # xf86-video-intel patched to add hyphen
  $ xrandr
  Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
  DP-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y
axis) 600mm x 340mm
  [...]
  HDMI-1 disconnected (normal left inverted right x axis y axis)
  HDMI-2 disconnected (normal left inverted right x axis y axis)
  HDMI-3 disconnected (normal left inverted right x axis y axis)
  VIRTUAL1 disconnected (normal left inverted right x axis y axis)

  # wlroots by default
  $ swaymsg -t get_outputs
  Output DP-1 'Goldstar Company Ltd LG Ultra HD 0x0000C784' (focused)
    Current mode: 3840x2160 @ 60.000000 Hz
    Position: 0,0
    Scale factor: 1.000000
    Transform: normal
    Workspace: 1
    Available modes:
    [...]

  # wlroots patched to remove hyphen
  $ swaymsg -t get_outputs
  Output DP1 'Goldstar Company Ltd LG Ultra HD 0x0000C784' (focused)
    Current mode: 3840x2160 @ 60.000000 Hz
    Position: 0,0
    Scale factor: 1.000000
    Transform: normal
    Workspace: 1
    Available modes:
    [...]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208647-7141-dgS3wJXF3a>