Hello 96board team,
We tested latest release from : http://builds.96boards.org/snapshots/dragonboard820c/linaro/debian/126/
And also snapshot from : http://snapshots.linaro.org/96boards/dragonboard820c/linaro/debian/153/
Details of test setup are as below:
Platform:
DB820c P4/SBC APQ8096(Evaluation Only version)
Downloaded from:
http://builds.96boards.org/snapshots/dragonboard820c/linaro/debian/126/
root@linaro-alip:~# uname -a
Linux linaro-alip 4.11.0-qcomlt #1 SMP PREEMPT Mon Nov 6 23:24:36 UTC 2017 aarch64 GNU/Linux
root@linaro-alip:~# lsb_release -a
No LSB modules are available.
Distributor ID: debian
Description: debian GNU/Linux testing (buster)
Release: testing
Codename: buster
root@linaro-alip:~# lsmod
Module Size Used by
venus_enc 24576 0
venus_dec 20480 0
videobuf2_dma_sg 20480 2 venus_dec,venus_enc
videobuf2_memops 16384 1 videobuf2_dma_sg
ath10k_pci 49152 0
venus_core 61440 2 venus_dec,venus_enc
v4l2_mem2mem 24576 3 venus_dec,venus_enc,venus_core
videobuf2_v4l2 24576 3 venus_dec,venus_enc,v4l2_mem2mem
videobuf2_core 45056 5 venus_dec,venus_enc,venus_core,v4l2_mem2mem,videobuf2_v4l2
ip_tables 24576 0
x_tables 40960 1 ip_tables
btrfs 1015808 0
xor 20480 1 btrfs
zlib_deflate 28672 1 btrfs
raid6_pq 106496 1 btrfs
We are not able to get resolution more that 1920x1080@60Hz. We tried below things:
1). Tried changing resolution from GUI(Start=>Preferences=>LXQt settings=>Monitor settings=>Resolution).
>> EDID negotiated to 4K@24-fps
>> Screen goes blue and cosole prints below error:
[ 1132.424330] [drm:mdp5_irq_error_handler] ERROR errors: 40000000
>> Screen again reverts back to 1080p@60-fps
2). We Tried adding /lib/firmware/edid/3840x2160.bin & boot kernel with below parameters
$ fastboot -c ‘root=/dev/sda9 rw rootwait console=ttyMSM0,115200n8 drm_kms_helper.edid_firmware=edid/3840x2160.bin’ boot boot-linaro-buster-dragonboard-820c-126.img
>> Resolution goes to : 1792x1008@60Hz
>> Any other resolution below 1080p works, using above method.
>> 3840x2160.bin generated with “edid-generator” utility and placed at “/lib/firmware/edid/3840x2160.bin” on DB820c
>> content of 3840x2160.S is as below
/* 3840x2160: Modeline “3840x2160” 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync */
#define HSYNC_POL 1
#define VSYNC_POL 1
#define YPULSE (63+10)
#define XPULSE 88
#define YPIX 2160
#define XPIX 3840
#define VFREQ 60
#define DPI 96
#define CLOCK 594000
#define VERSION 1
#define REVISION 3
#define XOFFSET 176
#define YOFFSET (63+8)
#define XY_RATIO XY_RATIO_16_9
#define YBLANK 90
#define XBLANK 560
#define TIMING_NAME “3840x2160”
#include “edid.S”
3). GPU interrupts & other debugs:
root@linaro-alip:~# glxgears
Error: couldn’t open display (null)
root@linaro-alip:~# cat /proc/interrupts | grep A530
173: 1598 0 0 0 GICv3 332 Level A530
Could you please suggest what is wrong OR is 4K HDMI is working at your end?
Highly appreciate your time & efforts.