cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Newbie
Newbie
2,113 Views
Registered: ‎04-18-2018

unabe to load driver : xilinx_drm_dri.so

I have installed OpenGL ES 2.0 on Ultrascale ZCU106 . The program to create a simple window is working fine , but the program for creating a triangle it is showing an error :

      

              "libGL error : unable to load driver : xilinx_drm_dri.so 
               libGlL error : driver pointer missing 
               libGL error : failed to load driver : xilinx_drm " . 
 I think this driver is responsible for rendering . 
 I have built the image from the prebuilt image provided by xilinx for ZCU102. Is this could be a problem. 
 I am new to xilinx peatalinux so any help provided would be of a great use.
0 Kudos
4 Replies
Highlighted
Explorer
Explorer
2,080 Views
Registered: ‎11-24-2013

Hi @awneesh,

 

this driver can be included (http://www.wiki.xilinx.com/Xilinx+DRM+KMS+driver) as a built-in module of the kernel. This can be done when configuring the Petalinux Project:

 

petalinux-config -c kernel

Then, on the menu, the option to activate it is under Device Drivers -> Graphics support -> Xilinx DRM. To activate it as built-in, Y must be pressed.

 

After that, build the Linux image should be built again

petalinux-build

Regards,

Ignacio

Tags (3)
Highlighted
Newbie
Newbie
2,040 Views
Registered: ‎04-18-2018

Thanks  

0 Kudos
Highlighted
Explorer
Explorer
2,031 Views
Registered: ‎11-24-2013

Highlighted
Moderator
Moderator
2,018 Views
Registered: ‎04-24-2017

Hi @awneesh,

 

Refer UG1209 for OpenGL demo example.

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos