[Bug 208647] x11/xrandr standardizing video output names

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 28 20:37:36 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208647

--- Comment #4 from Jan Beich <jbeich at 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 concatenates
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:
    [...]

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


More information about the freebsd-x11 mailing list