MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.68k stars 492 forks source link

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

Open learncodingforweb opened 3 weeks ago

learncodingforweb commented 3 weeks ago

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

MichaIng commented 3 weeks ago

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.