# Does PYNQ support Mali-400 GPU on ZCU-104?

**URL:** <https://discuss.pynq.io/t/does-pynq-support-mali-400-gpu-on-zcu-104/1945>\
**Category:** Support\
**Created:** [October 27, 2020, 4:46pm UTC](https://discuss.pynq.io/t/does-pynq-support-mali-400-gpu-on-zcu-104/1945 "2020-10-27T16:46:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NS\_Huang](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/ns_huang/32/151_2.png) [@NS\_Huang](https://discuss.pynq.io/u/NS_Huang)\
**Post date:** [October 27, 2020, 4:46pm UTC](https://discuss.pynq.io/t/does-pynq-support-mali-400-gpu-on-zcu-104/1945/1 "2020-10-27T16:46:18Z")

</div>

Hi, dear PYNQ elite team,

We are using PYNQ+ZCU-104 for some GUI display via the DisplayPort. However, the CPU time takes 50% around for the display task on the CPU.

Thus, we have the need to enable Mali-400 GPU on PYNQ+ZCU-104 for display acceleration. Does PYNQ support Mali-400 GPU on ZCU-104? If yes, where is there any example code for reference? If no, do you have any suggestions to enable Mali-400 GPU?

Thank you.

---

<div class="post-metadata">

**Author:** ![NS\_Huang](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/ns_huang/32/151_2.png) [@NS\_Huang](https://discuss.pynq.io/u/NS_Huang)\
**Post date:** [November 5, 2020, 4:08pm UTC](https://discuss.pynq.io/t/does-pynq-support-mali-400-gpu-on-zcu-104/1945/2 "2020-11-05T16:08:47Z")

</div>

Hi,  
Do the development team have any comment on this issue? Is it feasible to use???

Or is there anyone ever have the experience to use the Mali-400 GPU on ZCU-10x ?

Thank you very much.

---

<div class="post-metadata">

**Author:** ![cathalmccabe](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/cathalmccabe/32/3348_2.png) [@cathalmccabe](https://discuss.pynq.io/u/cathalmccabe)\
**Post date:** [November 5, 2020, 4:24pm UTC](https://discuss.pynq.io/t/does-pynq-support-mali-400-gpu-on-zcu-104/1945/3 "2020-11-05T16:24:34Z")

</div>

Hi,  
The Mali isn’t supported directly by PYNQ. You could still use it in your design, but not directly from PYNQ.

Cathal

---

<div class="post-metadata">

**Author:** ![NS\_Huang](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/ns_huang/32/151_2.png) [@NS\_Huang](https://discuss.pynq.io/u/NS_Huang)\
**Post date:** [November 5, 2020, 8:14pm UTC](https://discuss.pynq.io/t/does-pynq-support-mali-400-gpu-on-zcu-104/1945/4 "2020-11-05T20:14:36Z")

</div>

Hi, Cathal,

Thank you. What do you mean by “You could still use it in your design, but not directly from PYNQ.”? If we use PYNQ image, does it mean no chance?

Also, if we would need to build our own PYNQ image, is this could be incorporated into the PYNQ image? Is there any documentation for this as you know?

Thank you

All the best,  
Nan-Sheng

---

<div class="post-metadata">

**Author:** ![PeterOgden](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/peterogden/32/55_2.png) [@PeterOgden](https://discuss.pynq.io/u/PeterOgden)\
**Post date:** [November 9, 2020, 5:53pm UTC](https://discuss.pynq.io/t/does-pynq-support-mali-400-gpu-on-zcu-104/1945/5 "2020-11-09T17:53:26Z")

</div>

The GPU isn’t currently enabled in the PYNQ image. The proprietary drivers aren’t compiled in a form suitable to for use with the vendor-neutral OpenGL dispatch library used in Ubuntu. In theory it should be possible to replace that with [the precompiled binaries](https://github.com/Xilinx/meta-xilinx/tree/master/meta-xilinx-bsp/recipes-graphics) but it’s not something I’ve tried or seen documentation on how to do. You’ll also need to compile the kernel module - the best instructions I’ve seen for that is unfortunately the [petalinux recipe](https://github.com/Xilinx/meta-xilinx/tree/master/meta-xilinx-bsp/recipes-graphics/mali).

Peter

---

<div class="post-metadata">

**Author:** ![sarashs](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/sarashs/32/1661_2.png) [@sarashs](https://discuss.pynq.io/u/sarashs)\
**Post date:** [June 5, 2021, 5:32am UTC](https://discuss.pynq.io/t/does-pynq-support-mali-400-gpu-on-zcu-104/1945/6 "2021-06-05T05:32:19Z")

</div>

Did you happen to find a solution for this?
