[ARM Stable Update] 2021-02-21 - KDE Frameworks, Firefox, Plymouth and Kernels

After this update, the headphone jack isn’t functioning (does not show up in sound settings). There is still an option for the earpiece and microphone in the sound settings, but these are not functional. Thus, I cannot hear or talk on a phone call. I am using the pinephone with Manjaro-phosh. Panic!

If anyone has any suggestions, I’m all ears.

Edit: Just tried to record sound through GNOME sound recorder and this works. It seems that it is only calls in which the microphone is not functional

Edit2: I installed PAVUcontrol, opened it, colsed it and now the microphone is recording properly. I still am not getting anything through the headphones though

One of the previous ‘stable updates’ broke TreeSheets (it’s a wxwidgets based application, from AUR, rebuilding it didn’t help, but the glitches are mildly infuriating, you can still using it, if you’re lucky or you don’t need to edit the sheet) without touching it. Today I’ve realized it is even worse with GIMP. I can paste the image, but if I try to select anything on it, the whole screen turns black, starts flickering, then incomplete window elements appears for a moment, then black screen again, and it repeats till I quit GIMP. How on Earth did you broke compatibility with GIMP (and everything non-KDE) probably without touching it?
Who asked for Plymouth?

If you don’t want it, you don’t have to install it.

Sounds like GPU driver related issue to me. Depending on your device the driver gets updated all the time.

Why this GPU driver related issue happen only for some non-KDE applications and not all the time? Looks like library problem for me, but I’ll give you a benefit of the doubt and check different kernel version.
So if you’ve added Plymouth, then video hardware acceleration, HDMI audio and suspend are finished, right? Can’t wait to check them out!

This depends entire on your device.
Video hardware acceleration is in the kernel, but no userspace applications are using it yet. HDMI audio depends on your device. Most of our devices have it it working. Suspend is also depending on your device, although fewer has it working.
Both HDMI audio is a kernel issue, and Suspend is a TF-A issue, so not really something we manage.

I’ve checked out the current linux and linux-headers, the ‘GPU driver’ issue remained, also the Bluetooth was working after turning on but after restart there was no Bluetooth. I’m going back to the linux-pinebookpro and linux-pinebookpro-headers packages.

Yes, I know this, it depends entirely on my Pinebook Pro, no video hardware acceleration, no HDMI audio, suspend that drains battery and now Bluetooth issues, unusable GIMP (and “friends”). Oh, I forget about Night Color and redshift, it never worked. But we finally have Plymouth, yay! But I have to configure it myself or wait for the next update which will turn it on by default or will crash because of my manually added Plymouth.
And now for something completely different, which package (in your opinion) should create symlink named aarch64 pointing to arm64 inside /lib/modules/<kernel>/build/arch/ created by linux-headers package, needed by any dkms module package during kernel install? ‘linux-headers’, ‘dkms’ or every package installing a dkms module?

Confusing question. The linux-headers package when installed creates /usr/lib/modules/uname -r/build so when the package is installed you will find aarch64 here:

/usr/lib/modules/uname -r/build/arch/arm64

This is where the DKMS compiling process will look if it needs that directory.

I removed plymouth because in my personal case, fkms make tearing in chromium/youtube and kms no. Graysky use kms for kodi.config.txt (kodi-rpi/arch) and libreelec too. To consider before setting plymouth/fkms by default.

Sounds like your usecase, differs from what the defaults will give you. You are free to change the system to whatever you want. :slight_smile:

I can confirm the issue with GIMP, just tried it to see if poster issue was local to his system or global. I ran into same issue with flickering and black screen. I have not noticed this issue with any other apps I commonly use (yet), including some non-KDE apps. PineBook Pro using KDE and OpenGL compositor if it matters

It is looking for aarch64 there, not the arm64.

I see now but it will not find it. I ran into that a while back and in either the code or PKGBUILD the ARCH= was set incorrectly with building a DKMS module and had to modify it from aarch64 to arm64.

CARCH="aarch64"
ARCH="arm64"
1 Like

I confirm the issue with Gimp on PineBookPro as well, dmesg gives the following errors:

panfrost ff9a0000.gpu: Unhandled Page fault in AS1 at VA 0x0000000107B49C00
Reason: TODO              
raw fault status: 0x2F002C1 
decoded fault status: SLAVE FAULT 
exception type 0xC1: TRANSLATION_FAULT_LEVEL1
access type 0x2: READ              
source id 0x2F0
panfrost ff9a0000.gpu: gpu sched timeout, js=0, config=0x3301, status=0x8, head=0x75e9840, tail=0x75e9840, sched_job=000000009e5a3d4b

Edit: Downgrading mesa to 20.3.3-1 didn’t fix it.

My python install has broken. Python and IPython work correctly, but numpy will not import.

    >>> import numpy
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/numpy/core/__init__.py", line 22, in <module>
from . import multiarray
  File "/usr/lib/python3.9/site-packages/numpy/core/multiarray.py", line 12, in <module>
from . import overrides
  File "/usr/lib/python3.9/site-packages/numpy/core/overrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ImportError: libblas.so.3: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.9/site-packages/numpy/__init__.py", line 145, in <module>
from . import core
  File "/usr/lib/python3.9/site-packages/numpy/core/__init__.py", line 48, in <module>
raise ImportError(msg)
ImportError: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.9 from "/bin/python3"
  * The NumPy version is: "1.20.0"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: libblas.so.3: cannot open shared object file: No such file or directory

See if this helps. Your libopenblasp version might be different than what is on my pi4 so check it.:

sudo ln -s /usr/lib/libopenblasp-r0.3.13.so /usr/lib/libblas.so.3

The reason for the above is blas installs tht file and you apparently have installed openblas from aur as a depend for something. blas install:

[ray@vim3 ~]$ ls /usr/lib/libblas.so*
/usr/lib/libblas.so  /usr/lib/libblas.so.3  /usr/lib/libblas.so.3.9.0
[ray@vim3 ~]$ ls -la /usr/lib/libblas.so*
lrwxrwxrwx 1 root root     12 May 18  2020 /usr/lib/libblas.so -> libblas.so.3
lrwxrwxrwx 1 root root     16 May 18  2020 /usr/lib/libblas.so.3 -> libblas.so.3.9.0
-rwxr-xr-x 1 root root 259824 May 18  2020 /usr/lib/libblas.so.3.9.0
1 Like

I don’t have a /usr/lib/libopenblasp-r0.3.13.so to link to. I do have libopenblasp_armv8p-r0.3.13.so

I linked that instead, and it works!!! Thanks so much!

1 Like

I installed lapack explicitly (probably on a recommendation when installing numpy) and that installed openblas. It’s from the official repo, not AUR. I do not have blas installed.

I changed the symbolic link to go to libopenblas.so.3, and also the link to libblas, as perhaps a future update would break the link.

It appears the old links were to libopenblas-r0.3.13.so. The name changed.

My current state:

nathan@rocktop lib $ ll | grep 'libopenblas'
lrwxrwxrwx   1 root root    14 Feb 25 15:09 libblas.so -> libopenblas.so*
lrwxrwxrwx   1 root root    16 Feb 25 15:09 libblas.so.3 -> libopenblas.so.3*
-rwxr-xr-x   1 root root  2.7M Dec 21 11:38 libopenblas_armv8p-r0.3.13.so*
lrwxrwxrwx   1 root root    29 Dec 21 11:38 libopenblas.so -> libopenblas_armv8p-r0.3.13.so*
lrwxrwxrwx   1 root root    29 Dec 21 11:38 libopenblas.so.3 -> libopenblas_armv8p-r0.3.13.so*