projectM starts with a black screen instead of the visualization

Bug #737915 reported by LeoRochael
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
projectm (Ubuntu)
Fix Released
Undecided
Matthias Klumpp

Bug Description

As per information on this page: http://forum.xbmc.org/showthread.php?t=51441&page=8

On machines with locales with different numeric format than C (mine is Brazilian Portuguese, "pt_BR.utf-8"), projectM shows only a black screen instead of the visualizations. Other aspects of projectM, like the menus and configuration dialogs, seem to work and display correctly.

To work around this issue, projectMneeds to be started with the environment variable LC_NUMERIC set to C. For example, in a console terminal type:

LC_NUMERIC=C projectM-pulseaudio

Related branches

Revision history for this message
Matthias Klumpp (ximion) wrote :

Uh, that looks really ugly! I'll forward this bug to upstream, if they don't have a solution for it, we could work around this problem by setting LC_NUMERIC in LibProjectM

Matthias Klumpp (ximion)
Changed in projectm (Ubuntu):
assignee: nobody → Matthias Klumpp (ximion)
Revision history for this message
Matthias Klumpp (ximion) wrote :

Hmm... I can't reproduce this bug here, but I'll ad a workaround to libprojectm to set LC_NUMERIC to C.
;aybe this solves this issue.

Revision history for this message
Matthias Klumpp (ximion) wrote :

Added a patch which sets LC_NUMERIC to "C" in LibProjectM itself. I was unable to reproduce this bug (tried with three different locales, with installed language packs), so this is merely a "blind shot" - Maybe this solves this issue.

Changed in projectm (Ubuntu):
status: New → Fix Committed
Revision history for this message
Matthias Klumpp (ximion) wrote :

Oh, forgot to mention: This patch will be in Oneiric (<- wow, strage codename!). Natty is in FF at time, and I don't think the new revision would get an FFe.
Packages will be built for Debian Sid soon.

Revision history for this message
LeoRochael (leorochael) wrote : Re: [Bug 737915] Re: projectM starts with a black screen instead of the visualization

> Oh, forgot to mention: This patch will be in Oneiric (<- wow, strage codename!). Natty is in FF at time, and I don't think the new revision would get an FFe.
> Packages will be built for Debian Sid soon.

This is a nasty bug for those that suffer from it, and not a new
feature, in a package that's in 'universe'. It's not like it would be
a potentially dangerous change in a core package. I was actually
hoping for a bugfix (really, a workaround in a wrapper shelscript) for
Maverick. But, oh well...

At least it's receiving attention. Thanks...

Revision history for this message
Matthias Klumpp (ximion) wrote :

I will provide backports in my Testing PPA soon, so you can try it with these packages. :)

Revision history for this message
Matthias Klumpp (ximion) wrote :

See https://launchpad.net/~ximion/+archive/tests Maybe these packages work for you. :-)

Revision history for this message
LeoRochael (leorochael) wrote :

Hi Matthias,

Yes, these packages seem to work.

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package projectm - 2.0.1+dfsg-7

---------------
projectm (2.0.1+dfsg-7) unstable; urgency=low

  [ Matthias Klumpp ]
  * Bump debhelper version dependency
  * Make more use of dh-auto commands
  * Patch projectM cmake script to find FreeType
  * Set LC_NUMERIC to "C" in libprojectM (LP: #737915)

  [ Alessio Treglia ]
  * Correct team's name.

  [ Reinhard Tartler ]
  * add myself to uploaders
  * normalize fields with wrap-and-sort(1)
  * apply best practices for dpkg source format 3.0 (quilt)
 -- Matthias Klumpp <email address hidden> Sun, 10 Apr 2011 18:31:34 +0000

Changed in projectm (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Thomas Debesse (illwieckz) wrote :

Same problem here, ProjectM 2.1.0, Ubuntu 14.04.1

Without the “LC_NUMERIC=C” workaround, projectM displays a black screen.

My system’s default is “LC_NUMERIC=fr_FR.UTF-8”, and with this locale ProjectM displays nothing.

The fix does not work or was reverted…

$ apt-cache show libprojectm2
Package: libprojectm2
Priority: optional
Section: universe/libs
Installed-Size: 671
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Multimedia Maintainers <email address hidden>
Architecture: amd64
Source: projectm
Version: 2.1.0+dfsg-1build2
Replaces: libprojectm-data (<< 2.0.1)
Depends: projectm-data, ttf-dejavu-core, libc6 (>= 2.14), libftgl2 (>= 2.1.3~rc5), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libglew1.10 (>= 1.10.0), libstdc++6 (>= 4.4.0)
Filename: pool/universe/p/projectm/libprojectm2_2.1.0+dfsg-1build2_amd64.deb
Size: 214622
MD5sum: 208b59f067b76e84be30064e16f583ed
SHA1: 3b9f41d829075daff5df3250f9f797269bcc851f
SHA256: 3d68a7c2f37125b17114fa26fac927a44e9f81c582a3b7939ef00401dd1f8e61
Description-en: Advanced Milkdrop-compatible music visualization library
 libprojectm is an iterative music visualization library which uses
 OpenGL for hardware acceleration. It is compatible with Milkdrop
 presets.
 .
 This package contains the library and essential data needed for
 the visualization library to work.
Description-md5: 25811eb3de3a571679c9894cb51cc24e
Homepage: http://projectm.sf.net
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

$ apt-cache show projectm-pulseaudio
Package: projectm-pulseaudio
Priority: optional
Section: universe/sound
Installed-Size: 148
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Multimedia Maintainers <email address hidden>
Architecture: amd64
Source: projectm
Version: 2.1.0+dfsg-1build2
Depends: pulseaudio, libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libprojectm-qt1, libpulse0 (>= 1:0.99.1), libqtcore4 (>= 4:4.6.1), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.4.0)
Filename: pool/universe/p/projectm/projectm-pulseaudio_2.1.0+dfsg-1build2_amd64.deb
Size: 35892
MD5sum: f403d9f7b07e1331401957032bf9fb6c
SHA1: 43a5f65a318d6f02a9eb32f45ef1b0f5626a71ad
SHA256: a6d71f9b1e6bdc1025f3f2014b6da7ce4d98aa0e9d0a9883b431bb099d7cdca6
Description-fr: module PulseAudio projectM
 Projectm est une bibliothèque de visualisation de musique interactive qui
 utilise OpenGL pour l'accélération matérielle. Il est compatible avec les
 préréglages de Milkdrop.
 .
 Ce paquet contient une application pour visualiser les flux de PulseAudio.
Description-md5: 44a16c06a84a1f8ddd00695ab96b0946
Homepage: http://projectm.sf.net
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Revision history for this message
Jacek Kluza (jacek-kluza+ubuntu1) wrote :

Same here. Ubuntu trusty.
works only with: env LC_NUMERIC=C projectM-pulseaudio
( or: env LC_NUMERIC=C /usr/bin/projectM-jack).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.