Giter Club home page Giter Club logo

Comments (36)

js0nwu avatar js0nwu commented on July 20, 2024 2

I had this same problem, then I followed @zpsaras advice and edited the ./install.sh file to contain make ENABLE_PULSE=1 instead of make. I am running Ubuntu 16.04 with default audio settings on Unity.

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024 1

Could you try with the line audio.pulse.source=1 completely removed. On most systems, it should auto detect the source correctly.

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024 1

I'm going to close this ticket. I know that a few of the above issues are unrelated to the latest fix for ncurses, but this ticket has been a catch all for any blank screen issue for the visualizer and it is hard to distinguish exactly what issue someone is talking about. Anyone on the ticket who still has issues, fill free to open a new one for your specific error.

from cli-visualizer.

luxpir avatar luxpir commented on July 20, 2024 1

Blank screen on Debian Stretch resolved by installing libpulse-dev, changing make to make ENABLE_PULSE=1 and re-running ./install.sh. No need to restart pulse or remove previous build. Thanks to @gnuraspberry and @ArkaneCow for tips.

Thanks for vis!

from cli-visualizer.

sMx7d avatar sMx7d commented on July 20, 2024 1

Thx mate!
@luxpir and every one also (and vic ofc) <3

work for me (ubuntu 20)

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

Could you run it directly with ./build/vis?

from cli-visualizer.

Velaseriat avatar Velaseriat commented on July 20, 2024

I tried it last night and it was a no go for me (just gives a black screen, which let me quit by pressing q). I followed the steps above. Ubuntu gnome 16.04.

The only things I have in my config are:

audio.sources=pulse
audio.pulse.source=1
color.scheme=rainbow

pacmd list-sinks | grep -e 'name:' -e 'index' give me:
index: 0
name: <alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1>

  • index: 1
    name: <alsa_output.pci-0000_00_1f.3.analog-stereo>

gcc version 5.3.1

Haha not sure what info you need.
I see everyone getting it working, so it irks me that I'm having trouble.

I got projectM to run through pulseaudio. If this means anything.

Thanks for the response!

from cli-visualizer.

Velaseriat avatar Velaseriat commented on July 20, 2024

i took it out. still the same behavior.

Man. Not sure what I did. I'm gonna test this on another machine (Lubuntu 16.04). Will report asap.

from cli-visualizer.

KevinParnell avatar KevinParnell commented on July 20, 2024

I'm having the same issue https://i.imgur.com/6Ze4Eml.png and this is my config file for vis https://paste.ubuntu.com/17596215/ and this is the config file for mpd https://paste.ubuntu.com/17596253/. I am also running Ubuntu 16.04.

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

Could you post the output of pacmd list-sinks as well as the output of ls -altr /tmp/mpd.fifo?

from cli-visualizer.

KevinParnell avatar KevinParnell commented on July 20, 2024

Sure thing, here's the pacmd https://paste.ubuntu.com/17605212/ and here's the mpd.fifo https://paste.ubuntu.com/17605247/

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

So I have tried to reproduce this and unfortunately cannot. Could you try using mpd as a source instead of pulse? If it works, then it would narrow it down to a visualizer issue and not a pulseaudio issue.

To use mpd, the the vis config set

audio.sources=mpd
mpd.fifo.path=/tmp/mpd.fifo

from cli-visualizer.

KevinParnell avatar KevinParnell commented on July 20, 2024

It still does not work.

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

When using mpd are you using, mpd to play music or some other player? Could you also post the output of vis -h?

from cli-visualizer.

KevinParnell avatar KevinParnell commented on July 20, 2024

Here's vis -h https://paste.ubuntu.com/17731385/ and when I normally listen to music, I use mpd+ncmpcpp

from cli-visualizer.

DuckThom avatar DuckThom commented on July 20, 2024

I'm on Arch Linux and I sometimes have a blank screen as well. Although I'm using pulse, not mpd, it might be worth a shot.

I can fix it by opening gnome-control-center (I believe Ubuntu uses the same or at least a similar control panel) and then in the Sound preferences I manually select my output again. Then after running vis, I get the visualizer again.

from cli-visualizer.

KevinParnell avatar KevinParnell commented on July 20, 2024

I went into my settings and this is all I have. https://my.mixtape.moe/dmqqfu.webm

from cli-visualizer.

zpsaras avatar zpsaras commented on July 20, 2024

Using Xubuntu 16.04:
In response to the original poster, the issue seems to be that you have run
./install.sh
after
make ENABLE_PULSE=1

Running vis from the build/ directory after
make ENABLE_PULSE=1
gives me a working spectrum. None of the other visualizations seem to work, but this is certainly better than a blank screen!

EDIT: Turns out the other visualizers work fine if I run (from build)
./vis -c ~/.config/vis/config

from cli-visualizer.

Andrew-Dickinson avatar Andrew-Dickinson commented on July 20, 2024

I'm also having this issue with Mint 18. I've tried running out of build/ and combinations of make ENABLE_PULSE=1 and ./install.sh. I have an identical setup to the OP, trying to use pulseaudio.

pacmd list-sinks
https://paste.ubuntu.com/23056481/
ls -altr /tmp/mpd.fifo
https://paste.ubuntu.com/23056483/

from cli-visualizer.

jonwadsworth avatar jonwadsworth commented on July 20, 2024

Same 'black screen' deal here. Using mopidy instead of mpd; to trying to use pulse instead of mpd. ncmpcpp for player.

pacmd list-sinks | grep -e 'name:' -e 'index'
results in:
* index: 0
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>

so:

visualizer.fps=20
audio.sources=pulse
audio.pulse.source=0

run:
~/Downloads/cli-visualizer-master $ build/vis -c ~/.config/vis/config

Get BSOD (black screen of death)

Any ideas? I'm game to try things; running Mint 17.

from cli-visualizer.

arnauldb avatar arnauldb commented on July 20, 2024

Hello,

thanks for cli-sualizer,

it doesn't work for me either...I have a black screen. I use mopidy and ncmpcpp.

my vis conf :
http://www.cjoint.com/c/FIBveBLlWta

my .mpdconf :
http://www.cjoint.com/c/FIBvhj7oGNa

thanks for any suggestion if you have time,

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

What ubuntu version are you using?

from cli-visualizer.

arnauldb avatar arnauldb commented on July 20, 2024

ubuntu mate, Ubuntu 15.10 wily.

from cli-visualizer.

snehesht avatar snehesht commented on July 20, 2024

try editing install.sh and change make to make ENABLE_PULSE=1

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

I enabled pulseaudio support by default for linux. I don't think this explains all of the issues here. Since I could not reproduce the issue in on my box, it is pretty hard to narrow down.

from cli-visualizer.

jonwadsworth avatar jonwadsworth commented on July 20, 2024

Can you identify the particulars of your box Darby?
Kernel? Distro?
Thanks!

On Mon, Oct 31, 2016 at 12:37 PM Darby Payne [email protected]
wrote:

I enabled pulseaudio support by default for linux. I don't think this
explains all of the issues here. Since I could not reproduce the issue in
on my box, it is pretty hard to narrow down.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#26 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7bVki_dr6WMby0m9u5M2csNtUACGRoks5q5idJgaJpZM4Izqfw
.

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

Sorry for the late response here, I don't have as much as I'd like for side projects ( : I've pushed a few fixes in the last day. @jonwadsworth could you try re-building now?

from cli-visualizer.

theraspb3rry avatar theraspb3rry commented on July 20, 2024

I had this problem tonight, using pulseaudio. Not sure what this is worth but everything started working once I installed libpulse-dev like the README told me too. I was so sure that I had it though.. oh well. I'm running debian stretch, 4.8.0-1-amd64.

I was getting this exact error, removed my /bin/vis, deleted clone and re-cloned, used the install.sh and it worked on first try.

Sorry if this is useless information, I thought I would share here just in case it helps anything since I was having this issue.

from cli-visualizer.

jonwadsworth avatar jonwadsworth commented on July 20, 2024

It's working now for me! I'm not sure where I built the visualizer last time, so I totally re-cloned & re-built everything. Works PERFECT for me. Thanks!!

from cli-visualizer.

rosshadden avatar rosshadden commented on July 20, 2024

Still doesn't work for me. Not sure which commit made it start showing just a blank screen, but I'll try to bisect to find it.

from cli-visualizer.

rosshadden avatar rosshadden commented on July 20, 2024

I went pretty far back in time (1.2) and it still doesn't work, whether I build with ENABLE_PULSE=1 or not. This leads me to believe something changed in an external dependency. Also worth noting that the two non-default visualizers work when I cycle through them with space. It is the main/default one that does not work. This tells me it's not an issue with detecting pulseaudio or the correct sink.

Also the log file gets created but never written to, even with 777 permissions.

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

Based on your description what is probably broken something in ncurses, possibly wide characters or setting the background color. Could you set try setting the spectrum character in the config to a regular ascii character and then a UTF character, for example

visualizer.spectrum.character=#

visualizer.spectrum.character=❚

Also what system are you running, Arch or ubuntu?

from cli-visualizer.

rosshadden avatar rosshadden commented on July 20, 2024

@dpayne It was indeed the character. Both of those worked. Do you know what could have changed for me in the past few months to make this stop working like it used to?

I use Arch Linux, and my terminal is termite.

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

My guess is the ncurses library changed in someway. I'll debug some more tonight. It does work for on Arch for me, but my ncurses library is a custom build.

from cli-visualizer.

dpayne avatar dpayne commented on July 20, 2024

@rosshadden could you try again with the latest version on master.

from cli-visualizer.

rosshadden avatar rosshadden commented on July 20, 2024

@dpayne Latest version works great, thanks!

from cli-visualizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.