map220v / sm8150-mainline

WIP Mainline kernel for Xiaomi Pad 5
Other
33 stars 16 forks source link

The error about gpu... #14

Closed chkkv closed 6 months ago

chkkv commented 6 months ago

I built debian rootfs and this kernel (ver. 6.8.0). System boot successful but screen is black. Firmware is cloned from https://github.com/map220v/ubuntu-xiaomi-nabu

This is log from kernel: dmesg.log

I noticed this: [ 0.456392] adreno 2c00000.gpu: [drm:adreno_zap_shader_load] *ERROR* Unable to load qcom/sm8150/xiaomi/nabu/a640_zap.mbn [ 0.456482] msm_dpu ae01000.display-controller: [drm:adreno_load_gpu] *ERROR* gpu hw init failed: -2 I can confirm "a640_zap.mbn" has been placed at “/lib/firmware/qcom/sm8150/xiaomi/nabu/a640_zap.mbn”.But why is this?

map220v commented 6 months ago

Clone nabu-v6.7 branch and git checkout 9894da172d3f6433475489d2d3332dd7b437c105 only this version has both display and ufs working.

a640_zap.mbn error happend because linux kernel checked for it before rootfs mounted, you can ignore it since it should try to load it again later.