firedgje

Validating
  • Content Count

    9
  • Joined

  • Last visited

  1. I finally checked kernel config and dts from orangepi-xunlong with armbian sources (4.4.x). dts audio hdmi configurations are the same hdmi_dp_sound: hdmi-dp-sound { status = "okay"; compatible = "rockchip,rk3399-hdmi-dp"; rockchip,cpu = <&i2s2>; rockchip,codec = <&hdmi>, <&cdn_dp>; }; but there is something different # CONFIG_SND_SOC_ROCKCHIP_HDMI_DP is not set I think this flag should be set to module (m) to be coherent with the others. Could someone confirm ?
  2. My analysis is that the Legacy. Kernel 4.4.x has a better drivers support (Sound, Wifi and bluetooth) but there is still some issues on graphic configuration and HDMI sound. Kernel 5.4.x is booting very slowly but works well with less drivers support but there is major issue (for me) about panfrost driver that is why it is less usable...
  3. Hi, I checked the device tree about hdmi sound and it is disabled: $cat /sys/firmware/devicetree/base/hdmi-sound/status disable Is it normal ?
  4. For information, here is my panfrost gpu issue: [Sat May 16 15:28:37 2020] panfrost ff9a0000.gpu: js fault, js=0, status=INSTR_INVALID_ENC, head=0x139c1d00, tail=0x139c1d00 [Sat May 16 15:28:37 2020] panfrost ff9a0000.gpu: gpu sched timeout, js=0, config=0x3300, status=0x51, head=0x139c1d00, tail=0x139c1d00, sched_job=00000000b3e6ec90 [Sat May 16 15:28:37 2020] ------------[ cut here ]------------ [Sat May 16 15:28:37 2020] WARNING: CPU: 0 PID: 2590 at include/linux/dma-fence.h:533 drm_sched_resubmit_jobs+0x160/0x178 [gpu_sched] [Sat May 16 15:28:37 2020] Modules linked in: governor_performance bnep zstd snd_soc_hdmi_codec dw_hdmi_i2s_audio dw_hdmi_cec hantro_vpu(C) videobuf2_dma_contig snd_soc_simple_card btsdio snd_soc_rockchip_i2s v4l2_mem2mem snd_soc_simple_card_utils snd_soc_rockchip_pcm brcmfmac snd_soc_core videobuf2_vmalloc brcmutil hci_uart videobuf2_memops rockchipdrm videobuf2_v4l2 snd_pcm_dmaengine sg cfg80211 snd_pcm videobuf2_common btqca analogix_dp snd_timer videodev btbcm dw_mipi_dsi snd panfrost dw_hdmi btintel mc drm_kms_helper bluetooth soundcore gpu_sched drm fusb30x(C) rfkill drm_panel_orientation_quirks cpufreq_dt pwm_bl zram ip_tables x_tables autofs4 hid_logitech_hidpp realtek dwmac_rk stmmac_platform stmmac phylink adc_keys input_polldev hid_logitech_dj uas [Sat May 16 15:28:37 2020] CPU: 0 PID: 2590 Comm: kworker/0:0 Tainted: G C 5.4.40-rockchip64 #trunk.133 [Sat May 16 15:28:37 2020] Hardware name: OrangePi 4 (DT) [Sat May 16 15:28:37 2020] Workqueue: events drm_sched_job_timedout [gpu_sched] [Sat May 16 15:28:37 2020] pstate: 40000005 (nZcv daif -PAN -UAO) [Sat May 16 15:28:37 2020] pc : drm_sched_resubmit_jobs+0x160/0x178 [gpu_sched] [Sat May 16 15:28:37 2020] lr : drm_sched_resubmit_jobs+0xa8/0x178 [gpu_sched] [Sat May 16 15:28:37 2020] sp : ffff8000139abce0 [Sat May 16 15:28:37 2020] x29: ffff8000139abce0 x28: 0000000000000000 [Sat May 16 15:28:37 2020] x27: ffff0000e80c0880 x26: ffff0000bb32d600 [Sat May 16 15:28:37 2020] x25: ffff00008d35e5b8 x24: 00000000ffffff83 [Sat May 16 15:28:37 2020] x23: 0000000000000024 x22: ffff0000e80c0a08 [Sat May 16 15:28:37 2020] x21: 0000000000000001 x20: ffff0000e80c09d8 [Sat May 16 15:28:37 2020] x19: ffff0000e6c91000 x18: ffff8000111f5000 [Sat May 16 15:28:37 2020] x17: 0000000000000000 x16: 0000000000000000 [Sat May 16 15:28:37 2020] x15: 00000000fffffff0 x14: 3030303030303030 [Sat May 16 15:28:37 2020] x13: 3d626f6a5f646568 x12: 0000000000000001 [Sat May 16 15:28:37 2020] x11: 0000000000000000 x10: 00000000000009f0 [Sat May 16 15:28:37 2020] x9 : 0000000000000000 x8 : 0000000000000000 [Sat May 16 15:28:37 2020] x7 : 0000000000000001 x6 : 0000000000000000 [Sat May 16 15:28:37 2020] x5 : 0000000000000002 x4 : 0000000000000002 [Sat May 16 15:28:37 2020] x3 : 0000000000000001 x2 : 0000000000000002 [Sat May 16 15:28:37 2020] x1 : 0000000000000004 x0 : 0000000000000000 [Sat May 16 15:28:37 2020] Call trace: [Sat May 16 15:28:37 2020] drm_sched_resubmit_jobs+0x160/0x178 [gpu_sched] [Sat May 16 15:28:37 2020] panfrost_job_timedout+0x1ec/0x2a8 [panfrost] [Sat May 16 15:28:37 2020] drm_sched_job_timedout+0x40/0x98 [gpu_sched] [Sat May 16 15:28:37 2020] process_one_work+0x1e0/0x338 [Sat May 16 15:28:37 2020] worker_thread+0x40/0x440 [Sat May 16 15:28:37 2020] kthread+0x120/0x128 [Sat May 16 15:28:37 2020] ret_from_fork+0x10/0x18 [Sat May 16 15:28:37 2020] ---[ end trace 8f8839ee8c7b078b ]--- [Sat May 16 15:28:57 2020] broken atomic modeset userspace detected, disabling atomic [Sat May 16 15:29:00 2020] broken atomic modeset userspace detected, disabling atomic
  5. Here is the log result of Xorg.log: [ 2377.870] (II) modeset(0): EDID vendor "GSM", prod id 1 [ 2377.870] (II) modeset(0): Using hsync ranges from config file [ 2377.870] (II) modeset(0): Using vrefresh ranges from config file [ 2377.870] (II) modeset(0): Printing DDC gathered Modelines: [ 2377.870] (II) modeset(0): Modeline "3840x2160"x0.0 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync (135.0 kHz eP) [ 2377.870] (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e) [ 2377.870] (II) modeset(0): Modeline "1360x768"x0.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e) [ 2377.870] (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e) [ 2377.870] (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e) [ 2377.870] (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e) [ 2377.870] (II) modeset(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e) [ 2377.870] (II) modeset(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e) [ 2377.870] (II) modeset(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e) [ 2377.870] (II) modeset(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e) [ 2377.870] (II) modeset(0): Modeline "1920x1080"x0.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz e) [ 2377.871] (II) modeset(0): Modeline "1920x1080"x0.0 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (28.1 kHz e) [ 2377.871] (II) modeset(0): Modeline "1920x1080"x0.0 74.25 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (33.8 kHz e) [ 2377.871] (II) modeset(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590 1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz e) [ 2377.871] (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 2377.871] (II) modeset(0): Modeline "1920x1080"x0.0 297.00 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (135.0 kHz e) [ 2377.871] (II) modeset(0): Modeline "1920x1080"x0.0 297.00 1920 2448 2492 2640 1080 1084 1094 1125 +hsync +vsync (112.5 kHz e) [ 2377.871] (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 2377.871] (II) modeset(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 2377.871] (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 2377.871] (II) modeset(0): Modeline "1152x864"x60.0 81.62 1152 1216 1336 1520 864 865 868 895 -hsync +vsync (53.7 kHz e) [ 2377.871] (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e) [ 2377.871] (--) modeset(0): HDMI max TMDS frequency 300000KHz But I can only select 1920x1080 as maximum. Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096 DP-1 disconnected (normal left inverted right x axis y axis) HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm 1920x1080 60.00* 50.00 30.00 25.00 24.00 1920x1080i 60.00 50.00 1280x1024 60.02 1280x720 60.00 50.00 1024x768 60.00 800x600 60.32 720x576 50.00 720x480 59.94 But it is sufficient for my use ;-) .
  6. I use the last kernel (dev) 5.4.39 on orange pi 4 board and I have no sound card detected. I did the command aplat -l and the result is no devices found... About bluetooth it seems it works but I did not enough tests. I noticed also some panfrost errors in my dmesg log but this issue seems solved in next kernel version 5.5.x. I will investigate.
  7. I finally solved my problem. I must power up the Orange PI board before power up the TV and the HDMI is well detected and I have now no crtc size error in my log. But I have an issue with sound on HDMI, I have no sound. the default server selected is pulse/native. Is something to configure to have sound on HDMI ?
  8. Hello, For information, the version tested is this one: Linux orangepi4 5.4.36-rockchip64 #trunk.123 SMP PREEMPT Sat May 2 04:21:56 CEST 2020 aarch64 GNU/Linux I think the issue could come from (crtc sizes not found...): [Mon May 4 19:08:26 2020] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [Mon May 4 19:08:26 2020] [drm] No driver support for vblank timestamp query. [Mon May 4 19:08:26 2020] [drm] Cannot find any crtc or sizes [Mon May 4 19:08:26 2020] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 1 I tried to find /dev/fb0 without success but I have video0 and video1.
  9. Hello, I try to connect my orange pi 4 (NPU version (PI 4 B)) to my LG 4K Smart TV but I have no signal... I use Buster desktop with kernel 5.4 (DEV). I checked my power and my cable but I don't think it is the problem. When I did a test on another LCD screen all worked as expected. I send to you the dmesg and Xorg log but I don't see a specific error... perhaps you will see something I missed. If I can I will be happy to help you for tests on orange pi 4. Thank you to all the team, you did a very good job on a nice project ! Thank you in advance for your help.