I am using raspberry pi 4b after successfully installation of raspbian os i connected the pi with raspberry display (official raspberry pi 7 inch display) then error msg appears as kernel panic cant allocate swiotlb buffer before and cant allocate dmabouncer buffer now
Please help
Asked
Active
Viewed 4,894 times
5
vaibhav kadam
- 51
- 1
- 3
1 Answers
8
I ran into this same issue with a new install of Pi OS after setting the GPU memory to 896 MB in raspi-config.
To fix it without reinstalling:
Put the SD card in another computer that can read the "boot" filesystem. I believe it is a FAT32 filesystem.
Open "config.txt" and alter the "gpu_mem" setting. Set it to something like 512 or lower.
I don't know what the upper limit is, but 512 worked for me and is recommended as the maximum value for a Pi with 1GB memory or greater.
https://www.raspberrypi.org/documentation/configuration/config-txt/memory.md
Cole P
- 81
- 2
-
The upper limit is 512. Nobody should need that amount of GPU RAM, Start with 192 and work from there. – Dougie Jan 07 '21 at 16:46
-
-
Had the same issues. After reading a bit, this setting is really just for video decoding and the desktop -- 3d applications override this anyway, so no need to set it so high. – Felix Dombek Jan 11 '21 at 23:17
-
You are amazing, thank you. I am another dumb-dumb who maxed my GPU to 896 even when the internet told me 512 was the max lol. – Ryan Oct 14 '21 at 23:03
successfully installation of oswhich OS? where did you get it from? I wonder if you can take a picture of the whole screen rather than part of it - also what is thisraspberry displayyou've connected to? – Jaromanda X Dec 29 '20 at 09:52