flipping frames bug and workaround
#3
i have tested (further) two pinephones of 1.2a version for frequency bug, using archlinux plasma, glxgears in u.i. and gpu frequency changing script.

older pinephone crashes only if i flip from 432MHz to 312MHz.

newer pinephone crashes both 423MHZ <> 312MHZ and 432MHZ <> 120MHZ. however not in 312MHZ <> 120MHZ.

(powersaving bug is different and both hw versions crash, 1.2a and 1.2b. it is also more difficult to replicate)

Code:
[root@danctnix ~]# pacman -Si mesa
Repository      : extra
Name            : mesa
Version         : 22.3.3-1
Description     : An open-source implementation of the OpenGL specification
Architecture    : aarch64
URL             : https://www.mesa3d.org/
Licenses        : custom
Groups          : None
Provides        : mesa-libgl  opengl-driver
Depends On      : libdrm  wayland  libxxf86vm  libxdamage  libxshmfence  libelf  libomxil-bellagio  libunwind  llvm-libs  lm_sensors  libglvnd  zstd  vulkan-icd-loader  libsensors.so=5-64  libexpat.so=1-64  libvulkan.so
Optional Deps   : opengl-man-pages: for the OpenGL API man pages
                  mesa-vdpau: for accelerated video playback
                  libva-mesa-driver: for accelerated video playback
Conflicts With  : mesa-libgl
Replaces        : mesa-libgl
Download Size   : 15.24 MiB
Installed Size  : 59.51 MiB
Packager        : Arch Linux ARM Build System <builder+seattle@archlinuxarm.org>
Build Date      : Fri 13 Jan 2023 12:05:11 PM UTC
Validated By    : MD5 Sum  SHA-256 Sum  Signature

[root@danctnix ~]# pacman -Si linux-megi
Repository      : danctnix
Name            : linux-megi
Version         : 6.0.10-1
Description     : The Linux Kernel and modules - Megous Kernel
Architecture    : aarch64
URL             : https://github.com/megous/linux
Licenses        : GPL2
Groups          : None
Provides        : kernel26  linux=6.0.10
Depends On      : coreutils  kmod  mkinitcpio>=0.7
Optional Deps   : crda: to set the correct wireless channels of your country
Conflicts With  : linux
Replaces        : linux-pine64
Download Size   : 165.98 MiB
Installed Size  : 186.53 MiB
Packager        : DanctNIX Build System <builder@main-key.danctnix.org>
Build Date      : Fri 02 Dec 2022 03:50:38 PM UTC
Validated By    : MD5 Sum  SHA-256 Sum  Signature

[root@danctnix ~]# uname -a
Linux danctnix 6.0.10-1-danctnix #1 SMP PREEMPT_DYNAMIC Fri Dec 2 15:51:28 UTC 2022 aarch64 GNU/Linux
[root@danctnix ~]#

some log

Code:
[  222.596592] lima 1c40000.gpu: mmu page fault at 0x4d200c0 from bus id 0 of type read on ppmmu0
[  222.605485] lima 1c40000.gpu: pp task error 0 int_state=0 status=5
[  222.611743] lima 1c40000.gpu: pp task error 1 int_state=0 status=0
[  222.618017] lima 1c40000.gpu: mmu resume

script for displaying info

Code:
echo cat /sys/class/devfreq/1c40000.gpu/trans_stat
cat /sys/class/devfreq/1c40000.gpu/trans_stat
echo cat /sys/class/devfreq/1c40000.gpu/min_freq
cat /sys/class/devfreq/1c40000.gpu/min_freq
echo cat /sys/class/devfreq/1c40000.gpu/max_freq
cat /sys/class/devfreq/1c40000.gpu/max_freq
echo cat /sys/devices/platform/soc/1c40000.gpu/power/autosuspend_delay_ms
cat /sys/devices/platform/soc/1c40000.gpu/power/autosuspend_delay_ms
echo cat /sys/devices/platform/soc/1c40000.gpu/power/control
cat /sys/devices/platform/soc/1c40000.gpu/power/control
echo cat /sys/devices/platform/soc/1c40000.gpu/power/runtime_suspended_time
cat /sys/devices/platform/soc/1c40000.gpu/power/runtime_suspended_time
echo cat /sys/module/lima/parameters/sched_timeout_ms
cat /sys/module/lima/parameters/sched_timeout_ms

example of frequency changing script

Code:
echo 432000000 > /sys/class/devfreq/1c40000.gpu/min_freq
echo 432000000 > /sys/class/devfreq/1c40000.gpu/max_freq

while true
do echo 312000000 > /sys/class/devfreq/1c40000.gpu/max_freq
echo 432000000 > /sys/class/devfreq/1c40000.gpu/max_freq
done
  Reply


Messages In This Thread
flipping frames bug and workaround - by zetabeta - 01-01-2023, 04:05 AM
RE: flipping frames bug and workaround - by zetabeta - 01-16-2023, 12:28 AM
RE: flipping frames bug and workaround - by e1337 - 02-15-2023, 09:54 AM
RE: flipping frames bug and workaround - by Yaky - 03-27-2023, 07:11 PM
RE: flipping frames bug and workaround - by traut - 04-15-2023, 07:47 PM
RE: flipping frames bug and workaround - by aular - 12-21-2023, 08:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  poor call quality try flipping switch six D4rkh0rs3 0 1,552 05-12-2021, 12:09 PM
Last Post: D4rkh0rs3
  Importing vcf, country prefix problem workaround p1trson 3 4,996 12-02-2020, 09:29 AM
Last Post: cybercow

Forum Jump:


Users browsing this thread: 1 Guest(s)