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.
LearnmoreaboutTeams
HowshouldIenablehardwaregraphicsaccelerationinChromiumweb-browserrunningonUbuntuMATE21.10onRPi4(armhf)?
AskQuestion
Asked
7monthsago
Modified
7monthsago
Viewed
4ktimes
2
2
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
90.9k3030goldbadges211211silverbadges393393bronzebadges
0
Addacomment
|
1Answer
1
Sortedby:
Resettodefault
Highestscore(default)
Datemodified(newestfirst)
Datecreated(oldestfirst)
3
ThemainproblemhereisthatChromiumisshippedasSnap,soVA-APIisnotavailableaswearerunningonARM.
Sothefirststepisobvious-removeSnapversionofChromiumbysudosnapremovechromium.
ThesecondstepisinstallationofChromiumasdeb-packagefromRaspberryPiOSrepositoryusingbelowcommands:
sudoapt-keyadv--keyserverkeyserver.ubuntu.com--recv-keys82B129927FA3303E
sudoapt-add-repository"debhttp://archive.raspberrypi.org/debian/bullseyemain"
cat<
延伸文章資訊
- 1RPI4 & Ubuntu MATE - How to enable video acceleration
Tutorial showing how to enable hardware acceleration on Raspberry Pi 4 running Ubuntu MATE, inclu...
- 2Hardware accelaration on pi 4 - Manjaro Linux Forum
raspberry-pi-4 ... You can enable Hardware Acceleration in the options. However, does the Pi actu...
- 3Raspberry Pi 4 hardware acceleration : r/openSUSE - Reddit
Hi, Is it currently possible to have 3D and video hardware acceleration on the Raspberry Pi 4 yet...
- 4Raspberry Pi 4 - Install JellyFin Media Server On ... - YouTube
- 5Raspberry Pi 4: Hardware accelerated video decoding (GPU ...
DIY: Video Decode using Hardware Acceleration · Start the raspi-config configurator, typing in a ...