DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

enable GPU with dietpi os on raspberry pi 4 to improve performance

Open learncodingforweb opened this issue 1 year ago • 1 comments

Creating a feature request

How can i enable GPU on dietpi os running on raspberry pi 4?

Is your feature request related to a problem? Please describe:

To improve the raspberry pi 4 performance. how to enable GPU with dietpi os? So that application like UI(tauri app) uses GPU instead of CPU and opencv can be used with GPU,

Describe the solution you'd like:

I do not any idea.

Describe alternatives you've considered:

no alternative

learncodingforweb avatar Jun 12 '24 14:06 learncodingforweb

The question is, which graphics backend/API this application uses. However, to align with Raspberry Pi OS, KMS needs to be enabled. In dietpi-config display options, select vc4-kms-v3d in the resolution option. It requires a rework to detach KMS from a particular resolution in the menu, but practically it is already.

MichaIng avatar Jun 12 '24 14:06 MichaIng