graphics libraries vs. mesa-libgl

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

graphics libraries vs. mesa-libgl

Postby ryazor » Thu Jun 13, 2013 9:18 am

Hi guys,

hopefully, this question was not asked in the meantime, I wasn't able to find a proper answer.

I tried building retroarch-rbp-git on the rpi and got problems regarding libEGL when compiling it. So I googled and found out, that the built-in graphics libraries (/opt/vc/lib) are incompatible with mesa (see https://github.com/Themaister/RetroArch/issues/171).

To finish compiling, I uninstalled mesa, mesa-libgl and all packages, which depends on them (like xbmc and xfce4).

Does this mean, I'm completely unable to use mesa and mesa-libgl on my alarm setup when compiling anything against the rpi graphics libs? Or is it possible to remove mesa dependencies manually via PKGBUILD on any package (which implicit means, I have to compile any package, as a lot of packages depend on mesa)?

Is it even possible to have retroarch-rbp-git, xbmc-rbp (libva depends on libgl and libgles) and eventually even the xfce4 packages (cairo depends on libgl and mesa) installed side by side?

Currently I'm not absolutely sure, which packages I definitely need to install (mesa, mesa-libgl, etc.?) or which rpi packages should provide libgl etc.

Thanks in advance for any enlightenment!
Best regards,
Ryad
ryazor
 
Posts: 2
Joined: Sun Nov 14, 2010 5:19 pm

Re: graphics libraries vs. mesa-libgl

Postby Huulivoide » Thu Jun 13, 2013 6:04 pm

I think that thread is misleading. It is not the mesa libs that need be deleted.
It is the Broadcom's OpenGL drivers that are incompatible. And those would
need to be uninstalled. But that would most likely make the app RPi
incompatible. Then.
Huulivoide
 
Posts: 27
Joined: Tue Jun 26, 2012 6:22 pm

Re: graphics libraries vs. mesa-libgl

Postby Huulivoide » Thu Jun 13, 2013 6:21 pm

My last post was incorrect.
There is simply a bug (PKGBUILD itself is one big bug, uses OLD syntax)
a configure swich is missing, and the package tries to build itself
with regular OpenGL instead of OpenGL ES.

I will upload a working PKGBUILD to the comments section of retroarch-git.
No reason really for extra rapsberrypi package. At the moment they are
actually same PKGBUILD file.
Huulivoide
 
Posts: 27
Joined: Tue Jun 26, 2012 6:22 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest