Module Kms.Mode_info

Screen mode resolution and timing information.

module Type : sig ... end
module Flags : sig ... end
module Stereo_mode : sig ... end
module Aspect_ratio : sig ... end
type t = {
  1. clock : int;
  2. hdisplay : int;
  3. hsync_start : int;
  4. hsync_end : int;
  5. htotal : int;
  6. hskew : int;
  7. vdisplay : int;
  8. vsync_start : int;
  9. vsync_end : int;
  10. vtotal : int;
  11. vscan : int;
  12. vrefresh : int;
  13. flags : Flags.t;
  14. stereo_mode : Stereo_mode.t;
  15. aspect_ratio : Aspect_ratio.t;
  16. typ : Type.t;
  17. name : string;
}
val get : Device.t -> Blob.id -> t

For use with Crtc.mode_id.

val vrefresh : t -> float
val pp : t Fmt.t
val pp_summary : t Fmt.t

e.g. "3840x2160 60.00Hz"