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).
Regards,
Matthias
> 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.
>
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]