[Discuss] display

dan moylan jdm at moylan.us
Mon Dec 4 10:56:45 EST 2023


daniel gessel wrote:
> The tool "drm_info" will report details on available modes
> (and much more) if you have relatively modern graphics
> drivers. The package name has a hyphen instead of an
> underscore: "drm-info".

installed drm_info and got this:

Node: /dev/dri/card0
├───Driver: simpledrm (DRM driver for simple-framebuffer platform devices) version 1.0.0 (20200625)
│   ├───DRM_CLIENT_CAP_STEREO_3D supported
│   ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│   ├───DRM_CLIENT_CAP_ATOMIC supported
│   ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│   ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported
│   ├───DRM_CAP_DUMB_BUFFER = 1
│   ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
│   ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
│   ├───DRM_CAP_DUMB_PREFER_SHADOW = 0
│   ├───DRM_CAP_PRIME = 3
│   ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1
│   ├───DRM_CAP_ASYNC_PAGE_FLIP = 0
│   ├───DRM_CAP_CURSOR_WIDTH = 64
│   ├───DRM_CAP_CURSOR_HEIGHT = 64
│   ├───DRM_CAP_ADDFB2_MODIFIERS = 1
│   ├───DRM_CAP_PAGE_FLIP_TARGET = 0
│   ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1
│   ├───DRM_CAP_SYNCOBJ = 0
│   └───DRM_CAP_SYNCOBJ_TIMELINE = 0
├───Device: platform simple-framebuffer
│   └───Available nodes: primary
├───Framebuffer size
│   ├───Width: [1024, 4096]
│   └───Height: [768, 4096]
├───Connectors
│   └───Connector 0
│       ├───Object ID: 35
│       ├───Type: unknown
│       ├───Status: connected
│       ├───Physical size: 270x203 mm
│       ├───Subpixel: unknown
│       ├───Encoders: {0}
│       ├───Modes
│       │   └───1024x768 at 60.00 preferred driver
│       └───Properties
│           ├───"EDID" (immutable): blob = 0
│           ├───"DPMS": enum {On, Standby, Suspend, Off} = On
│           ├───"link-status": enum {Good, Bad} = Good
│           ├───"non-desktop" (immutable): range [0, 1] = 0
│           ├───"TILE" (immutable): blob = 0
│           └───"CRTC_ID" (atomic): object CRTC = 33
├───Encoders
│   └───Encoder 0
│       ├───Object ID: 34
│       ├───Type: none
│       ├───CRTCS: {0}
│       └───Clones: {0}
├───CRTCs
│   └───CRTC 0
│       ├───Object ID: 33
│       ├───Legacy info
│       │   ├───Mode: 1024x768 at 60.00 preferred driver
│       │   └───Gamma size: 0
│       └───Properties
│           ├───"ACTIVE" (atomic): range [0, 1] = 1
│           ├───"MODE_ID" (atomic): blob = 39
│           │   └───1024x768 at 60.00 preferred driver
│           ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0
│           └───"VRR_ENABLED": range [0, 1] = 0
└───Planes
    └───Plane 0
        ├───Object ID: 31
        ├───CRTCs: {0}
        ├───Legacy info
        │   ├───FB ID: 38
        │   │   ├───Object ID: 38
        │   │   ├───Size: 1024x768
        │   │   ├───Format: XRGB8888 (0x34325258)
        │   │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0)
        │   │   └───Planes:
        │   │       └───Plane 0: offset = 0, pitch = 4096 bytes
        │   └───Formats:
        │       └───XRGB8888 (0x34325258)
        └───Properties
            ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary
            ├───"FB_ID" (atomic): object framebuffer = 38
            │   ├───Object ID: 38
            │   ├───Size: 1024x768
            │   ├───Format: XRGB8888 (0x34325258)
            │   ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0)
            │   └───Planes:
            │       └───Plane 0: offset = 0, pitch = 4096 bytes
            ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1
            ├───"CRTC_ID" (atomic): object CRTC = 33
            ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0
            ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 1024
            ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 768
            ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0
            ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1024
            ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 768
            ├───"IN_FORMATS" (immutable): blob = 32
            │   └───DRM_FORMAT_MOD_LINEAR (0x0)
            │       └───XRGB8888 (0x34325258)
            └───"FB_DAMAGE_CLIPS" (atomic): blob = 41

don't know what to do.

tia,
ole dan

j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel)
jdm at moylan.us
www.moylan.us
[BLM]


More information about the Discuss mailing list