Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cava not working(solved) #121

Closed
huyducnguyen1198 opened this issue Dec 10, 2016 · 34 comments
Closed

cava not working(solved) #121

huyducnguyen1198 opened this issue Dec 10, 2016 · 34 comments

Comments

@huyducnguyen1198
Copy link

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?

@karlstav
Copy link
Owner

@LordNDHuy are you using pulseaudio, alsa or fifo?

@huyducnguyen1198
Copy link
Author

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

@karlstav
Copy link
Owner

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

@huyducnguyen1198
Copy link
Author

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?

@karlstav
Copy link
Owner

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

@huyducnguyen1198
Copy link
Author

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

@karlstav
Copy link
Owner

no, the config looks fine.

can you be experiencing the same as issue #109 ?

@huyducnguyen1198
Copy link
Author

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.

@karlstav
Copy link
Owner

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

@huyducnguyen1198
Copy link
Author

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.

@huyducnguyen1198
Copy link
Author

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

@bullheadandplato
Copy link

bullheadandplato commented Dec 12, 2016

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

@karlstav
Copy link
Owner

@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?

@huyducnguyen1198
Copy link
Author

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

@karlstav
Copy link
Owner

@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

@huyducnguyen1198
Copy link
Author

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

@karlstav
Copy link
Owner

is this when you run cava?

@huyducnguyen1198
Copy link
Author

it is when
[output]
method = raw

@karlstav
Copy link
Owner

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

@huyducnguyen1198
Copy link
Author

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

@karlstav
Copy link
Owner

karlstav commented Dec 18, 2016 via email

@bullheadandplato
Copy link

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

@huyducnguyen1198
Copy link
Author

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.

@karlstav
Copy link
Owner

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?

@huyducnguyen1198
Copy link
Author

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.

@karlstav
Copy link
Owner

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

@huyducnguyen1198
Copy link
Author

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

@karlstav
Copy link
Owner

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 ?

@huyducnguyen1198
Copy link
Author

huyducnguyen1198 commented Dec 22, 2016

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

@karlstav
Copy link
Owner

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

@huyducnguyen1198
Copy link
Author

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.

@huyducnguyen1198
Copy link
Author

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

@huyducnguyen1198 huyducnguyen1198 changed the title cava not working cava not working(solved) Jan 24, 2017
@karlstav karlstav closed this as completed Feb 5, 2017
@Zanark
Copy link

Zanark commented Aug 23, 2019

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

@shgsys
Copy link

shgsys commented Jun 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants