How should I enable hardware graphics acceleration in ...
文章推薦指數: 80 %
I have just installed Ubuntu MATE 21.10 (32-bit, armhf) on my Raspberry Pi 4 with 4 Gb of RAM. Note: I need 32-bit version to have Modelica ...
UbuntuCommunityAsk!DeveloperDesignHardwareInsightsJujuShopMore›AppsHelpForumLaunchpadMAASCanonical
AskUbuntuisaquestionandanswersiteforUbuntuusersanddevelopers.Itonlytakesaminutetosignup.
Signuptojointhiscommunity
Anybodycanaskaquestion
Anybodycananswer
Thebestanswersarevotedupandrisetothetop
Home
Public
Questions
Tags
Users
Companies
Unanswered
Teams
StackOverflowforTeams
–Startcollaboratingandsharingorganizationalknowledge.
CreateafreeTeam
WhyTeams?
Teams
CreatefreeTeam
Teams
Q&Aforwork
Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch.
Learnmore
HowshouldIenablehardwaregraphicsaccelerationinChromiumweb-browserrunningonUbuntuMATE21.10onRPi4(armhf)?
AskQuestion
Asked
4monthsago
Modified
4monthsago
Viewed
2ktimes
1
1
IhavejustinstalledUbuntuMATE21.10(32-bit,armhf)onmyRaspberryPi4with4GbofRAM.Note:Ineed32-bitversiontohaveModelicacompileravailable.Allsettingsaredefault.Informationaboutvideodriverisbelow:
$lsmod|grepdrm
drm_kms_helper2826243vc4
cec655362vc4,drm_kms_helper
fb_sys_fops163841drm_kms_helper
syscopyarea163841drm_kms_helper
sysfillrect163841drm_kms_helper
sysimgblt163841drm_kms_helper
drm54067212v3d,vc4,gpu_sched,drm_kms_helper
$grep-E"^dtoverlay|^max_framebuffers|^gpu_mem|^hdmi"/boot/firmware/config.txt
max_framebuffers=2
dtoverlay=vc4-fkms-v3d
gpu_mem=128
$cat/proc/device-tree/soc/firmwarekms@7e600000/status
okay
$cat/proc/device-tree/v3dbus/v3d@7ec04000/status
okay
$glxinfo|grep-iopengl
OpenGLvendorstring:Broadcom
OpenGLrendererstring:V3D4.2
OpenGLversionstring:2.1Mesa21.2.2
OpenGLshadinglanguageversionstring:1.20
OpenGLextensions:
OpenGLESprofileversionstring:OpenGLES3.1Mesa21.2.2
OpenGLESprofileshadinglanguageversionstring:OpenGLESGLSLES3.10
OpenGLESprofileextensions:
ThenIinstalledChromiumbrowserassimpleassudoapt-getinstallchromium-browser,launcheditforfirsttimetoenablethefollowingoptionsonchrome://flags:
Overridesoftwarerenderinglistaka#ignore-gpu-blocklist;
GPUrasterizationaka#enable-gpu-rasterization;
Zero-copyrasterizeraka#enable-zero-copy;
EnablesDisplayCompositortouseanewgputhread.aka#enable-drdc;
Out-of-process2Dcanvasrasterization.aka#canvas-oop-rasterization.
thenrelauncheditusingchromium--enable-features=VaapiVideoDecodercommand.
Desiteallthesestepsdone,onchrome://gpuChromiumsaysthatGPUaccelerationisnotenabled:
GraphicsFeatureStatus
Canvas:Softwareonly.Hardwareaccelerationdisabled
Canvasout-of-processrasterization:Disabled
Compositing:Softwareonly.Hardwareaccelerationdisabled
MultipleRasterThreads:Disabled
Out-of-processRasterization:Disabled
OpenGL:Disabled
Rasterization:Softwareonly.Hardwareaccelerationdisabled
RawDraw:Disabled
SkiaRenderer:Enabled
VideoDecode:Softwareonly.Hardwareaccelerationdisabled
Vulkan:Disabled
WebGL:Disabled
WebGL2:Disabled
Sothequestionisinthetitle.
chromiumraspberrypiubuntu-mateopengl21.10
Share
Improvethisquestion
Follow
askedJan7at10:58
N0rbertN0rbert
88.6k2727goldbadges196196silverbadges378378bronzebadges
0
Addacomment
|
1Answer
1
Sortedby:
Resettodefault
Highestscore(default)
Datemodified(newestfirst)
Datecreated(oldestfirst)
1
ThemainproblemhereisthatChromiumisshippedasSnap,soVA-APIisnotavailableaswearerunningonARM.
Sothefirststepisobvious-removeSnapversionofChromiumbysudosnapremovechromium.
ThesecondstepisinstallationofChromiumasdeb-packagefromRaspberryPiOSrepositoryusingbelowcommands:
sudoapt-keyadv--keyserverkeyserver.ubuntu.com--recv-keys82B129927FA3303E
sudoapt-add-repository"debhttp://archive.raspberrypi.org/debian/bullseyemain"
cat<
延伸文章資訊
- 1Chromium 88 hardware acceleration [solved] - Raspberry Pi ...
I am on Raspberry Pi OS with the latest updates. When i go to chrome://gpu, "video decode" says "...
- 2How To Enable Hardware Acceleration ... - Linux Uprising Blog
This article explains how to enable hardware acceleration in Chromium browser running on Raspberr...
- 3Raspberry Pi 4: Hardware accelerated video decoding (GPU ...
DIY: Video Decode using Hardware Acceleration · Start the raspi-config configurator, typing in a ...
- 4RPI4 & Ubuntu MATE - How to enable video acceleration
Tutorial showing how to enable hardware acceleration on Raspberry Pi 4 running Ubuntu MATE, inclu...
- 5Hardware accelaration on pi 4 - Technical Assistance
raspberry-pi-4 ... You can enable Hardware Acceleration in the options. However, does the Pi actu...