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. >> 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? My experience with almost anything hw-accelerated on raspberry Pi (I only tried video decoding and encoding for now) is, that it only works on 32bits (the code is basically a NOP for 64bit userspace) and on raspbian-patched kernels. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
