On Tue, 16 Jun 2020 16:42:14 +0100 Sudip Mukherjee <sudipm.mukher...@gmail.com> wrote: > On Mon, Jun 15, 2020 at 09:35:56AM +0200, Guido Günther wrote: > > Package: wnpp > > Severity: wishlist > > > <snip> > > > > drm_info dumps information about available drm device like available > > devices, planes, encoders, crtcs and connectors and their DRM > > properties. > > This looks like an useful utility and I did an initial packaging. But > while testing I get a segfault after printing all the information. > > $ drm_info > Node: /dev/dri/card0 > ├───Driver: bochs-drm (bochs dispi vga interface (qemu stdvga)) version 1.0.0 (20130925) > │ ├───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 = 0 > │ ├───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 = 0 > │ ├───DRM_CAP_PAGE_FLIP_TARGET = 0 > │ ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1 > │ ├───DRM_CAP_SYNCOBJ = 0 > │ └───DRM_CAP_SYNCOBJ_TIMELINE = 0 > Segmentation fault >
Did you get it running yet? I could build and run it on a few different systems with just plain meson/ninja without any problems.> I also tried with "drm_info -j" and that works pergectly without any error. I would also be interested in packaging this but don't want to have duplicated work. If you intent to package it, could you open a ITP? > I also tried with "drm_info -j" and that works pergectly without any error. > > Note: I have used Debian packages of json-c, libdrm and libpci. It will > be good to have a manpage along with the fix for segfault. > > -- > Regards > Sudip > > -- Regards Evangelos Ribeiro Tzaras