Trying to get Overwitch running on Fedora and can’t seem to get the program actually running. Already installed the dependencies but the Readme file is just an empty page. I ran the .config lines in the terminal with the installer, the icon now appears but nothing opens. If someone can walk me through how they got the GUI going that would be much appreciated.
Try running the CLI and see if there’s an error: $ overwitch-cli
i just get device not provided properly
Let’s go thru the whole thing.
the Readme file is just an empty page
You’re right. Try reading README.md. I’ll add a note in the README file because it makes no sense that it’s empty.
The GUI should open but let’s try the CLI first.
Run this.
$ overwitch-cli -l
0: Digitakt (ID 1935:0b2c) at bus 003, address 021
It should show the Overbridge devices installed in your computer. Do you see any?
There is a number at the beginning of the line. In this case, it’s a 0.
If you see any, try running this with that number.
$ overwitch-cli -n 0 -vv
Did you manage to see any output?
Regarding to the GUI, what’s the output of this?
$ overwitch -vv
Alright so I did something wrong for sure. Is there a sudo line I could try running on the installer? All I know is I definitely didn’t install this correctly as no lines I run are responsive. When I click the icon it loads and then nothing opens.
Definitely, that screenshot indicates Overwitch is crashing and looks like a bug but we need to go thru a few things to know what’s going on.
These are the whole instructions in case you missed something.
First, clone the repository and we’ll build it from master.
Then, install the Fedora dependencies with this.
$ sudo yum install automake libtool libusb1-devel jack-audio-connection-kit-devel libsamplerate-devel libsndfile-devel gettext-devel json-glib-devel gtk4-devel systemd-devel
Later, run this to install the USB device definitions from the udev project directory.
overwitch/udev$ sudo make install
Finally build the project from the root dir by running these.
overwitch$ autoreconf --install
overwitch$ ./configure
overwitch$ make
overwitch$ sudo make install
$ sudo ldconfig
Once you’ve gone thru all that, please, run the CLI as explained before and copy here the output of overwitch-cli -n 0 -vv.
Edited: Add required step after building.
consider the users name starts here with x81 and throws a path error. Tiny likelyhood x81 could be interpreted as byte, depends how the string of path is constructed. But if that is it, it should have thrown errors early on… so, Just keep an eye on that.
This happens also for me when that .config/overwitch/preferences.json file doesn’t exist.
munmap_chunk(): invalid pointer
If you create an empty one, it creates some json parsing errors and then starts normally. mkdir -p ~/.config/overwitch; touch ~/.config/overwitch/preferences.json
If you create that file with the minimal json, it starts without those errors.
echo '{}' > .config/overwitch/preferences.json
Once you start/exit overwitch, it will add some more options to that config. I also added a “pipewireProps” configuration, based on what is explained in the readme.md. Just for completeness, this is my config:
{
"showAllColumns" : false,
"blocks" : 24,
"timeout" : 10,
"quality" : 2,
"pipewireProps" : "{ node.group = \"pro-audio-0\" }"
}
Hope this is useful for someone. ^^
It definitely is!
I’ve just removed the file as you said and I can confirm the crash. I’ll try finding the root cause during the weekend and hopefully provide a fix for it.
Also, both of your temporary solutions work as you said. For other people affected by this bug, I recommend the second one. (I’m copying it here with the home directory added.)
$ echo '{}' > ~/.config/overwitch/preferences.json
Thanks for your research on this, @Baztek! ![]()
The fix was easy and it’s already available in the master branch.
@818GABBERZ, could you try to sync the repo and run the building the steps to see if it fixes your issue?
Sorry for getting back to this so late. Had a busy couple of days but I took into account what the other commenter said about usernames and ended up doing a fresh install of Fedora. Just built the program and it works, so definitely my own dumbass fault. I just need to take a moment to configure PAM and install a rt kernel. Btw I’ll assume the intended use is just to run a virtual cable from the device to my interface yeah?
No worries.
That’s great! But I wouldn’t say it was your fault as the crashing was due to an acknowledged bug.
Yeah! Just use Helvum or any other Jack JACK patching utility to connect your device to wherever you want.
Overwitch 2.1.1 is just out! ![]()
This fixes the aforementioned bug reported by @818GABBERZ and solved by @Baztek.
Besides, includes a few dangling commits that solved minor issues and bugfixes.
