Debian GPU Support
#1
I must ask if there a version of debian for the pinebook pro that can support the gpu without having to get too deep into recompiling things?(somewhat pain free install)
  Reply
#2
(06-05-2021, 02:45 AM)Atton Wrote: I must ask if there a version of debian for the pinebook pro that can support the gpu without having to get too deep into recompiling things?(somewhat pain free install)

I'm running a stock Debian Unstable on mine. Until recently the only non-Debian package I was running was kernel built using xmixahx's script, but nowadays I'm running stock Debian kernel 5.10.0-7 (A.K.A. 5.10.40). No other third-party or manually compiled packages, GPU acceleration seems to work fine, or at least well enough for DE compositor and media player. In fact, the Debian kernel seems to be a bit more stable than the patched 5.8.5 I used to run - according to uptimed my average uptime on 5.10.40 is several times higher than it was on 5.8.5, and I had more reboots due to updates requiring them than due to system freezing. Can't say anything about performance though - it doesn't seem any worse than on 5.8.5, but I haven't really pushed it to say it's any better than 5.8.5 either.
This message was created with 100% recycled electrons
  Reply
#3
I'll update the scripts eventually! Smile I don't have any stability issues. What are yours?
  Reply
#4
I worked through the problems with the debian installer. However it would appear mesa is another story.
  Reply
#5
I see a lot of panfrost-related issues pop up in dmesg when after doing basic things such as resizing windows. So yes, it's enabled by default but I doubt it works well.

(running Debian11 with sysvinit, vanilla kernel and lxqt)
  Reply
#6
I wrote a larger post explaining in more detail just now, but it still needs to be approved. I managed to get GPU support working properly in Debian's 5.10 and 5.14 kernels, by fixing a missing dependency-issue.

Create a file `/etc/modprobe.d/panfrost.conf`:
Code:
softdep panfrost pre: governor_simpleondemand
Then run `sudo update-initramfs -u` to make this config file part of the initrd file, i.e. part of early boot.

Without this, `dmesg` shows that it repeatedly tries loading 'panfrost' and failing. I can only get it to load after Xorg and my desktop are loaded. And then I would need to restart the desktop manager to make GLX/acceleration/DRI work. If you do this, you should see Mesa Panfrost support in `glxinfo`.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing debian on pinebook pro (deb installer/emmc) ljones 4 159 9 hours ago
Last Post: TRS-80
  Kernel 5.17 will improve VP9 support? jiyong 1 219 01-16-2022, 08:26 PM
Last Post: xmixahlx
  Official Debian support moonwalkers 62 15,777 11-19-2021, 09:49 AM
Last Post: alpopa
  How to mainline kernel on daniel thompson's debian installer? hellojack 6 994 11-16-2021, 02:41 PM
Last Post: TRS-80
  Armbian is dropping support for Pinebook Pro TRS-80 2 902 11-08-2021, 01:55 PM
Last Post: TRS-80
  Debian/unstable SD card rescue image vajak 4 958 10-28-2021, 02:53 PM
Last Post: vajak
  Kernel panic on boot with danielt's Debian installer hjalfi 11 3,782 07-09-2021, 08:52 AM
Last Post: moonwalkers
  [LibreOffice & Gimp] ARM support: no hardware acceleration on [Manjaro] Pinebook Pro regivanx 0 753 06-15-2021, 04:04 AM
Last Post: regivanx
  [Panfrost] now support stable OpenGL ES 3.1 rimaille 0 787 06-10-2021, 11:23 PM
Last Post: rimaille
  An unofficial Debian Installer for Pinebook Pro danielt 445 273,312 06-02-2021, 03:26 PM
Last Post: 33YN2

Forum Jump:


Users browsing this thread: 1 Guest(s)