Aw: [opensuse-arm] Graphics acceleration
Gesendet: Sonntag, 02. Februar 2020 um 22:16 Uhr Von: "Axel Braun" <docb@opensuse.org> An: opensuse-arm@opensuse.org 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 Any idea what this means, or how to solve it? Or is ist the wrong driver at all? Thx Axel -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Axel, On 09/02/2020 16:33, Axel Braun wrote:
Gesendet: Sonntag, 02. Februar 2020 um 22:16 Uhr Von: "Axel Braun" <docb@opensuse.org> An: opensuse-arm@opensuse.org 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
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. Previously we had a memory leak but when I tried this on Tumbleweed (today) the leak seems to be gone. Perhaps the leak is still present in Leap. Also, there is an issue with Glyph rendering so some chars in text is missing. Your mileage may vary. </paste> Maybe you want to give this a try. Regards, Matthias -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Manfred, Am Sonntag, 9. Februar 2020, 17:05:30 CET schrieb Matthias Brugger:
On 09/02/2020 16:33, Axel Braun wrote:
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
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?
No, Leap 15.2 latest update
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.
Thank you! I will try as soon as I'm back at the Raspi, and report back! Best, Axel -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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" <docb@opensuse.org> An: opensuse-arm@opensuse.org 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: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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" <docb@opensuse.org> An: opensuse-arm@opensuse.org 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: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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" <docb@opensuse.org> An: opensuse-arm@opensuse.org 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! Cheers Axel -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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" <docb@opensuse.org> An: opensuse-arm@opensuse.org 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
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" <docb@opensuse.org> An: opensuse-arm@opensuse.org 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
Right, *.so is not a kernel module. I should have catched that...
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?
We have to ask Patrik as he provided the info. I added him back to the CC list, as you (accidentally?) 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: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (4)
-
Axel Braun
-
Matthias Brugger
-
Patrik Jakobsson
-
Stefan Seyfried