Bug 225053

Summary: misc/raspberrypi-userland: conflicts with mesa-libs
Product: Ports & Packages Reporter: Zsolt Udvari <uzsolt>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Many People CC: freebsd-arm
Priority: --- Flags: bugzilla: maintainer-feedback?
Version: Latest   
Hardware: arm   
OS: Any   
See Also: https://github.com/raspberrypi/userland/issues/556
Description Flags
New prefix to raspberrypi_userland
(naive) libglvnd support none

Description Zsolt Udvari 2018-01-10 15:59:32 UTC
I've installed multimedia/kodi to my RPi - it requires raspberrypi-userland.
I want to install print/hplip and it requires mesa-libs.

But it's impossible:
  - mesa-libs-17.3.1 conflicts with raspberrypi-userland-20161026 on /usr/local/include/EGL/egl.h
Comment 1 Zsolt Udvari 2018-07-04 15:28:17 UTC
What about this report?
Comment 2 Mikael Urankar freebsd_committer 2018-07-04 16:24:45 UTC
(In reply to Zsolt Udvari from comment #1)
Sorry for the late reply.
Nothing much I can do, pkg still lacks the "provides/requires" feature...
Comment 3 Jan Beich freebsd_committer 2018-12-07 16:59:46 UTC
USES=gl can probably follow USES=jpeg example by providing a way to override graphics/mesa-libs dependency.
Comment 4 adr 2019-07-12 16:30:41 UTC
Created attachment 205725 [details]
New prefix to raspberrypi_userland
Comment 5 adr 2019-07-12 16:36:08 UTC
This conflict is preventing the use of hardware accelerated support in an X environment. Xine, vlc, gstreamer, mpv, ... Like it or not, the Raspberry Pi family of computers are one of the most popular arm machines today. The new opengl driver can be useful in the future with a more powerful hardware, but for  now, this is the better option (and the only one in BSD?) for playing HD video, and through gstreamer, playing videos on a web browser with an acceptable quality. Vlc has a new driver that integrates perfectly the player with the X environment. I'm attaching patches for raspberrypi-userland and for omxplayer to use LOCALBASE/share/vc as the prefix of the userland, adding -I with this path to omxplayer and adding a message to advise the user to change LD_LIBRARY_PATH. If this is accepted, I'll correct the other ports that can use raspberrypi-userland.
Comment 6 Jan Beich freebsd_committer 2020-05-27 11:35:41 UTC
Created attachment 214912 [details]
(naive) libglvnd support

Does this help? Apply bug 246767 first.

Disclaimer: I've never had Raspberry Pi. Besides, Mesa already has some drivers for Raspberry Pi.
Comment 7 Jan Beich freebsd_committer 2020-05-27 11:54:50 UTC
Comment on attachment 214912 [details]
(naive) libglvnd support

Nevermind, libglvnd doesn't provide DISPMANX_ELEMENT_HANDLE_T and EGL_DISPMANX_WINDOW_T in <EGL/eglplatform.h> which is required by multimedia/omxplayer.
Comment 8 Zsolt Udvari 2020-05-27 12:19:51 UTC
(In reply to Jan Beich from comment #6)
My RPi went awry so I can't test it.