Jump to content

[Armbian build PR] - PR1641 - Get rid of the simpledrm module preventing panfrost Mali G-31 hw accel


RSS Bot

Recommended Posts

Description

Jira reference number [AR-1641](https://armbian.atlassian.net/browse/AR-1641)

How Has This Been Tested?

I run the segment of the bash script into test.sh to check it locally

cp  /boot/armbianEnv.txt armbianEnv2.txt
BLACKLIST_SIMPLEDRM="module_blacklist=simpledrm" 
if grep -q "meson64" /etc/armbian-release; then
        echo "extraargs=${BLACKLIST_SIMPLEDRM}"  >> armbianEnv2.txt
fi
#Line extraargs should appear
cat armbianEnv2.txt

bash test.sh outputs:

verbosity=1
console=both
overlay_prefix=meson
bootlogo=true
rootdev=UUID=f9f9535f-bd89-4be4-9ef4-1f1e312cc20a
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u,0x1058:0x0730:u
extraargs=module_blacklist=simpledrm

In the practice instead of having with lsmod | grep drm_shmem drm_shmem_helper 24576 1 panfrost simpledrm

we have now with lsmod | grep drm_shmem drm_shmem_helper 24576 1 panfrost

and the warning without hardware acceleration dissapeared. thus glxinfo -B | grep Device was no more llvmpipe but the wished Device: Mali-G31 (Panfrost) (0xffffffff)

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines