I’m just starting with VIM and ARM in general, my past experience has been only with the Rasbperry Pi.
I went with the minimal installation of Manjaro just to learn how all works and build up from there. I usually don’t use xfce, mate nor kde, so minimal sounded like a good option. My main goal here is to learn as much as possible about the booting, kernel, hardware support and such in order to eventually try to get my favorite distribution (Slackware) running with the VIM3. Manjaro minimal sounded like the perfect starting point.
I installed fluxbox and xorg, but the X is pretty unusable, I get lots of drawing issues, sometimes the windows just disappeared until I move the mouse over them or try to drag and drop them then they appear again, I’m getting lots of kernel messages similar to:
[ 502.173680] panfrost ffe40000.gpu: Unhandled Page fault in AS0 at VA 0x0000000000000030
raw fault status: 0x30002C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_LEVEL2
access type 0x2: READ
source id 0x300
[ 502.190550] panfrost ffe40000.gpu: gpu sched timeout, js=1, config=0x7300, status=0x8, head=0x4326e80, tail=0x4326f80, sched_job=000000003148b0e8
[ 502.277504] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x44d4080, tail=0x44d4080
[ 502.281695] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x44d4080, tail=0x44d4080, sched_job=00000000f94cfd86
[ 509.789260] panfrost ffe40000.gpu: js fault, js=1, status=DATA_INVALID_FAULT, head=0x4335080, tail=0x4335080
[ 509.793442] panfrost ffe40000.gpu: gpu sched timeout, js=1, config=0x7300, status=0x58, head=0x4335080, tail=0x4335080, sched_job=00000000192602bd
[ 509.842702] panfrost ffe40000.gpu: js fault, js=1, status=INSTR_INVALID_ENC, head=0x46a4f40, tail=0x46a4f40
[ 509.846784] panfrost ffe40000.gpu: gpu sched timeout, js=1, config=0x7300, status=0x51, head=0x46a4f40, tail=0x46a4f40, sched_job=00000000483f49b5
I also tried adding QT_BACKEND_RENDERER=software in /etc/environment but didn’t do anything
I kind of fix the issue by disabling glamoregl all together with the following file in /usr/share/X11/xorg.conf.d/00-noglamoregl.conf:
Option "Accelmethod" "none"
But that leaves me without acceleration as far as I know, is there perhaps a way to get some of it without the glitches? or something else that may work better?
Another issue is the temperature, sensors doesn’t detect any and the fan doesn’t seem to start, not sure if I’m missing something here, I tried lowering the tripping point with echo 60000 > /sys/class/thermal/thermal_zone0/trip_point_3_temp but I’m getting permission denied even as root.
What the difference of thermal_zone0 and thermal_zone1? i have a temp file in both (which I assume is the current temperature), but they differ, thermal_zone0 says 45100 and thermal_zone1 47200.