issues with bspwm

Try running pavucontrol and see if there's anything different there.

What you're describing is the normal behavior in alsamixer, at least for me.

Also try running amixer -c 0 get Master and then amixer -c 1 get Master and posting the results.

@airclay are you the new maintainer for bspwm?
Do you know by chance if there's an active maintainer for awesome as well?
linux-aarhus has updated the iso with the newest packages to v20, but awesome itself he let untouched (probably doesn't have time to do that. - I can understand considering that he's maintaining openbox, lxqt and lxde).
There's an issue with terminus-fonts in rofi there (packagename was changed since the last build of awesome-edition); compton is still used instead of picom. -
Will eventually create another thread about picom, since it doesn't work atm with transparency (had to reinstall awesome since I broke it, and didn't save my config-files. Big mistake! - Got to work everything though in the meantime, except picom as mentioned.)

Nothing special. Under Playback I see a bar for System Sounds and Firefox AudioStream - in the playback. I can get several Firefox AudioStreams (who woulda guessed? :blush:). Moving the bar around here does not change the bars in the panel. To do that I have to look at the Output Devices, where I have just the Line Out connected.

Note on the side:
My volume control in the keyboard (I have a K70 connected) works, but feels pretty sluggish. I had Xfce running in the past and it felt much more responsive there.

Yeah, kinda guessed that. :wink:

No problem! I'm afraid the result is slightly less enlightening, than I had hoped - for me anyways. Or am I missing something (again)?

typ$ amixer -c 0 get Master
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 65 [75%] [-16.50dB] [on]

$ amixer -c 1 get Master
amixer: Unable to find simple control 'Master',0

Normal on that. The amixer commands returned normally, there is a script (/usr/bin/autoalsaconf) and I wanted to check that it only assigned one 'working_card' before filling the volume infos.

I have solved it tho. Did you install the minimal version? If not have you uninstalled or reconfigured any of the pulse components?

I ask because the script that manages the volume icon (/usr/bin/volume_status.sh), checks if you're using pulse or alsa and displays status based on that. When I run the command there to get the volume status from alsa avol level I also get two volumes returned; Left and Right. This is how alsa represents it's levels. The pulse option pulseaudio-ctl -C only returns one stereo status.

Personally I would re-install manjaro-pulse and reboot. This will bring the install in-line with the pkgs and files that should be there. And hopefully solve the issue.

If you'd rather not re-install or you have removed or altered specifically. then editing the alsa script is also a choice. Just add head -1 to the level() function. Below is a copy/paste-able example of the edit. You can just save as /usr/bin/avol (yes to overwriting previously existing version).

#!/bin/dash
#
# Manage ALSA Master channel

test "$1" = "-h" && echo "usage `basename $0` [up|down|mute]" && exit 0

level() {
    amixer get Master | sed -n 's/^.*\[\([0-9]\+%\).*$/\1/p' | uniq | head -1
}

state() {
    amixer get Master | sed -n 's/^.*\[\(o[nf]\+\)]$/\1/p' | uniq
}

test $# -eq 0 && echo "`level` `state`" && exit 0

case $1 in
    up)      amixer set Master ${2:-5}%+ >/dev/null ||autoalsaconfamixer;;
    down)      amixer set Master ${2:-5}%- >/dev/null ||autoalsaconf;;
    mute)      amixer set Master toggle >/dev/null ||autoalsaconf;;
    state|level) $1 ||autoalsaconf;;
    set)    amixer set Master $2% >/dev/null ||autoalsaconf;;
    *)    amixer set Master $1% >/dev/null ||autoalsaconf;;
esac

Hopefully either option fixes the issue! This environment is a little complex and I'm still learning all the moving pieces.

1 Like

Yes! I guess I could add the title back on my profile but it feels silly to me.

As far as the other editions, I would open a support thread in this category with the found issues (would be incredibly helpful if the thread came with suggested fixes too). And just to doublecheck, for sanity, on the picom issue have you changed however it autostarts to call 'picom' instead of 'compton' (or even launching 'picom' from command line)?

1 Like

4 posts were split to a new topic: picom + bspwn issues

I just reinstalled manjaro-pulse. Yup, that did the trick!
Thanks for your help! :smiling_face_with_three_hearts: :+1:

BTW. I still have a strange compositor-issue, that seems to be related to bspwm, because I have never seen that anywhere else. And there is a thing about the startup-sequence. Should I start new threads on those so future users can search for these things better or should I just go on in here?

Best regards,
Cassi

Does it make a difference if picom or compton is used? I was under the impression, that is the same program.

Regards,
Cassi

You afraid of all the fan mail? :rofl:

This thread should be fine, we've covered multiple issues, as titled.

Picom is a fork of compton, yes. However that means the installed binary file is now named 'picom' and not 'comtpon' so all commands need to call 'picom' now. (files will be updated in the bspwm edition v20)

Ha, no, I just feel like an eternal newb and wander into the weeds sometimes overlooking simple things often. So maybe newbies to the forum shouldn't take me as expertly knowledge-able as that title would lead one to think.

Also if you don't mind answering some q's so I can better understand why volume_status.sh chose the alsa option?

  • Did you install the minimal version? (only available in manjaro-architect installs)
  • Have you uninstalled or reconfigured any of the pulse components?
2 Likes

Oh there'll be a new iso?:star_struck:
Will there again be minimal-bspwm, full-bspwm and bspwm-mate?
I might have a look at bspwm-mate. Watched videos, looks promising.
Will need to get used to the tiling-method there though. I'm more into automatic tilers.

Yes! I'm wrapping it up currently.

The minimal and full versions (edit: mate too) are currently and will stay available (edit: I think mate will stay available) with manjaro-architect installation. The iso has both manjaro-architect and Calamares (gui) install options. If you chose to use Calamares then it will default to the full version. I'll check in on the mate variant. I have (in april this year) just inherited maintenance and am still learning the landscape.

3 Likes

From another thread it seems like @produmouse might be setting up bspwm from scratch.

1 Like

So you are human and screw up from time to time? Big deal! That happens to all of us.

Just so you get an idea of my background: As an OS/2 gal I did my first Linux steps with SuSE (there was no open back then) 4.something. I'd have to check in the storage which version it was exactly, but it was the 90s. The distribution came in a box, on 4 CDs and had an actual book. I distinctly remember running the kernel 2.0.36 - and that was by no means the first kernel I had ever installed. Back then I had a Buslogic (Mylex) BT952 SCSI-controller (LVD was a thing back then) and the only way to get that thing to work was to compile a custom kernel - which was quite a pain because the generic kernel wouldn't start up on my machine.

I went into the BSD-world for a long time a while after that. I started out with FreeBSD 3.4 (which also came on CDs) and later took a look at NetBSD 2.0. I remember the fork of FreeBSD 4 that is now Dragonfly - and I remember the reasons. While I did use FreeBSD on the Desktop all that time, I mainly used KDE and Xfce, which I both really liked. I turned my back on KDE as of version 4 and only used Xfce - which I install for people who are computer novices even today. In 2013 I took up a job in a small engineering firm where openSUSE was the only OS used. That made me look at Linux for myself again. I didn't like openSUSE because moving from one release to the next nearly always broke the system and the support cycles were too short for my taste. Ubuntu was not really free and I couldn't arrange myself with Unity either. The other Ubuntus (like Xubuntu) were often quite poorly patched together. Debian was better but the software was partially ancient. In a German computer magazine I read about Antergos. It was fine - if you ever got it to install. Arch was good too, but a pain to install - not hard, but time consuming. And a while back I came to Manjaro and have been pretty happy with it.

The difference between FreeBSD and Manjaro (or Linux in general) isn't all that big in the userland. But the boot sequence is completely different (The BSDs never had SysV and still don't
have anything like Systemd.). The sound system is different and there are a few other things too. I really feel like a newb right now, especially because I have for some dumb reason decided to try out tiling wms, which require a lot of manual leg work. But I am willing to learn.

This gigabyte of text was meant to cheer you up about making mistakes and feeling like a newb from time to time. All is good - and I really appreciate you taking the time to help me with all this stuff! :smiling_face_with_three_hearts:

I don't mind at all! :innocent:

I did use the architect, but I did not install the minimal version. In some cases (like the official Xfce) the minimal install does not only come with less apps installed, but with different apps. In the case of Xfce Midori is installed instead of Firefox. I would have preferred if no browser was installed, so I could just install one, instead of possibly having to remove one and installing another. That is why I usually don't choose the minimal install.

Not knowingly. I have updated the system and I have installed a few applications (like fish, alacritty, mc). But there was no sound relevant stuff in there. I haven't even installed vlc yet. :thinking:

Hope this cheers you up and helps you a bit!

That depends on the definition. :wink:
I have installed Manjaro from scratch on a new SSD, using the architect and the full install of the bspwm desktop. So I have the pre-configured stuff installed as a basis. However I can see no real signs of Mate on my system. This is the output of neofetch:

OS: Manjaro Linux x86_64
Host: X10SAT 0123456789
Kernel: 5.6.11-1-MANJARO
Uptime: 1 hour, 43 mins
Packages: 1008 (pacman)
Shell: fish 3.1.2
Resolution: 2560x1440, 2560x1440
WM: bspwm
Theme: Adapta-Nokto-Eta-Maia [GTK2/3]
Icons: Papirus-Dark-Maia [GTK2/3]
Terminal: alacritty
CPU: Intel Xeon E3-1246 v3 (8) @ 3.900GHz
GPU: NVIDIA GeForce GTX 770
Memory: 4986MiB / 32053MiB

When I tried awesome there was also a line that said

DE: Xfce

Ok, I'll just go on here then... :+1:

When watching youtube, the compositor seems to go AWOL when I switch to full screen. If I have a terminal on the other monitor open (which is frequently the case), the transparency disappears. If I turn off full screen viewing or if a notifications pops up, the transparency is restored. When the notifications goes away again, so does the transparency.

Is this normal?

Hmm... That seems like a bug then. Manjaro-pulse is on the the package list, so it was installed. Unfortunately I don't remember what was used to autostart pulse on bspwm edition...

The startup-issue I noticed concerns two applications:

  • nextcloud-desktop
  • veracrypt

However, both slightly differently. I'll start with nextcloud.

When I start nextcloud, I always have to reconnect the accounts. The client starts the browser every time. I get one small window to log into on of the nextcloud-instances and a tab in my Firefox for the other one. Don't know if that is significant, but it is weird. In the past (on both Xfce and Awesome) the nextcloud-client remembered my credentials and I did not have to type them in every time - which is a bit annoying because I also have to start KeepassXC for that.

When I start Veracrypt manually with dmenu, everything is fine. Because I kept forgetting to do that, I put it in the autostart. The line just goes "veracrypt &". Since veracrypt is in autostart that window won't go away for ages (something like a minute). I can mount the encrypted volume - and access the file system. But after that, I cannot close the window, move the window or do anything else with veracrpyt. The window stays on the same monitor, even if I change the workspace - in front of any application that may be there. After the said amount of time the veracrypt-window unfreezes and can be moved or closed.

Any ideas?
And thanks again! :relaxed:

Thanks for the kind words. And really providing this feedback, it's incredibly useful.

I did not notice this behavior when I was testing dual monitors. I'll bring the monitor back out and do some more testing. Something to try though, I have found things work better if you change these two lines from true to false in picom.conf:
mark-wmwin-focused = false;
mark-ovredir-focused = false;

Also I use this extension (https://addons.mozilla.org/en-US/firefox/addon/youtube-popout-player/?src=recommended) so I can move the video as just another tile, is really useful for this environment.

So I have never used this, it will take me a few days to install and play with. In researching, I found some infos.
Have you added veracrypt to sudo? Detailed here: https://wiki.archlinux.org/index.php/TrueCrypt

If your line is truly veracrypt & I would first test if this below linked answer works, seems like a good try and better way to autostart, imo. And if you'd rather keep it where it's at maybe try one of the veracrypt mount commands from the second answer: https://askubuntu.com/questions/846233/mounting-encrypted-veracrypt-drive-during-boot

UGHGHGH, this is a reminder that my nextcloud instance has been down and I've been too busy to restand it back up. :crazy_face: I'll look into this, I too have used it just fine on xfce, i3 and cinnamon editions.

Hey guys!

Sorry for being AWOL for so long. Been a crazy couple of weeks with things lightening up around COVID19 (at least here in Germany). I had a lot of work to do because of life getting slightly more "normal". Just to keep things interesting, my mother is in hospital (no COVID19, however), so I have hardly been doing anything at my computer except writing stuff.

I'll go into your suggestions when I have tried them out a little more. I should have some extra time over Pentecost (Monday is a public holiday in Germany).

For now something annoying and funny: My two volume levels are back. :unamused: It took about a day - and required no poking into the system on my part. Something is weird here...

Best,
Cassi

Forum kindly sponsored by