User Tools

Site Tools


doc:appunti:hardware:graphics_hardware_acceleration_raspberry_pi_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:graphics_hardware_acceleration_raspberry_pi_2 [2022/10/18 22:51] – [How to check if V3D and/or KMS are active] niccolodoc:appunti:hardware:graphics_hardware_acceleration_raspberry_pi_2 [2022/10/20 11:15] (current) – [Enable graphics acceleration in Chromium] niccolo
Line 7: Line 7:
 FIXME FIXME
  
-====== How to check if V3D and/or KMS are active ======+===== How to check if V3D and/or KMS are active =====
  
 **V3D** is an API provided by the Linux kernel to support 3D graphics on the **VideoCore VI** GPU (RPi 4). The software driver is actually provided in the form of a //Device Tree Overlay// which is loaded at boot time adding the following line into **/boot/config.txt**: **V3D** is an API provided by the Linux kernel to support 3D graphics on the **VideoCore VI** GPU (RPi 4). The software driver is actually provided in the form of a //Device Tree Overlay// which is loaded at boot time adding the following line into **/boot/config.txt**:
Line 46: Line 46:
 </code> </code>
  
-====== Enable graphics acceleration in Chromium ======+===== Enable graphics acceleration in Chromium =====
  
-====== Enable graphics acceleration in Firefox ======+In Chromium you can open the page **%%chrome://gpu%%** and check the **Graphics Feature Status**, you should read: 
 + 
 +^ Canvas  | Hardware accelerated 
 +^ Canvas out-of-process rasterization  | Enabled 
 +^ Direct Rendering Display Compositor  | Disabled 
 +^ Compositing  | Hardware accelerated 
 +^ Multiple Raster Threads  | Enabled 
 +^ OpenGL  | Enabled 
 +^ Rasterization  | Hardware accelerated on all pages  | 
 +^ Raw Draw  | Enabled 
 +^ Video Decode  | Hardware accelerated 
 +^ Video Encode  | Software only. Hardware acceleration disabled 
 +^ Vulkan  | Disabled 
 +^ WebGL  | Hardware accelerated 
 +^ WebGL2  | Hardware accelerated 
 +^ WebGPU  | Disabled 
 + 
 +Probably something is disabled, because of Chromium defaults. In that case you have to open the page **%%chrome://flags%%**, then search and set the following flags: 
 + 
 +^ Override software rendering list  | Overrides the built-in software rendering list and enables GPU-acceleration on unsupported system configurations. 
 +^ Enable raw draw  | When enabled, web content will be rastered on output surface directly. 
 +^ GPU rasterization  | Use GPU to rasterize web content. 
 +^ Out-of-process 2D canvas rasterization  | The rasterization of 2d canvas contents is performed in the GPU process. 
 +^ Accelerated 2D canvas  | Enables the use of the GPU to perform 2d canvas rendering instead of using software rendering. 
 + 
 + 
 + 
 +===== Enable graphics acceleration in Firefox =====
  
 ===== Web References ===== ===== Web References =====
Line 57: Line 84:
   * **[[https://www.dedoimedo.com/computers/rpi4-ubuntu-mate-hw-video-acceleration.html|RPI4 & Ubuntu MATE - How to enable video acceleration]]**   * **[[https://www.dedoimedo.com/computers/rpi4-ubuntu-mate-hw-video-acceleration.html|RPI4 & Ubuntu MATE - How to enable video acceleration]]**
   * **[[https://forums.raspberrypi.com/viewtopic.php?t=320836|(f)KMS on 64-bit Pi 4 firmware question]]**   * **[[https://forums.raspberrypi.com/viewtopic.php?t=320836|(f)KMS on 64-bit Pi 4 firmware question]]**
 +  * **[[https://forums.raspberrypi.com/viewtopic.php?t=320844|Chromium/Firefox no HW acceleration]]**
  
doc/appunti/hardware/graphics_hardware_acceleration_raspberry_pi_2.1666126308.txt.gz · Last modified: 2022/10/18 22:51 by niccolo