ardera / flutter-pi

A light-weight Flutter Engine Embedder for Linux Embedded that runs without X11 or Wayland.
MIT License
1.63k stars 162 forks source link

DRM issue while trying to run app on raspberry pi #194

Open raul215 opened 3 years ago

raul215 commented 3 years ago

I suddenly started facing the following issue.


[modesetting] Could not set DRM client universal planes capable. drmSetClientCap: Operation not supported
[flutter-pi] Could not create drmdev from device at "/dev/dri/card1". Continuing.
[flutter-pi] WARNING: display didn't provide valid physical dimensions.
             The device-pixel ratio will default to 1.0, which may not be the fitting device-pixel ratio for your display.
===================================
display mode:
  resolution: 1920 x 1080
  refresh rate: 50Hz
  physical size: 0mm x 0mm
  flutter device pixel ratio: 1.000000
===================================
EGL information:
  version: 1.4
  vendor: "Mesa Project"
  client extensions: "EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11 EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless EGL_EXT_platform_device"
  display 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_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
===================================
OpenGL ES information:
  version: "OpenGL ES 3.1 Mesa 19.3.2"
  shading language version: "OpenGL ES GLSL ES 3.10"
  vendor: "Broadcom"
  renderer: "V3D 4.2"
  extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_primitive_bounding_box GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_norm16 GL_KHR_context_flush_control GL_NV_image_formats GL_OES_draw_elements_base_vertex GL_OES_primitive_bounding_box GL_OES_shader_io_blocks GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_EXT_buffer_storage GL_EXT_float_blend GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_shader_image_atomic GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_KHR_parallel_shader_compile GL_MESA_framebuffer_flip_y GL_EXT_texture_query_lod "
===================================
flutter: Observatory listening on http://127.0.0.1:35911/0f253WQN62E=/
flutter: Directory: '/home/pi'
[modesetting] Could not commit atomic request. drmModeAtomicCommit: Permission denied
[compositor] Could not present frame. drmModeAtomicCommit: Permission denied
[modesetting] Could not commit atomic request. drmModeAtomicCommit: Permission denied
[compositor] Could not present frame. drmModeAtomicCommit: Permission denied
[modesetting] Could not commit atomic request. drmModeAtomicCommit: Permission denied
[compositor] Could not present frame. drmModeAtomicCommit: Permission denied```
ardera commented 3 years ago

So it worked before? You probably did that but just to make sure, did you try rebooting? Also what did you do before it didn't work anymore, did you do an update or installed a package or something?

Can you send me the complete output of raspinfo?

raul215 commented 3 years ago

Yes I did actually.


------------------

Raspberry Pi 4 Model B Rev 1.2 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"

Raspberry Pi reference 2021-01-11
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 21090519d85bdaa1615d5d5057d37b09368ea5d2, stage4

Linux pod2 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
Revision    : b03112
Serial      : 100000000805ce7c
Model       : Raspberry Pi 4 Model B Rev 1.2
Throttled flag  : throttled=0x0
Camera          : supported=1 detected=0

Videocore information
---------------------

Feb 25 2021 12:11:39 
Copyright (c) 2012 Broadcom
version 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) (release) (start_x)

alloc failures:     0
compactions:        0
legacy block fails: 0

Filesystem information
----------------------
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/root       30169392 7720884  21170340  27% /
devtmpfs          829636       0    829636   0% /dev
tmpfs             961732       0    961732   0% /dev/shm
tmpfs             961732   48940    912792   6% /run
tmpfs               5120       4      5116   1% /run/lock
tmpfs             961732       0    961732   0% /sys/fs/cgroup
/dev/loop2         46976   46976         0 100% /snap/core18/2001
/dev/loop1        100608  100608         0 100% /snap/cmake/890
/dev/loop0        101376  101376         0 100% /snap/cmake/914
/dev/loop3         46976   46976         0 100% /snap/core18/2067
/dev/loop4        101376  101376         0 100% /snap/cmake/920
/dev/loop5         46976   46976         0 100% /snap/core18/2072
/dev/mmcblk0p1    258095   48791    209305  19% /boot
tmpfs             192344       0    192344   0% /run/user/1000

Filename                Type        Size        Used        Priority
/var/swap                               file        102396      0       -2

Package version information
---------------------------
raspberrypi-ui-mods:
  Installed: 1.20201210+nmu1
raspberrypi-sys-mods:
  Installed: 20210310
openbox:
  Installed: 3.6.1-8+rpt5
lxpanel:
  Installed: 0.10.0-2+rpt14
pcmanfm:
  Installed: 1.3.1-1+rpt26
rpd-plym-splash:
  Installed: 0.26

Networking Information
----------------------

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether m.m.m.m  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet x.x.x.x  netmask x.x.x.x
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1274  bytes 367543 (358.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1274  bytes 367543 (358.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet x.x.x.x  netmask x.x.x.x  broadcast x.x.x.x
        inet6 y.y.y.y.y.y.y.y  prefixlen 64  scopeid 0x0<global>
        inet6 y.y.y.y.y.y.y.y  prefixlen 64  scopeid 0x0<global>
        inet6 y::y.y.y.y  prefixlen 64  scopeid 0x20<link>
        ether m.m.m.m  txqueuelen 1000  (Ethernet)
        RX packets 3174  bytes 1009307 (985.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2082  bytes 343304 (335.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

USB Information
---------------

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M

config.txt
----------

arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=200
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dvfs=2
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=250
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=1024
mask_gpu_interrupt1=0x10000
max_framebuffers=2
over_voltage_avs=-17500
pause_burst_frames=1
program_serial_random=1
total_mem=2048
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_force_hotplug:0=1
hdmi_group:0=2
hdmi_mode:0=82
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=

cmdline.txt
-----------
coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 video=HDMI-A-2:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:7A:E2:BE vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=cc1d2558-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles logo.nologo vt.global_cursor_default=0

raspi-gpio settings
-------------------

BANK0 (GPIO 0 to 27):
GPIO 0: level=1 fsel=0 func=INPUT pull=UP
GPIO 1: level=1 fsel=0 func=INPUT pull=UP
GPIO 2: level=1 fsel=4 alt=0 func=SDA1 pull=UP
GPIO 3: level=1 fsel=4 alt=0 func=SCL1 pull=UP
GPIO 4: level=0 fsel=0 func=INPUT pull=UP
GPIO 5: level=1 fsel=0 func=INPUT pull=UP
GPIO 6: level=1 fsel=0 func=INPUT pull=UP
GPIO 7: level=1 fsel=1 func=OUTPUT pull=UP
GPIO 8: level=1 fsel=1 func=OUTPUT pull=UP
GPIO 9: level=0 fsel=4 alt=0 func=SPI0_MISO pull=DOWN
GPIO 10: level=1 fsel=4 alt=0 func=SPI0_MOSI pull=DOWN
GPIO 11: level=0 fsel=4 alt=0 func=SPI0_SCLK pull=DOWN
GPIO 12: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 13: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 14: level=1 fsel=0 func=INPUT pull=NONE
GPIO 15: level=1 fsel=0 func=INPUT pull=UP
GPIO 16: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 17: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 18: level=0 fsel=4 alt=0 func=PCM_CLK pull=DOWN
GPIO 19: level=0 fsel=4 alt=0 func=PCM_FS pull=DOWN
GPIO 20: level=0 fsel=4 alt=0 func=PCM_DIN pull=DOWN
GPIO 21: level=0 fsel=4 alt=0 func=PCM_DOUT pull=DOWN
GPIO 22: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 23: level=1 fsel=0 func=INPUT pull=DOWN
GPIO 24: level=1 fsel=0 func=INPUT pull=DOWN
GPIO 25: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 26: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 27: level=1 fsel=0 func=INPUT pull=DOWN
BANK1 (GPIO 28 to 45):
GPIO 28: level=1 fsel=2 alt=5 func=RGMII_MDIO pull=UP
GPIO 29: level=0 fsel=2 alt=5 func=RGMII_MDC pull=DOWN
GPIO 30: level=0 fsel=7 alt=3 func=CTS0 pull=UP
GPIO 31: level=0 fsel=7 alt=3 func=RTS0 pull=NONE
GPIO 32: level=1 fsel=7 alt=3 func=TXD0 pull=NONE
GPIO 33: level=1 fsel=7 alt=3 func=RXD0 pull=UP
GPIO 34: level=1 fsel=7 alt=3 func=SD1_CLK pull=NONE
GPIO 35: level=1 fsel=7 alt=3 func=SD1_CMD pull=UP
GPIO 36: level=1 fsel=7 alt=3 func=SD1_DAT0 pull=UP
GPIO 37: level=1 fsel=7 alt=3 func=SD1_DAT1 pull=UP
GPIO 38: level=1 fsel=7 alt=3 func=SD1_DAT2 pull=UP
GPIO 39: level=1 fsel=7 alt=3 func=SD1_DAT3 pull=UP
GPIO 40: level=0 fsel=4 alt=0 func=PWM1_0 pull=NONE
GPIO 41: level=0 fsel=4 alt=0 func=PWM1_1 pull=NONE
GPIO 42: level=0 fsel=1 func=OUTPUT pull=UP
GPIO 43: level=1 fsel=0 func=INPUT pull=UP
GPIO 44: level=1 fsel=0 func=INPUT pull=UP
GPIO 45: level=1 fsel=0 func=INPUT pull=UP
BANK2 (GPIO 46 to 53):
GPIO 46: level=0 fsel=0 func=INPUT pull=UP
GPIO 47: level=0 fsel=0 func=INPUT pull=UP
GPIO 48: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 49: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 50: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 51: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 52: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 53: level=0 fsel=0 func=INPUT pull=DOWN

vcdbg log messages
------------------

005022.956: arasan: arasan_emmc_open
005170.806: brfs: File read: /mfs/sd/config.txt
005171.730: brfs: File read: 1834 bytes
005265.077: brfs: File read: /mfs/sd/config.txt
006372.331: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
006374.831: *** Restart logging
006374.852: brfs: File read: 1834 bytes
006432.925: HDMI0: hdmi_pixel_encoding: 300000000
006432.939: HDMI1: hdmi_pixel_encoding: 300000000
006438.053: dtb_file 'bcm2711-rpi-4-b.dtb'
006443.399: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb
006443.416: Loading 'bcm2711-rpi-4-b.dtb' to 0x100 size 0xbfc2
006456.008: brfs: File read: 49090 bytes
006463.651: brfs: File read: /mfs/sd/overlays/overlay_map.dtb
006527.625: brfs: File read: 1523 bytes
006529.442: brfs: File read: /mfs/sd/config.txt
006529.874: dtparam: i2c_arm=on
006538.317: dtparam: audio=on
006548.162: brfs: File read: 1834 bytes
006556.448: brfs: File read: /mfs/sd/overlays/vc4-fkms-v3d.dtbo
006573.634: Loaded overlay 'vc4-fkms-v3d'
006608.037: brfs: File read: 1446 bytes
006609.031: brfs: File read: /mfs/sd/overlays/vc4-fkms-v3d.dtbo
006638.918: Loaded overlay 'vc4-fkms-v3d'
006712.033: brfs: File read: 1446 bytes
006723.835: Failed to load overlay 'i2s-mmap'
006723.871: dtparam: i2s=on
006740.398: brfs: File read: /mfs/sd/overlays/i2s-mmap.dtbo
006754.797: brfs: File read: /mfs/sd/cmdline.txt
006754.883: Read command line from file 'cmdline.txt':
006754.912: 'console=serial0,115200 console=tty1 root=PARTUUID=cc1d2558-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles logo.nologo vt.global_cursor_default=0'
007981.669: brfs: File read: 205 bytes
009092.352: brfs: File read: /mfs/sd/kernel7l.img
009092.387: Loading 'kernel7l.img' to 0x8000 size 0x662688
009092.434: Device tree loaded to 0x2eff3900 (size 0xc61a)
009099.005: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
011657.527: vchiq_core: vchiq_init_state: slot_zero = 0xded80000, is_master = 1
011660.720: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
011660.807: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
011670.426: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000052
011670.462: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000010
015816.978: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
015910.211: TV service:host side not connected, dropping notification 0x00000004, 0x00000004, 0x00000000
016057.734: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000001
016117.714: camsubs: Camera not found
016117.861: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
016418.587: camsubs: Camera not found
016418.726: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
016419.440: camsubs: Camera not found
016419.570: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
016420.285: camsubs: Camera not found
016420.412: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
016420.620: camsubs: Camera not found

dmesg log
---------

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.17-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1403 SMP Mon Feb 22 11:33:35 GMT 2021
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003bffffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 507904
[    0.000000]   DMA zone: 2304 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 311296 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s50700 r8192 d23028 u81920
[    0.000000] pcpu-alloc: s50700 r8192 d23028 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 505600
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 video=HDMI-A-2:1920x1080M@60 smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=cc1d2558-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles logo.nologo vt.global_cursor_default=0
[    0.000000] Kernel parameter elevator= does not have any effect anymore.
               Please use sysfs to set IO scheduler for individual devices.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000019400000-0x000000001d400000] (64MB)
[    0.000000] Memory: 1659272K/2031616K available (10240K kernel code, 1358K rwdata, 3160K rodata, 2048K init, 890K bss, 110200K reserved, 262144K cma-reserved, 1245184K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 33942 entries in 67 pages
[    0.000000] ftrace: allocated 67 pages with 3 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=0
[    0.000009] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000028] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000091] bcm2835: system timer (irq = 25)
[    0.000746] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000764] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000783] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000798] Switching to timer-based delay loop, resolution 18ns
[    0.001060] Console: colour dummy device 80x30
[    0.001128] printk: console [tty1] enabled
[    0.001184] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.001218] pid_max: default: 32768 minimum: 301
[    0.001390] LSM: Security Framework initializing
[    0.001582] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001609] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003235] Disabling memory control group subsystem
[    0.003359] CPU: Testing write buffer coherency: ok
[    0.003833] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005052] Setting up static identity map for 0x200000 - 0x20003c
[    0.005254] rcu: Hierarchical SRCU implementation.
[    0.006189] smp: Bringing up secondary CPUs ...
[    0.007429] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008824] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010114] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.010272] smp: Brought up 1 node, 4 CPUs
[    0.010292] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.010307] CPU: All CPU(s) started in HYP mode.
[    0.010321] CPU: Virtualization extensions available.
[    0.011271] devtmpfs: initialized
[    0.025636] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.025880] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.025914] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.033124] pinctrl core: initialized pinctrl subsystem
[    0.034239] NET: Registered protocol family 16
[    0.038443] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.039228] audit: initializing netlink subsys (disabled)
[    0.039494] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[    0.040082] thermal_sys: Registered thermal governor 'step_wise'
[    0.040966] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.040984] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.041397] Serial: AMBA PL011 UART driver
[    0.075269] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.090874] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-02-25T12:11:39, variant start_x
[    0.100887] raspberrypi-firmware soc:firmware: Firmware hash is 564e5f9b852b23a330b1764bcf0b2d022a20afd0
[    0.145918] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.150126] vgaarb: loaded
[    0.150577] SCSI subsystem initialized
[    0.150820] usbcore: registered new interface driver usbfs
[    0.150881] usbcore: registered new interface driver hub
[    0.151380] usbcore: registered new device driver usb
[    0.151738] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.153811] clocksource: Switched to clocksource arch_sys_counter
[    1.154154] VFS: Disk quotas dquot_6.6.0
[    1.154258] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.154423] FS-Cache: Loaded
[    1.154628] CacheFiles: Loaded
[    1.155698] simple-framebuffer 3e3cd000.framebuffer: framebuffer at 0x3e3cd000, 0x7f8000 bytes, mapped to 0x(ptrval)
[    1.155719] simple-framebuffer 3e3cd000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[    1.156245] Console: switching to colour frame buffer device 240x67
[    1.166647] simple-framebuffer 3e3cd000.framebuffer: fb0: simplefb registered!
[    1.177162] NET: Registered protocol family 2
[    1.178023] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.178067] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.178222] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.178292] TCP: Hash tables configured (established 8192 bind 8192)
[    1.178459] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.178496] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.178763] NET: Registered protocol family 1
[    1.179494] RPC: Registered named UNIX socket transport module.
[    1.179510] RPC: Registered udp transport module.
[    1.179525] RPC: Registered tcp transport module.
[    1.179540] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.179563] PCI: CLS 0 bytes, default 64
[    1.182744] Initialise system trusted keyrings
[    1.182987] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.191666] zbud: loaded
[    1.193619] FS-Cache: Netfs 'nfs' registered for caching
[    1.194410] NFS: Registering the id_resolver key type
[    1.194455] Key type id_resolver registered
[    1.194471] Key type id_legacy registered
[    1.194616] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.195643] Key type asymmetric registered
[    1.195660] Asymmetric key parser 'x509' registered
[    1.195853] bounce: pool size: 64 pages
[    1.195899] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.196124] io scheduler mq-deadline registered
[    1.196141] io scheduler kyber registered
[    1.200660] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.200693] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.200787] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.200876] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[    1.255949] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    1.256350] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.256371] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.256394] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    1.256484] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.256730] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.260239] PCI: bus0: Fast back to back transfers disabled
[    1.260580] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.260708] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.261143] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.264660] PCI: bus1: Fast back to back transfers disabled
[    1.264725] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.264749] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.264833] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.264858] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.265270] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    1.265489] pcieport 0000:00:00.0: PME: Signaling with IRQ 63
[    1.274254] iproc-rng200 fe104000.rng: hwrng registered
[    1.274567] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.275467] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.287860] brd: module loaded
[    1.300392] loop: module loaded
[    1.302122] Loading iSCSI transport class v2.0-870.
[    1.304663] libphy: Fixed MDIO Bus: probed
[    1.306431] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.323856] libphy: bcmgenet MII bus: probed
[    1.403977] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.405154] usbcore: registered new interface driver r8152
[    1.405224] usbcore: registered new interface driver lan78xx
[    1.405285] usbcore: registered new interface driver smsc95xx
[    1.406913] xhci_hcd 0000:01:00.0: enabling device (0140 -> 0142)
[    1.407079] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.407115] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.410482] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000030000000890
[    1.411842] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.411861] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.411879] usb usb1: Product: xHCI Host Controller
[    1.411895] usb usb1: Manufacturer: Linux 5.10.17-v7l+ xhci-hcd
[    1.411912] usb usb1: SerialNumber: 0000:01:00.0
[    1.412701] hub 1-0:1.0: USB hub found
[    1.412799] hub 1-0:1.0: 1 port detected
[    1.413475] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.413503] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.413529] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.414097] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    1.414116] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.414133] usb usb2: Product: xHCI Host Controller
[    1.414150] usb usb2: Manufacturer: Linux 5.10.17-v7l+ xhci-hcd
[    1.414167] usb usb2: SerialNumber: 0000:01:00.0
[    1.414885] hub 2-0:1.0: USB hub found
[    1.414973] hub 2-0:1.0: 4 ports detected
[    1.416748] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.417073] dwc_otg: FIQ enabled
[    1.417087] dwc_otg: NAK holdoff enabled
[    1.417102] dwc_otg: FIQ split-transaction FSM enabled
[    1.417120] Module dwc_common_port init
[    1.417576] usbcore: registered new interface driver uas
[    1.417683] usbcore: registered new interface driver usb-storage
[    1.417883] mousedev: PS/2 mouse device common for all mice
[    1.419608] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.423214] sdhci: Secure Digital Host Controller Interface driver
[    1.423230] sdhci: Copyright(c) Pierre Ossman
[    1.424004] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    1.424621] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.428791] ledtrig-cpu: registered to indicate activity on CPUs
[    1.429140] hid: raw HID events driver (C) Jiri Kosina
[    1.429355] usbcore: registered new interface driver usbhid
[    1.429370] usbhid: USB HID core driver
[    1.435312] Initializing XFRM netlink socket
[    1.435357] NET: Registered protocol family 17
[    1.435478] Key type dns_resolver registered
[    1.435982] Registering SWP/SWPB emulation handler
[    1.436173] registered taskstats version 1
[    1.436202] Loading compiled-in X.509 certificates
[    1.437041] Key type ._fscrypt registered
[    1.437058] Key type .fscrypt registered
[    1.437074] Key type fscrypt-provisioning registered
[    1.449401] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.449712] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.449792] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[    1.456570] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.457650] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.457667] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.487995] of_cfs_init
[    1.488104] of_cfs_init: OK
[    1.512289] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.514108] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.515797] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.518817] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.520506] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.526590] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    1.527291] Waiting for root device PARTUUID=cc1d2558-02...
[    1.563621] random: fast init done
[    1.583774] mmc0: new ultra high speed SDR25 SDHC card at address 59b4
[    1.584863] mmcblk0: mmc0:59b4 USD00 29.5 GiB
[    1.587209]  mmcblk0: p1 p2
[    1.587322] mmc1: new high speed SDIO card at address 0001
[    1.623262] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    1.623280] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    1.773861] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.789745] EXT4-fs (mmcblk0p2): recovery complete
[    1.791438] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.791519] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.792218] devtmpfs: mounted
[    1.801217] Freeing unused kernel memory: 2048K
[    1.801551] Run /sbin/init as init process
[    1.801565]   with arguments:
[    1.801580]     /sbin/init
[    1.801595]     splash
[    1.801608]   with environment:
[    1.801622]     HOME=/
[    1.801636]     TERM=linux
[    1.956515] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.956537] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.956555] usb 1-1: Product: USB2.0 Hub
[    1.958893] hub 1-1:1.0: USB hub found
[    1.959184] hub 1-1:1.0: 4 ports detected
[    2.283876] usb 1-1.4: new high-speed USB device number 3 using xhci_hcd
[    2.414753] usb 1-1.4: New USB device found, idVendor=1224, idProduct=2725, bcdDevice= 1.00
[    2.414774] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.414792] usb 1-1.4: Product: USB PHY 2.0
[    2.414809] usb 1-1.4: Manufacturer: Jieli Technology
[    2.417628] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    2.419178] scsi host0: usb-storage 1-1.4:1.0
[    2.441575] systemd[1]: System time before build time, advancing clock.
[    2.592420] NET: Registered protocol family 10
[    2.593931] Segment Routing with IPv6
[    2.647021] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    2.647806] systemd[1]: Detected architecture arm.
[    2.709778] systemd[1]: Set hostname to <pod2>.
[    3.444715] scsi 0:0:0:0: Direct-Access     DV17      DEVICE V1.00    1.00 PQ: 0 ANSI: 2
[    3.515869] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.542667] random: systemd: uninitialized urandom read (16 bytes read)
[    3.572957] random: systemd: uninitialized urandom read (16 bytes read)
[    3.576528] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    3.576823] random: systemd: uninitialized urandom read (16 bytes read)
[    3.577572] systemd[1]: Listening on udev Control Socket.
[    3.578822] systemd[1]: Created slice User and Session Slice.
[    3.579520] systemd[1]: Listening on fsck to fsckd communication Socket.
[    3.580199] systemd[1]: Listening on Syslog Socket.
[    3.581155] systemd[1]: Listening on Journal Audit Socket.
[    3.582238] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    3.744972] i2c /dev entries driver
[    3.840887] snd_soc_seeed_voicecard: loading out-of-tree module taints kernel.
[    4.317105] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    4.440723] systemd-journald[117]: Received request to flush runtime journal from PID 1
[    4.658219] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.221779] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[    5.266510] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[    5.267182] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[    5.267715] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[    5.385367] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.393588] bcm2835_audio bcm2835_audio: card created with 4 channels
[    5.393983] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.396397] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.396426] [vc_sm_connected_init]: start
[    5.396744] bcm2835_audio bcm2835_audio: card created with 2 channels
[    5.398747] mc: Linux media interface: v0.10
[    5.400547] bcm2835_audio bcm2835_audio: card created with 2 channels
[    5.442160] [vc_sm_connected_init]: installed successfully
[    5.449403] videodev: Linux video capture interface: v2.00
[    5.493372] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    5.493402] checking generic (3e3cd000 7f8000) vs hw (0 ffffffffffffffff)
[    5.493421] fb0: switching to vc4drmfb from simple
[    5.501024] Console: switching to colour dummy device 80x30
[    5.506920] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.508802] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.515610] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0
[    5.517521] vc4-drm gpu: [drm] HDMI-A-1: EDID is invalid:
[    5.517544]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.517559]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.517575]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.517591]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.517606]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.517621]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.517635]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.517650]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.546223] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.547973] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.549292] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.567753] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.568282] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.568719] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.569019] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.569044] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.569066] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.569086] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.569105] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.569287] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    5.849209] Console: switching to colour frame buffer device 240x67
[    5.856988] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.888848] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[    5.991619] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.017366] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1
[    6.027283] usb 1-1.4: USB disconnect, device number 3
[    6.075913] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.086219] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.087094] usbcore: registered new interface driver brcmfmac
[    6.121166] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[    6.201552] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    6.201602] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    6.207573] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    6.207624] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    6.224955] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    6.225091] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    6.380118] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.446965] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[    8.292387] random: crng init done
[    8.292413] random: 7 urandom warning(s) missed due to ratelimiting
[    8.586438] uart-pl011 fe201000.serial: no DMA platform data
[    9.543912] usb 1-1.4: new high-speed USB device number 4 using xhci_hcd
[    9.674733] usb 1-1.4: New USB device found, idVendor=1224, idProduct=2725, bcdDevice= 1.00
[    9.674759] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    9.674778] usb 1-1.4: Product: USB PHY 2.0
[    9.674796] usb 1-1.4: Manufacturer: Jieli Technology
[    9.679351] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    9.680101] scsi host0: usb-storage 1-1.4:1.0
[   10.714960] scsi 0:0:0:0: Direct-Access     DV17      DEVICE V1.00    1.00 PQ: 0 ANSI: 2
[   10.724025] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   10.799256] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   11.093949] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[   11.484853] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/i2c@7e804000/status
[   11.713283] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/spi@7e204000/status
[   11.896555] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/i2s@7e203000/status
[   11.896626] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/i2c@7e804000/status
[   11.896649] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/compatible
[   11.896660] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/simple-audio-card,format
[   11.896671] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/simple-audio-card,name
[   11.896688] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/status
[   11.896700] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/simple-audio-card,widgets
[   11.896711] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/sound/simple-audio-card,routing
[   15.104301] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[   15.104705] bcmgenet fd580000.ethernet eth0: Link is Down
[   15.159230] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   15.687410] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   15.767285] Bluetooth: Core ver 2.22
[   15.767370] NET: Registered protocol family 31
[   15.767377] Bluetooth: HCI device and connection manager initialized
[   15.767392] Bluetooth: HCI socket layer initialized
[   15.767403] Bluetooth: L2CAP socket layer initialized
[   15.767419] Bluetooth: SCO socket layer initialized
[   15.845954] Bluetooth: HCI UART driver ver 2.3
[   15.845965] Bluetooth: HCI UART protocol H4 registered
[   15.846025] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   15.846177] Bluetooth: HCI UART protocol Broadcom registered
[   16.157101] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.157110] Bluetooth: BNEP filters: protocol multicast
[   16.157123] Bluetooth: BNEP socket layer initialized
[   19.187288] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   24.441262] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  183.039329] usb 1-1.4: USB disconnect, device number 4
[  183.487656] usb 1-1.4: new high-speed USB device number 5 using xhci_hcd
[  183.628406] usb 1-1.4: New USB device found, idVendor=1224, idProduct=2725, bcdDevice= 1.00
[  183.628430] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  183.628448] usb 1-1.4: Product: USB PHY 2.0
[  183.628466] usb 1-1.4: Manufacturer: Jieli Technology
[  183.631086] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[  183.631832] scsi host0: usb-storage 1-1.4:1.0
[  192.036095] usb 1-1.2: new full-speed USB device number 6 using xhci_hcd
[  192.176288] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c534, bcdDevice=29.00
[  192.176312] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  192.176331] usb 1-1.2: Product: USB Receiver
[  192.176348] usb 1-1.2: Manufacturer: Logitech
[  192.189445] input: Logitech USB Receiver as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C534.0001/input/input0
[  192.257099] hid-generic 0003:046D:C534.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:01:00.0-1.2/input0
[  192.268910] input: Logitech USB Receiver Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input1
[  192.269456] input: Logitech USB Receiver Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input2
[  192.336393] input: Logitech USB Receiver System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/input/input3
[  192.336981] hid-generic 0003:046D:C534.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.2/input1
[  192.607838] logitech-djreceiver 0003:046D:C534.0001: hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:01:00.0-1.2/input0
[  192.929255] logitech-djreceiver 0003:046D:C534.0002: hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.2/input1
[  193.012034] logitech-djreceiver 0003:046D:C534.0002: device of type eQUAD nano Lite (0x0a) connected on slot 1
[  193.015599] input: Logitech Wireless Keyboard PID:4023 Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input6
[  193.017448] input: Logitech Wireless Keyboard PID:4023 Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input7
[  193.017864] input: Logitech Wireless Keyboard PID:4023 System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input8
[  193.018349] hid-generic 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-0000:01:00.0-1.2/input1:1
[  193.028012] logitech-djreceiver 0003:046D:C534.0002: device of type eQUAD nano Lite (0x0a) connected on slot 2
[  193.030044] input: Logitech Wireless Mouse PID:4022 Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4022.0004/input/input13
[  193.030605] hid-generic 0003:046D:4022.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:4022] on usb-0000:01:00.0-1.2/input1:2
[  193.604393] input: Logitech Wireless Keyboard PID:4023 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input17
[  193.604879] logitech-hidpp-device 0003:046D:4023.0003: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Keyboard PID:4023] on usb-0000:01:00.0-1.2/input1:1
[  193.716209] input: Logitech Wireless Mouse PID:4022 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C534.0002/0003:046D:4022.0004/input/input18
[  193.716459] logitech-hidpp-device 0003:046D:4022.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:4022] on usb-0000:01:00.0-1.2/input1:2
[  205.374422] usb 1-1.4: reset high-speed USB device number 5 using xhci_hcd
[  239.339048] logitech-hidpp-device 0003:046D:4023.0003: HID++ 2.0 device connected.
[  776.712380] v3d fec00000.v3d: MMU error from client L2T (0) at 0x21c1000, pte invalid```
ardera commented 3 years ago

Okay nothing unusual, could you please send me the syslog with DRM debugging enabled?

baldax95 commented 3 years ago

I'm also facing the same problem, but I have a few more details to work on:

When i run my app with flutter-pi on my raspberry 4 (with raspi os 64 bit) it works without that drm message.

When i run the same app, on the same rasp with same OS but using docker this time, then that message appears, exactly the same as the one of raul215, with the only difference that:

Could not create drmdev from device at "/dev/dri/card1". Continuing. is not card1 but it is card0 in my case.

Here is the configuration of the environment:

Dockerfile:

FROM ubuntu

RUN apt -y update && apt -y install git && apt -y install wget 

WORKDIR /TOWER_DISPLAY

# STEP 1 DIPENDENZE
RUN git clone --depth 1 https://github.com/ardera/flutter-engine-binaries-for-arm.git engine-binaries && \ 
    cd engine-binaries && \
    ./install.sh

# STEP 2 DIPENDENZE
ENV TZ=Europe/Rome
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt -y install cmake \
    libgl1-mesa-dev \
    libgles2-mesa-dev \
    libegl1-mesa-dev \
    libdrm-dev \
    libgbm-dev

RUN DEBIAN_FRONTEND='noninteractive' apt -y install ttf-mscorefonts-installer
RUN apt -y install fontconfig \
    libsystemd-dev \
    libinput-dev \
    libudev-dev \
    libxkbcommon-dev

#STEP 3 DIPENDENZE
RUN fc-cache
###########################
# COMPILING
RUN git clone https://github.com/ardera/flutter-pi
WORKDIR /TOWER_DISPLAY/flutter-pi/build
RUN cmake ..
RUN make -j `nproc`
RUN make install

WORKDIR /TOWER_DISPLAY

COPY ../build/flutter_assets ./flutter_assets

CMD flutter-pi ./flutter_assets

I'm waiting for a possible exlanation to this, thanks in advance.

ardera commented 3 years ago

I've never used docker and never tried to run docker with flutter-pi, so not sure I can debug that; but I'll look into it

Cir0X commented 2 years ago

@Jollastro How do you run the container? I'm running it with --priviliged .

# build image
docker build -t flutter-pi .

# run container
docker run --rm --privileged --network host -v /run/udev:/run/udev:ro --name flutter-pi flutter-pi:latest

Depending on your setup, you probably don't need the /run/udev read only mount.

baldax95 commented 2 years ago

I'm also running with --priviliged but it doesn't seem to solve the drmdev message

UliPrantz commented 2 years ago

Facing the same problem right now. I can't seem to fix it. I tried using the Legacy Graphics driver and also the GL (Full KMS) driver but it seems like the Legacy driver doesn't work at all and the GL driver works in 1 of 3 cases. Means I just hard reboot the Pi (by cutting the power supply) a couple of times and sometimes it works but most of the time I get: [flutter-pi] Could not query DRM device list: No such file or directory I'm using a clean and newest version of Raspbian 32 bit as OS.