avolmat / linux

Linux kernel source tree
Other
2 stars 2 forks source link

DRM-STI418 - not able to see something on HDMI Display #7

Closed waby38b closed 1 year ago

waby38b commented 1 year ago

Trying to use iso/avo/stih418-display branch

but not (yet) able to have something on my HDMI Display defconfig.txt

$ dmesg | grep -E "sti-di|drm|lima"
[   10.995774] lima 9f00000.gpu: gp - mali400 version major 1 minor 0
[   11.003856] lima 9f00000.gpu: pp0 - mali400 version major 1 minor 0
[   11.016606] lima 9f00000.gpu: pp1 - mali400 version major 1 minor 0
[   11.029381] lima 9f00000.gpu: pp2 - mali400 version major 1 minor 0
[   11.042147] lima 9f00000.gpu: pp3 - mali400 version major 1 minor 0
[   11.054895] lima 9f00000.gpu: l2 cache 256K, 4-way, 64byte cache line, 128bit external bus
[   11.068284] lima 9f00000.gpu: bus rate = 400000000
[   11.082693] lima 9f00000.gpu: mod rate = 400000000
[   11.102477] [drm] Initialized lima 1.1.0 20191231 for 9f00000.gpu on minor 0
[   11.211498] [drm] Initialized ssd130x 1.0.0 20220131 for 0-003c on minor 1
[   11.337429] ssd130x-i2c 0-003c: [drm] fb0: ssd130xdrmfb frame buffer device
[   12.369743] [drm] vtg_probe a802800.sti-vtg-main
[   12.374683] [drm] vtg_probe a800200.sti-vtg-aux
[   12.381301] [drm] sti_tvout_probe
[   12.385415] [drm] sti_hdmi_probe
[   12.390218] sti 0.sti-display-subsystem: bound a600000.sti-compositor (ops sti_compositor_ops [sti_drm])
[   12.400142] sti 0.sti-display-subsystem: bound a900000.sti-tvout (ops sti_tvout_ops [sti_drm])
[   12.409106] [drm] hdmi-audio-codec Driver bound a804000.sti-hdmi
[   12.415132] sti 0.sti-display-subsystem: bound a804000.sti-hdmi (ops sti_hdmi_ops [sti_drm])
[   12.423751] [drm] sti: debugfs installed
[   12.428087] [drm] Initialized sti 1.0.0 20140601 for 0.sti-display-subsystem on minor 2
[   12.464817] sti 0.sti-display-subsystem: [drm] *ERROR* fbdev: Failed to setup generic emulation (ret=-12)
[  321.820847] sti 0.sti-display-subsystem: [drm] Cannot find any crtc or sizes

$ drmdevice 
--- Checking the number of DRM device available ---
--- Devices reported 2 ---
--- Retrieving devices information (PCI device revision is ignored) ---
device[0]
+-> available_nodes 0x01
+-> nodes
|   +-> nodes[0] /dev/dri/card2
+-> bustype 0002
|   +-> platform
|       +-> fullname    /soc/sti-display-subsystem@0
+-> deviceinfo
    +-> platform
        +-> compatible
                    st,sti-display-subsystem

--- Opening device node /dev/dri/card2 ---
--- Retrieving device info, for node /dev/dri/card2 ---
device[0]
+-> available_nodes 0x01
+-> nodes
|   +-> nodes[0] /dev/dri/card2
+-> bustype 0002
|   +-> platform
|       +-> fullname    /soc/sti-display-subsystem@0
+-> deviceinfo
    +-> platform
        +-> compatible
                    st,sti-display-subsystem

device[1]
+-> available_nodes 0x05
+-> nodes
|   +-> nodes[0] /dev/dri/card0
|   +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
|   +-> platform
|       +-> fullname    /soc/gpu@9f00000
+-> deviceinfo
    +-> platform
        +-> compatible
                    arm,mali-400

--- Opening device node /dev/dri/card0 ---
--- Retrieving device info, for node /dev/dri/card0 ---
device[1]
+-> available_nodes 0x05
+-> nodes
|   +-> nodes[0] /dev/dri/card0
|   +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
|   +-> platform
|       +-> fullname    /soc/gpu@9f00000
+-> deviceinfo
    +-> platform
        +-> compatible
                    arm,mali-400

--- Opening device node /dev/dri/renderD128 ---
--- Retrieving device info, for node /dev/dri/renderD128 ---
device[1]
+-> available_nodes 0x05
+-> nodes
|   +-> nodes[0] /dev/dri/card0
|   +-> nodes[2] /dev/dri/renderD128
+-> bustype 0002
|   +-> platform
|       +-> fullname    /soc/gpu@9f00000
+-> deviceinfo
    +-> platform
        +-> compatible
                    arm,mali-400

$ modetest 
trying to open device 'i915'...failed
trying to open device 'amdgpu'...failed
trying to open device 'radeon'...failed
trying to open device 'nouveau'...failed
trying to open device 'vmwgfx'...failed
trying to open device 'omapdrm'...failed
trying to open device 'exynos'...failed
trying to open device 'tilcdc'...failed
trying to open device 'msm'...failed
trying to open device 'sti'...done
Encoders:
id  crtc    type    possible crtcs  possible clones 
45  0   TMDS    0x00000003  0x00000007
46  0   DAC 0x00000003  0x00000007
47  0   LVDS    0x00000003  0x00000007

Connectors:
id  encoder status      name        size (mm)   modes   encoders
48  0   connected   HDMI-A-1        160x90      20  45
  modes:
    index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
  #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: preferred, driver
  #1 1920x1080 59.94 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
  #2 1920x1080 50.00 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
  #3 1600x1200 60.00 1600 1664 1856 2160 1200 1201 1204 1250 162000 flags: phsync, pvsync; type: driver
  #4 1680x1050 59.88 1680 1728 1760 1840 1050 1053 1059 1080 119000 flags: phsync, nvsync; type: driver
  #5 1280x1024 60.02 1280 1328 1440 1688 1024 1025 1028 1066 108000 flags: phsync, pvsync; type: driver
  #6 1440x900 59.90 1440 1488 1520 1600 900 903 909 926 88750 flags: phsync, nvsync; type: driver
  #7 1280x960 60.00 1280 1376 1488 1800 960 961 964 1000 108000 flags: phsync, pvsync; type: driver
  #8 1280x800 59.91 1280 1328 1360 1440 800 803 809 823 71000 flags: phsync, nvsync; type: driver
  #9 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  #10 1280x720 59.94 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver
  #11 1280x720 50.00 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
  #12 1024x768 60.00 1024 1048 1184 1344 768 771 777 806 65000 flags: nhsync, nvsync; type: driver
  #13 800x600 60.32 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver
  #14 800x600 56.25 800 824 896 1024 600 601 603 625 36000 flags: phsync, pvsync; type: driver
  #15 720x576 50.00 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
  #16 720x480 60.00 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver
  #17 720x480 59.94 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
  #18 640x480 60.00 640 656 752 800 480 490 492 525 25200 flags: nhsync, nvsync; type: driver
  #19 640x480 59.94 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver
  props:
    1 EDID:
        flags: immutable blob
        blobs:

        value:
            00ffffffffffff004c2df90532324257
            1a140103801009780a78f1a655489b26
            1250542308008100814081809500a940
            b30001010101023a801871382d40582c
            4500a05a0000001e011d007251d01e20
            6e285500a05a0000001e000000fd0032
            3d1e4b11000a202020202020000000fc
            0053796e634d61737465720a202001c2
            02031cf148901f051404131203230907
            078301000066030c00100080011d8018
            711c1620582c2500a05a0000009e011d
            80d0721c1620102c2580a05a0000009e
            011d00bc52d01e20b8285540a05a0000
            001e8c0ad090204031200c405500a05a
            000000188c0ad08a20e02d10103e9600
            a05a0000001800000000000000000046
    2 DPMS:
        flags: enum
        enums: On=0 Standby=1 Suspend=2 Off=3
        value: 0
    5 link-status:
        flags: enum
        enums: Good=0 Bad=1
        value: 0
    6 non-desktop:
        flags: immutable range
        values: 0 1
        value: 0
    4 TILE:
        flags: immutable blob
        blobs:

        value:
    49 colorspace:
        flags: enum
        enums: rgb=0 yuv422=1 yuv444=2
        value: 0

CRTCs:
id  fb  pos size
34  0   (0,0)   (0x0)
  #0  nan 0 0 0 0 0 0 0 0 0 flags: ; type: 
  props:
    24 VRR_ENABLED:
        flags: range
        values: 0 1
        value: 0
38  0   (0,0)   (0x0)
  #0  nan 0 0 0 0 0 0 0 0 0 flags: ; type: 
  props:
    24 VRR_ENABLED:
        flags: range
        values: 0 1
        value: 0

Planes:
id  crtc    fb  CRTC x,y    x,y gamma size  possible crtcs
31  0   0   0,0     0,0 0           0x00000003
  formats: XR24 XB24 AR24 AB24 AR12 AR15 RG16 RG24
  props:
    8 type:
        flags: immutable enum
        enums: Overlay=0 Primary=1 Cursor=2
        value: 1
    30 IN_FORMATS:
        flags: immutable blob
        blobs:

        value:
            01000000000000000800000018000000
            01000000380000005852323458423234
            41523234414232344152313241523135
            5247313652473234ff00000000000000
            00000000000000000000000000000000
        in_formats blob decoded:
             XR24:  LINEAR
             XB24:  LINEAR
             AR24:  LINEAR
             AB24:  LINEAR
             AR12:  LINEAR
             AR15:  LINEAR
             RG16:  LINEAR
             RG24:  LINEAR
    33 zpos:
        flags: range
        values: 0 6
        value: 0
35  0   0   0,0     0,0 0           0x00000003
  formats: XR24 XB24 AR24 AB24 AR12 AR15 RG16 RG24
  props:
    8 type:
        flags: immutable enum
        enums: Overlay=0 Primary=1 Cursor=2
        value: 1
    30 IN_FORMATS:
        flags: immutable blob
        blobs:

        value:
            01000000000000000800000018000000
            01000000380000005852323458423234
            41523234414232344152313241523135
            5247313652473234ff00000000000000
            00000000000000000000000000000000
        in_formats blob decoded:
             XR24:  LINEAR
             XB24:  LINEAR
             AR24:  LINEAR
             AB24:  LINEAR
             AR12:  LINEAR
             AR15:  LINEAR
             RG16:  LINEAR
             RG24:  LINEAR
    37 zpos:
        flags: range
        values: 0 6
        value: 0
39  0   0   0,0     0,0 0           0x00000003
  formats: XR24 XB24 AR24 AB24 AR12 AR15 RG16 RG24
  props:
    8 type:
        flags: immutable enum
        enums: Overlay=0 Primary=1 Cursor=2
        value: 0
    30 IN_FORMATS:
        flags: immutable blob
        blobs:

        value:
            01000000000000000800000018000000
            01000000380000005852323458423234
            41523234414232344152313241523135
            5247313652473234ff00000000000000
            00000000000000000000000000000000
        in_formats blob decoded:
             XR24:  LINEAR
             XB24:  LINEAR
             AR24:  LINEAR
             AB24:  LINEAR
             AR12:  LINEAR
             AR15:  LINEAR
             RG16:  LINEAR
             RG24:  LINEAR
    41 zpos:
        flags: range
        values: 0 6
        value: 1
42  0   0   0,0     0,0 0           0x00000003
  formats: XR24 XB24 AR24 AB24 AR12 AR15 RG16 RG24
  props:
    8 type:
        flags: immutable enum
        enums: Overlay=0 Primary=1 Cursor=2
        value: 0
    30 IN_FORMATS:
        flags: immutable blob
        blobs:

        value:
            01000000000000000800000018000000
            01000000380000005852323458423234
            41523234414232344152313241523135
            5247313652473234ff00000000000000
            00000000000000000000000000000000
        in_formats blob decoded:
             XR24:  LINEAR
             XB24:  LINEAR
             AR24:  LINEAR
             AB24:  LINEAR
             AR12:  LINEAR
             AR15:  LINEAR
             RG16:  LINEAR
             RG24:  LINEAR
    44 zpos:
        flags: range
        values: 0 6
        value: 1

Frame buffers:
id  size    pitch

$ lsmod
Module                  Size  Used by
vfat                   24576  0
fat                   102400  1 vfat
uas                    36864  0
usb_storage            86016  1 uas
tls                   147456  0
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
xt_CHECKSUM            16384  1
xt_MASQUERADE          20480  3
xt_conntrack           16384  1
ipt_REJECT             16384  2
nf_nat_tftp            16384  0
nf_conntrack_tftp      20480  3 nf_nat_tftp
bridge                438272  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
nft_fib_inet           16384  1
nft_fib_ipv4           16384  1 nft_fib_inet
nft_fib_ipv6           16384  1 nft_fib_inet
nft_fib                16384  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet        16384  7
nf_reject_ipv4         16384  2 nft_reject_inet,ipt_REJECT
nf_reject_ipv6         24576  1 nft_reject_inet
nft_reject             16384  1 nft_reject_inet
nft_ct                 24576  20
nft_chain_nat          16384  3
ip6table_nat           16384  1
ip6table_mangle        16384  1
ip6table_raw           16384  0
ip6table_security      16384  0
iptable_nat            16384  1
nf_nat                 65536  5 ip6table_nat,nf_nat_tftp,nft_chain_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          196608  6 xt_conntrack,nf_nat,nf_conntrack_tftp,nft_ct,nf_nat_tftp,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
iptable_mangle         16384  1
iptable_raw            16384  0
iptable_security       16384  0
ip_set                 65536  0
nf_tables             348160  319 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nfnetlink              20480  3 nf_tables,ip_set
ip6table_filter        16384  1
iptable_filter         16384  1
qrtr                   57344  4
intel_rapl_msr         20480  0
intel_rapl_common      36864  1 intel_rapl_msr
snd_ctl_led            24576  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
snd_hda_codec_idt      73728  1
iwldvm                319488  0
snd_hda_codec_generic   114688  1 snd_hda_codec_idt
coretemp               20480  0
snd_hda_codec_hdmi     94208  2
ledtrig_audio          16384  2 snd_ctl_led,snd_hda_codec_generic
kvm_intel             442368  0
sunrpc                806912  1
mac80211             1486848  1 iwldvm
snd_hda_intel          65536  4
uvcvideo              176128  0
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         212992  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
libarc4                16384  1 mac80211
snd_usb_audio         438272  2
iTCO_wdt               16384  0
mei_hdcp               28672  0
mei_wdt                16384  0
videobuf2_vmalloc      20480  1 uvcvideo
binfmt_misc            28672  1
kvm                  1318912  1 kvm_intel
mei_pxp                20480  0
intel_pmc_bxt          16384  1 iTCO_wdt
iwlwifi               458752  1 iwldvm
snd_usbmidi_lib        49152  1 snd_usb_audio
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         40960  1 uvcvideo
iTCO_vendor_support    16384  1 iTCO_wdt
ppdev                  24576  0
snd_hda_core          139264  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
snd_rawmidi            53248  1 snd_usbmidi_lib
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
snd_seq               106496  7 snd_seq_dummy
irqbypass              16384  1 kvm
rapl                   24576  0
videobuf2_common       90112  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
intel_cstate           24576  0
cfg80211             1273856  3 iwldvm,iwlwifi,mac80211
snd_seq_device         16384  2 snd_seq,snd_rawmidi
intel_uncore          253952  0
snd_pcm               184320  5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
videodev              352256  2 videobuf2_v4l2,uvcvideo
hp_wmi                 28672  0
sparse_keymap          16384  1 hp_wmi
mc                     81920  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
pl2303                 36864  1
platform_profile       16384  1 hp_wmi
joydev                 28672  0
wmi_bmof               16384  0
pcspkr                 16384  0
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
rfkill                 40960  5 hp_wmi,cfg80211
lpc_ich                28672  0
mei_me                 61440  3
hp_accel               32768  0
parport_pc             49152  0
snd                   143360  28 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt,snd_rawmidi
mei                   192512  7 mei_wdt,mei_hdcp,mei_pxp,mei_me
soundcore              16384  2 snd_ctl_led,snd
lis3lv02d              32768  1 hp_accel
parport                81920  2 parport_pc,ppdev
tpm_infineon           20480  0
loop                   40960  0
zram                   45056  2
amdgpu              11624448  0
iommu_v2               24576  1 amdgpu
drm_buddy              20480  1 amdgpu
gpu_sched              57344  1 amdgpu
radeon               2076672  37
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
crc32c_intel           24576  3
polyval_clmulni        16384  0
polyval_generic        16384  1 polyval_clmulni
ghash_clmulni_intel    16384  0
sha512_ssse3           53248  0
sdhci_pci              94208  0
cqhci                  36864  1 sdhci_pci
sdhci                  94208  1 sdhci_pci
drm_ttm_helper         16384  2 amdgpu,radeon
firewire_ohci          61440  0
serio_raw              20480  0
ttm                   102400  3 amdgpu,radeon,drm_ttm_helper
e1000e                372736  0
mmc_core              258048  3 sdhci,cqhci,sdhci_pci
drm_display_helper    200704  2 amdgpu,radeon
hid_jabra              16384  0
firewire_core         106496  1 firewire_ohci
crc_itu_t              16384  1 firewire_core
cec                    86016  1 drm_display_helper
video                  77824  2 amdgpu,radeon
wmi                    45056  3 hp_wmi,video,wmi_bmof
scsi_dh_rdac           20480  0
scsi_dh_emc            16384  0
scsi_dh_alua           28672  0
ip6_tables             40960  5 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle,ip6table_security
ip_tables              40960  5 iptable_filter,iptable_security,iptable_raw,iptable_nat,iptable_mangle
dm_multipath           45056  0
fuse                  204800  5

full dmesg.txt sysfs-sys-kernel-dbg-dri.txt

Maybe you can share your kernel defconfig ?

avolmat commented 1 year ago

First issue is located here with what seems to be straight during the boot:

[ 12.464817] sti 0.sti-display-subsystem: [drm] ERROR fbdev: Failed to setup generic emulation (ret=-12)

aka an Out of Memory error. Snif.

avolmat commented 1 year ago

Here is my lsmod output on my buildroot based system:

lsmod

Module Size Used by Not tainted
snd_soc_hdmi_codec 24576 0
dwc3 69632 0 lima 53248 0 gpu_sched 32768 1 lima st_remoteproc 20480 0 drm_shmem_helper 20480 1 lima i2c_st 20480 1 sti_drm 106496 0 drm_dma_helper 16384 1 sti_drm drm_kms_helper 126976 3 sti_drm,drm_dma_helper cfbfillrect 16384 1 drm_kms_helper syscopyarea 16384 1 drm_kms_helper cfbimgblt 16384 1 drm_kms_helper sysfillrect 16384 1 drm_kms_helper st_spi_fsm 28672 0 sysimgblt 16384 1 drm_kms_helper dwc3_st 16384 0 cfbcopyarea 16384 1 drm_kms_helper mailbox_sti 20480 8 drm 385024 7 lima,gpu_sched,drm_shmem_helper,sti_drm,drm_dma_helper,drm_kmsr st_lpc_wdt 16384 0 drm_panel_orientation_quirks 16384 1 drm fb 45056 1 drm_kms_helper watchdog 28672 1 st_lpc_wdt phy_miphy28lp 20480 3 phy_stih407_usb 16384 10

avolmat commented 1 year ago

dmesg.txt defconfig.txt

waby38b commented 1 year ago

Here an almost clean defconfig for buildroot and kernel

For buildroot, you have to merge this into your current one

This provide DRM, MESA (lima), SDL2, Doom, gl2mark, Weston...

GallaisPoutine commented 1 year ago

On Arch Linux for ARM:

[alarm@alarm ~]$ uname -a
Linux alarm 6.3.0-rc6-ge7381035faed #19 SMP Sun Apr 23 13:43:34 CEST 2023 armv7l GNU/Linux
[alarm@alarm ~]$ dmesg | grep -i cma
[    0.000000] cma: Reserved 1024 MiB at 0xbf000000
[    0.000000] Kernel command line: cma=1024M loglevel=8 earlyprintk console=ttyAS0,115200 rw root=UUID=f9d4de21-a0f3-4e21-9876-e883d1f09bf9 initrd=0x95000000,0x6a38f8 LANG=en_US.UTF-8
[    0.000000] Memory: 980384K/2080768K available (15360K kernel code, 2478K rwdata, 6280K rodata, 2048K init, 422K bss, 51808K reserved, 1048576K cma-reserved, 245760K highmem)
[    6.438158] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[alarm@alarm ~]$ systemctl status systemd-oomd
* systemd-oomd.service
     Loaded: masked (Reason: Unit systemd-oomd.service is masked.)
     Active: inactive (dead)

I got several kernel panics before the board gets soft-bricked:

[alarm@alarm ~]$ glmark2-es2-drm 
MESA-LOADER: failed to open sti: /usr/lib/dri/sti_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
Warning: DRM_CAP_ASYNC_PAGE_FLIP not supported, falling back to 'mailbox' mode for SwapInterval(0).
=======================================================
    glmark2 2023.01
=======================================================
    OpenGL Information
    GL_VENDOR:      Mesa
    GL_RENDERER:    Mali400
    GL_VERSION:     OpenGL ES 2.0 Mesa 23.0.2
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
    Surface Size:   800x480 fullscreen
=======================================================
[build] use-vbo=false: FPS: 542 FrameTime: 1.846 ms
[build] use-vbo=true: FPS: 87 FrameTime: 11.518 ms
[texture] texture-filter=nearest: FPS: 49 FrameTime: 20.427 ms
[texture] texture-filter=linear: FPS: 82 FrameTime: 12.260 ms
[texture] texture-filter=mipmap: FPS: 83 FrameTime: 12.153 ms
[shading] shading=gouraud: FPS: 50 FrameTime: 20.005 ms
[shading] shading=blinn-phong-inf:[  236.135862] kworker/u8:0 invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=0
[  236.144793] CPU: 0 PID: 298 Comm: kworker/u8:0 Not tainted 6.3.0-rc6-ge7381035faed #19
[  236.152702] Hardware name: STi SoC with Flattened Device Tree
[  236.158444]  unwind_backtrace from show_stack+0x10/0x14
[  236.163682]  show_stack from dump_stack_lvl+0x40/0x4c
[  236.168735]  dump_stack_lvl from dump_header+0x48/0x2ac
[  236.173964]  dump_header from oom_kill_process+0x47c/0x48c
[  236.179450]  oom_kill_process from out_of_memory+0x2ec/0x4b4
[  236.185102]  out_of_memory from __alloc_pages+0xb48/0xf04
[  236.190505]  __alloc_pages from new_slab+0x2e0/0x430
[  236.195474]  new_slab from ___slab_alloc+0x3a4/0x97c
[  236.200438]  ___slab_alloc from kmem_cache_alloc+0x180/0x298
[  236.206096]  kmem_cache_alloc from __alloc_file+0x20/0xac
[  236.211497]  __alloc_file from alloc_empty_file+0x54/0x100
[  236.216982]  alloc_empty_file from alloc_file+0x1c/0x14c
[  236.222292]  alloc_file from alloc_file_pseudo+0xac/0x104
[  236.227689]  alloc_file_pseudo from create_pipe_files+0xec/0x1c4
[  236.233697]  create_pipe_files from umh_pipe_setup+0x30/0x98
[  236.239357]  umh_pipe_setup from call_usermodehelper_exec_async+0xf0/0x180
[  236.246240]  call_usermodehelper_exec_async from ret_from_fork+0x14/0x2c
[  236.252939] Exception stack(0xf0ee5fb0 to 0xf0ee5ff8)
[  236.257981] 5fa0:                                     00000000 00000000 00000000 00000000
[  236.266147] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  236.274312] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  236.280953] Mem-Info:
[  236.283226] active_anon:333 inactive_anon:8132 isolated_anon:0
[  236.283226]  active_file:3891 inactive_file:18532 isolated_file:0
[  236.283226]  unevictable:177642 dirty:1 writeback:0
[  236.283226]  slab_reclaimable:2505 slab_unreclaimable:3364
[  236.283226]  mapped:15523 shmem:177985 pagetables:247
[  236.283226]  sec_pagetables:0 bounce:0
[  236.283226]  kernel_misc_reclaimable:0
[  236.283226]  free:290005 free_pcp:327 free_cma:229150
[  236.323079] Node 0 active_anon:1332kB inactive_anon:32528kB active_file:15564kB inactive_file:74128kB unevictable:710568kB isolated(anon):0kB isolated(file):0kB mapped:62092kB dirty:4kB wr
iteback:0kB shmem:711940kB writeback_tmp:0kB kernel_stack:800kB pagetables:988kB sec_pagetables:0kB all_unreclaimable? yes
[  236.350457] DMA free:3320kB boost:0kB min:3428kB low:4284kB high:5140kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:252kB inactive_file:0kB unevictable:710568kB w
ritepending:4kB present:786432kB managed:743472kB mlocked:0kB bounce:0kB free_pcp:1308kB local_pcp:1308kB free_cma:0kB
[  236.377487] lowmem_reserve[]: 0 0 1264 1264
[  236.381671] DMA: 26*4kB (UME) 34*8kB (UME) 32*16kB (UME) 19*32kB (UME) 6*64kB (UME) 5*128kB (UE) 3*256kB (UME) 1*512kB (U) 0*1024kB 0*2048kB 0*4096kB 0*8192kB = 3800kB
[  236.396679] 200394 total pagecache pages
[  236.400589] 0 pages in swap cache
[  236.403900] Free swap  = 0kB
[  236.406768] Total swap = 0kB
[  236.409635] 520192 pages RAM
[  236.412501] 323584 pages HighMem/MovableOnly
[  236.416766] 10740 pages reserved
[  236.419981] 262144 pages cma reserved
[  236.423638] Tasks state (memory values in pages):
[  236.428328] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[  236.436940] [    130]     0   130     9678     2999    36864        0          -250 systemd-journal
[  236.445989] [    145]     0   145     6830     1504    26624        0         -1000 systemd-udevd
[  236.454862] [    146]   980   146     3831     1536    20480        0             0 systemd-network
[  236.463910] [    189]   977   189     4522     2496    24576        0             0 systemd-resolve
[  236.472956] [    190]   976   190     5944     1408    22528        0             0 systemd-timesyn
[  236.481994] [    194]    81   194     2858     1088    18432        0          -900 dbus-daemon
[  236.490693] [    195]     0   195     2406     1472    16384        0         -1000 sshd
[  236.498784] [    196]     0   196     3634     1408    20480        0             0 systemd-logind
[  236.507746] [    199]     0   199      585      384    10240        0             0 agetty
[  236.516017] [    200]     0   200     3028     1184    18432        0             0 login
[  236.524196] [    207]  1000   207     4322     2240    22528        0           100 systemd
[  236.532548] [    211]  1000   211     5677      994    28672        0           100 (sd-pam)
[  236.540978] [    220]  1000   220     1050      608     8192        0             0 bash
[  236.549068] [    240]   102   240    14986     2016    36864        0             0 polkitd
[  236.557419] [    296]  1000   296    51443    12553   167936        0             0 glmark2-es2-drm
[  236.566466] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=systemd,pid=207,uid=1000
[  236.575008] Out of memory: Killed process 207 (systemd) total-vm:17288kB, anon-rss:1792kB, file-rss:7168kB, shmem-rss:0kB, UID:1000 pgtables:22kB oom_score_adj:100
[  236.648206] kworker/u8:0 invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=0
[  236.657126] CPU: 0 PID: 298 Comm: kworker/u8:0 Not tainted 6.3.0-rc6-ge7381035faed #19
[  236.665037] Hardware name: STi SoC with Flattened Device Tree
[  236.670774]  unwind_backtrace from show_stack+0x10/0x14
[  236.676011]  show_stack from dump_stack_lvl+0x40/0x4c
[  236.681064]  dump_stack_lvl from dump_header+0x48/0x2ac
[  236.686294]  dump_header from oom_kill_process+0x47c/0x48c
[  236.691779]  oom_kill_process from out_of_memory+0x2ec/0x4b4
[  236.697431]  out_of_memory from __alloc_pages+0xb48/0xf04
[  236.702834]  __alloc_pages from new_slab+0x2e0/0x430
[  236.707802]  new_slab from ___slab_alloc+0x3a4/0x97c
[  236.712765]  ___slab_alloc from kmem_cache_alloc+0x180/0x298
[  236.718424]  kmem_cache_alloc from __alloc_file+0x20/0xac
[  236.723825]  __alloc_file from alloc_empty_file+0x54/0x100
[  236.729310]  alloc_empty_file from alloc_file+0x1c/0x14c
[  236.734620]  alloc_file from alloc_file_pseudo+0xac/0x104
[  236.740017]  alloc_file_pseudo from create_pipe_files+0xec/0x1c4
[  236.746025]  create_pipe_files from umh_pipe_setup+0x30/0x98
[  236.751684]  umh_pipe_setup from call_usermodehelper_exec_async+0xf0/0x180
[  236.758566]  call_usermodehelper_exec_async from ret_from_fork+0x14/0x2c
[  236.765265] Exception stack(0xf0ee5fb0 to 0xf0ee5ff8)
[  236.770306] 5fa0:                                     00000000 00000000 00000000 00000000
[  236.778473] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  236.786639] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  236.793269] Mem-Info:
[  236.795531] active_anon:333 inactive_anon:7219 isolated_anon:0
[  236.795531]  active_file:3946 inactive_file:18532 isolated_file:0
[  236.795531]  unevictable:177642 dirty:1 writeback:0
[  236.795531]  slab_reclaimable:2494 slab_unreclaimable:3364
[  236.795531]  mapped:15512 shmem:177985 pagetables:225
[  236.795531]  sec_pagetables:0 bounce:0
[  236.795531]  kernel_misc_reclaimable:0
[  236.795531]  free:290440 free_pcp:348 free_cma:229649
[  236.835326] Node 0 active_anon:1332kB inactive_anon:28876kB active_file:15784kB inactive_file:74128kB unevictable:710568kB isolated(anon):0kB isolated(file):0kB mapped:62048kB dirty:4kB wr
iteback:0kB shmem:711940kB writeback_tmp:0kB kernel_stack:800kB pagetables:900kB sec_pagetables:0kB all_unreclaimable? yes
[  236.862700] DMA free:3320kB boost:0kB min:3428kB low:4284kB high:5140kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:252kB inactive_file:0kB unevictable:710568kB w
ritepending:4kB present:786432kB managed:743472kB mlocked:0kB bounce:0kB free_pcp:1392kB local_pcp:1392kB free_cma:0kB
[  236.889726] lowmem_reserve[]: 0 0 1264 1264
[  236.893919] DMA: 26*4kB (UME) 34*8kB (UME) 32*16kB (UME) 19*32kB (UME) 6*64kB (UME) 5*128kB (UE) 3*256kB (UME) 1*512kB (U) 0*1024kB 0*2048kB 0*4096kB 0*8192kB = 3800kB
[  236.908926] 200449 total pagecache pages
[  236.912846] 0 pages in swap cache
[  236.916148] Free swap  = 0kB
[  236.919015] Total swap = 0kB
[  236.921882] 520192 pages RAM
[  236.924757] 323584 pages HighMem/MovableOnly
[  236.929014] 10740 pages reserved
[  236.932228] 262144 pages cma reserved
[  236.935885] Tasks state (memory values in pages):
[  236.940574] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[  236.949187] [    130]     0   130     9678     2999    36864        0          -250 systemd-journal
[  236.958237] [    145]     0   145     6830     1504    26624        0         -1000 systemd-udevd
[  236.967111] [    146]   980   146     3831     1536    20480        0             0 systemd-network
[  236.976159] [    189]   977   189     4522     2496    24576        0             0 systemd-resolve
[  236.985205] [    190]   976   190     5944     1408    22528        0             0 systemd-timesyn
[  236.994251] [    194]    81   194     2858     1088    18432        0          -900 dbus-daemon
[  237.002951] [    195]     0   195     2406     1472    16384        0         -1000 sshd
[  237.011034] [    196]     0   196     3634     1408    20480        0             0 systemd-logind
[  237.019994] [    199]     0   199      585      384    10240        0             0 agetty
[  237.028260] [    200]     0   200     3028     1184    18432        0             0 login
[  237.036439] [    220]  1000   220     1050      608     8192        0             0 bash
[  237.044532] [    240]   102   240    14986     2016    36864        0             0 polkitd
[  237.052885] [    296]  1000   296    51443    12553   167936        0             0 glmark2-es2-drm
[  237.061923] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=glmark2-es2-drm,pid=296,uid=1000
[  237.071154] Out of memory: Killed process 296 (glmark2-es2-drm) total-vm:205772kB, anon-rss:15524kB, file-rss:34688kB, shmem-rss:0kB, UID:1000 pgtables:164kB oom_score_adj:0
[  237.761603] systemd-coredump[298]: Failed to get EXE, ignoring: No such process
waby38b commented 1 year ago

I close this issue since it was probably related to kernel compilation dependencies issue!