Raspberry Pi 4 OpenGL acceleration?

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Posts: 1
Joined: Mon Feb 10, 2020 12:01 am

Raspberry Pi 4 OpenGL acceleration?

Post by blehmeh98 »

I'm trying to activate the hardware OpenGL acceleration for the Raspberry Pi 4 so that I can take advantage of the OpenGL hardware acceleration that the Raspberry Pi 4 offers. I found this article detailing how it works within DietPi:

https://googleweblight.com/?lite_url=ht ... OXT8fUHC6A

The article says that it's automatically configured when I install Diet Pi, but this only seems to mention support for the Raspberry Pi 2+, but I have a Raspberry Pi 4. I tried opening Chromium and going to chrome://gpu, but it says everything is either disabled or running in software mode.

I tried searching in the dietpi-config program for a hardware acceleration setting for the display or graphics, but I couldn't find anything.

How do I manually enable the hardware acceleration within DietPi? Can it be done? I know the Raspberry Pi 4 supports it because I was using it in Raspbian Lite before I switched over to DietPi?
User avatar
Posts: 3776
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry Pi 4 OpenGL acceleration?

Post by Joulinar »


According this GitHub post, is this still something you need to look into? Or do I mixed it up?

https://github.com/MichaIng/DietPi/issu ... -572077882
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
Site Admin
Posts: 2628
Joined: Sat Nov 18, 2017 6:21 pm

Re: Raspberry Pi 4 OpenGL acceleration?

Post by MichaIng »

When installing Chromium via dietpi-software, it should install the correct package from RPi repo. For OpenGL, one needs to select the driver via dietpi-config > Display Options > Resolution.
Outstanding is to make the driver/overlay selection independent from resolution. Currently we apply fixed 1080p then.
Post Reply