[BPI-R2] Hdmi in uboot and linux

Problem regarding to HDMI… so I think, this is a correct place to write about it here :slight_smile:

When we boot BPI-R2 without connected monitor and plug them to hdmi port, after system up, monitor is not detected and we see only the black screen or other info from monitor.

It is possible to wake-up hdmi to work as should if we start OS without connected monitor?

Kernel: 4.19.16-bpi-r2-main

Messages from dmesg on connecting monitor:

[Feb19 11:22] [drm:drm_helper_hpd_irq_event] [CONNECTOR:29:HDMI-A-1] status updated from disconnected to connected
[  +0.000088] [drm:drm_sysfs_hotplug_event] generating hotplug event
[  +2.527553] [drm:drm_helper_hpd_irq_event] [CONNECTOR:29:HDMI-A-1] status updated from connected to disconnected
[  +0.000087] [drm:drm_sysfs_hotplug_event] generating hotplug event
[  +3.086113] [drm:drm_helper_hpd_irq_event] [CONNECTOR:29:HDMI-A-1] status updated from disconnected to connected
[  +0.000088] [drm:drm_sysfs_hotplug_event] generating hotplug event
[  +2.521216] [drm:drm_helper_hpd_irq_event] [CONNECTOR:29:HDMI-A-1] status updated from connected to disconnected
[  +0.000087] [drm:drm_sysfs_hotplug_event] generating hotplug event
[  +3.140467] [drm:drm_helper_hpd_irq_event] [CONNECTOR:29:HDMI-A-1] status updated from disconnected to connected
[  +0.000089] [drm:drm_sysfs_hotplug_event] generating hotplug event

I found, that I can add video=HDMI-A-1:D to bootline (force the HDMI output to be enabled (D) and to be used for video output) but not helps :frowning:

After a deeper investigation I have the expected result. The solution is to add video boot option in this format video=HDMI-A-1:1280x1024-32@60D [https://wiki.archlinux.org/index.php/Kernel_mode_setting]

does this work for you? i have also defined (slightly differnt) video-bootoption, but get DRM_IOCTL_MODE_DIRTYFB messages if i bootup without monitor connected

tried it, and it works partially…i see xserver, but screen is compressed in width (left and right there are 4cm missing of 34cm total width), i don’t have this effect if i bootup in the same mode

@frank-w yes, this boot option works for me:

but I test it only in text mode. I’m not tested it with xserver. I’m not need DE on my BPI-R2 :wink: I tested this option with two monitors: 1st Dell 27" and 2nd probably 23 or 24". I booted BPI without connected monitor and after boot finish connect one by one of them. On both, the output was correct.

Tomorrow morning I will check if DRM_IOCTL_MODE_DIRTYFB messages appear on my BPI-R2 and back with the answer.

framebuffer is also strange width on my tft…same resolution as you

I have drm.debug=0x7 activated…

I too :slight_smile: Did you have 4:3 monitor or wide? Maybe you should use other resolution for your monitor?

4:3…1280x1024 is native resolution…it is correct if i bootup with tft connected. But if i bootup without it and connect it later i get this 2/3 width centered screen

Hmm, a little strange but If you can, please try 1280 × 960 (it is for 4:3). 1280 × 1024 is 5∶4 based on this url: https://en.wikipedia.org/wiki/List_of_common_resolutions

BPI-R2 boot cmd:

root@slackarm:~# cat /proc/cmdline 
board=bpi-r2 console=earlyprintk console=tty1 fbcon=map:0 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait service=linux vmalloc=496M debug=7 initcall_debug=0 vid
eo=HDMI-A-1:1280x1024-32@60D drm.debug=0x7

and full log from boot without connected monitor:

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.16-bpi-r2-main (pi@bpi-r2) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #1 SMP Wed Jan 23 10:23:17 CET 2019
[    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Bananapi BPI-R2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] [WMT-CONSYS-HW][W]reserve_memory_consys_fn: name: consys-reserve-memory, base: 0xffe00000, size: 0x100000
[    0.000000] OF: reserved mem: initialized node consys-reserve-memory, compatible id mediatek,consys-reserve-memory
[    0.000000] cma: Reserved 64 MiB at 0xfb800000
[    0.000000] On node 0 totalpages: 524031
[    0.000000]   Normal zone: 1170 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 133120 pages, LIFO batch:31
[    0.000000]   HighMem zone: 390911 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x49c with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s40460 r8192 d20980 u69632
[    0.000000] pcpu-alloc: s40460 r8192 d20980 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522861
[    0.000000] Kernel command line: board=bpi-r2 console=earlyprintk console=tty1 fbcon=map:0 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait service=linux vmall
oc=496M debug=7 initcall_debug=0 video=HDMI-A-1:1280x1024-32@60D drm.debug=0x7
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 1992348K/2096124K available (11264K kernel code, 976K rwdata, 3512K rodata, 1024K init, 576K bss, 38240K reserved, 65536K cma-reserved, 1498108K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe1000000 - 0xff800000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0800000   ( 520 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (12256 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 977 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 577 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 35931 entries in 106 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000005] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000017] Switching to timer-based delay loop, resolution 76ns
[    0.000210] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[    0.000226] sched_clock: 32 bits at 13MHz, resolution 76ns, wraps every 165191050201ns
[    0.000825] Console: colour dummy device 80x30
[    0.001349] console [tty1] enabled
[    0.001392] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.001421] pid_max: default: 32768 minimum: 301
[    0.001593] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001615] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002343] CPU: Testing write buffer coherency: ok
[    0.002705] CPU0: update cpu_capacity 1024
[    0.002727] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003280] Setting up static identity map for 0x80100000 - 0x80100060
[    0.003416] rcu: Hierarchical SRCU implementation.
[    0.008896] smp: Bringing up secondary CPUs ...
[    0.009449] CPU1: update cpu_capacity 1024
[    0.009457] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.010150] CPU2: update cpu_capacity 1024
[    0.010156] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010700] CPU3: update cpu_capacity 1024
[    0.010705] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.010798] smp: Brought up 1 node, 4 CPUs
[    0.010879] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[    0.010894] CPU: All CPU(s) started in SVC mode.
[    0.011933] devtmpfs: initialized
[    0.019963] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[    0.020245] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.020283] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.022965] xor: measuring software checksum speed
[    0.120012]    arm4regs  :  1288.800 MB/sec
[    0.220083]    8regs     :   897.200 MB/sec
[    0.320160]    32regs    :   871.600 MB/sec
[    0.420235]    neon      :  1301.600 MB/sec
[    0.420251] xor: using function: neon (1301.600 MB/sec)
[    0.420276] pinctrl core: initialized pinctrl subsystem
[    0.421100] NET: Registered protocol family 16
[    0.423028] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.424318] No ATAGs?
[    0.424460] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.424495] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.690580] raid6: int32x1  gen()   182 MB/s
[    0.860592] raid6: int32x1  xor()   166 MB/s
[    1.030719] raid6: int32x2  gen()   219 MB/s
[    1.200861] raid6: int32x2  xor()   178 MB/s
[    1.371006] raid6: int32x4  gen()   226 MB/s
[    1.541049] raid6: int32x4  xor()   177 MB/s
[    1.711321] raid6: int32x8  gen()   211 MB/s
[    1.881415] raid6: int32x8  xor()   145 MB/s
[    2.051344] raid6: neonx1   gen()   510 MB/s
[    2.221477] raid6: neonx1   xor()   482 MB/s
[    2.391569] raid6: neonx2   gen()   670 MB/s
[    2.561680] raid6: neonx2   xor()   603 MB/s
[    2.731812] raid6: neonx4   gen()   744 MB/s
[    2.901896] raid6: neonx4   xor()   657 MB/s
[    3.071990] raid6: neonx8   gen()   712 MB/s
[    3.242073] raid6: neonx8   xor()   614 MB/s
[    3.242089] raid6: using algorithm neonx4 gen() 744 MB/s
[    3.242103] raid6: .... xor() 657 MB/s, rmw enabled
[    3.242117] raid6: using neon recovery algorithm
[    3.243727] iommu: Adding device 14007000.ovl to group 0
[    3.247749] iommu: Adding device 14008000.rdma to group 1
[    3.247816] iommu: Adding device 14009000.wdma to group 2
[    3.247879] iommu: Adding device 14012000.rdma to group 3
[    3.247945] iommu: Adding device 15004000.jpegdec to group 4
[    3.248421] vgaarb: loaded
[    3.248840] SCSI subsystem initialized
[    3.249082] libata version 3.00 loaded.
[    3.249308] usbcore: registered new interface driver usbfs
[    3.249368] usbcore: registered new interface driver hub
[    3.249454] usbcore: registered new device driver usb
[    3.249924] Advanced Linux Sound Architecture Driver Initialized.
[    3.250502] Bluetooth: Core ver 2.22
[    3.250558] NET: Registered protocol family 31
[    3.250573] Bluetooth: HCI device and connection manager initialized
[    3.250594] Bluetooth: HCI socket layer initialized
[    3.250611] Bluetooth: L2CAP socket layer initialized
[    3.250649] Bluetooth: SCO socket layer initialized
[    3.251452] clocksource: Switched to clocksource arch_sys_counter
[    3.341181] NET: Registered protocol family 2
[    3.341992] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    3.342042] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    3.342097] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    3.342166] TCP: Hash tables configured (established 4096 bind 4096)
[    3.342291] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    3.342333] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    3.342539] NET: Registered protocol family 1
[    3.343060] RPC: Registered named UNIX socket transport module.
[    3.343084] RPC: Registered udp transport module.
[    3.343097] RPC: Registered tcp transport module.
[    3.343110] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.343576] PCI: CLS 0 bytes, default 64
[    3.344556] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    3.346368] Initialise system trusted keyrings
[    3.346614] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    3.354437] NFS: Registering the id_resolver key type
[    3.354490] Key type id_resolver registered
[    3.354505] Key type id_legacy registered
[    3.354529] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.354865] pstore: using deflate compression
[    3.359116] async_tx: api initialized (async)
[    3.359151] Key type asymmetric registered
[    3.359166] Asymmetric key parser 'x509' registered
[    3.359243] bounce: pool size: 64 pages
[    3.359315] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    3.359338] io scheduler noop registered
[    3.359352] io scheduler deadline registered
[    3.359538] io scheduler cfq registered (default)
[    3.359557] io scheduler mq-deadline registered
[    3.359571] io scheduler kyber registered
[    3.424827] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.426715] console [ttyS0] disabled
[    3.446913] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 201, base_baud = 1625000) is a ST16650V2
[    4.329824] console [ttyS0] enabled
[    4.354355] 11002000.serial: ttyS1 at MMIO 0x11002000 (irq = 202, base_baud = 1625000) is a ST16650V2
[    4.384528] 11003000.serial: ttyS2 at MMIO 0x11003000 (irq = 203, base_baud = 1625000) is a ST16650V2
[    4.394791] mtk_rng 1020f000.rng: registered RNG driver
[    4.394935] random: fast init done
[    4.400227] [drm:drm_core_init] Initialized
[    4.403616] random: crng init done
[    4.410810] mediatek-drm 14000000.dispsys: Adding component match for /ovl@14007000
[    4.418610] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14008000
[    4.426426] mediatek-drm 14000000.dispsys: Adding component match for /color@1400b000
[    4.434311] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14012000
[    4.442041] mediatek-drm 14000000.dispsys: Adding component match for /dpi@14014000
[    4.451270] mediatek-hdmi-phy 10209100.phy: Using default TX DRV impedance: 4.2k/36
[    4.460905] [drm] hdmi-audio-codec driver bound to HDMI
[    4.474345] loop: module loaded
[    4.477640] [WMT-DETECT][I]wmt_detect_driver_init:driver(major 154) installed success
[    4.485508] [SDIO-DETECT][I]sdio_detect_init:sdio_register_driver() ret=0
[    4.492453] MTK-BTIF[E]hal_btif_clk_get_and_prepare(286):[CCF]clk_btif=407ad4e6
[    4.499727] MTK-BTIF[E]hal_btif_clk_get_and_prepare(292):[CCF]clk_btif_apdma=7aa40e77
[    4.509386] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[    4.523777] Uniform Multi-Platform E-IDE driver
[    4.528354] ide-gd driver 1.18
[    4.531970] libphy: Fixed MDIO Bus: probed
[    4.559191] libphy: mdio: probed
[    4.563069] mtk_soc_eth 1b100000.ethernet: connected mac 0 to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    4.573872] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xe14c0000, irq 228
[    4.582307] mtk_soc_eth 1b100000.ethernet: generated random MAC address 66:fb:4f:70:9e:5a
[    4.590851] mtk_soc_eth 1b100000.ethernet: connected mac 1 to PHY at fixed-0:01 [uid=00000000, driver=Generic PHY]
[    4.601604] mtk_soc_eth 1b100000.ethernet eth1: mediatek frame engine at 0xe14c0000, irq 228
[    4.610539] xhci-mtk 1a1c0000.usb: Linked as a consumer to regulator.3
[    4.617108] xhci-mtk 1a1c0000.usb: Linked as a consumer to regulator.2
[    4.623864] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    4.629105] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[    4.639893] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    4.648974] xhci-mtk 1a1c0000.usb: irq 225, io mem 0x1a1c0000
[    4.655705] hub 1-0:1.0: USB hub found
[    4.659480] hub 1-0:1.0: 1 port detected
[    4.663815] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    4.669021] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[    4.676395] xhci-mtk 1a1c0000.usb: Host supports USB 3.0  SuperSpeed
[    4.682806] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.691509] hub 2-0:1.0: USB hub found
[    4.695274] hub 2-0:1.0: 1 port detected
[    4.699730] xhci-mtk 1a240000.usb: Linked as a consumer to regulator.3
[    4.706299] xhci-mtk 1a240000.usb: Linked as a consumer to regulator.2
[    4.713030] xhci-mtk 1a240000.usb: xHCI Host Controller
[    4.718242] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 3
[    4.728916] xhci-mtk 1a240000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    4.737984] xhci-mtk 1a240000.usb: irq 226, io mem 0x1a240000
[    4.744581] hub 3-0:1.0: USB hub found
[    4.748350] hub 3-0:1.0: 1 port detected
[    4.752676] xhci-mtk 1a240000.usb: xHCI Host Controller
[    4.757878] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 4
[    4.765252] xhci-mtk 1a240000.usb: Host supports USB 3.0  SuperSpeed
[    4.771763] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.780427] hub 4-0:1.0: USB hub found
[    4.784214] hub 4-0:1.0: 1 port detected
[    4.788742] usbcore: registered new interface driver usb-storage
[    4.795102] mousedev: PS/2 mouse device common for all mice
[    4.801799] mt6397-rtc mt6323-rtc: registered as rtc0
[    4.808629] MTK_WDT_NONRST_REG(0)
[    4.812627] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    4.822130] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[    4.830843] device-mapper: multipath round-robin: version 1.2.0 loaded
[    4.837376] device-mapper: multipath queue-length: version 0.2.0 loaded
[    4.843961] device-mapper: multipath service-time: version 0.3.0 loaded
[    4.850578] device-mapper: raid: Loading target version 1.14.0
[    4.856792] cpu cpu0: Linked as a consumer to regulator.4
[    4.862216] cpu cpu0: dummy supplies not allowed for exclusive requests
[    4.870625] mtk-msdc 11240000.mmc: Got CD GPIO
[    4.875217] mtk-msdc 11240000.mmc: Linked as a consumer to regulator.2
[    4.908470] mtk-msdc 11230000.mmc: Linked as a consumer to regulator.2
[    4.915056] mtk-msdc 11230000.mmc: Linked as a consumer to regulator.1
[    4.950991] hidraw: raw HID events driver (C) Jiri Kosina
[    4.956556] usbcore: registered new interface driver usbhid
[    4.962114] usbhid: USB HID core driver
[    4.966974] mtk-iommu-v1 10205000.mmsys_iommu: bound 14010000.larb (ops mtk_smi_larb_component_ops)
[    4.975998] mtk-iommu-v1 10205000.mmsys_iommu: bound 16010000.larb (ops mtk_smi_larb_component_ops)
[    4.985004] mtk-iommu-v1 10205000.mmsys_iommu: bound 15001000.larb (ops mtk_smi_larb_component_ops)
[    4.995186] NET: Registered protocol family 17
[    4.999883] NET: Registered protocol family 41
[    5.004476] 8021q: 802.1Q VLAN Support v1.8
[    5.009096] ThumbEE CPU extension supported.
[    5.013373] Registering SWP/SWPB emulation handler
[    5.018273] mmc0: host does not support reading read-only switch, assuming write-enable
[    5.026722] Loading compiled-in X.509 certificates
[    5.048897] mmc0: new high speed SDHC card at address 0007
[    5.056616] mmcblk0: mmc0:0007 SD8GB 7.42 GiB 
[    5.063316]  mmcblk0: p1 p2
[    5.097273] mmc1: new high speed MMC card at address 0001
[    5.104840] mmcblk1: mmc1:0001 8WPD3R 7.28 GiB 
[    5.111267] mmcblk1boot0: mmc1:0001 8WPD3R partition 1 4.00 MiB
[    5.119156] mmcblk1boot1: mmc1:0001 8WPD3R partition 2 4.00 MiB
[    5.125317] mmcblk1rpmb: mmc1:0001 8WPD3R partition 3 512 KiB, chardev (247:0)
[    5.133634]  mmcblk1: p1 p2
[    5.166344] mtk-pcie 1a140000.pcie: Port0 link down
[    5.201704] mtk-pcie 1a140000.pcie: PCI host bridge to bus 0000:00
[    5.207856] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x1a160000-0x1a16ffff])
[    5.211446] usb 3-1: new low-speed USB device number 2 using xhci-mtk
[    5.217295] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    5.230506] pci_bus 0000:00: root bus resource [bus 00-ff]
[    5.236180] pci 0000:00:01.0: [14c3:0801] type 01 class 0x060400
[    5.242203] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    5.248487] pci 0000:00:01.0: supports D1
[    5.252490] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    5.261170] PCI: bus0: Fast back to back transfers disabled
[    5.266741] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.274860] pci 0000:01:00.0: [1b21:0611] type 00 class 0x010185
[    5.280855] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.287874] pci 0000:01:00.0: reg 0x10: [io  size 0x0008]
[    5.293259] pci 0000:01:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    5.300260] pci 0000:01:00.0: reg 0x14: [io  size 0x0004]
[    5.305646] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.312660] pci 0000:01:00.0: reg 0x18: [io  size 0x0008]
[    5.318029] pci 0000:01:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    5.325044] pci 0000:01:00.0: reg 0x1c: [io  size 0x0004]
[    5.330414] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.337429] pci 0000:01:00.0: reg 0x20: [io  size 0x0010]
[    5.342814] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    5.349046] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    5.384216] PCI: bus1: Fast back to back transfers disabled
[    5.389763] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    5.396390] pci 0000:00:01.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    5.403153] pci 0000:00:01.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    5.410334] pci 0000:00:01.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    5.417108] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    5.423186] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    5.430365] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff]
[    5.437128] pci 0000:01:00.0: BAR 4: assigned [io  0x1000-0x100f]
[    5.443198] pci 0000:01:00.0: BAR 0: assigned [io  0x1010-0x1017]
[    5.449255] pci 0000:01:00.0: BAR 2: assigned [io  0x1018-0x101f]
[    5.455327] pci 0000:01:00.0: BAR 1: assigned [io  0x1020-0x1023]
[    5.461384] pci 0000:01:00.0: BAR 3: assigned [io  0x1024-0x1027]
[    5.467457] pci 0000:00:01.0: PCI bridge to [bus 01]
[    5.472403] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    5.478459] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.485215] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    5.492545] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    5.498811] ahci 0000:01:00.0: version 3.0
[    5.502924] ahci 0000:01:00.0: enabling device (0140 -> 0143)
[    5.508752] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    5.515389] ahci 0000:01:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[    5.523362] ahci 0000:01:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs 
[    5.533392] scsi host0: ahci
[    5.536623] input: Primax HP USB Keyboard as /devices/platform/1a240000.usb/usb3/3-1/3-1:1.0/0003:03F0:064A.0001/input/input0
[    5.536928] scsi host1: ahci
[    5.551077] ata1: SATA max UDMA/133 abar m512@0x60000000 port 0x60000100 irq 223
[    5.558455] ata2: SATA max UDMA/133 abar m512@0x60000000 port 0x60000180 irq 223
[    5.566191] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    5.573136] mediatek-drm 14000000.dispsys: bound 14007000.ovl (ops mtk_disp_ovl_component_ops)
[    5.581736] mediatek-drm 14000000.dispsys: bound 14008000.rdma (ops mtk_disp_rdma_component_ops)
[    5.590470] mediatek-drm 14000000.dispsys: bound 1400b000.color (ops mtk_disp_color_component_ops)
[    5.599391] mediatek-drm 14000000.dispsys: bound 14012000.rdma (ops mtk_disp_rdma_component_ops)
[    5.608160] [drm] forcing HDMI-A-1 connector on
[    5.612116] hid-generic 0003:03F0:064A.0001: input,hidraw0: USB HID v1.10 Keyboard [Primax HP USB Keyboard] on usb-1a240000.usb-1/input0
[    5.612687] [drm:drm_connector_init] cmdline mode for connector HDMI-A-1 1280x1024@60Hz
[    5.628243] input: Primax HP USB Keyboard Consumer Control as /devices/platform/1a240000.usb/usb3/3-1/3-1:1.1/0003:03F0:064A.0002/input/input1
[    5.632840] mediatek-drm 14000000.dispsys: bound 14014000.dpi (ops mtk_dpi_component_ops)
[    5.653760] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.660329] [drm] No driver support for vblank timestamp query.
[    5.666250] [drm:drm_mode_object_get] OBJ ID: 29 (2)
[    5.671185] [drm:drm_setup_crtcs] 
[    5.674589] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1]
[    5.682045] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1] status updated from unknown to connected
[    5.693306] mediatek-hdmi-ddc 11013000.i2c: i2c ack err!
[    5.698629] mediatek-hdmi-ddc 11013000.i2c: ddc failed!
[    5.704116] mediatek-hdmi-ddc 11013000.i2c: i2c ack err!
[    5.709436] mediatek-hdmi-ddc 11013000.i2c: ddc failed!
[    5.711784] input: Primax HP USB Keyboard System Control as /devices/platform/1a240000.usb/usb3/3-1/3-1:1.1/0003:03F0:064A.0002/input/input2
[    5.714911] mediatek-hdmi-ddc 11013000.i2c: i2c ack err!
[    5.727463] hid-generic 0003:03F0:064A.0002: input,hidraw1: USB HID v1.10 Device [Primax HP USB Keyboard] on usb-1a240000.usb-1/input1
[    5.732491] mediatek-hdmi-ddc 11013000.i2c: ddc failed!
[    5.749919] mediatek-hdmi-ddc 11013000.i2c: i2c ack err!
[    5.755255] mediatek-hdmi-ddc 11013000.i2c: ddc failed!
[    5.760726] mediatek-hdmi-ddc 11013000.i2c: i2c ack err!
[    5.766060] mediatek-hdmi-ddc 11013000.i2c: ddc failed!
[    5.771318] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1] probed modes :
[    5.780074] [drm:drm_mode_debug_printmodeline] Modeline 37:"1280x1024" 60 108879 1280 1360 1496 1712 1024 1025 1028 1060 0x20 0x6
[    5.791664] [drm:drm_setup_crtcs] connector 29 enabled? yes
[    5.797202] [drm:drm_setup_crtcs] looking for cmdline mode on connector 29
[    5.804052] [drm:drm_setup_crtcs] found mode 1280x1024
[    5.809158] [drm:drm_setup_crtcs] picking CRTCs for 4096x4096 config
[    5.815489] [drm:drm_setup_crtcs] desired mode 1280x1024 set on crtc 34 (0,0)
[    5.822593] [drm:drm_mode_object_get] OBJ ID: 29 (2)
[    5.830665] [drm:mtk_drm_gem_create] cookie = 7dfbe2d2 dma_addr = 0x00000000 size = 5242880
[    5.839011] [drm:mtk_fbdev_probe] FB [1280x1024]-24 offset=0 size=5242880
[    5.846290] [drm:drm_mode_object_get] OBJ ID: 39 (1)
[    5.846307] [drm:drm_mode_object_get] OBJ ID: 29 (3)
[    5.846314] [drm:drm_mode_object_get] OBJ ID: 29 (4)
[    5.846369] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1712, vtotal 1060, vdisplay 1024
[    5.846377] [drm:drm_calc_timestamping_constants] crtc 34: clock 108879 kHz framedur 16667309 linedur 15723
[    5.846390] [drm:mtk_drm_crtc_atomic_enable] mtk_drm_crtc_atomic_enable 34
[    5.846447] [drm:mtk_drm_crtc_atomic_enable] mtk_crtc_ddp_hw_init
[    5.846461] [drm:mtk_drm_crtc_atomic_enable] mtk_crtc_ddp_clk_enable
[    5.846470] [drm:mtk_drm_crtc_atomic_enable] mediatek_ddp_ddp_path_setup
[    5.846752] [drm:drm_sysfs_hotplug_event] generating hotplug event
[    5.859749] [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0
[    5.880063] [drm:drm_mode_object_put] OBJ ID: 29 (5)
[    5.880147] [drm:drm_mode_object_get] OBJ ID: 39 (2)
[    5.880158] [drm:drm_mode_object_get] OBJ ID: 40 (1)
[    5.880172] [drm:drm_mode_object_put] OBJ ID: 40 (2)
[    5.880187] [drm:drm_mode_object_get] OBJ ID: 39 (3)
[    5.880193] [drm:drm_mode_object_put] OBJ ID: 39 (4)
[    5.880207] [drm:drm_mode_object_get] OBJ ID: 29 (5)
[    5.880213] [drm:drm_mode_object_get] OBJ ID: 29 (6)
[    5.880220] [drm:drm_mode_object_put] OBJ ID: 29 (6)
[    5.880227] [drm:drm_mode_object_get] OBJ ID: 29 (5)
[    5.880264] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1712, vtotal 1060, vdisplay 1024
[    5.880271] [drm:drm_calc_timestamping_constants] crtc 34: clock 108879 kHz framedur 16667309 linedur 15723
[    5.896718] [drm:drm_mode_object_put] OBJ ID: 29 (6)
[    5.896726] [drm:drm_mode_object_put] OBJ ID: 29 (5)
[    5.896733] [drm:drm_mode_object_put] OBJ ID: 40 (1)
[    5.896744] [drm:drm_mode_object_put] OBJ ID: 39 (3)
[    5.916644] Console: switching to colour frame buffer device 160x64
[    5.916675] [drm:drm_mode_object_get] OBJ ID: 39 (2)
[    5.916685] [drm:drm_mode_object_get] OBJ ID: 41 (1)
[    5.916698] [drm:drm_mode_object_put] OBJ ID: 41 (2)
[    5.916710] [drm:drm_mode_object_get] OBJ ID: 39 (3)
[    5.916717] [drm:drm_mode_object_put] OBJ ID: 39 (4)
[    5.916727] [drm:drm_mode_object_get] OBJ ID: 29 (5)
[    5.916733] [drm:drm_mode_object_get] OBJ ID: 29 (6)
[    5.916740] [drm:drm_mode_object_put] OBJ ID: 29 (6)
[    5.916747] [drm:drm_mode_object_get] OBJ ID: 29 (5)
[    5.916777] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1712, vtotal 1060, vdisplay 1024
[    5.916784] [drm:drm_calc_timestamping_constants] crtc 34: clock 108879 kHz framedur 16667309 linedur 15723
[    5.930053] [drm:drm_mode_object_put] OBJ ID: 29 (6)
[    5.930061] [drm:drm_mode_object_put] OBJ ID: 29 (5)
[    5.930067] [drm:drm_mode_object_put] OBJ ID: 41 (1)
[    5.930077] [drm:drm_mode_object_put] OBJ ID: 39 (3)
[    6.061451] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    6.064414] mediatek-drm 14000000.dispsys: fb0:  frame buffer device
[    6.069654] ata1.00: ATA-9: SATADOM-MV 3ME, S140714, max UDMA/133
[    6.284554] ata1.00: 125045424 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    6.296492] [drm:drm_minor_register] 
[    6.296679] ata1.00: configured for UDMA/133
[    6.305207] [drm:drm_minor_register] 
[    6.314721] [drm:drm_minor_register] new minor registered 0
[    6.323902] scsi 0:0:0:0: Direct-Access     ATA      SATADOM-MV 3ME   714  PQ: 0 ANSI: 5
[    6.334206] [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs
[    6.348299] sd 0:0:0:0: [sda] 125045424 512-byte logical blocks: (64.0 GB/59.6 GiB)
[    6.358754] [drm:drm_sysfs_hotplug_event] generating hotplug event
[    6.358837] [drm] Initialized mediatek 1.0.0 20150513 for 14000000.dispsys on minor 0
[    6.371587] sd 0:0:0:0: [sda] Write Protect is off
[    6.395790] mt6397-rtc mt6323-rtc: setting system clock to 2010-01-01 00:06:01 UTC (1262304361)
[    6.405760] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    6.420034] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.430290] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.445995] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.459141]  sda: sda1 sda2 sda3
[    6.470408] vpa: disabling
[    6.480137] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.486757] vusb: disabling
[    6.505044] vmc: disabling
[    6.513100] vmch: disabling
[    6.521173] vemc3v3: disabling
[    6.529391] vgp1: disabling
[    6.537358] vcamaf: disabling
[    6.545526] ALSA device list:
[    6.553654]   No soundcards found.
[    6.562726] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.576625] cfg80211: failed to load regulatory.db
[    6.742916] ata2: SATA link down (SStatus 0 SControl 300)
[    6.753793] md: Waiting for all devices to be available before autodetect
[    6.766081] md: If you don't use raid, use raid=noautodetect
[    6.777999] md: Autodetecting RAID arrays.
[    6.788469] md: autorun ...
[    6.796965] md: sda1 has different UUID to sda2
[    6.807839] md: running: <sda2>
[    6.817298] md/raid1:md1: active with 1 out of 2 mirrors
[    6.828587] md1: detected capacity change from 0 to 33915076608
[    6.840610] md: running: <sda1>
[    6.850073] md/raid1:md0: active with 1 out of 2 mirrors
[    6.861381] md0: detected capacity change from 0 to 21474770944
[    6.873167] md: ... autorun DONE.
[    6.894414] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    6.908085] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    6.929446] devtmpfs: mounted
[    6.941851] Freeing unused kernel memory: 1024K
[    6.971678] Run /sbin/init as init process
INIT: version 2.93 booting
mount: proc mounted on /proc.
mount: sysfs mounted on /sys.
mount: tmpfs mounted on /run.
mount: /dev/shm: can't find in /etc/fstab.
Creating static nodes in /dev.
Starting udevd:  /sbin/udevd --daemon
Triggering udev [    8.127432] udevd[247]: starting eudev-3.2.5
events:  /sbin/udevadm trigger --action=add
[    8.413542] mtk_soc_eth 1b100000.ethernet eth126: renamed from eth0
[    8.434858] mtk-thermal 1100b000.thermal: Device not calibrated, using default calibration values
[    8.451909] mtk_soc_eth 1b100000.ethernet switch: renamed from eth126
[    8.959419] NET: Registered protocol family 10
[    8.972492] Segment Routing with IPv6
[    9.296421] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    9.514264] mt7530 mdio-bus:00: Linked as a consumer to regulator.6
[    9.527974] mt7530 mdio-bus:00: Linked as a consumer to regulator.17
[    9.582986] libphy: dsa slave smi: probed
[    9.594445] mt7530 mdio-bus:00 wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    9.610859] mt7530 mdio-bus:00 lan0 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    9.627430] mt7530 mdio-bus:00 lan1 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    9.643967] mt7530 mdio-bus:00 lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    9.660449] mt7530 mdio-bus:00 lan3 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    9.693053] DSA: tree 0 setup
[    9.705421] mt7530 mdio-bus:00 eth0: renamed from wan
Setting the system clock rate:  /sbin/adjtimex --tick 10000 --frequency 0
Setting system time from the hardware clock (localtime):  Fri Jan  1 00:06:06 GMT 2010
Testing root filesystem status:  read-only filesystem
Checking root filesystem:
fsck from util-linux 2.33.1
BPI-ROOT: clean, 62459/444400 files, 419479/1776384 blocks
Remounting root device with read-write enabled.
[   10.751553] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
mount: /dev/mmcblk0p2 mounted on /.
Updating module dependency list for 4.19.16-bpi-r2-main:  /sbin/depmod --quick
Configuring kernel parameters:  /sbin/sysctl -e --system
Checking non-root filesystems:
fsck from util-linux 2.33.1
Mounting non-root local filesystems:
[   10.961422] [drm:vblank_disable_fn] disabling vblank on crtc 0
Using /etc/random-seed to initialize /dev/urandom.
INIT: Entering runlevel: 3
Going multiuser...
Updating shared library links:  /sbin/ldconfig &
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
Starting sysklogd daemons:  /usr/sbin/syslogd ; /usr/sbin/klogd -c 3 -x
mount: /dev/shm: can't find in /etc/fstab.
Updating hardware database index:  /sbin/udevadm hwdb --update
Triggering udev events:  /sbin/udevadm trigger --action=change
RTNETLINK answers: Network is down
Polling for DHCP server on interface eth0:
dhcpcd_prestartinterface: eth0: Network is down
eth0: waiting for carrier
timed out
dhcpcd exited
Starting system message bus:  /usr/bin/dbus-uuidgen --ensure ; /usr/bin/dbus-daemon --system
Starting RPC portmapper:  /sbin/rpcbind -l -w 
Starting RPC NSM (Network Status Monitor):  /sbin/rpc.statd 
Starting OpenSSH SSH daemon:  /usr/sbin/sshd
Enabled CPU frequency scaling governor:  ondemand
Starting crond:  /usr/sbin/crond -l notice
Loading /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz


Welcome to Linux 4.19.16-bpi-r2-main armv7l (ttyS0)

slackarm login: 

I not see “DRM_IOCTL_MODE_DIRTYFB” message.

oh, i see you use 4.19.16…have to test with this…

i get these messages when starting with connected but switched off monitor (before login)

Zusammenfassung
[  OK  ] Started Raise network interfaces.                                                                           
[  OK  ] Reached target Network.                                                                                     
         Starting xrdp session manager...                                                                            
         Starting OpenBSD Secure Shell server...                                                                     
         Starting OpenVPN service...                                                                                 
         Starting dnsmasq - A lightweight DHCP and caching DNS server...                                             
         Starting Permit User Sessions...                                                                            
[  OK  ] Reached target Network is Online.                                                                           
         Starting LSB: Start NTP daemon...                                                                           
         Starting Daily apt download activities...                                                                   
         Starting LXC network bridge setup...                                                                        
         Starting LSB: Advanced IEEE 802.11 management daemon...                                                     
[  OK  ] Started OpenVPN service.                                                                                    
[  OK  ] Started Permit User Sessions.                                                                               
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.                                                        
[  OK  ] Started Serial Getty on ttyS0.                                                                              
         Starting Light Display Manager...                                                                           
[  OK  ] Started Getty on tty1.                                                                                      
[  OK  ] Reached target Login Prompts.                                                                               
[  OK  ] Started xrdp session manager.                                                                               
         Starting xrdp daemon...                                                                                     
[  OK  ] Started LXC network bridge setup.                                                                           
         Starting LXC Container Initialization and Autoboot Code...                                                  
[  OK  ] Started dnsmasq - A lightweight DHCP and caching DNS server.                                                
[  OK  ] Reached target Host and Network Name Lookups.                                                               
[  OK  ] Started OpenBSD Secure Shell server.                                                                        
[FAILED] Failed to start xrdp daemon.                                                                                
See 'systemctl status xrdp.service' for details.                                                                     
[  OK  ] Started LXC Container Initialization and Autoboot Code.                                                     
[  OK  ] Started Light Display Manager.                                                                              
[   37.264312] [drm:drm_stub_open]                                                                                   
[   37.272828] [drm:drm_open] pid = 1081, minor = 0                                                                  
[   37.282932] [drm:drm_open]                                                                                        
[   37.291325] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_SET_VERSION                                   
[   37.304194] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_GET_UNIQUE                                    
[   37.317150] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_GET_UNIQUE                                    
[   37.329952] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                       
[   37.342430] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                       
[   37.354767] [drm:drm_release] open_count = 1                                                                      
[   37.364252] [drm:drm_file_free.part.0] pid = 1081, device = 0xe200, open_count = 1                                
[   37.377126] [drm:drm_lastclose]                                                                                   
[   37.385611] [drm:drm_lastclose] driver lastclose completed                                                        
[   37.520811] [drm:drm_mode_object_get] OBJ ID: 44 (2)                                                              
[   37.520832] [drm:drm_mode_object_get] OBJ ID: 46 (1)                                                              
[   37.520856] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (2)                                                       
[   37.520877] [drm:drm_mode_object_get] OBJ ID: 44 (3)                                                              
[   37.520885] [drm:drm_mode_object_put.part.0] OBJ ID: 44 (4)                                                       
[   37.520902] [drm:drm_mode_object_get] OBJ ID: 29 (5)                                                              
[   37.520908] [drm:drm_mode_object_get] OBJ ID: 29 (6)                                                              
[   37.520918] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (6)                                                       
[   37.520926] [drm:drm_mode_object_get] OBJ ID: 29 (5)                                                              
[   37.520991] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   37.520999] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   37.521027] [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0                                             
[   37.531776] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (6)                                                       
[   37.531794] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   37.531803] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (1)                                                       
[   37.531821] [drm:drm_mode_object_put.part.0] OBJ ID: 44 (3)                                                       
[   37.650118] [drm:drm_stub_open]                                                                                   
[   37.653455] [drm:drm_open] pid = 1081, minor = 0                                                                  
[   37.658080] [drm:drm_open]                                                                                        
[   37.660939] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                             
[   37.668868] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                             
[   37.676906] [drm:drm_release] open_count = 1                                                                      
[   37.681196] [drm:drm_file_free.part.0] pid = 1081, device = 0xe200, open_count = 1                                
[   37.688873] [drm:drm_lastclose]                                                                                   
[   37.692154] [drm:drm_lastclose] driver lastclose completed                                                        
[   37.701619] [drm:drm_stub_open]                                                                                   
[   37.704967] [drm:drm_open] pid = 1081, minor = 0                                                                  
[   37.709574] [drm:drm_open]                                                                                        
[   37.712376] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                             
[   37.720407] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                             
[   37.728363] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                       
[   37.735392] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                             
[   37.743205] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                             
[   37.751317] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATE_DUMB                              
[   37.759253] [drm:mtk_drm_gem_create] cookie = 8d18334a dma_addr = 0x00500000 size = 16384                         
[   37.767621] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB                                    
[   37.774944] [drm:drm_mode_addfb2] [FB:46]                                                                         
[   37.778975] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_RMFB                                     
[   37.786192] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (2)                                                       
[   37.791744] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (1)                                                       
[   37.797380] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_DESTROY_DUMB                             
[   37.805845] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                       
[   37.812791] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                       
[   37.901793] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                       
[   37.908974] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                       
[   37.917759] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                       
[   37.925026] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                       
[   37.932040] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                       
[   37.939146] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                       
[   37.946133] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                       
[   37.953248] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                             
[   37.961148] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                             
[   37.969137] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR                             
[   37.977036] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1]                                 
[   37.998560] [drm:drm_add_display_info] non_desktop set to 0                                                       
[   38.004239] [drm:drm_mode_object_put.part.0] OBJ ID: 37 (1)                                                       
[   38.009795] [drm:drm_add_edid_modes.part.20] ELD: no CEA Extension found                                          
[   38.016563] [drm:drm_add_display_info] non_desktop set to 0                                                       
[   38.022550] [drm:drm_mode_debug_printmodeline] Modeline 56:"640x480" 0 25175 640 656 752 800 480 490 492 525 0x40a
[   38.033363] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_LOW                                        
[   38.040230] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1] probed modes :                  
[   38.049072] [drm:drm_mode_debug_printmodeline] Modeline 38:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 105
[   38.060772] [drm:drm_mode_debug_printmodeline] Modeline 50:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 95
[   38.072041] [drm:drm_mode_debug_printmodeline] Modeline 41:"1024x768" 75 78750 1024 1040 1136 1312 768 769 772 805
[   38.083220] [drm:drm_mode_debug_printmodeline] Modeline 47:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 80a
[   38.094410] [drm:drm_mode_debug_printmodeline] Modeline 48:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0xa
[   38.105208] [drm:drm_mode_debug_printmodeline] Modeline 40:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x5
[   38.116012] [drm:drm_mode_debug_printmodeline] Modeline 42:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x5
[   38.126832] [drm:drm_mode_debug_printmodeline] Modeline 39:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x4a
[   38.137556] [drm:drm_mode_debug_printmodeline] Modeline 45:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x46
[   38.148264] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   38.153958] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR                             
[   38.161789] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   38.167519] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.175592] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.183707] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.191435] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.199229] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.207065] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.214870] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.222587] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.230428] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETENCODER                               
[   38.238334] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.246125] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.253904] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.261624] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.269503] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCRTC                                  
[   38.276972] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                   
[   38.284480] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCRTC                                  
[   38.291863] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                   
[   38.299199] [drm:drm_ioctl] pid=1081, ret = -6                                                                    
[   38.303802] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR                             
[   38.311604] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1]                                 
[   38.323908] mt7530 mdio-bus:00 lan1: Link is Up - 1Gbps/Full - flow control off                                   
[   38.331241] br0: port 1(lan1) entered blocking state                                                              
[   38.333805] [drm:drm_add_display_info] non_desktop set to 0                                                       
[   38.336213] br0: port 1(lan1) entered forwarding state                                                            
[   38.341718] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (1)                                                       
[   38.352405] [drm:drm_add_edid_modes.part.20] ELD: no CEA Extension found                                          
[   38.359156] [drm:drm_add_display_info] non_desktop set to 0                                                       
[   38.365186] [drm:drm_mode_debug_printmodeline] Modeline 56:"640x480" 0 25175 640 656 752 800 480 490 492 525 0x40a
[   38.375811] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_LOW                                        
[   38.382665] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1] probed modes :                  
[   38.391468] [drm:drm_mode_debug_printmodeline] Modeline 38:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 105
[   38.403131] [drm:drm_mode_debug_printmodeline] Modeline 50:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 95
[   38.414362] [drm:drm_mode_debug_printmodeline] Modeline 41:"1024x768" 75 78750 1024 1040 1136 1312 768 769 772 805
[   38.425488] [drm:drm_mode_debug_printmodeline] Modeline 47:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 80a
[   38.436619] [drm:drm_mode_debug_printmodeline] Modeline 48:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0xa
[   38.447414] [drm:drm_mode_debug_printmodeline] Modeline 40:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x5
[   38.458198] [drm:drm_mode_debug_printmodeline] Modeline 42:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x5
[   38.468988] [drm:drm_mode_debug_printmodeline] Modeline 39:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x4a
[   38.479673] [drm:drm_mode_debug_printmodeline] Modeline 45:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x46
[   38.490372] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   38.496077] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR                             
[   38.503948] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   38.509538] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.517329] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.525135] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPBLOB                              
[   38.532843] [drm:drm_mode_object_put.part.0] OBJ ID: 37 (2)                                                       
[   38.538453] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPBLOB                              
[   38.546217] [drm:drm_mode_object_put.part.0] OBJ ID: 37 (2)                                                       
[   38.551781] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.559559] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.567335] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.575109] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.582838] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.590605] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.600722] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.608527] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.616300] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.624130] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.631863] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.639662] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.647534] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.655316] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.663130] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.670927] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.678727] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.686518] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.694285] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.702005] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.709799] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.717584] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.773667] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_SET_MASTER                                    
[   38.780881] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATE_DUMB                              
[   38.792231] [drm:mtk_drm_gem_create] cookie = 4eae9b08 dma_addr = 0x00500000 size = 5242880                       
[   38.800662] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATE_DUMB                              
[   38.808517] [drm:mtk_drm_gem_create] cookie = f147b444 dma_addr = 0x00a00000 size = 16384                         
[   38.816759] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATE_DUMB                              
[   38.824610] [drm:mtk_drm_gem_create] cookie = 94026bf7 dma_addr = 0x00a04000 size = 16384                         
[   38.870920] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.878742] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.886528] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.894297] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.902026] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.909797] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.917579] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.925336] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                              
[   38.933147] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY                              
[   38.940935] [drm:drm_mode_object_get] OBJ ID: 29 (5)                                                              
[   38.945928] [drm:drm_mode_object_get] OBJ ID: 29 (6)                                                              
[   38.950874] [drm:drm_mode_object_get] OBJ ID: 49 (1)                                                              
[   38.955913] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   38.965564] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   38.981265] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (7)                                                       
[   38.986904] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (6)                                                       
[   38.992451] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2)                                                       
[   38.998097] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   39.003745] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY                              
[   39.011468] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   39.017084] [drm:drm_ioctl] pid=1081, ret = -22                                                                   
[   39.071498] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_MAP_DUMB                                 
[   39.079127] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_MAP_DUMB                                 
[   39.086710] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_MAP_DUMB                                 
[   39.095516] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_DIRTYFB                                  
[   39.102880] [drm:drm_ioctl] pid=1081, ret = -2                                                                    
[   40.476928] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY                              
[   40.484797] [drm:drm_mode_object_get] OBJ ID: 49 (1)                                                              
[   40.489756] [drm:drm_mode_object_get] OBJ ID: 29 (6)                                                              
[   40.494803] [drm:drm_mode_object_get] OBJ ID: 29 (7)                                                              
[   40.499793] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   40.509494] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   40.530794] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (7)                                                       
[   40.536582] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (6)                                                       
[   40.542133] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2)                                                       
[   40.547781] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   40.554553] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_DIRTYFB                                  
[   40.561933] [drm:drm_ioctl] pid=1081, ret = -2                                                                    
[   40.567354] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETGAMMA                                 
[   40.574943] [drm:drm_ioctl] pid=1081, ret = -22                                                                   
[   40.580346] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB                                    
[   40.587738] [drm:drm_mode_addfb2] [FB:46]                                                                         
[   40.592769] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETCRTC                                  
[   40.600291] [drm:drm_mode_setcrtc] [CRTC:34:crtc-0]                                                               
[   40.605311] [drm:drm_mode_setcrtc] [CONNECTOR:29:HDMI-A-1]                                                        
[   40.605332] [drm:drm_mode_object_get] OBJ ID: 49 (1)                                                              
[   40.615787] [drm:drm_mode_object_get] OBJ ID: 44 (2)                                                              
[   40.615813] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2)                                                       
[   40.626379] [drm:drm_mode_object_get] OBJ ID: 46 (2)                                                              
[   40.626398] [drm:drm_mode_object_put.part.0] OBJ ID: 44 (3)                                                       
[   40.636970] [drm:drm_mode_object_get] OBJ ID: 29 (6)                                                              
[   40.636988] [drm:drm_mode_object_get] OBJ ID: 29 (7)                                                              
[   40.646943] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (7)                                                       
[   40.646962] [drm:drm_mode_object_get] OBJ ID: 29 (6)                                                              
[   40.657552] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   40.667207] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   40.680751] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (7)                                                       
[   40.686507] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (6)                                                       
[   40.692095] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (1)                                                       
[   40.697747] [drm:drm_mode_object_put.part.0] OBJ ID: 44 (2)                                                       
[   40.703373] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (3)                                                       
[   40.708925] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   40.714618] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY                              
[   40.722356] [drm:drm_mode_object_get] OBJ ID: 52 (1)                                                              
[   40.727416] [drm:drm_mode_object_get] OBJ ID: 29 (6)                                                              
[   40.732360] [drm:drm_mode_object_get] OBJ ID: 29 (7)                                                              
[   40.737428] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   40.747118] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   40.764022] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (7)                                                       
[   40.769580] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (6)                                                       
[   40.775272] [drm:drm_mode_object_put.part.0] OBJ ID: 52 (2)                                                       
[   40.780848] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                       
[   40.786633] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETCRTC                                  
[   40.794089] [drm:drm_mode_setcrtc] [CRTC:36:crtc-1]                                                               
                                                                                                                     
Debian GNU/Linux 9 bpi-r2 ttyS0                                                                                      
                                                                                                                     
bpi-r2 login: [   44.336726] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR2                    
[   44.344259] [drm:drm_mode_object_get] OBJ ID: 52 (1)                                                              
[   44.349193] [drm:drm_mode_object_get] OBJ ID: 49 (1)                                                              
[   44.354229] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   44.363869] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   44.373596] [drm:drm_mode_object_put.part.0] OBJ ID: 52 (2)                                                       
[   44.379144] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2)                                                       
[   44.384792] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                   
[   44.392116] [drm:drm_mode_object_get] OBJ ID: 49 (1)                                                              
[   44.397132] [drm:drm_mode_object_get] OBJ ID: 52 (1)                                                              
[   44.402074] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2)                                                       
[   44.407691] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   44.417328] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   44.427062] [drm:drm_mode_object_put.part.0] OBJ ID: 52 (2)                                                       
[   44.432601] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (1)                                                       
[   44.438263] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                   
[   44.445698] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR2                                  
[   44.453127] [drm:drm_mode_object_get] OBJ ID: 52 (1)                                                              
[   44.458118] [drm:drm_mode_object_get] OBJ ID: 49 (1)                                                              
[   44.463098] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   44.472733] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   44.482482] [drm:drm_mode_object_put.part.0] OBJ ID: 52 (2)                                                       
[   44.488070] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2)                                                       
[   44.504254] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_DIRTYFB                                  
[   44.511639] [drm:drm_mode_object_put.part.0] OBJ ID: 46 (3)                                                       
[   44.517311] [drm:drm_ioctl] pid=1081, ret = -38                                                                   
[   45.044208] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR2                                  
[   45.051667] [drm:drm_mode_object_get] OBJ ID: 49 (1)                                                              
[   45.056681] [drm:drm_mode_object_get] OBJ ID: 52 (1)                                                              
[   45.061647] [drm:drm_mode_object_get] OBJ ID: 51 (1)                                                              
[   45.066650] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2)                                                       
[   45.072229] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   45.081885] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   45.091619] [drm:drm_mode_object_put.part.0] OBJ ID: 52 (2)                                                       
[   45.097210] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (1)                                                       
[   45.102762] [drm:drm_mode_object_put.part.0] OBJ ID: 51 (2)                                                       
[   45.108397] [drm:drm_ioctl] pid=1081, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                   
[   45.115787] [drm:drm_mode_object_get] OBJ ID: 51 (1)                                                              
[   45.120824] [drm:drm_mode_object_get] OBJ ID: 51 (2)                                                              
[   45.125807] [drm:drm_mode_object_get] OBJ ID: 52 (1)                                                              
[   45.130773] [drm:drm_mode_object_get] OBJ ID: 51 (3)                                                              
[   45.135775] [drm:drm_mode_object_put.part.0] OBJ ID: 51 (4)                                                       
[   45.141357] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 1688, vtotal 1066, vdisplay 1024        
[   45.151001] [drm:drm_calc_timestamping_constants] crtc 34: clock 108000 kHz framedur 16661185 linedur 15629       
[   45.160760] [drm:drm_mode_object_put.part.0] OBJ ID: 52 (2)                                                       
[   45.166343] [drm:drm_mode_object_put.part.0] OBJ ID: 51 (3)                                                       
[   45.171884] [drm:drm_mode_object_put.part.0] OBJ ID: 51 (2)                                                       
[   45.833274] [drm:vblank_disable_fn] disabling vblank on crtc 0                                                    
                                                                                                                     
Debian GNU/Linux 9 bpi-r2 ttyS0                                                                                      
                                                                                                                     
bpi-r2 login: root                                                                                                   
Passwort:                                                                                                            
Letzte Anmeldung: Dienstag, den 19. Februar 2019, 17:49:19 CET auf ttyS0                                             
Linux bpi-r2 4.19.23-bpi-r2-main #87 SMP Sun Feb 17 18:00:12 CET 2019 armv7l                                         
                                                                                                                     
The programs included with the Debian GNU/Linux system are free software;                                            
the exact distribution terms for each program are described in the                                                   
individual files in /usr/share/doc/*/copyright.                                                                      
                                                                                                                     
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent                                                    
permitted by applicable law.                                                                                         
root@bpi-r2:~#
cat /proc/cmdline
board=bpi-r2 console=earlyprintk console=tty1 fbcon=map:0 console=ttyS0,115200 kgdboc=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait vmalloc=496M debug=7 initcall_debug=0 video=HDMI-A-1:1280x1024D drm.debug=0x7
uname -a
Linux bpi-r2 4.19.23-bpi-r2-main #87 SMP Sun Feb 17 18:00:12 CET 2019 armv7l GNU/Linux

but it seems that they are not that much now…

has anybody the knowledge to get FBdev working on 5.0+?

we need to use generic framebuffer framework, but i don’t know how to implement it…in my 5.0-hdmi branch hdmi itself is working (xserver)

there is a basic framebuffer-patch from CK Hu, but we need more to get FBConsole working on R2

https://patchwork.kernel.org/project/linux-mediatek/list/?series=67101

@Ryder.Lee can you help me getting hdmi working on 5.1? Maybe also fbdev with generic framework

https://patchwork.kernel.org/project/linux-mediatek/list/?series=84471

i saw this code, but i thought it is basicly the same as https://github.com/frank-w/BPI-R2-4.14/commit/fe1e4cd30a0348d4830f10661e18b3bc1337ad83 allready applied to my hdmi-branch

and all Patches seem not ready yet (discussion with CK Hu)

but i will test it…

should it fix the warning? and bring xserver up in 5.1 (Patchset is 1 month older than 5.1-rc1)

[    6.872034] WARNING: CPU: 2 PID: 160 at drivers/gpu/drm/drm_atomic_helper.c:1
430 drm_atomic_helper_wait_for_vblanks.part.1+0x2a4/0x2a8
[    6.872038] [CRTC:36:crtc-0] vblank wait timed out

...

[    6.872127] [<c0126e4c>] (__warn) from [<c0126fac>] (warn_slowpath_fmt+0x58/0
x74)
[    6.872136]  r9:00000000 r8:00000001 r7:00000000 r6:00000001 r5:c0d7da9c r4:c
1008c48
[    6.872145] [<c0126f58>] (warn_slowpath_fmt) from [<c05ce65c>] (drm_atomic_helper_wait_for_vblanks.part.1+0x2a4/0x2a8)
[    6.872150]  r3:00000024 r2:c0d7da9c
[    6.872154]  r5:00000000 r4:d991f440
[    6.872164] [<c05ce3b8>] (drm_atomic_helper_wait_for_vblanks.part.1) from [<c05ce684>] (drm_atomic_helper_wait_for_vblanks+0x24/0x28)
[    6.872172]  r10:dae68f28 r9:dae68f38 r8:00000000 r7:d9f759c0 r6:d991ec00 r5:d9f759c0
[    6.872175]  r4:00000005
[    6.872185] [<c05ce660>] (drm_atomic_helper_wait_for_vblanks) from [<c060af04>] (mtk_atomic_complete+0x98/0xc0)
[    6.872194] [<c060ae6c>] (mtk_atomic_complete) from [<c060aff4>] (mtk_atomic_commit+0xc8/0xcc)
[    6.872201]  r7:d9f759c0 r6:dae68e40 r5:d991ec00 r4:00000000
[    6.872211] [<c060af2c>] (mtk_atomic_commit) from [<c05efed0>] (drm_atomic_commit+0x54/0x60)
[    6.872219]  r10:00000002 r9:d9f74eac r8:00000001 r7:d98d5700 r6:d991ec00 r5:d9f759c0
[    6.872223]  r4:00000000 r3:c060af2c
[    6.872234] [<c05efe7c>] (drm_atomic_commit) from [<c05d33b8>] (restore_fbdev_mode_atomic+0x1d4/0x1e4)
[    6.872241]  r7:d98d5700 r6:00000001 r5:d991edb0 r4:d9f759c0
[    6.872251] [<c05d31e4>] (restore_fbdev_mode_atomic) from [<c05d5598>] (restore_fbdev_mode+0x5c/0x194)
[    6.872260]  r10:00000000 r9:d991ecdc r8:d98d57b4 r7:00000000 r6:d98d5700 r5:d98d5700
[    6.872263]  r4:00000000
[    6.872274] [<c05d553c>] (restore_fbdev_mode) from [<c05d7054>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x64/0xb0)
[    6.872282]  r10:00000000 r9:d991ecdc r8:d98d57b4 r7:00000000 r6:c10824c8 r5:d98d5700
[    6.872285]  r4:00000000
[    6.872296] [<c05d6ff0>] (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c05d70e0>] (drm_fb_helper_set_par+0x40/0x64)
[    6.872304]  r9:d991ecdc r8:d991ec8c r7:c0d82d88 r6:d98d57b4 r5:00000000 r4:00000000
[    6.872315] [<c05d70a0>] (drm_fb_helper_set_par) from [<c05d6fa4>] (drm_fb_helper_hotplug_event.part.11+0xb0/0xb8)
[    6.872319]  r5:00000000 r4:d98d5700
[    6.872330] [<c05d6ef4>] (drm_fb_helper_hotplug_event.part.11) from [<c05d72c8>] (drm_fbdev_client_hotplug+0x13c/0x1d8)
[    6.872337]  r7:c0d82d88 r6:d991eca0 r5:d991ec00 r4:d98d5700
[    6.872348] [<c05d718c>] (drm_fbdev_client_hotplug) from [<c0601640>] (drm_client_dev_hotplug+0x84/0xc0)

this crash/warning also happens without fbdev-patch

ok, with this Patches i got no warning like above, but also no xserver… monitor switches on, but no image on Screen

https://github.com/frank-w/BPI-R2-4.14/tree/5.1-hdmi_test

5.1-hdmi_test.txt (112,1 KB)

Patches 5+6 were already applied to 5.1 (clk-next)

could you see hdmi output after applying the patches (without fbdev stuff)?

No…no output…hdmi_new has no fbdev

how about 5.0 with those patches? i have not tested the code yet.

The series above is only clock-related so i need your dts and other patches for hdmi…i have applied on top of 5.1,5.0 has working hdmi (but no fbdev) without the clock-patches

I guess warning is shown because 2 patches are applied to 5.1 and the other not…

But hdmi is still broken on 5.1 anywhere

how about v7 https://patchwork.kernel.org/project/linux-mediatek/list/?series=97453

if the series could not work (no hdmi out and warning ), i will ask owner to fix it.

same result as v6…no xserver,but also no warning

https://github.com/frank-w/BPI-R2-4.14/tree/5.1-hdmi-v7

already included the missing hdmi-Patches (like your dts and fixes) like before…maybe these are not compatible?

5.1.0-rc1-bpi-r2-hdmi-v7.boot.log (47,7 KB)

ok. we will fix it in the next version.