karlstav/cava

cannot see bars even though they are there

Closed this issue · 30 comments

So I know the bars are there because when I highlight them I can see them moving but I cannot see them without highlighting them, is there anything I can do?

Have you tried changing the color? in the config file or by pressing c/b

yes I have tried doing that, the background changes color but the bars don't they just stay invisible

what terminal emulator are you using?

xfce4-terminal

strange, works fine here. Maybe there is an issue with ncurses. What distro are you running?

You could test method = noncurses in the output section in the config, to test it without ncurses.

yeah it's working now, sorry for the late reply

How did you resolve the issue, I have the same issue.

I also get setterm: terminal xterm does not support --blank
when I scroll back up

@jackcdk any idea how you fixed this?

All I did was purge xfce4-terminal and reinstall it again, sorry it's vague but that worked for me

Encountered this issue on Slackware 14.2. Upon terminating the app I see this in the console:

[~]$ cava

setterm: terminal xterm-256color does not support --blank

Using XFCE4-Terminal. Same issue on other terminal emulators as well.

@itsmewallis I wouldn't worry about that message, when cava is in tty mode it disables blanking (setterm -blank 0), when it existis it turns blanking back on (setterm -blank 10), however I have not been able to pass the inAtty variable to the exit function so it runs the setterm -blank 10 either way.

BTW does it work when you try to run it n a (tty) virtual console ( e.g. ctril+alt+f2)?

Have you tried setting method = noncurses in the output section in the config, to test it without ncurses?

Yeah I already tried that, didn't see a difference unfortunately. In tty mode, I was able to see the bars, however they were just blue 1's.

see #116 for the issue with the 1's.

I'm guessing this whole issue has something to do with the xfce desktop environment and its settings for the terminal, have you tried playing around with the color settings in the terminal?

In tty I can see the the bars (88s and numbers on top). In my terminal they ain't diplaying though (they are there, I can highlight them). I've tried everything in my power I was able to think off (different terminal emus, other colors, etc.)

Since raw output works I might just attempt writing my own displayer in case we can't get it to work

@greenbigfrog what distro and desktop enviroment are you running?

arch, with i3wm (no DE)

I think the problem might be related to something in ~/.Xresources file, could you try to reset all Xresources to default?

that file doesn't even exist on my system...

hmm guess that means that you are running the default settings. I can't seem to find anything common for this bug. The most annoying thing is that I can remember experiencing it myself long ago, but I have forgotten how I fixed it (if I did..), I have also forgotten what system I was running, could have been arch with i3 or could have been xubuntu.

I'm just gonna write my own frontend ;) gives me a nice usefull project to work on
(or are there any other frontends available?)

not that I know off, you could try the gui branch, it is sort of a X frontend

I tried it in KDE's Konsole in Plasma 5 as well, issue still occurs.

maybe it is far fetched, but can this be related to #121 ? That was solved by setting the locale:

localectl set-locale LANG=en_US.UTF-8

Locale settings were the issue all along.

After editing my config, cava works!

Just for future reference, for those on Slackware remember that your locale settings in versions <= 14.2 are set a config that does not support UTF-8 characters by default.. (Eg. LANG=en_US)

Refer to: http://docs.slackware.com/slackware:localization for details on how to enable UTF-8 support.

Thanks for the pointer.

maybe it is far fetched, but can this be related to #121 ? That was solved by setting the locale:

localectl set-locale LANG=en_US.UTF-8

I'm having this issue as well, but applying the system locale (localectl set-locale LANG=en_US.UTF-8) doesn't do anything. The bars are invisible, unless highlighted. I have tried changing terminals from urxvt to xfce4-terminal, but still get the same issue.

I have the same issue, I tried the same but nothing happened.
I checked the terminal in VSCode and it works fine there.

Had the same issue on Kubuntu 19, Plasma 5 and Konsole.
The problem was in having LC_ALL env var empty.

LC_ALL=en_US.UTF-8 cava worked for me