Hi Phillipp I'm having trouble getting xf86-video-armada working properly on a Element 14 / Embest SABRE Lite board running Arch Linux with kernel 4.9.8. I have been in touch with RMK and he's confident the crash below is caused by a kernel issue relating to imxdrm and a null pointer dereference. The first indiction of X/armada not being happy it that it only starts in 720x480 when connected to a 4K HDMI display, and when I try running: xrandr --output HDMI1 --mode 1920x1080 X crashes. Here's the serial console output for X loading and then crashing after I try running that xrandr command: Arch Linux 4.9.8-1-ARCH (ttymxc1) alarm login: [ 19.197477] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 19.205165] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 33.080000] vgaarb: this pci device is not a vga device [ 33.203520] vgaarb: this pci device is not a vga device [ 33.447051] imx-ipuv3 2400000.ipu: DC stop timeout after 50 ms [ 33.707042] ------------[ cut here ]------------ [ 33.711682] WARNING: CPU: 1 PID: 316 at drivers/gpu/drm/drm_atomic_helper.c:1140 drm_atomic_helper_wait_for_vblanks+0x274/0x278 [ 33.723187] [CRTC:24] vblank wait timed out [ 33.727395] Modules linked in: snd_soc_sgtl5000 snd_soc_fsl_ssi snd_soc_imx_sgtl5000 imx_pcm_fiq imx_pcm_dma snd_soc_fsl_asrc snd_soc_fsl_asoc_card snd_soc_core dw_hdmi_ahb_audio snd_pcm_dmaengine caam_jr imx_ipuv3_crtc snd_ac97_codec coda v4l2_mem2mem videobuf2_dma_contig ac97_bus imx_ipu_v3 snd_soc_imx_audmux snd_pcm videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core dw_hdmi_imx caam imx2_wdt ofpart spi_imx evdev dw_hdmi etnaviv imx_ldb pwm_imx snd_timer parallel_display uio_pdrv_genirq uio imxdrm sch_fq_codel ip_tables x_tables [ 33.776237] CPU: 1 PID: 316 Comm: Xorg Not tainted 4.9.8-1-ARCH #1 [ 33.782419] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 33.788965] [<c0110ba4>] (unwind_backtrace) from [<c010bf10>] (show_stack+0x10/0x14) [ 33.796719] [<c010bf10>] (show_stack) from [<c053f2c0>] (dump_stack+0x88/0x9c) [ 33.803951] [<c053f2c0>] (dump_stack) from [<c01442a0>] (__warn+0xe8/0x100) [ 33.810919] [<c01442a0>] (__warn) from [<c0144300>] (warn_slowpath_fmt+0x48/0x6c) [ 33.818410] [<c0144300>] (warn_slowpath_fmt) from [<c06c1850>] (drm_atomic_helper_wait_for_vblanks+0x274/0x278) [ 33.828516] [<c06c1850>] (drm_atomic_helper_wait_for_vblanks) from [<bf0182ec>] (imx_drm_atomic_commit_tail+0x48/0x58 [imxdrm]) [ 33.840004] [<bf0182ec>] (imx_drm_atomic_commit_tail [imxdrm]) from [<c06c40f4>] (commit_tail+0x40/0x5c) [ 33.849489] [<c06c40f4>] (commit_tail) from [<c06c41ac>] (drm_atomic_helper_commit+0x94/0xd8) [ 33.858019] [<c06c41ac>] (drm_atomic_helper_commit) from [<c06c46dc>] (drm_atomic_helper_set_config+0x78/0x9c) [ 33.868028] [<c06c46dc>] (drm_atomic_helper_set_config) from [<c06d5f8c>] (drm_mode_set_config_internal+0x58/0xdc) [ 33.878382] [<c06d5f8c>] (drm_mode_set_config_internal) from [<c06d74c4>] (drm_mode_setcrtc+0x4a4/0x550) [ 33.887867] [<c06d74c4>] (drm_mode_setcrtc) from [<c06ce704>] (drm_ioctl+0x214/0x44c) [ 33.895704] [<c06ce704>] (drm_ioctl) from [<c0288638>] (do_vfs_ioctl+0xac/0x980) [ 33.903104] [<c0288638>] (do_vfs_ioctl) from [<c0288f78>] (SyS_ioctl+0x6c/0x7c) [ 33.910422] [<c0288f78>] (SyS_ioctl) from [<c0107c60>] (ret_fast_syscall+0x0/0x3c) [ 33.918023] ---[ end trace e8a77aa320be7e55 ]--- [ 43.997066] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out [ 55.517063] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:24:crtc-0] flip_done timed out [ 56.958264] alloc_contig_range: [4d0b7, 4d0b8) PFNs busy [ 90.896615] usb 1-1.2.3: new low-speed USB device number 6 using ci_hdrc [ 91.050796] usb 1-1.2.3: New USB device found, idVendor=0458, idProduct=003a [ 91.057888] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 91.065382] usb 1-1.2.3: Product: Optical Mouse [ 91.069944] usb 1-1.2.3: Manufacturer: Genius [ 91.082071] input: Genius Optical Mouse as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.0/0003:0458:003A.0003/input/input3 [ 91.098116] hid-generic 0003:0458:003A.0003: input,hidraw2: USB HID v1.11 Mouse [Genius Optical Mouse] on usb-ci_hdrc.1-1.2.3/input0 [ 91.162048] mousedev: PS/2 mouse device common for all mice [ 214.765689] imx-ipuv3 2400000.ipu: DC stop timeout after 50 ms [ 214.825688] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 214.833783] pgd = ed1b8000 [ 214.836491] [00000000] *pgd=4c974831 [ 214.840084] Internal error: Oops: 17 [#1] SMP ARM [ 214.844789] Modules linked in: mousedev snd_soc_sgtl5000 snd_soc_fsl_ssi snd_soc_imx_sgtl5000 imx_pcm_fiq imx_pcm_dma snd_soc_fsl_asrc snd_soc_fsl_asoc_card snd_soc_core dw_hdmi_ahb_audio snd_pcm_dmaengine caam_jr imx_ipuv3_crtc snd_ac97_codec coda v4l2_mem2mem videobuf2_dma_contig ac97_bus imx_ipu_v3 snd_soc_imx_audmux snd_pcm videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core dw_hdmi_imx caam imx2_wdt ofpart spi_imx evdev dw_hdmi etnaviv imx_ldb pwm_imx snd_timer parallel_display uio_pdrv_genirq uio imxdrm sch_fq_codel ip_tables x_tables [ 214.894338] CPU: 2 PID: 316 Comm: Xorg Tainted: G W 4.9.8-1-ARCH #1 [ 214.901735] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 214.908264] task: ed2c4d00 task.stack: ed2a6000 [ 214.912803] PC is at __wake_up_common+0x1c/0x80 [ 214.917337] LR is at __wake_up_locked+0x14/0x1c [ 214.921871] pc : [<c0186568>] lr : [<c018662c>] psr: a0070093 [ 214.921871] sp : ed2a7c68 ip : 00000000 fp : c0fa2a70 [ 214.933348] r10: c0f37384 r9 : 00000003 r8 : 00000000 [ 214.938574] r7 : 00000000 r6 : edbf3410 r5 : edbf3408 r4 : edbf340c [ 214.945101] r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : edbf340c [ 214.951630] Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 214.958854] Control: 10c5387d Table: 3d1b804a DAC: 00000051 [ 214.964600] Process Xorg (pid: 316, stack limit = 0xed2a6220) [ 214.970347] Stack: (0xed2a7c68 to 0xed2a8000) [ 214.974708] 7c60: 00000000 edbf340c edbf3408 a0070093 edb46114 edb46000 [ 214.982889] 7c80: 0000039f c0f37384 c0fa2a70 c018662c 00000000 c0fa1144 bf21c4fc c018704c [ 214.991069] 7ca0: edbf3380 edbf3380 00000000 c06ccac0 edfa1400 edbf3380 00000000 c06d023c [ 214.999250] 7cc0: 0000039f 00000000 edab2a00 80070013 edb4611c c12040cc 00000000 00000000 [ 215.007430] 7ce0: 00000000 00040908 edb3f410 ed412c40 00000000 00000000 ed26a800 edb47c18 [ 215.015610] 7d00: c0f37384 c0fa1144 bf21c4fc c06c3e3c edc67780 c06c1c24 edb46000 edb46000 [ 215.023791] 7d20: bf01862c ed412c40 edb46000 00000000 edb46000 ed410100 ed412240 ed412240 [ 215.031971] 7d40: c0c0c0c0 bf0182bc ed412c40 bf018ca4 00000000 c06c40f4 ed412c40 00000000 [ 215.040152] 7d60: 00000000 c06c41ac ed412c40 00000000 ed2a7dd0 edb47c18 ed410100 c06c46dc [ 215.048332] 7d80: eda36180 edb47c18 00000001 c12040cc ed410100 c06d5f8c ed2a7e4c edb46000 [ 215.056513] 7da0: 00000001 c12040cc ed410100 c06d74c4 edaa5980 edb46248 edb47c18 eda3618c [ 215.064694] 7dc0: eda36180 ed412240 ed410100 c12040cc eda36180 edb47c18 ed410100 00000000 [ 215.072874] 7de0: 00000000 ed412240 00000001 00040908 ed2a7e70 00000051 00000068 c12040cc [ 215.081055] 7e00: c0cbf0a0 00000068 edf66800 ed2a7e4c c06864a2 c06ce704 0000e201 00000001 [ 215.089236] 7e20: c0fa22f0 00040908 f50417fa ed2a7e4c be9d1910 000000a2 edb46000 00000068 [ 215.097415] 7e40: 00000062 c06d7020 c1208504 008a1210 00000000 00000001 00000018 00000047 [ 215.105596] 7e60: 00000000 00000000 00000000 00000001 00007530 03480320 03a00378 01e00000 [ 215.113775] 7e80: 01f001ed 0000020d 00000000 00000000 00000000 00000000 00000000 00000000 [ 215.121955] 7ea0: 00000000 00000000 00000000 00000000 00000000 c0b0a268 00000000 00040908 [ 215.130137] 7ec0: ed2a7edc ed2a7fb0 00000008 00040908 00000000 c12040cc be9d1910 edd8cbc8 [ 215.138317] 7ee0: edcc9b40 be9d1910 0000000b 00000000 00000000 c0288638 004f10a0 c0101308 [ 215.146497] 7f00: 00000000 eff6fe48 eff6fe24 eff6fe00 000112da c02bb9bc 00000008 c01b4a08 [ 215.154677] 7f20: 00040908 c12040cc 00000000 ed29b1b8 00000003 be9d1910 be9d1808 ffffe000 [ 215.162857] 7f40: 00000051 ed2a6100 00000100 00000000 ed2a6000 c0102fa4 be9d1678 00040908 [ 215.171038] 7f60: c12040cc 00000000 edcc9b41 edcc9b40 c06864a2 be9d1910 0000000b 00000000 [ 215.179218] 7f80: 00000000 c0288f78 b6fc3c90 be9d1910 c06864a2 00000036 c0107e24 ed2a6000 [ 215.187398] 7fa0: 00000000 c0107c60 b6fc3c90 be9d1910 0000000b c06864a2 be9d1910 00000001 [ 215.195579] 7fc0: b6fc3c90 be9d1910 c06864a2 00000036 008a1210 00000047 00000018 00000000 [ 215.203759] 7fe0: b6ddf088 be9d18f4 b6dc7ad4 b6b11adc 40070010 0000000b 3fffd861 3fffdc61 [ 215.211946] [<c0186568>] (__wake_up_common) from [<c018662c>] (__wake_up_locked+0x14/0x1c) [ 215.220216] [<c018662c>] (__wake_up_locked) from [<c018704c>] (complete_all+0x34/0x44) [ 215.228141] [<c018704c>] (complete_all) from [<c06ccac0>] (drm_send_event_locked+0x28/0x11c) [ 215.236588] [<c06ccac0>] (drm_send_event_locked) from [<c06d023c>] (drm_vblank_off+0x1b0/0x21c) [ 215.245296] [<c06d023c>] (drm_vblank_off) from [<c06c3e3c>] (drm_atomic_helper_commit_modeset_disables+0x1dc/0x3fc) [ 215.255750] [<c06c3e3c>] (drm_atomic_helper_commit_modeset_disables) from [<bf0182bc>] (imx_drm_atomic_commit_tail+0x18/0x58 [imxdrm]) [ 215.267843] [<bf0182bc>] (imx_drm_atomic_commit_tail [imxdrm]) from [<c06c40f4>] (commit_tail+0x40/0x5c) [ 215.277327] [<c06c40f4>] (commit_tail) from [<c06c41ac>] (drm_atomic_helper_commit+0x94/0xd8) [ 215.285858] [<c06c41ac>] (drm_atomic_helper_commit) from [<c06c46dc>] (drm_atomic_helper_set_config+0x78/0x9c) [ 215.295865] [<c06c46dc>] (drm_atomic_helper_set_config) from [<c06d5f8c>] (drm_mode_set_config_internal+0x58/0xdc) [ 215.306219] [<c06d5f8c>] (drm_mode_set_config_internal) from [<c06d74c4>] (drm_mode_setcrtc+0x4a4/0x550) [ 215.315703] [<c06d74c4>] (drm_mode_setcrtc) from [<c06ce704>] (drm_ioctl+0x214/0x44c) [ 215.323540] [<c06ce704>] (drm_ioctl) from [<c0288638>] (do_vfs_ioctl+0xac/0x980) [ 215.330940] [<c0288638>] (do_vfs_ioctl) from [<c0288f78>] (SyS_ioctl+0x6c/0x7c) [ 215.338258] [<c0288f78>] (SyS_ioctl) from [<c0107c60>] (ret_fast_syscall+0x0/0x3c) [ 215.345832] Code: e5b61004 e1a08003 e59d7028 e1560001 (e5913000) [ 215.351929] ---[ end trace e8a77aa320be7e56 ]--- Thanks _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel