On Mon, 2020-02-10 at 18:22 +0100, Axel Braun wrote:
> Hello Mathias,
> 
> (this time with everybody in cc)
> 
> Am Montag, 10. Februar 2020, 13:20:03 CET schrieb Matthias Brugger:
> > On 09/02/2020 20:26, Stefan Seyfried wrote:
> > > Am 09.02.20 um 17:05 schrieb Matthias Brugger:
> > > > Hi Axel,
> > > > 
> > > > On 09/02/2020 16:33, Axel Braun wrote:
> > > > > > Gesendet: Sonntag, 02. Februar 2020 um 22:16 Uhr
> > > > > > Von: "Axel Braun" <[email protected]>
> > > > > > An: [email protected]
> > > > > > Betreff: [opensuse-arm] Graphics acceleration
> > > > > > 
> > > > > > quick question...is there a possibility to accelerate the
> > > > > > graphics
> > > > > > output
> > > > > 
> > > > > for
> > > > > 
> > > > > > a Raspi 3? There is a package X11-raspberrypi, but that
> > > > > > seems not to
> > > > > > contain any drivers or hints
> > > > > 
> > > > > To answer my own question: I stumbled over xf86-video-
> > > > > fbturbo, which
> > > > > seems to offer what I'm looking for:
> > > > > 
> > > > > Hardware accelerated window moving/scrolling on Raspberry Pi
> > > > > (using the
> > > > > BCM2835 DMA Controller)
> > > > > 
> > > > > hwinfo | grep bcm2835 gives a bunch of entries
> > > > > 
> > > > > In fact loading the module fails:
> > > > > 
> > > > > raspi:/home/test # insmod
> > > > > /usr/lib64/xorg/modules/drivers/fbturbo_drv.so
> > > > > insmod: ERROR: could not insert module
> > > > > /usr/lib64/xorg/modules/drivers/
> > > > > fbturbo_drv.so: Invalid module format
> > > 
> > > Most likely, by the name and location, this is *not* a kernel
> > > module,
> > > but an Xorg driver.
> > 
> > Yes, right. *.so isn't a kernel modules... I should read better
> > before
> > responding.
> > > > > Any idea what this means, or how to solve it? Or is ist the
> > > > > wrong driver
> > > > > at
> > > > > all?
> > > > 
> > > > Hm, that's strange. Do you boot a custom kernel?
> > > > 
> > > > I asked our graphics specialist Patrik (in CC) and he told me
> > > > the
> > > > following:
> > > > 
> > > > <paste>
> > > > To enable 3D acceleration you need to:
> > > > 1) Install Mesa-dri-vc4 package
> > > > 2) Edit /etc/X11/Xorg.conf.d/20-kms.conf and remove the line:
> > > > Option "AccelMethod" "none"
> > > > 
> > > > This will enable Mesa 3D acceleration and 2D acceleration in X
> > > > with
> > > > Glamor.
> > > 
> > > Does that also work with the upstream/openSUSE kernel?
> > 
> > I don't know, we have to ask Patrik as he tested it (I added him
> > back into
> > CC as you dropped him).
> 
> I just tried the Mesa-dri-vc4 package, and the effect is amazing: Now
> the 
> windows scroll smoothly over the screen, even under load (graphical
> desktop, 
> database- and application server running)
> 
> Thanks for the hint. I will add it to the wiki!

Hi Axel, thanks for testing. Yes adding acceleration gives a much
better desktop experience :) Please note that there are still
unresolved issues so I don't think it makes sense to enable it by
default.

Cheers
Patrik

> 
> Cheers
> Axel
> 
> 

Reply via email to