[Bug 208647] x11/xrandr standardizing video output names

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208647

--- Comment #4 from Jan Beich <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.