HW Acceleration for 2d/3d on pinebook pro
#1
Hello all!

I've literally just received my pinebook pro. Fortunatly most things seem to be working - the sound is definately working ok and I'm not experiencing any wifi issues; as for bluetooth however I haven't as yet tried it.

The first thing I did was to update the firmware for the keyboard and touchpad and that went without issue as well. Then it was a case of running the /usr/bin/mrfixit_update.sh . That completed ok and then it was just a case of performing a normal apt update/apt upgrade as per normal debian.

The only problem I seem to be having is with any sort of acceleration on the laptop itself. To give an example I can open (let's say) a terminal window. Moving the window seems to get a little slower if the window is large but the problem is largely with resizing windows - the pinebook pro is struggling to resize windows. Also I've noticed that if I click the menu button (bottom left) there's a big black square that appears just before the menu itself appears.

Is the pinebook not using any sort of xorg acceleration (2d) at all?

Firefox (which seems to crash a lot) also seems to be struggling and just loading a webpage exhibits similar issues; scrolling through a webpage seems to be painfully slow.

I also decided to try to check if 3d (GPU) acceleration is working. Glxgears gives me the result of 295 frames in 5.0 seconds = 59.532 fps in a window although a game like "torcs" dosen't seem to be running quite right - it is running at around 1-2fps.

One thing I did notice is I have the following in /etc/X11/xorg.conf;

Code:
Section "device"
 Identifier "Rockchip Graphics"
 Driver "modesetting"
 Option "AccelMethod" "glamor"
 Option "DRI" "2"
 Option "Dri2Vsync" "true"
 Option "TripleBuffer" "true"
EndSection
Section "Screen"
 Identifier "Default Screen"
 Subsection "Display"
 Depth 24
 Modes "1920x1080" "1280x1024" "1024x768" "800x600"
 EndSection
EndSection

So I see that the device is using modesetting/glamor but presumably it isn't quite working 100% since there seems to be a lack of any 2d (xorg) or 3d (GPU) acceleration?

Update: I have a couple of errors in /var/log/Xorg.0.log which look concering too;

Code:
$ cat /var/log/Xorg.0/log | grep error

[4.651] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/rockchip_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/rockchip_dri.so : cannot openm shared object file : No such file or directory)
[4.771] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so failed (/usr/lib/arm-gnueabihf/dri/swrast_dri.so: undefined symbol: _glapi_ tls Dispatch)

Update: I tried to run a different OS from microsd (in my case I chose q4os) -- it seemed to be a touch slower with moving windows but resizing was much better and it did not have the sluggishness surrounding the menu button.

Is this all down to drivers and kernel verison?

ljones


Messages In This Thread
HW Acceleration for 2d/3d on pinebook pro - by ljones - 12-31-2019, 08:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 115 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 942 08-21-2024, 04:17 AM
Last Post: KC9UDX
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 401 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,893 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,113 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,221 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,511 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,576 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 2,699 11-23-2023, 07:37 AM
Last Post: KC9UDX
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 7,421 08-31-2023, 04:20 PM
Last Post: TRS-80

Forum Jump:


Users browsing this thread: 3 Guest(s)