Tichun
Posts: 71
Joined: Wed Jul 06, 2016 1:36 pm

[FIXED] Stretch lacks proper GPU support

Sun Oct 29, 2017 9:33 am

Code: Select all

~ glxgears -info
GL_RENDERER   = Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
25 frames in 5.0 seconds =  4.985 FPS
It doesn't matter which driver do I use for glxgears to be slow like this.
After some time it gets to 24fps and takes ~80% cpu (in the default, very small-sized window, for maximised 1920x1080 it is 1fps)
Nothing is hardware accelerated but code with #include "bcm_host.h"
(i.e. omxplayer and /opt examples) and that is bound to the legacy driver as we know.

So we cannot play games, use blender, program anything with gpu support convieniently (e.g. qt) etc.
Months from Stretch's release have passed and I'm thinking of going back to Jessie where (more) things worked as expected.

If we were to compile things ourselves, one could just choose gentoo
https://wiki.gentoo.org/wiki/Raspberry_Pi_VC4
Last edited by Tichun on Mon Sep 03, 2018 8:17 am, edited 1 time in total.

feelslikeautumn
Posts: 315
Joined: Wed Aug 09, 2017 9:51 pm

Re: Stretch lacks proper GPU support

Sun Oct 29, 2017 10:03 am

Eh? If there is no gpu support how come compiz works so well? viewtopic.php?f=66&t=192010&p=1204239#p1204239

Tichun
Posts: 71
Joined: Wed Jul 06, 2016 1:36 pm

Re: Stretch lacks proper GPU support

Sun Oct 29, 2017 10:18 am

I'm not interested in trying out compiz, but even if it worked, 99% things don't.
How much fps do you get in glxgears? can you use retropie? can you launch neverball, gamemaker games etc.?
I'm aware what VC4 can and cannot do as it worked great in Jessie, but in Stretch it doesn't work for me.
I think that I am not alone, for retropie still sticks witch jessie and there were plethora of threads somewhat related to gpu problems in stretch and they either died or had solutions that didn't help.

Tichun
Posts: 71
Joined: Wed Jul 06, 2016 1:36 pm

Re: Stretch lacks proper GPU support

Sun Oct 29, 2017 10:38 am

I flashed another SD card and there is VC4.. no idea how to troubleshoot.
Will have to reflash this SD -.-'

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6291
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Stretch lacks proper GPU support

Mon Oct 30, 2017 10:24 am

A bit confused by this thread.

Starting from a clean full raspbian image:
1) Enable the full or fake KMS driver in raspi-config
2) Reboot
3) Install neverball and blender.

I am getting the expected 60FPS in glxgears with vc4 enabled.

Neverball runs perfectly. Blender runs at the expected framerate, but has some visual glitches. OOlite runs as it has in jessie (at the full framerate, but with glitchy planet textures).

User avatar
Imperf3kt
Posts: 4222
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia
Contact: Twitter

Re: Stretch lacks proper GPU support

Tue Oct 31, 2017 12:00 am

I'll also confirm that everything works fine for me.
I use my Pi to run Ren'Py games which require hardware accelleration or else they become next to unresponsive.

So far there have been no issues - things run at ~60fps as expected.
55:55:44:44:4C
52:4C:52:42:41

Rose tinted glasses are difficult to see through.

User avatar
AllanGH
Posts: 29
Joined: Wed Oct 25, 2017 8:09 am
Location: 34.033909, -117.313616

Re: Stretch lacks proper GPU support

Thu Nov 02, 2017 8:37 am

##########################

http://www.catb.org/~esr/faqs/smart-questions.html

Tichun
Posts: 71
Joined: Wed Jul 06, 2016 1:36 pm

Re: Stretch lacks proper GPU support

Mon Sep 03, 2018 8:15 am

Got the cause and the fix!
The problem was there was xserver-xorg-video-fbturbo installed, now I have only fbdev and it is all perfect.
Troubleshooted with xorg logs.
I have seen at least one ~10 page thread (with swear words and some RPF staff in their spare time) about this problem, but nobody got the fix. Ah.. :P
Wait, wasn't the raspi-config responsible for these packages some time ago? I remember it did, so why doesn't it handle this now?

Return to “Raspberry Pi OS”