karlstav/cava

cava not working(solved)

Closed this issue · 34 comments

I am using Arch.
I have tried installing cava from distinct ways.
my mpd is working just fine.
I can run it, but it is not working. there is just a blank terminal screen, nothing jumps.
I have edited the config file many ways, but.
how can i fix it?

@LordNDHuy are you using pulseaudio, alsa or fifo?

@karlstav for mpd, i set up all three methods
for cava, i have tried using each of them, as well as all of them.

fifo should work well for mpd. How do you configure mpd and cava for fifo?

this is my mpd
audio_output { type "fifo" name "my_fifo" path "/tmp/mpd.fifo" format "44100:16:2" }
this is cava
[input] method=fifo source=/tmp/mpd.fifo
is there any problem?

is it actually in one line in the config file? I think it must be separated by line breaks.

[input] 
method = fifo 
source = /tmp/mpd.fifo

yeah yeah sorry
my false.
it is separated by line breaks.
is there anything wrong beside that??

no, the config looks fine.

can you be experiencing the same as issue #109 ?

yeah kind of.
it appears to be a blank screen, and there is a row in the bottom if i change the background color. it tried the noncurses thing, but it is still the same, and the terminal seemed to be not responding.
i also use tty mode, it is not stable, just columns of no. 8 with no.1 on the top.

but where the bars moving in tty mode? see #116 for the issue with the numbers.

yes, i fixed it in tty. it is column-shaped now. but it doesnot jump.
beside i need it to work on terminal.
sorry for bothering you so much XD.

It seems that file mpd.fifo is the problem.
since my ncmpcpp visualizer does not work, either. ~~.

mine is also not working. I'm using Arch Linux with i3wm and the terminal is urxvt. Any solution?

@LordNDHuy you can check if there is anything there at all by running cat /tmp/mpd.fifo when music is playing. You should see a lot of giberish in the terminal.

@mosamabinomar I think we need more info from you in order to help. Source? (pulse, alsa, mpd) config... Error message, blank terminal, bars lying still in the bottom of the terminal?

sorry for late reply, ive been alitte busy.
yeah it got some kind of symbols jumping. moreover, it looks just like when i run cava with
[output]
method = raw

@LordNDHuy it means the fifo is working. Maybe there is a problem with file permissions, even though I doubt it. I'm kinda running out of ideas

do you think it is the font problem?
screenshot from 2016-12-16 11-34-21
Since it looks like this?

is this when you run cava?

it is when
[output]
method = raw

ok, it is supposed to look like that, how does it look when you set method = ncurses?

only using raw will it show something on the window. none of the others works.

the problem, in my case, was my windows manager. I was using i3wm, after switching to gnome, cava worked.

sorry XD, but what do u mean by changing font?
what i am supposed to do?? since i seem to get some problem with fonts in other stuffs.

it's a long shot but cava uses chrachters do draw the bars so changing the font might give us some indication of whats wrong.

Is there a completley blanc screen when it is not working or is it a line at the bottom?

It completely blank just like this
screenshot from 2016-12-20 21-58-32
u can see there is a row at the bottom but it is not actually a line, i think.

is that row part of cava? Does it change color with the foreground-color parameter?

yeah maybe, ive done so.anyway i just think so. since if i use the terminal window as floating mode, there is no such row. it seems to be getting alittle difficult XD

yes it is getting tricky, but it's good to solve each issue. For everyone one reporting a problem, there are probably many other people having the same issue.

Have you tried highlighting the terminal to see if it may be similar to #109 ?

ah yeah
i once accidentally highlighted it when i run cava. it actually showed some columns, it was just the columns no jumping at all. but it just the only time, i never able to highlight again until now.
anyway, u r sooooo good, and generous XD

so it might be related to #109 or it might not, this is not getting any easier... have you tried other terminal emulators?

ah i have tried many terminal emulators, none works.
yeah it is kind of like #109.
i tried to highlight it, once it showed me the jumping bars only once.
i also tried distinct output methods as i told u.

haha it was my fault for not setting the "locale" things.

$ localectl set-locale LANG=en_US.UTF-8
i did that and cava works perfectly

I have the same configuration but I'm using pulseaudio.
It is able to take input from the source but displays nothing on the terminal.

Arch Linux
wm: i3wm
terminal: xfce4-terminal

Same error with pulseaudio.
Arch Linux, KDE plasma, konsole