Issue with GL driver on Raspbian Stretch - Mender Hub
文章推薦指數: 80 %
However, when running raspi-config and trying to enable the GL driver (full KMS) it prompts no driver ... I would take it up with the Raspberrypi community. IssuewithGLdriveronRaspbianStretch GeneralDiscussions valtteric August5,2019,5:11pm #1 FollowedthistutorialwithRaspbianStretch2019-04-08,gotthedeviceworkingandregisteringtoMender.However,whenrunningraspi-configandtryingtoenabletheGLdriver(fullKMS)itpromptsnodriver/kernelinstalled. Runningapt-getdist-upgradeforthedevicefixesthis,butwhatisthecorrectwaytoenablethisstraighttotheconvertedimage?(I’massumingdoingthedist-upgradeforthegoldendevicedoesnotfixthis,theGLdriversshouldbeinplacewithoutitanyway.) Thanks. RaspberryPi3ModelB/B+Raspbian mirzak August5,2019,5:25pm #2 I’massumingdoingthedist-upgradeforthegoldendevicedoesnotfixthis Thiswouldseemthecorrectapproachtome.Thatis, bootthegoldenimage runthecommandsyouneedtoinstallthenecessaryparts shutdownthesystem dumptheSDcard runintroughmender-convert Ifthenecessarypartsarenotpresentina“stock”image,andyouwouldexpectthemtobe,IwouldtakeitupwiththeRaspberrypicommunity. valtteric August5,2019,8:53pm #3 ThevanillaraspbiandoeshaveaworkingGLsetupwithnoneedforthedist-upgrade,that’swhyIwasassumingtheconvertedimageisusingsomeotherkernelorsomething. BulI’lltryitout. mirzak August6,2019,8:17am #4 RaspberryPi3ModelB/B+Raspbian ThevanillaraspbiandoeshaveaworkingGLsetupwithnoneedforthedist-upgrade,that’swhyIwasassumingtheconvertedimageisusingsomeotherkernelorsomething. Wetrytohaveverylittleimpactonimagecontentwhenweconvertthemandmostofitshouldbeintact. Whatwedochangeismostlyaroundthebootprocess,aswehavetoaddU-bootwhichisnotthereinastockimagebutrequiredtobeabletointegrateMendertoperformrobustupdatesusingtheA/Bapproach.Butkernelandalluser-spacecomponentsshouldbeas-is. ProblemswithRaspbianBuster valtteric August12,2019,12:02pm #5 Icreatedanactualgoldenimagenow,verifiedit’sworkingproperlyandcanbeflashedtoanotherdeviceswithnoissueswiththeGL. Didamender-convertforit,I’mnowfacing2issues: TheGLisnotworking.Thisisunfortunatelyashowstopperforus.Theraspi-configisnotveryinformative,attachedscreenshots.Inanycase,it’squitecertainsomething’shappeninduringthemenderconvert.YoucanmostlikelyreproducethisbyjusttryingtoenabletheGLdriverwithaconvertedvanillaraspbian. ThedeviceisnotshownonMenderdashboardeventhoughit’sconnectedtotheinternet.Wedohaveafirewallenabledonthesystem,butifIunderstoodcorrectlythereshouldn’tbearequirementforincomingtrafficbecauseofMender? I’mhappytocontinuethisconversationprivatelyviaemailaswell. mirzak August12,2019,12:17pm #6 Thankyoufortheupdate@valtteric.Iwouldpreferifwecancontinuethediscussionshere(Ihavemovedthistoaseparatetopicontheforum). TheGLisnotworking.Thisisunfortunatelyashowstopperforus.Theraspi-configisnotveryinformative,attachedscreenshots.Inanycase,it’squitecertainsomething’shappeninduringthemenderconvert.YoucanmostlikelyreproducethisbyjusttryingtoenabletheGLdriverwithaconvertedvanillaraspbian. Iwilltakeacloserlookonwhatthatrpi-configistryingtodoandwhyitwouldfailonaconvertedimage. ThedeviceisnotshownonMenderdashboardeventhoughit’sconnectedtotheinternet.Wedohaveafirewallenabledonthesystem,butifIunderstoodcorrectlythereshouldn’tbearequirementforincomingtrafficbecauseofMender? ThereisnorequirementforinboundtrafficbecauseofMenderonthedevice.Canyoutryrunningsudojournalctl-f-a-umenderandprovidetheoutputhere. mirzak August12,2019,12:28pm #7 TheGLisnotworking.Thisisunfortunatelyashowstopperforus.Theraspi-configisnotveryinformative,attachedscreenshots.Inanycase,it’squitecertainsomething’shappeninduringthemenderconvert.YoucanmostlikelyreproducethisbyjusttryingtoenabletheGLdriverwithaconvertedvanillaraspbian. Thisiswhyitiscomplaining, if[!-e/boot/overlays/vc4-kms-v3d.dtbo];then whiptail--msgbox"Driverandkernelnotpresentonyoursystem.Pleaseupdate"20602 return1 fi Thisissomethingthatischangedonaconvertedimage,aswemountthebootpartitionon/ubootinsteadof/bootwhichisdoneonastockimageanditwillnotabletofind/boot/overlays/vc4-kms-v3d.dtbo Butlookingatwhattheraspi-configtoolistryingtodoisbasicallyaddingalineto/uboot/config.txt,sotheequivalentcommandtoenableFullKMSusingashellwouldbe: echo'dtoverlay=vc4-kms-v3d'|sudotee-a/uboot/config.txt Thereisactuallyanpull-requestopentoenablethisbydefault,tosolveotherproblemsthatarepresentonRaspbianBuster.Moreinfoonthishere mirzak August12,2019,12:35pm #8 AlsoIbelivethatthereisaprobleminthe1.x.xversionofmender-convertthatremovesanychangesyoumadetothegoldenimage(atleastoverlays). Wehavefixedthisinthemasterbranch,andspecificallythiscommit.Ifyoucouldtryusingmasterbranchofmender-convertandreportbackthatwouldbegreat. mirzak August12,2019,12:41pm #9 AlsoIwouldliketohighlightthis, Newiterationofthemender-converttoolGeneralDiscussions Hi, Asyoumightbeawareofwehaveatoolwecallmender-converttoenablesupportforMenderonbinarydistributions. Wearehappythatthishasworkedout,enablingpeopletosecurelyupdatetheirdevicesonnon-Yoctodevices.Eventhoughwearehappywiththefunctionalityofthecurrenttool,thereareacoupledrawbacksinthecurrentdesignofthetool,whichwewanttoimprove.Welookedhardatthecurrentcodeanddecided,toachievethedesireddesignwewouldneedtodoare-wri… Thenewiterationshouldalsowork,ifyouhaveenabledFullKMSonyourgoldenimage.(thoughraspi-configwillprobablyshowsameproblem) valtteric August12,2019,2:10pm #10 Hi,soundsgreat!Yeahtheideaisthateverythingshouldbeproperlyconfiguratedwithinthegoldenimageandnoneedtotweakraspi-configoranythingelseinthatregard.I’lltrythingsouttomorrowandreportback. Thanks! valtteric August13,2019,7:27am #11 mirzak: ThereisnorequirementforinboundtrafficbecauseofMenderonthedevice.Canyoutryrunningsudojournalctl-f-a-umenderandprovidetheoutputhere. ThereareauthorizationfailederrorsreturnedfromMender,I’mquitesureIjustforgottosetupthetokenafterredoingmostofthestepswiththecontainer. valtteric August13,2019,12:29pm #12 Goteverythingworkingprettymuchperfectlyusingthemasterbranch.Thanks! 1Like mirzak August13,2019,12:57pm #13 Greattohear.Thanksforreportingback. xandrei2772 November26,2021,1:10pm #14 (postdeletedbyauthor) xandrei2772 November26,2021,2:55pm #15 heyimrunningintothesameissue,icantseemtounderstandthesolutionveryclearcanyoupleaseexplainthestepstogoaboutfixingthisagain
延伸文章資訊
- 1Issue with GL driver on Raspbian Stretch - Mender Hub
However, when running raspi-config and trying to enable the GL driver (full KMS) it prompts no dr...
- 2How to enable Raspberry Pi experimental OpenGL driver
The latest Raspbian brings us an experimental OpenGL driver. In case you want to give it a try, d...
- 3VC4 and V3D OpenGL drivers for Raspberry Pi: an update
Here's an update from Iago Toral of Igalia on development of the open source VC4 and V3D OpenGL d...
- 4Enabling GL driver makes all sorts of problems on a Pi 3!
Raspberry Pi 3B running freshly flashed Buster SD card. Graphics: Pi => hdmi-to-VGA => monitor. P...
- 5Trying out OpenGL on Raspberry Pi 3
Activating OpenGL on the Raspberry Pi 3 · Enter the comand: sudo raspi-config · Select 7 Advance ...