Aw: Re: [opensuse-arm] Graphics acceleration
Hello Michal and Stefan, thanks for your input!
Gesendet: Sonntag, 09. Februar 2020 um 21:09 Uhr Von: "Michal Suchánek"
An: "Axel Braun" Cc: "opensuse-arm@opensuse.orghange-folder>?" Betreff: Re: [opensuse-arm] Graphics acceleration On Sun, Feb 09, 2020 at 04:33:24PM +0100, Axel Braun wrote:
Gesendet: Sonntag, 02. Februar 2020 um 22:16 Uhr Von: "Axel Braun"
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
This is a x11 driver.
Indeed.
IIRC it uses shadowfb and/or 2D acceleration engine where driver support is available. The driver should come with some documentation that details what this version supports. You will need to reconfigure the X server to use this driver if you want to make use of its specific acceleration features.
The documentation points to a github page and is more about compiling the driver. The package creates a file /etc/X11/xorg.conf.d/99-fbturbo.conf with the required settings, but it fails to load: [ 34.960] (II) LoadModule: "fbturbo" [ 34.961] (II) Loading /usr/lib64/xorg/modules/drivers/fbturbo_drv.so [ 34.984] (EE) Failed to load /usr/lib64/xorg/modules/drivers/ fbturbo_drv.so: /usr/lib64/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePacked [ 34.984] (EE) Failed to load module "fbturbo" (loader failed, 0) I have created https://bugzilla.opensuse.org/show_bug.cgi?id=1163230 for this Thanks Axel -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-----Original Message----- From: Axel Braun
Sent: 10 February 2020 10:33 To: opensuse-arm@opensuse.org; msuchanek@suse.de Subject: Aw: Re: [opensuse-arm] Graphics acceleration Hello Michal and Stefan,
thanks for your input!
Gesendet: Sonntag, 09. Februar 2020 um 21:09 Uhr Von: "Michal Suchánek"
An: "Axel Braun" Cc: "opensuse-arm@opensuse.orghange-folder>?" Betreff: Re: [opensuse-arm] Graphics acceleration On Sun, Feb 09, 2020 at 04:33:24PM +0100, Axel Braun wrote:
Gesendet: Sonntag, 02. Februar 2020 um 22:16 Uhr Von: "Axel Braun"
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
This is a x11 driver.
Indeed.
IIRC it uses shadowfb and/or 2D acceleration engine where driver support is available. The driver should come with some documentation that details what this version supports. You will need to reconfigure the X server to use this driver if you want to make use of its specific acceleration features.
The documentation points to a github page and is more about compiling the driver. The package creates a file /etc/X11/xorg.conf.d/99-fbturbo.conf with the required settings, but it fails to load:
[ 34.960] (II) LoadModule: "fbturbo" [ 34.961] (II) Loading /usr/lib64/xorg/modules/drivers/fbturbo_drv.so [ 34.984] (EE) Failed to load /usr/lib64/xorg/modules/drivers/ fbturbo_drv.so: /usr/lib64/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePacked [ 34.984] (EE) Failed to load module "fbturbo" (loader failed, 0)
You may want to try this workaround: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217023#c2 Guillaume
I have created https://bugzilla.opensuse.org/show_bug.cgi?id=1163230 for this
Thanks Axel
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello Guillaume, Am Montag, 10. Februar 2020, 11:35:55 CET schrieb Guillaume Gardet:
[ 34.960] (II) LoadModule: "fbturbo" [ 34.961] (II) Loading /usr/lib64/xorg/modules/drivers/fbturbo_drv.so [ 34.984] (EE) Failed to load /usr/lib64/xorg/modules/drivers/ fbturbo_drv.so: /usr/lib64/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePacked [ 34.984] (EE) Failed to load module "fbturbo" (loader failed, 0)
You may want to try this workaround: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217023#c2
Good hint, that worked (added it to 99-fbturbo.conf). module fbturbo loads now, though I have to say that moving a window on the screen still feels like 1995 (It is jerky) I will attache the xorg.log to the bug report Best, Axel -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Mon, Feb 10, 2020 at 12:27:35PM +0100, Axel Braun wrote:
Hello Guillaume,
Am Montag, 10. Februar 2020, 11:35:55 CET schrieb Guillaume Gardet:
[ 34.960] (II) LoadModule: "fbturbo" [ 34.961] (II) Loading /usr/lib64/xorg/modules/drivers/fbturbo_drv.so [ 34.984] (EE) Failed to load /usr/lib64/xorg/modules/drivers/ fbturbo_drv.so: /usr/lib64/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePacked [ 34.984] (EE) Failed to load module "fbturbo" (loader failed, 0)
You may want to try this workaround: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217023#c2
Good hint, that worked (added it to 99-fbturbo.conf). module fbturbo loads now, though I have to say that moving a window on the screen still feels like 1995 (It is jerky)
That's to be expected. The 2D acceleration is very good for small updates (like adding a character in your terminal or redrawing the clock in your statusbar) and 3D acceleration is good for big updates like moving windows. I use a tiling WM that arranges the windows automatically and don't normally move them so I see this issue only when testing. Also it is not clear that the packaged fbturbo version supports any kind of hardware acceleration on the Raspberry Pi and even that there is any kind of acceleration to support. Still the shadowfb software acceleration is very good. Of the actual 3D drivers only Intel comes close to its performance AFAIK. Thanks Michal -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Axel Braun
-
Guillaume Gardet
-
Michal Suchánek