Kodi Community Forum

Full Version: troubles in projectM?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i really can't make projectM visualizations to work...

i put my milk files in /usr/share/xbmc/visualizations/projectM, select projectm as default visualization, load some music, press tab on the keyboard and end watching a nice black screen... if i try to change the preset, sometimes i keep having the nice black screen, sometimes xbmc just crashes...

in my logs all i keep finding is
Code:
00:01:10 T:3059619776 M:1240391680   DEBUG: SECTION:LoadDLL(Q:\visualisations\ProjectM.vis)
00:01:10 T:3059619776 M:1240391680   DEBUG: Loading: /usr/share/xbmc/visualisations/ProjectM.vis
00:01:10 T:3059619776 M:1240391680   DEBUG: create:1680x1050 at 0x0 ProjectM
00:01:10 T:3059619776 M:1237938176   DEBUG: OnInitialize() started
00:01:10 T:3059619776 M:1237938176   DEBUG: Visualisation::Start()
00:01:10 T:3059619776 M:1237938176   DEBUG: Updating vis albumart:
00:01:10 T:3059619776 M:1237938176   DEBUG: OnInitialize() done
00:01:10 T:3059619776 M:1237938176   DEBUG: Load defaultAlbumCover.png: 0,7ms (bundled)
00:01:10 T:3059619776 M:1236733952   DEBUG: Load case.png: 4,0ms (bundled)
00:01:10 T:3059619776 M:1244762112   ERROR: GL ERROR: invalid value
00:01:10 T:3059619776 M:1244762112   ERROR: In file:GraphicContext.cpp function:EndPaint line:1367
00:01:10 T:3059619776 M:1244762112   DEBUG: Scissor box: 0,000000, 0,000000, 1680,000000, 1050,000000
00:01:10 T:3059619776 M:1244762112   DEBUG: Scissor test enabled: 1
00:01:10 T:3059619776 M:1244762112   DEBUG: Viewport: 0,000000, 0,000000, 1680,000000, 1050,000000
00:01:10 T:3059619776 M:1244762112   DEBUG: Projection Matrix:
00:01:10 T:3059619776 M:1244762112   DEBUG:  1,250  0,000  0,000  0,000
00:01:10 T:3059619776 M:1244762112   DEBUG:  0,000  2,000  0,000  0,000
00:01:10 T:3059619776 M:1244762112   DEBUG:  0,000  0,000 -1,020 -1,000
00:01:10 T:3059619776 M:1244762112   DEBUG:  0,000  0,000 -1060,606  0,000
00:01:10 T:3059619776 M:1244762112   DEBUG: Modelview Matrix:
00:01:10 T:3059619776 M:1244762112   DEBUG:  1,000  0,000  0,000  0,000
00:01:10 T:3059619776 M:1244762112   DEBUG:  0,000 -1,000  0,000  0,000
00:01:10 T:3059619776 M:1244762112   DEBUG:  0,000  0,000 -1,000  0,000
00:01:10 T:3059619776 M:1244762112   DEBUG: -840,000  525,000 -1050,000  1,000
and so on, like if opengl wouldn't succeed in painting the screen

has anyone else the same problem?
thanks
ehm... forgot to write... i'm on PPA svn 13475
Known, if you have problems forgo its use until malloc64 says otherwise.
thank you, but it's strange as i didn't see it posted anywhere, nor here nor in sf bug tracker... maybe i didn't do the right search, but may you point me to where this has been submitted?
thanks again and bye
Known? Did I know that projectM crashes? Is this 32-bit or 64-bit? Do you have visualisations in the proper directory?
ehm... it's 32 bits, that's why i asked, i wouldn't have (or wouldn't have presumed it had to work first) would it have been 64 bits... i have milk files in /usr/share/xbmc/visualizations/projectM/ (where i guess they have to be), in fact i see the list of visualizationsin the OSD, just nothing happens whan i select one, or (if i'm lucky) xbmc just crashes with no notice in the log... when it works (or when xbmc thinks it does) i see in the log what i pasted in the first post
anyone?
ahem... i tried to build xbmc from sources and projectM worked, so it has to be something with PPA or maybe something left from some older PPA version (like for the .so files)... i'm going to try to reinstall ppa from scratch and see...
succo - do you have your XBMC_HOME variable set? The only way I could get this to work was to set that.
yes, it works setting XBMC_HOME with a manual build, but doesn't (at least with me) with the PPA... if i export XBMC_HOME=/usr/share/xbmc and run my PPA (with milk files in /usr/share/xbmc/visualizations/projectM)i get no visualization, if i set it to ~/XBMC/BUILD and run my manual build (with milk files from svn in ~/XBMC/BUILD/visualizations/projectM) i have visualizations... seems to me like some file is missing in PPA (btw, to say one, it seems xbmc-xrandr is missing from the package)
Well this is strange. I have the ppa version installed both here at work and at home. Here at work the projectm vis's don't work (just like you are seeing). At home I also have the ppa version installed and the projectm vis's do work. Not sure what (if anything) that I did different to make it work though.
Problem is the vis isn't checking for presets in ~/.xbmc/visualisations/projectM and there *were* none in $prefix/share/xbmc/visualisations/projectM by default (some are dumped there in SVN now). Any PPA base off of r13483+ should be fine. In the meantime you can dump some .milk in $prefix/share/visualisations/projectM and you should be in business.

default value of prefix is /usr/local/ so you'll have to use sudo to copy the files.