Hallo,
ich versuche das softhddevice-drm unter LbreELEC/AMLGX (arm) zu starten und erhalte einen Fehler, mit dem ich nix anfangen kann.
Vielleicht kennst sich jemand mit DRM besser aus:
Code
Nov 21 15:38:31 odroid2 vdr[2851]: [2851] setting primary device to 1
Nov 21 15:38:31 odroid2 vdr[2851]: [2851] [softhddev]MakePrimaryDevice: 1
Nov 21 15:38:31 odroid2 vdr[2851]: audio/alsa: using device 'default'
Nov 21 15:38:31 odroid2 vdr[2851]: audio/alsa: mixer default - PCM open
Nov 21 15:38:31 odroid2 vdr[2851]: audio/alsa: PCM mixer found 0 - 255 ratio 255000
Nov 21 15:38:31 odroid2 vdr[2851]: audio: wait on start condition
Nov 21 15:38:31 odroid2 start_vdr.sh[2851]: AlsaFlushBuffers: AlsaFlushBuffers
Nov 21 15:38:31 odroid2 start_vdr.sh[2851]: AudioPlayHandlerThread: pthread_cond_wait
Nov 21 15:38:31 odroid2 vdr[2851]: FindDevice: DRM have 1 connectors, 1 crtcs, 1 encoders
Nov 21 15:38:32 odroid2 vdr[2851]: FindDevice: Found Monitor Mode 1920x1080@50
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: FindDevice: Plane id 34 crtc_id 40 possible_crtcs 255 possible CRTC 40 type primary plane
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: FindDevice: PixelFormats AR24 AB24 XR24 XB24 RG24 RG16
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: FindDevice: Plane id 37 crtc_id 0 possible_crtcs 255 possible CRTC 40 type overlay plane
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: FindDevice: PixelFormats YUYV NV12 NV21 YU24 YU16 YU12 YU11 YUV9 YU08 YU10
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: best_primary_video_plane: plane_id 0, type OVERLAY, zpos 0
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: best_overlay_video_plane: plane_id 37, type OVERLAY, zpos 0
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: best_primary_osd_plane: plane_id 34, type PRIMARY, zpos 1
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: best_overlay_osd_plane: plane_id 0, type OVERLAY, zpos 0
Nov 21 15:38:32 odroid2 start_vdr.sh[2851]: FindDevice: zpos values are wrong, so switch them
Nov 21 15:38:32 odroid2 vdr[2851]: [softhddev]Using display 0xca40c0 with EGL version 1.4
Nov 21 15:38:32 odroid2 vdr[2851]: [softhddev] EGL Version: "1.4"
Nov 21 15:38:32 odroid2 vdr[2851]: [softhddev] EGL Vendor: "Mesa Project"
Nov 21 15:38:32 odroid2 vdr[2851]: [softhddev] EGL Extensions: "EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KH
Nov 21 15:38:38 odroid2 start_vdr.sh[3533]: FindDevice: DRM setup CRTC: 40 video_plane: 37 (OVERLAY 0) osd_plane: 34 (PRIMARY 1) use_zpos: 1c_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_i
Nov 21 15:38:38 odroid2 start_vdr.sh[3533]: SetupFB: fb_id 43 width 720 height 576 pix_fmt NV12
Nov 21 15:38:38 odroid2 start_vdr.sh[3533]: cannot set atomic mode (22): Invalid argument
Nov 21 15:38:38 odroid2 start_vdr.sh[3200]: Aborted
N
Display More
Das passiert wohl im VideoInit. flags müsste DRM_MODE_ATOMIC_ALLOW_MODESET sein.
Code
if (drmModeAtomicCommit(render->fd_drm, ModeReq, flags, NULL) != 0) {
fprintf(stderr, "cannot set atomic mode (%d): %m\n", errno);
drmModeAtomicFree(ModeReq);
abort();
}
Der Kernel ist
Eine Internetsuche brachte mich da so überhaupt nicht weiter.