Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade libreelec projectm version #86

Closed
jobevers opened this issue Jul 15, 2018 · 11 comments
Closed

Upgrade libreelec projectm version #86

jobevers opened this issue Jul 15, 2018 · 11 comments

Comments

@jobevers
Copy link

Libreelec is currently using projectm 2.0 from sourceforge, with a handful of patches applied:
https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/graphics/libprojectM/package.mk

With the effort to modernize projectm, it might be worth seeing if the work y'all are doing here can be incorporated into libreelec.

Also, with GL ES - it might be possible to run libreelec + projectm on a raspberry pi, which would be really awesome.

@revmischa
Copy link
Collaborator

Cool, let us know if we can help! Biggest change is now it's autotools instead of cmake. Moving the shaders to use GLSL is still a work in progress (#26) but you shouldn't see a regression unless you were building with the Cg framework before, which I highly doubt.

@jobevers
Copy link
Author

jobevers commented Jul 15, 2018

One potential difficulty: it looks like there is some issue with GLEW and EGL.

https://forum.kodi.tv/showthread.php?tid=305558&pid=2514147#pid2514147

The build process has a patch that removes GLEW:

https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/graphics/libprojectM/patches/libprojectM-hacky-removal-of-glew-spiff.patch

It looks like GLEW 2.0 added EGL support: http://glew.sourceforge.net/index.html, but I'm not really sure what all is going on here. But, it looks like libreelec is using glew 1.13 (https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/graphics/glew/package.mk#L20)

@deltaoscarmike
Copy link
Collaborator

Have a look at @CvH projectM branch
It's upgraded to 3.0.0.

@CvH
Copy link

CvH commented Aug 24, 2018

sadly it crashs when switching from background to foreground - yet no idea why this happen (didn't tried too much yet)

@revmischa
Copy link
Collaborator

I think we got rid of GLEW

@revmischa
Copy link
Collaborator

We've removed GLEW entirely #106

@jobevers
Copy link
Author

Awesome! I ended up deciding to user the raspberry pi for another use and used an old x86 computer for libreelec so I cant really test if it works on an ARM.

@CvH
Copy link

CvH commented Oct 13, 2018

@jobevers last version is sadly not working properly #111 but besides that it looks okay.

@revmischa
Copy link
Collaborator

Any help needed here?

@CvH
Copy link

CvH commented Jan 15, 2019

Any help needed here?

https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/graphics/libprojectM/package.mk#L6
we are already at some recent version that works :)

@revmischa
Copy link
Collaborator

Hope everything is working! Feel free to open a new ticket if you have problems
I hope we can get things working on a raspi soon. There is a relevant ticket: #168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants