media-sound/audacious-2.0.1 with audacious-plugins-2.0.1 installed with +use projectm does only render a black screen during music playing when enabled under "Visualization". Reproducible: Always Steps to Reproduce: 1. emerge audacious 2.0.1 with "projectm" use flag on audacious-plugins 2. Start audacious2, start playing a song, press Ctrl+p, go to Plugins -> Visualization 3. Hook "Enabled" on projectM 1.0 Actual Results: The window "projectM v1.00" appears, and you can see the name of the song gets rendered, but no graphics gets rendered. The window just stays black except for the text. All keys works, F1 gives you the menu and so on. Expected Results: To see the visualization in the window. m1330 ~ # emerge -pv audacious audacious-plugins These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-sound/audacious-2.0.1 USE="chardet libsamplerate nls session sse2 (-altivec)" 0 kB [ebuild R ] media-plugins/audacious-plugins-2.0.1 USE="alsa flac mp3 musepack nls projectm sdl sid sndfile sse2 timidity tta vorbis wavpack wma -adplug -cdaudio -esd -gnome -icecast -ipv6 -jack -lirc -mtp -oss -pulseaudio -scrobbler" 0 kB m1330 ~ # emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r2 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.0 Timestamp of tree: Sun, 17 May 2009 15:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en nb" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/wschlich-testing /usr/local/portage/layman/java-overlay /usr/local/portage/layman/arcon /usr/local/portage/layman/sping /usr/local/portage/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac aalib acl acpi alsa berkdb bzip2 cjk cli cracklib crypt cups dbus dell dri flac fortran gdbm gif gpm gtk hal iconv isdnlog java5 java6 jpeg jpeg2k kdeenablefinal kdehiddenvisibility libnotify midi mmx mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png ppds pppd python readline reflection samba session spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode vorbis wavpack x86 xcb xcomposite xfce xinerama xorg xscreensaver xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nb" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS The same result is achieved on a ~amd64 multilib setup with fglrx as driver.
@reporter: Please do not add CC's unless you really know that they should be there.
I'm sorry, #audacious @ irc.atheme.org said I should add ssuominen@gentoo.org to CC.
(In reply to comment #1) > @reporter: Please do not add CC's unless you really know that they should be > there. @Sebastian Mingramm: Please do not remove CC's unless *you* are really sure they are unnecessary. Thank you. ssuominen@gentoo.org; as discussed I am assigning ProjectM bugs to you.
(In reply to comment #2) > I'm sorry, #audacious @ irc.atheme.org said I should add ssuominen@gentoo.org > to CC. And you were correct to do so. Please ignore flawed instructions in comment #1.
Your VIDEO_CARDS="" setting is nvidia, which is right if you have nvidia card. please provide the minimum obvious information of eselect opengl show lspci -vv output of your card GLXINFO=true glxinfo mesa. X version nvidia-version nvidia-settings you are using list of other projectm plugins libs is installed to get started.. i'll let you know if I need more, please reopen when provided
Created attachment 191747 [details] Information asked for by Suominen I just updated to GCC 4.4.0 and rebuilt world, so I post my emerge --info again too (and yes, it still doesn't work). All info is attached.
Reopen bug.
Thanks for the info. Can I also see your xorg.conf's Section "Device"? Only trying to see what we have different (NVidia here too) and to collect information about upstream bug.
Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8400M GS" EndSection Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8400M GS" BusID "PCI:1:0:0" Screen 1 EndSection Section "Screen" # Option "AllowGLXWithComposite" "True" # Removed Option "metamodes" "DFP-0: 1280x800 +0+0; DFP-0: 1024x768 +0+0; DFP-0: 800x600 +0+0; DFP-0: 640x480 +0+0" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "RenderAccel" "True" Option "NoLogo" "True" # Option "AddARGBGLXVisuals" "True" Option "TripleBuffer" "True" Option "NvAGP" "0" Option "DamageEvents" "True" Option "BackingStore" "True" Option "Coolbits" "1" Option "TwinView" "0" Option "RegistryDwords" "PowerMizerLevel=0x3" # Option "metamodes" "1280x800 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0" SubSection "Display" Depth 24 EndSubSection EndSection Section "Screen" # Option "AllowGLXWithComposite" "True" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "RenderAccel" "True" Option "NoLogo" "True" # Option "AddARGBGLXVisuals" "True" Option "TripleBuffer" "True" Option "NvAGP" "0" Option "DamageEvents" "True" Option "BackingStore" "True" Option "Coolbits" "1" Option "TwinView" "0" Option "RegistryDwords" "PowerMizerLevel=0x3" # Option "metamodes" "DFP-1: 1280x720_50 +0+0" SubSection "Display" Depth 24 EndSubSection EndSection
Seriously.. remove most of these (if not all) and try again: Option "RenderAccel" "True" Option "NoLogo" "True" # Option "AddARGBGLXVisuals" "True" Option "TripleBuffer" "True" Option "NvAGP" "0" Option "DamageEvents" "True" Option "BackingStore" "True" Option "Coolbits" "1" My xorg.conf looks like this: ssuominen@unique ~/gentoo-x86 $ cat /etc/X11/xorg.conf Section "Device" Identifier "nvidia" Driver "nvidia" EndSection And yes, that's my entire xorg.conf
Installed audacious and audacious-plugins from Mercurial today, using ebuilds provided from Chainsaw. mads@m1330 ~/koding/audacious-devel $ hg identify 8566df68a35a tip mads@m1330 ~/koding/audacious-plugins-devel $ hg identify 2ad37995a466 tip Output from emerge's install of audacious-plugins ./configure regarding projectM: Visualization ------------- Blur Scope: yes Spectrum Analyzer: yes Paranormal Visualization Library: yes projectM 0.x (GL milkdrop): no projectM 1.x (GL milkdrop): yes Updated nvidia-drivers: [ebuild R ] x11-drivers/nvidia-drivers-185.18.31 USE="acpi gtk -custom-cflags (-multilib)" 0 kB My GCC is version 4.4.1. Replaced my xorg.conf-file and restarted X. m1330 X11 # mv xorg.conf xorg.conf.lol m1330 X11 # cat > xorg.conf << EOF > Section "Device" > Identifier "nvidia" > Driver "nvidia" > EndSection > EOF projectM still only renders a black screen.
Created attachment 202714 [details] ProjectM window with all visible details Console displays: projectM plugin: Playback starting configFile: /home/kamil/.projectM/config.inp MAX SAMPLES:2048
Forgot to mention: same problem here ;) xorg.conf almost empty (made by nvidia-xconfig), GLX working perfectly with KDE4 composite manager. AMD64.
I just noticed that for newest audacious-plugins-2.2alpha2 gtkglext is required for projectM to work, maybe it's missing dependency also for audacious-plugins-2.0.1? I can't check it now
- I did emerge -av1 gtkglext - Unmasked audacious and audacious-plugins - Installed: [ebuild U ] media-sound/audacious-2.2_alpha2 [2.1] USE="chardet libsamplerate nls session sse2 (-altivec)" 0 kB [ebuild U ] media-plugins/audacious-plugins-2.2_alpha2 [2.1-r1] USE="alsa flac mp3 nls projectm sdl sid sndfile sse2 timidity tta vorbis wavpack -adplug -bs2b -cdda -esd -ffmpeg% -gnome -icecast -ipv6 -jack -lirc -mtp -oss -scrobbler (-musepack%*) (-pulseaudio%) (-wma%*)" 2,070 kB - rm -r my old ~/.config/audacious and ~/.projectM - started audacious, enabled projectM Result: failed, still renders only a black screen. Console shows: mads@m1330 ~/downloads $ audacious2 dr_erik-d_eneste_jeg_vil_er_aa_ha_d_fett.mp3 (audacious2:7382): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed configFile: /home/mads/.projectM/config.inp MAX SAMPLES:2048 145 frames in 5,022 seconds = 28,872 FPS 153 frames in 5,003 seconds = 30,580 FPS 153 frames in 5,001 seconds = 30,596 FPS .. etc I've also tried audacious-plugins with USE="jack", installed projectm-jack-1.2.0, starting jackd, and then used the jack output-plugin in audacious as I run projectM-jack, but also within projectM-jack there's the same black screen. So the problem seems to be manifested within projectM itself. I would be grateful if anyone had any tips in how to get projectM-jack working, because for me it seems like the problem's manifested therein.
It seems the bug in my last comment is already reported here: http://bugs.gentoo.org/show_bug.cgi?id=281679
As I noted in bug #281679, projectm-jack-2.0 actually works! So, now since libprojectm-2.0 is out, and proved working for me, at least, I suspect that if audacious-plugins are updated to depend on/use libprojectm-2.0, things will work out just fine :) audacious-plugins-2.2-r2 with libprojectm-2.0 does not work, it complains about a missing symbol in libprojectm.so.
With media-libs/libprojectm-2.0.1-r1, audacious-2.2 and audacious-plugins-2.2-r2, audacious-plugins has got rid of the bug mentioned before about libprojectm not loading due to build issues against libprojectm-2.x, but: The bug is still there. Enabling the projectM plugin within audacious, a projectM windows appers, but no graphics renders within. There's just a window frame with black in it. But, using the standalone media-sound/projectm-jack together with audacious configured to use jack as output plugin works now, so I can't see that this problem relates to projectM. But that's just me. Please do tell if or what info you need from me. This behaviour has been reproduced on every platform I've tested it on...
Got it! Strange, but according to this thread: http://xbmc.org/forum/showthread.php?p=458719 putting LC_ALL="C" and LANG="C" solves the problem O.o Tried it, projectM works perfectly on ALSA output :D
Yes, I actually got it to render something with LC_ALL=C! That's nice! But then I encountered another bug, it seems.. I cannot get any keyboard input to work (KDE 4.3.5, needmoreinfo?), hence I cannot toggle fullscreen and such. Got any remedies for that one? :) Hope it will work some day with any locale too...
LC_ALL=C is a good workaround. But I can't get any keyboard input, too. Should we open a new bug for this issue or use this?
Tony, sorry for dropping this bomb on you, but if the plug-in seems too broken, just drop it (from the ebuild). I haven't checked it lately.
Broken plugin; disabled fully in 2.4 as it was before.