Message ID | 20241101184156.2368109-1-hiagofranco@gmail.com |
---|---|
State | New |
Headers | show |
Series | drm-info: add recipe | expand |
Should this go to meta-oe rather? Why core? Alex On Fri 1. Nov 2024 at 19.42, Hiago De Franco via lists.openembedded.org <hiagofranco=gmail.com@lists.openembedded.org> wrote: > From: Hiago De Franco <hiago.franco@toradex.com> > > This recipe provides information about DRM devices, useful for debugging > and checking information about DRM. > > Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> > --- > meta/conf/distro/include/maintainers.inc | 1 + > meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++ > 2 files changed, 14 insertions(+) > create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb > > diff --git a/meta/conf/distro/include/maintainers.inc > b/meta/conf/distro/include/maintainers.inc > index 7aafa7a2d146..2c2779f8cf83 100644 > --- a/meta/conf/distro/include/maintainers.inc > +++ b/meta/conf/distro/include/maintainers.inc > @@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi > Zhao <yi.zhao@windriver.com>" > RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <raj.khem@gmail.com>" > RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <yi.zhao@windriver.com>" > RECIPE_MAINTAINER:pn-dpkg = "Unassigned <unassigned@yoctoproject.org>" > +RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < > hiago.franco@toradex.com>" > RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <yi.zhao@windriver.com>" > RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <wangmy@fujitsu.com>" > RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin < > alex.kanavin@gmail.com>" > diff --git a/meta/recipes-graphics/drm/drm-info_2.7.0.bb > b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > new file mode 100644 > index 000000000000..9f1cbb47fbfd > --- /dev/null > +++ b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > @@ -0,0 +1,13 @@ > +SUMMARY = "Small utility to dump info about DRM devices" > +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" > + > +SRC_URI = "git:// > gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" > +SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" > + > +S = "${WORKDIR}/git" > + > +inherit meson pkgconfig > + > +DEPENDS = "json-c libdrm" > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#206628): > https://lists.openembedded.org/g/openembedded-core/message/206628 > Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
Hi Alexander, On Fri, Nov 01, 2024 at 08:22:03PM +0100, Alexander Kanavin wrote: > Should this go to meta-oe rather? Why core? I was not 100% sure, I just selected here because I saw the recipe for 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if openembedded-core is not the correct place. Please let me know. > > Alex > > On Fri 1. Nov 2024 at 19.42, Hiago De Franco via lists.openembedded.org > <hiagofranco=gmail.com@lists.openembedded.org> wrote: > > > From: Hiago De Franco <hiago.franco@toradex.com> > > > > This recipe provides information about DRM devices, useful for debugging > > and checking information about DRM. > > > > Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> > > --- > > meta/conf/distro/include/maintainers.inc | 1 + > > meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++ > > 2 files changed, 14 insertions(+) > > create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > diff --git a/meta/conf/distro/include/maintainers.inc > > b/meta/conf/distro/include/maintainers.inc > > index 7aafa7a2d146..2c2779f8cf83 100644 > > --- a/meta/conf/distro/include/maintainers.inc > > +++ b/meta/conf/distro/include/maintainers.inc > > @@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi > > Zhao <yi.zhao@windriver.com>" > > RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <raj.khem@gmail.com>" > > RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <yi.zhao@windriver.com>" > > RECIPE_MAINTAINER:pn-dpkg = "Unassigned <unassigned@yoctoproject.org>" > > +RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < > > hiago.franco@toradex.com>" > > RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <yi.zhao@windriver.com>" > > RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <wangmy@fujitsu.com>" > > RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin < > > alex.kanavin@gmail.com>" > > diff --git a/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > new file mode 100644 > > index 000000000000..9f1cbb47fbfd > > --- /dev/null > > +++ b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > @@ -0,0 +1,13 @@ > > +SUMMARY = "Small utility to dump info about DRM devices" > > +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" > > +LICENSE = "MIT" > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" > > + > > +SRC_URI = "git:// > > gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" > > +SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" > > + > > +S = "${WORKDIR}/git" > > + > > +inherit meson pkgconfig > > + > > +DEPENDS = "json-c libdrm" > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > View/Reply Online (#206628): > > https://lists.openembedded.org/g/openembedded-core/message/206628 > > Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489 > > Group Owner: openembedded-core+owner@lists.openembedded.org > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > > alex.kanavin@gmail.com] > > -=-=-=-=-=-=-=-=-=-=-=- > > > > Regards, Hiago.
Perhaps you can show what the tool outputs? Alex On Fri 1. Nov 2024 at 21.23, Hiago De Franco <hiagofranco@gmail.com> wrote: > Hi Alexander, > > On Fri, Nov 01, 2024 at 08:22:03PM +0100, Alexander Kanavin wrote: > > Should this go to meta-oe rather? Why core? > > I was not 100% sure, I just selected here because I saw the recipe for > 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if > openembedded-core is not the correct place. Please let me know. > > > > > Alex > > > > On Fri 1. Nov 2024 at 19.42, Hiago De Franco via lists.openembedded.org > > <hiagofranco=gmail.com@lists.openembedded.org> wrote: > > > > > From: Hiago De Franco <hiago.franco@toradex.com> > > > > > > This recipe provides information about DRM devices, useful for > debugging > > > and checking information about DRM. > > > > > > Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> > > > --- > > > meta/conf/distro/include/maintainers.inc | 1 + > > > meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++ > > > 2 files changed, 14 insertions(+) > > > create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > diff --git a/meta/conf/distro/include/maintainers.inc > > > b/meta/conf/distro/include/maintainers.inc > > > index 7aafa7a2d146..2c2779f8cf83 100644 > > > --- a/meta/conf/distro/include/maintainers.inc > > > +++ b/meta/conf/distro/include/maintainers.inc > > > @@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi > > > Zhao <yi.zhao@windriver.com>" > > > RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <raj.khem@gmail.com>" > > > RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <yi.zhao@windriver.com>" > > > RECIPE_MAINTAINER:pn-dpkg = "Unassigned <unassigned@yoctoproject.org > >" > > > +RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < > > > hiago.franco@toradex.com>" > > > RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <yi.zhao@windriver.com>" > > > RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <wangmy@fujitsu.com>" > > > RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin < > > > alex.kanavin@gmail.com>" > > > diff --git a/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > new file mode 100644 > > > index 000000000000..9f1cbb47fbfd > > > --- /dev/null > > > +++ b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > @@ -0,0 +1,13 @@ > > > +SUMMARY = "Small utility to dump info about DRM devices" > > > +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" > > > +LICENSE = "MIT" > > > +LIC_FILES_CHKSUM = > "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" > > > + > > > +SRC_URI = "git:// > > > > gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" > > > +SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" > > > + > > > +S = "${WORKDIR}/git" > > > + > > > +inherit meson pkgconfig > > > + > > > +DEPENDS = "json-c libdrm" > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > Links: You receive all messages sent to this group. > > > View/Reply Online (#206628): > > > https://lists.openembedded.org/g/openembedded-core/message/206628 > > > Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489 > > > Group Owner: openembedded-core+owner@lists.openembedded.org > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub > [ > > > alex.kanavin@gmail.com] > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > > > > Regards, > > Hiago. >
On Fri, Nov 01, 2024 at 09:35:27PM +0100, Alexander Kanavin wrote: > Perhaps you can show what the tool outputs? Sure, here is the output for qemu x86-64: root@qemux86-64:~# drm_info Node: /dev/dri/card0 ├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (201309) │ ├───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_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not 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 │ └───DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP = 0 ├───Device: PCI 1234:1111 │ └───Available nodes: primary ├───Framebuffer size │ ├───Width: [0, 8192] │ └───Height: [0, 8192] ├───Connectors │ └───Connector 0 │ ├───Object ID: 32 │ ├───Type: virtual │ ├───Status: connected │ ├───Physical size: 320×200 mm │ ├───Subpixel: unknown │ ├───Encoders: {0} │ ├───Modes │ │ ├───1280×800@74.99 preferred driver nhsync nvsync │ │ ├───1920×1080@60.00 driver nhsync nvsync │ │ ├───1920×1080@50.00 driver phsync pvsync 16:9 │ │ ├───1600×1200@60.00 driver phsync pvsync │ │ ├───1680×1050@59.95 driver nhsync pvsync │ │ ├───1400×1050@59.98 driver nhsync pvsync │ │ ├───1280×1024@60.02 driver phsync pvsync │ │ ├───1440×900@59.89 driver nhsync pvsync │ │ ├───1280×960@60.00 driver phsync pvsync │ │ ├───1360×768@60.02 driver phsync pvsync │ │ ├───1280×768@59.87 driver nhsync pvsync │ │ ├───1024×768@60.00 driver nhsync nvsync │ │ ├───800×600@60.32 driver phsync pvsync │ │ ├───640×480@60.00 driver nhsync nvsync 4:3 │ │ └───640×480@59.94 driver nhsync nvsync │ └───Properties │ ├───"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 = 36 │ └───"EDID" (immutable): blob = 33 ├───Encoders │ └───Encoder 0 │ ├───Object ID: 37 │ ├───Type: none │ ├───CRTCS: {0} │ └───Clones: {0} ├───CRTCs │ └───CRTC 0 │ ├───Object ID: 36 │ ├───Legacy info │ │ ├───Mode: 1280×800@74.99 preferred driver nhsync nvsync │ │ └───Gamma size: 0 │ └───Properties │ ├───"ACTIVE" (atomic): range [0, 1] = 1 │ ├───"MODE_ID" (atomic): blob = 39 │ │ └───1280×800@74.99 preferred driver nhsync nvsync │ ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0 │ └───"VRR_ENABLED": range [0, 1] = 0 └───Planes └───Plane 0 ├───Object ID: 34 ├───CRTCs: {0} ├───Legacy info │ ├───FB ID: 38 │ │ ├───Object ID: 38 │ │ ├───Size: 1280×800 │ │ ├───Format: XRGB8888 (0x34325258) │ │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000) │ │ └───Planes: │ │ └───Plane 0: offset = 0, pitch = 5120 bytes │ └───Formats: │ ├───XRGB8888 (0x34325258) │ └───BGRX8888 (0x34325842) └───Properties ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary ├───"FB_ID" (atomic): object framebuffer = 38 │ ├───Object ID: 38 │ ├───Size: 1280×800 │ ├───Format: XRGB8888 (0x34325258) │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000) │ └───Planes: │ └───Plane 0: offset = 0, pitch = 5120 bytes ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 ├───"CRTC_ID" (atomic): object CRTC = 36 ├───"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] = 1280 ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 800 ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1280 ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 800 └───"IN_FORMATS" (immutable): blob = 35 └───DRM_FORMAT_MOD_LINEAR (0x0000000000000000) ├───XRGB8888 (0x34325258) └───BGRX8888 (0x34325842) It is basically a dump with information about DRM devices. > > Alex > > On Fri 1. Nov 2024 at 21.23, Hiago De Franco <hiagofranco@gmail.com> wrote: > > > Hi Alexander, > > > > On Fri, Nov 01, 2024 at 08:22:03PM +0100, Alexander Kanavin wrote: > > > Should this go to meta-oe rather? Why core? > > > > I was not 100% sure, I just selected here because I saw the recipe for > > 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if > > openembedded-core is not the correct place. Please let me know. > > > > > > > > Alex > > > > > > On Fri 1. Nov 2024 at 19.42, Hiago De Franco via lists.openembedded.org > > > <hiagofranco=gmail.com@lists.openembedded.org> wrote: > > > > > > > From: Hiago De Franco <hiago.franco@toradex.com> > > > > > > > > This recipe provides information about DRM devices, useful for > > debugging > > > > and checking information about DRM. > > > > > > > > Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> > > > > --- > > > > meta/conf/distro/include/maintainers.inc | 1 + > > > > meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++ > > > > 2 files changed, 14 insertions(+) > > > > create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > > > diff --git a/meta/conf/distro/include/maintainers.inc > > > > b/meta/conf/distro/include/maintainers.inc > > > > index 7aafa7a2d146..2c2779f8cf83 100644 > > > > --- a/meta/conf/distro/include/maintainers.inc > > > > +++ b/meta/conf/distro/include/maintainers.inc > > > > @@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi > > > > Zhao <yi.zhao@windriver.com>" > > > > RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <raj.khem@gmail.com>" > > > > RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <yi.zhao@windriver.com>" > > > > RECIPE_MAINTAINER:pn-dpkg = "Unassigned <unassigned@yoctoproject.org > > >" > > > > +RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < > > > > hiago.franco@toradex.com>" > > > > RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <yi.zhao@windriver.com>" > > > > RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <wangmy@fujitsu.com>" > > > > RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin < > > > > alex.kanavin@gmail.com>" > > > > diff --git a/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > new file mode 100644 > > > > index 000000000000..9f1cbb47fbfd > > > > --- /dev/null > > > > +++ b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > @@ -0,0 +1,13 @@ > > > > +SUMMARY = "Small utility to dump info about DRM devices" > > > > +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" > > > > +LICENSE = "MIT" > > > > +LIC_FILES_CHKSUM = > > "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" > > > > + > > > > +SRC_URI = "git:// > > > > > > gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" > > > > +SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" > > > > + > > > > +S = "${WORKDIR}/git" > > > > + > > > > +inherit meson pkgconfig > > > > + > > > > +DEPENDS = "json-c libdrm" > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > Links: You receive all messages sent to this group. > > > > View/Reply Online (#206628): > > > > https://lists.openembedded.org/g/openembedded-core/message/206628 > > > > Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489 > > > > Group Owner: openembedded-core+owner@lists.openembedded.org > > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub > > [ > > > > alex.kanavin@gmail.com] > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > > > > > > > > Regards, > > > > Hiago. > > Regards, Hiago.
Thanks, this does seem useful. I'd want input from people actively working with graphics, but not sure who to ask. Alex On Sat, 2 Nov 2024 at 00:38, Hiago De Franco <hiagofranco@gmail.com> wrote: > > On Fri, Nov 01, 2024 at 09:35:27PM +0100, Alexander Kanavin wrote: > > Perhaps you can show what the tool outputs? > > Sure, here is the output for qemu x86-64: > > root@qemux86-64:~# drm_info > Node: /dev/dri/card0 > ├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (201309) > │ ├───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_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not 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 > │ └───DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP = 0 > ├───Device: PCI 1234:1111 > │ └───Available nodes: primary > ├───Framebuffer size > │ ├───Width: [0, 8192] > │ └───Height: [0, 8192] > ├───Connectors > │ └───Connector 0 > │ ├───Object ID: 32 > │ ├───Type: virtual > │ ├───Status: connected > │ ├───Physical size: 320×200 mm > │ ├───Subpixel: unknown > │ ├───Encoders: {0} > │ ├───Modes > │ │ ├───1280×800@74.99 preferred driver nhsync nvsync > │ │ ├───1920×1080@60.00 driver nhsync nvsync > │ │ ├───1920×1080@50.00 driver phsync pvsync 16:9 > │ │ ├───1600×1200@60.00 driver phsync pvsync > │ │ ├───1680×1050@59.95 driver nhsync pvsync > │ │ ├───1400×1050@59.98 driver nhsync pvsync > │ │ ├───1280×1024@60.02 driver phsync pvsync > │ │ ├───1440×900@59.89 driver nhsync pvsync > │ │ ├───1280×960@60.00 driver phsync pvsync > │ │ ├───1360×768@60.02 driver phsync pvsync > │ │ ├───1280×768@59.87 driver nhsync pvsync > │ │ ├───1024×768@60.00 driver nhsync nvsync > │ │ ├───800×600@60.32 driver phsync pvsync > │ │ ├───640×480@60.00 driver nhsync nvsync 4:3 > │ │ └───640×480@59.94 driver nhsync nvsync > │ └───Properties > │ ├───"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 = 36 > │ └───"EDID" (immutable): blob = 33 > ├───Encoders > │ └───Encoder 0 > │ ├───Object ID: 37 > │ ├───Type: none > │ ├───CRTCS: {0} > │ └───Clones: {0} > ├───CRTCs > │ └───CRTC 0 > │ ├───Object ID: 36 > │ ├───Legacy info > │ │ ├───Mode: 1280×800@74.99 preferred driver nhsync nvsync > │ │ └───Gamma size: 0 > │ └───Properties > │ ├───"ACTIVE" (atomic): range [0, 1] = 1 > │ ├───"MODE_ID" (atomic): blob = 39 > │ │ └───1280×800@74.99 preferred driver nhsync nvsync > │ ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0 > │ └───"VRR_ENABLED": range [0, 1] = 0 > └───Planes > └───Plane 0 > ├───Object ID: 34 > ├───CRTCs: {0} > ├───Legacy info > │ ├───FB ID: 38 > │ │ ├───Object ID: 38 > │ │ ├───Size: 1280×800 > │ │ ├───Format: XRGB8888 (0x34325258) > │ │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > │ │ └───Planes: > │ │ └───Plane 0: offset = 0, pitch = 5120 bytes > │ └───Formats: > │ ├───XRGB8888 (0x34325258) > │ └───BGRX8888 (0x34325842) > └───Properties > ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary > ├───"FB_ID" (atomic): object framebuffer = 38 > │ ├───Object ID: 38 > │ ├───Size: 1280×800 > │ ├───Format: XRGB8888 (0x34325258) > │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > │ └───Planes: > │ └───Plane 0: offset = 0, pitch = 5120 bytes > ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 > ├───"CRTC_ID" (atomic): object CRTC = 36 > ├───"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] = 1280 > ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 800 > ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 > ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 > ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1280 > ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 800 > └───"IN_FORMATS" (immutable): blob = 35 > └───DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > ├───XRGB8888 (0x34325258) > └───BGRX8888 (0x34325842) > > It is basically a dump with information about DRM devices. > > > > > Alex > > > > On Fri 1. Nov 2024 at 21.23, Hiago De Franco <hiagofranco@gmail.com> wrote: > > > > > Hi Alexander, > > > > > > On Fri, Nov 01, 2024 at 08:22:03PM +0100, Alexander Kanavin wrote: > > > > Should this go to meta-oe rather? Why core? > > > > > > I was not 100% sure, I just selected here because I saw the recipe for > > > 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if > > > openembedded-core is not the correct place. Please let me know. > > > > > > > > > > > Alex > > > > > > > > On Fri 1. Nov 2024 at 19.42, Hiago De Franco via lists.openembedded.org > > > > <hiagofranco=gmail.com@lists.openembedded.org> wrote: > > > > > > > > > From: Hiago De Franco <hiago.franco@toradex.com> > > > > > > > > > > This recipe provides information about DRM devices, useful for > > > debugging > > > > > and checking information about DRM. > > > > > > > > > > Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> > > > > > --- > > > > > meta/conf/distro/include/maintainers.inc | 1 + > > > > > meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++ > > > > > 2 files changed, 14 insertions(+) > > > > > create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > > > > > diff --git a/meta/conf/distro/include/maintainers.inc > > > > > b/meta/conf/distro/include/maintainers.inc > > > > > index 7aafa7a2d146..2c2779f8cf83 100644 > > > > > --- a/meta/conf/distro/include/maintainers.inc > > > > > +++ b/meta/conf/distro/include/maintainers.inc > > > > > @@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi > > > > > Zhao <yi.zhao@windriver.com>" > > > > > RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <raj.khem@gmail.com>" > > > > > RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <yi.zhao@windriver.com>" > > > > > RECIPE_MAINTAINER:pn-dpkg = "Unassigned <unassigned@yoctoproject.org > > > >" > > > > > +RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < > > > > > hiago.franco@toradex.com>" > > > > > RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <yi.zhao@windriver.com>" > > > > > RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <wangmy@fujitsu.com>" > > > > > RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin < > > > > > alex.kanavin@gmail.com>" > > > > > diff --git a/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > new file mode 100644 > > > > > index 000000000000..9f1cbb47fbfd > > > > > --- /dev/null > > > > > +++ b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > @@ -0,0 +1,13 @@ > > > > > +SUMMARY = "Small utility to dump info about DRM devices" > > > > > +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" > > > > > +LICENSE = "MIT" > > > > > +LIC_FILES_CHKSUM = > > > "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" > > > > > + > > > > > +SRC_URI = "git:// > > > > > > > > gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" > > > > > +SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" > > > > > + > > > > > +S = "${WORKDIR}/git" > > > > > + > > > > > +inherit meson pkgconfig > > > > > + > > > > > +DEPENDS = "json-c libdrm" > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > Links: You receive all messages sent to this group. > > > > > View/Reply Online (#206628): > > > > > https://lists.openembedded.org/g/openembedded-core/message/206628 > > > > > Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489 > > > > > Group Owner: openembedded-core+owner@lists.openembedded.org > > > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub > > > [ > > > > > alex.kanavin@gmail.com] > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > > > > > > > > > > > > Regards, > > > > > > Hiago. > > > > > Regards, > > Hiago.
On Sat, Nov 02, 2024 at 10:16:56AM +0100, Alexander Kanavin wrote: > Thanks, this does seem useful. I'd want input from people actively > working with graphics, but not sure who to ask. Maybe Wang Mingyu could also comment here? I am not sure. > > Alex > > On Sat, 2 Nov 2024 at 00:38, Hiago De Franco <hiagofranco@gmail.com> wrote: > > > > On Fri, Nov 01, 2024 at 09:35:27PM +0100, Alexander Kanavin wrote: > > > Perhaps you can show what the tool outputs? > > > > Sure, here is the output for qemu x86-64: > > > > root@qemux86-64:~# drm_info > > Node: /dev/dri/card0 > > ├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (201309) > > │ ├───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_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not 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 > > │ └───DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP = 0 > > ├───Device: PCI 1234:1111 > > │ └───Available nodes: primary > > ├───Framebuffer size > > │ ├───Width: [0, 8192] > > │ └───Height: [0, 8192] > > ├───Connectors > > │ └───Connector 0 > > │ ├───Object ID: 32 > > │ ├───Type: virtual > > │ ├───Status: connected > > │ ├───Physical size: 320×200 mm > > │ ├───Subpixel: unknown > > │ ├───Encoders: {0} > > │ ├───Modes > > │ │ ├───1280×800@74.99 preferred driver nhsync nvsync > > │ │ ├───1920×1080@60.00 driver nhsync nvsync > > │ │ ├───1920×1080@50.00 driver phsync pvsync 16:9 > > │ │ ├───1600×1200@60.00 driver phsync pvsync > > │ │ ├───1680×1050@59.95 driver nhsync pvsync > > │ │ ├───1400×1050@59.98 driver nhsync pvsync > > │ │ ├───1280×1024@60.02 driver phsync pvsync > > │ │ ├───1440×900@59.89 driver nhsync pvsync > > │ │ ├───1280×960@60.00 driver phsync pvsync > > │ │ ├───1360×768@60.02 driver phsync pvsync > > │ │ ├───1280×768@59.87 driver nhsync pvsync > > │ │ ├───1024×768@60.00 driver nhsync nvsync > > │ │ ├───800×600@60.32 driver phsync pvsync > > │ │ ├───640×480@60.00 driver nhsync nvsync 4:3 > > │ │ └───640×480@59.94 driver nhsync nvsync > > │ └───Properties > > │ ├───"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 = 36 > > │ └───"EDID" (immutable): blob = 33 > > ├───Encoders > > │ └───Encoder 0 > > │ ├───Object ID: 37 > > │ ├───Type: none > > │ ├───CRTCS: {0} > > │ └───Clones: {0} > > ├───CRTCs > > │ └───CRTC 0 > > │ ├───Object ID: 36 > > │ ├───Legacy info > > │ │ ├───Mode: 1280×800@74.99 preferred driver nhsync nvsync > > │ │ └───Gamma size: 0 > > │ └───Properties > > │ ├───"ACTIVE" (atomic): range [0, 1] = 1 > > │ ├───"MODE_ID" (atomic): blob = 39 > > │ │ └───1280×800@74.99 preferred driver nhsync nvsync > > │ ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0 > > │ └───"VRR_ENABLED": range [0, 1] = 0 > > └───Planes > > └───Plane 0 > > ├───Object ID: 34 > > ├───CRTCs: {0} > > ├───Legacy info > > │ ├───FB ID: 38 > > │ │ ├───Object ID: 38 > > │ │ ├───Size: 1280×800 > > │ │ ├───Format: XRGB8888 (0x34325258) > > │ │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > > │ │ └───Planes: > > │ │ └───Plane 0: offset = 0, pitch = 5120 bytes > > │ └───Formats: > > │ ├───XRGB8888 (0x34325258) > > │ └───BGRX8888 (0x34325842) > > └───Properties > > ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary > > ├───"FB_ID" (atomic): object framebuffer = 38 > > │ ├───Object ID: 38 > > │ ├───Size: 1280×800 > > │ ├───Format: XRGB8888 (0x34325258) > > │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > > │ └───Planes: > > │ └───Plane 0: offset = 0, pitch = 5120 bytes > > ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 > > ├───"CRTC_ID" (atomic): object CRTC = 36 > > ├───"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] = 1280 > > ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 800 > > ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 > > ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 > > ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1280 > > ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 800 > > └───"IN_FORMATS" (immutable): blob = 35 > > └───DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > > ├───XRGB8888 (0x34325258) > > └───BGRX8888 (0x34325842) > > > > It is basically a dump with information about DRM devices. > > > > > > > > Alex > > > > > > On Fri 1. Nov 2024 at 21.23, Hiago De Franco <hiagofranco@gmail.com> wrote: > > > > > > > Hi Alexander, > > > > > > > > On Fri, Nov 01, 2024 at 08:22:03PM +0100, Alexander Kanavin wrote: > > > > > Should this go to meta-oe rather? Why core? > > > > > > > > I was not 100% sure, I just selected here because I saw the recipe for > > > > 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if > > > > openembedded-core is not the correct place. Please let me know. > > > > > > > > > > > > > > Alex > > > > > > > > > > On Fri 1. Nov 2024 at 19.42, Hiago De Franco via lists.openembedded.org > > > > > <hiagofranco=gmail.com@lists.openembedded.org> wrote: > > > > > > > > > > > From: Hiago De Franco <hiago.franco@toradex.com> > > > > > > > > > > > > This recipe provides information about DRM devices, useful for > > > > debugging > > > > > > and checking information about DRM. > > > > > > > > > > > > Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> > > > > > > --- > > > > > > meta/conf/distro/include/maintainers.inc | 1 + > > > > > > meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++ > > > > > > 2 files changed, 14 insertions(+) > > > > > > create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > > > > > > > diff --git a/meta/conf/distro/include/maintainers.inc > > > > > > b/meta/conf/distro/include/maintainers.inc > > > > > > index 7aafa7a2d146..2c2779f8cf83 100644 > > > > > > --- a/meta/conf/distro/include/maintainers.inc > > > > > > +++ b/meta/conf/distro/include/maintainers.inc > > > > > > @@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi > > > > > > Zhao <yi.zhao@windriver.com>" > > > > > > RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <raj.khem@gmail.com>" > > > > > > RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <yi.zhao@windriver.com>" > > > > > > RECIPE_MAINTAINER:pn-dpkg = "Unassigned <unassigned@yoctoproject.org > > > > >" > > > > > > +RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < > > > > > > hiago.franco@toradex.com>" > > > > > > RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <yi.zhao@windriver.com>" > > > > > > RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <wangmy@fujitsu.com>" > > > > > > RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin < > > > > > > alex.kanavin@gmail.com>" > > > > > > diff --git a/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > new file mode 100644 > > > > > > index 000000000000..9f1cbb47fbfd > > > > > > --- /dev/null > > > > > > +++ b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > @@ -0,0 +1,13 @@ > > > > > > +SUMMARY = "Small utility to dump info about DRM devices" > > > > > > +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" > > > > > > +LICENSE = "MIT" > > > > > > +LIC_FILES_CHKSUM = > > > > "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" > > > > > > + > > > > > > +SRC_URI = "git:// > > > > > > > > > > gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" > > > > > > +SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" > > > > > > + > > > > > > +S = "${WORKDIR}/git" > > > > > > + > > > > > > +inherit meson pkgconfig > > > > > > + > > > > > > +DEPENDS = "json-c libdrm" > > > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > > Links: You receive all messages sent to this group. > > > > > > View/Reply Online (#206628): > > > > > > https://lists.openembedded.org/g/openembedded-core/message/206628 > > > > > > Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489 > > > > > > Group Owner: openembedded-core+owner@lists.openembedded.org > > > > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub > > > > [ > > > > > > alex.kanavin@gmail.com] > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > Hiago. > > > > > > > > Regards, > > > > Hiago. Regards, Hiago.
On Sat, Nov 02, 2024 at 11:59:09AM -0300, Hiago De Franco wrote: > On Sat, Nov 02, 2024 at 10:16:56AM +0100, Alexander Kanavin wrote: > > Thanks, this does seem useful. I'd want input from people actively > > working with graphics, but not sure who to ask. > > Maybe Wang Mingyu could also comment here? I am not sure. After checking more closely, this recipe should go to meta-oe instead. I will send a proper patch to meta-oe, please do not merge this one into oe-core. Sorry about the noise. > > > > > Alex > > > > On Sat, 2 Nov 2024 at 00:38, Hiago De Franco <hiagofranco@gmail.com> wrote: > > > > > > On Fri, Nov 01, 2024 at 09:35:27PM +0100, Alexander Kanavin wrote: > > > > Perhaps you can show what the tool outputs? > > > > > > Sure, here is the output for qemu x86-64: > > > > > > root@qemux86-64:~# drm_info > > > Node: /dev/dri/card0 > > > ├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (201309) > > > │ ├───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_CLIENT_CAP_CURSOR_PLANE_HOTSPOT not 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 > > > │ └───DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP = 0 > > > ├───Device: PCI 1234:1111 > > > │ └───Available nodes: primary > > > ├───Framebuffer size > > > │ ├───Width: [0, 8192] > > > │ └───Height: [0, 8192] > > > ├───Connectors > > > │ └───Connector 0 > > > │ ├───Object ID: 32 > > > │ ├───Type: virtual > > > │ ├───Status: connected > > > │ ├───Physical size: 320×200 mm > > > │ ├───Subpixel: unknown > > > │ ├───Encoders: {0} > > > │ ├───Modes > > > │ │ ├───1280×800@74.99 preferred driver nhsync nvsync > > > │ │ ├───1920×1080@60.00 driver nhsync nvsync > > > │ │ ├───1920×1080@50.00 driver phsync pvsync 16:9 > > > │ │ ├───1600×1200@60.00 driver phsync pvsync > > > │ │ ├───1680×1050@59.95 driver nhsync pvsync > > > │ │ ├───1400×1050@59.98 driver nhsync pvsync > > > │ │ ├───1280×1024@60.02 driver phsync pvsync > > > │ │ ├───1440×900@59.89 driver nhsync pvsync > > > │ │ ├───1280×960@60.00 driver phsync pvsync > > > │ │ ├───1360×768@60.02 driver phsync pvsync > > > │ │ ├───1280×768@59.87 driver nhsync pvsync > > > │ │ ├───1024×768@60.00 driver nhsync nvsync > > > │ │ ├───800×600@60.32 driver phsync pvsync > > > │ │ ├───640×480@60.00 driver nhsync nvsync 4:3 > > > │ │ └───640×480@59.94 driver nhsync nvsync > > > │ └───Properties > > > │ ├───"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 = 36 > > > │ └───"EDID" (immutable): blob = 33 > > > ├───Encoders > > > │ └───Encoder 0 > > > │ ├───Object ID: 37 > > > │ ├───Type: none > > > │ ├───CRTCS: {0} > > > │ └───Clones: {0} > > > ├───CRTCs > > > │ └───CRTC 0 > > > │ ├───Object ID: 36 > > > │ ├───Legacy info > > > │ │ ├───Mode: 1280×800@74.99 preferred driver nhsync nvsync > > > │ │ └───Gamma size: 0 > > > │ └───Properties > > > │ ├───"ACTIVE" (atomic): range [0, 1] = 1 > > > │ ├───"MODE_ID" (atomic): blob = 39 > > > │ │ └───1280×800@74.99 preferred driver nhsync nvsync > > > │ ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0 > > > │ └───"VRR_ENABLED": range [0, 1] = 0 > > > └───Planes > > > └───Plane 0 > > > ├───Object ID: 34 > > > ├───CRTCs: {0} > > > ├───Legacy info > > > │ ├───FB ID: 38 > > > │ │ ├───Object ID: 38 > > > │ │ ├───Size: 1280×800 > > > │ │ ├───Format: XRGB8888 (0x34325258) > > > │ │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > > > │ │ └───Planes: > > > │ │ └───Plane 0: offset = 0, pitch = 5120 bytes > > > │ └───Formats: > > > │ ├───XRGB8888 (0x34325258) > > > │ └───BGRX8888 (0x34325842) > > > └───Properties > > > ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary > > > ├───"FB_ID" (atomic): object framebuffer = 38 > > > │ ├───Object ID: 38 > > > │ ├───Size: 1280×800 > > > │ ├───Format: XRGB8888 (0x34325258) > > > │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > > > │ └───Planes: > > > │ └───Plane 0: offset = 0, pitch = 5120 bytes > > > ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 > > > ├───"CRTC_ID" (atomic): object CRTC = 36 > > > ├───"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] = 1280 > > > ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 800 > > > ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 > > > ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 > > > ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 1280 > > > ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 800 > > > └───"IN_FORMATS" (immutable): blob = 35 > > > └───DRM_FORMAT_MOD_LINEAR (0x0000000000000000) > > > ├───XRGB8888 (0x34325258) > > > └───BGRX8888 (0x34325842) > > > > > > It is basically a dump with information about DRM devices. > > > > > > > > > > > Alex > > > > > > > > On Fri 1. Nov 2024 at 21.23, Hiago De Franco <hiagofranco@gmail.com> wrote: > > > > > > > > > Hi Alexander, > > > > > > > > > > On Fri, Nov 01, 2024 at 08:22:03PM +0100, Alexander Kanavin wrote: > > > > > > Should this go to meta-oe rather? Why core? > > > > > > > > > > I was not 100% sure, I just selected here because I saw the recipe for > > > > > 'libdrm' and the 'recipes-graphics/drm'. I can move this to meta-oe if > > > > > openembedded-core is not the correct place. Please let me know. > > > > > > > > > > > > > > > > > Alex > > > > > > > > > > > > On Fri 1. Nov 2024 at 19.42, Hiago De Franco via lists.openembedded.org > > > > > > <hiagofranco=gmail.com@lists.openembedded.org> wrote: > > > > > > > > > > > > > From: Hiago De Franco <hiago.franco@toradex.com> > > > > > > > > > > > > > > This recipe provides information about DRM devices, useful for > > > > > debugging > > > > > > > and checking information about DRM. > > > > > > > > > > > > > > Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> > > > > > > > --- > > > > > > > meta/conf/distro/include/maintainers.inc | 1 + > > > > > > > meta/recipes-graphics/drm/drm-info_2.7.0.bb | 13 +++++++++++++ > > > > > > > 2 files changed, 14 insertions(+) > > > > > > > create mode 100644 meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > > > > > > > > > diff --git a/meta/conf/distro/include/maintainers.inc > > > > > > > b/meta/conf/distro/include/maintainers.inc > > > > > > > index 7aafa7a2d146..2c2779f8cf83 100644 > > > > > > > --- a/meta/conf/distro/include/maintainers.inc > > > > > > > +++ b/meta/conf/distro/include/maintainers.inc > > > > > > > @@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi > > > > > > > Zhao <yi.zhao@windriver.com>" > > > > > > > RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <raj.khem@gmail.com>" > > > > > > > RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <yi.zhao@windriver.com>" > > > > > > > RECIPE_MAINTAINER:pn-dpkg = "Unassigned <unassigned@yoctoproject.org > > > > > >" > > > > > > > +RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco < > > > > > > > hiago.franco@toradex.com>" > > > > > > > RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <yi.zhao@windriver.com>" > > > > > > > RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <wangmy@fujitsu.com>" > > > > > > > RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin < > > > > > > > alex.kanavin@gmail.com>" > > > > > > > diff --git a/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > > b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > > new file mode 100644 > > > > > > > index 000000000000..9f1cbb47fbfd > > > > > > > --- /dev/null > > > > > > > +++ b/meta/recipes-graphics/drm/drm-info_2.7.0.bb > > > > > > > @@ -0,0 +1,13 @@ > > > > > > > +SUMMARY = "Small utility to dump info about DRM devices" > > > > > > > +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" > > > > > > > +LICENSE = "MIT" > > > > > > > +LIC_FILES_CHKSUM = > > > > > "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" > > > > > > > + > > > > > > > +SRC_URI = "git:// > > > > > > > > > > > > gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" > > > > > > > +SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" > > > > > > > + > > > > > > > +S = "${WORKDIR}/git" > > > > > > > + > > > > > > > +inherit meson pkgconfig > > > > > > > + > > > > > > > +DEPENDS = "json-c libdrm" > > > > > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > > > Links: You receive all messages sent to this group. > > > > > > > View/Reply Online (#206628): > > > > > > > https://lists.openembedded.org/g/openembedded-core/message/206628 > > > > > > > Mute This Topic: https://lists.openembedded.org/mt/109340073/1686489 > > > > > > > Group Owner: openembedded-core+owner@lists.openembedded.org > > > > > > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub > > > > > [ > > > > > > > alex.kanavin@gmail.com] > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > Hiago. > > > > > > > > > > > Regards, > > > > > > Hiago. > > Regards, > > Hiago. Regards, Hiago.
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 7aafa7a2d146..2c2779f8cf83 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -156,6 +156,7 @@ RECIPE_MAINTAINER:pn-docbook-xsl-stylesheets = "Yi Zhao <yi.zhao@windriver.com>" RECIPE_MAINTAINER:pn-dos2unix = "Khem Raj <raj.khem@gmail.com>" RECIPE_MAINTAINER:pn-dosfstools = "Yi Zhao <yi.zhao@windriver.com>" RECIPE_MAINTAINER:pn-dpkg = "Unassigned <unassigned@yoctoproject.org>" +RECIPE_MAINTAINER:pn-drm-info = "Hiago De Franco <hiago.franco@toradex.com>" RECIPE_MAINTAINER:pn-dropbear = "Yi Zhao <yi.zhao@windriver.com>" RECIPE_MAINTAINER:pn-dtc = "Wang Mingyu <wangmy@fujitsu.com>" RECIPE_MAINTAINER:pn-dwarfsrcfiles = "Alexander Kanavin <alex.kanavin@gmail.com>" diff --git a/meta/recipes-graphics/drm/drm-info_2.7.0.bb b/meta/recipes-graphics/drm/drm-info_2.7.0.bb new file mode 100644 index 000000000000..9f1cbb47fbfd --- /dev/null +++ b/meta/recipes-graphics/drm/drm-info_2.7.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Small utility to dump info about DRM devices" +HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" + +SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" +SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" + +S = "${WORKDIR}/git" + +inherit meson pkgconfig + +DEPENDS = "json-c libdrm"