geoffreybennett / alsa-scarlett-gui

alsa-scarlett-gui is a Gtk4 GUI for the ALSA controls presented by the Linux kernel Focusrite Scarlett2 Mixer Driver
573 stars 34 forks source link

Can't seem to use the routing tool. #133

Open hogervorst opened 1 month ago

hogervorst commented 1 month ago

alsa-scarlett-gui Issue Template

Thank you for taking the time to contribute to the alsa-scarlett-gui project. Before you submit your issue, please ensure you have checked the FAQ and provide the necessary information below.

Confirmation

Issue Category

Please select the category that best describes your issue:

Environment Details

Please provide the following details about your environment.

Linux Distribution and Version

(paste output from cat /etc/redhat-release or cat /etc/lsb_release here)

Kernel Version

(paste output from uname -r here)

Kernel Messages

[ 4.282784] usb 3-1: New USB device found, idVendor=1235, idProduct=8218, bcdDevice= 8.8c [ 4.282788] usb 3-1: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [ 4.282790] usb 3-1: Product: Scarlett Solo 4th Gen [ 4.282792] usb 3-1: Manufacturer: Focusrite [ 4.282793] usb 3-1: SerialNumber: S16FFP83302EF7 [ 4.305945] usb 1-5: New USB device found, idVendor=0e8d, idProduct=0608, bcdDevice= 1.00 [ 4.305948] usb 1-5: New USB device strings: Mfr=5, Product=6, SerialNumber=7

[ 9.094580] XFS: attr2 mount option is deprecated. [ 9.099492] XFS (sda3): Mounting V5 Filesystem 7aaccfd2-deea-484f-82fc-c99dcacd8920 [ 9.112651] XFS (sda3): Ending clean mount [ 9.956306] usb 3-1: Focusrite Scarlett Gen 4 Mixer Driver enabled (pid=0x8218); report any issues to https://github.com/geoffreybennett/scarlett-gen2/issues [ 9.981677] usb 3-1: Firmware version 2188 [ 10.024670] usbcore: registered new interface driver snd-usb-audio [ 10.259405] mt7921e 0000:06:00.0 wlp6s0: renamed from wlan0

Focusrite Interface Series and Model

(maybe shown in kernel messages, or paste output from lsusb -d1235: if unsure)

Audio System

(use ps aux | grep -E "pulseaudio|jackd|pipewire" to check)

Issue Description

Please provide a detailed description of the issue or feature request, including steps to reproduce (if applicable), expected behavior, and actual behavior:

When I want to use routing, and I drag and drop a new route the route immediately disappears. I cannot create any new routes however I can remove existing routes. When I export a configuration and then import it, seems to work just fine. Am I doing something wrong or is this a bug?


Thank you for helping improve alsa-scarlett-gui!

geoffreybennett commented 1 month ago

Hi @hogervorst,

That's pretty weird, and I've got no idea what might cause that. I just tried updating my arch install to see if I could reproduce the issue, but it works just fine.

When you're doing the dragging, does the line follow the cursor like in the animation here: https://github.com/geoffreybennett/alsa-scarlett-gui#about ?

Could you attach the output of ldd alsa-scarlett-gui. And try building/running the Flatpak version to see if that makes any difference.

Thanks, Geoffrey.

hogervorst commented 1 month ago

Hi @geoffreybennett Thank you for your fast response. The animation (white line) does appear, however not the colored line.

So when I build using flatpak the issue still persists. In the mean time I also tried the dev branch but still the same issue.

The output of ldd:

    linux-vdso.so.1 (0x00007e74d1e92000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007e74d1cea000)
    libgtk-4.so.1 => /usr/lib/libgtk-4.so.1 (0x00007e74d1000000)
    libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007e74d1bd0000)
    libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007e74d1bc0000)
    libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007e74d1b57000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007e74d0fbc000)
    libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007e74d1b4c000)
    libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007e74d0e89000)
    libvulkan.so.1 => /usr/lib/libvulkan.so.1 (0x00007e74d0e06000)
    libgraphene-1.0.so.0 => /usr/lib/libgraphene-1.0.so.0 (0x00007e74d1b2d000)
    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007e74d0c39000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007e74d0bda000)
    libasound.so.2 => /usr/lib/libasound.so.2 (0x00007e74d0af6000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007e74d0a07000)
    libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007e74d0400000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007e74d020f000)
    libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007e74d0968000)
    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007e74d1b24000)
    libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007e74d0948000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007e74d08f8000)
    libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x00007e74d0102000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x00007e74d08e5000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007e74cffc4000)
    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007e74cffa8000)
    libcloudproviders.so.0 => /usr/lib/libcloudproviders.so.0 (0x00007e74cff8f000)
    libtracker-sparql-3.0.so.0 => /usr/lib/libtracker-sparql-3.0.so.0 (0x00007e74cfeb8000)
    libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007e74cfe7e000)
    libtiff.so.6 => /usr/lib/libtiff.so.6 (0x00007e74cfdf3000)
    libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007e74cfd57000)
    libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007e74cfd0f000)
    libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007e74d08d2000)
    libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x00007e74cfd0a000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007e74cfcf5000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007e74cfce9000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007e74cfce4000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007e74cfcdc000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007e74cfccf000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007e74cfcca000)
    libcairo-script-interpreter.so.2 => /usr/lib/libcairo-script-interpreter.so.2 (0x00007e74cfca9000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007e74cfbe0000)
    libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007e74cfbbe000)
    libthai.so.0 => /usr/lib/libthai.so.0 (0x00007e74cfbb3000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007e74cfb9a000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007e74cfb8e000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007e74cfb63000)
    libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007e74cfb54000)
    libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007e74cfb4d000)
    libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007e74cfaa3000)
    libmount.so.1 => /usr/lib/libmount.so.1 (0x00007e74cfa54000)
    libffi.so.8 => /usr/lib/libffi.so.8 (0x00007e74cfa49000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007e74d1e94000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007e74cfa20000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007e74cf9f0000)
    libjson-glib-1.0.so.0 => /usr/lib/libjson-glib-1.0.so.0 (0x00007e74cf9c6000)
    libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007e74cf87a000)
    libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007e74cf712000)
    libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007e74cf633000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007e74cf5fe000)
    libjbig.so.2.1 => /usr/lib/libjbig.so.2.1 (0x00007e74cf5f0000)
    liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0x00007e74cf5cf000)
    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007e74cf5bc000)
    libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007e74cf5ad000)
    libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007e74cf5a2000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007e74cf59d000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007e74cf595000)
    libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007e74cf55c000)
    libicuuc.so.75 => /usr/lib/libicuuc.so.75 (0x00007e74cf362000)
    libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007e74cf33d000)
    libicudata.so.75 => /usr/lib/libicudata.so.75 (0x00007e74cd400000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007e74cd000000)
geoffreybennett commented 1 month ago

Same libraries here. What desktop environment are you using?

hogervorst commented 1 month ago

I am running Hyprland

geoffreybennett commented 1 month ago

I installed Hyprland and I can reproduce the issue. I think this might be a Hyprland problem? Can you try another DE and see if the problem goes away?

geoffreybennett commented 1 month ago

Seems like drag and drop not working in Hyprland is a common issue. E.g.: https://github.com/hyprwm/Hyprland/issues/1083

hogervorst commented 1 month ago

When I run a different DE the problem indeed goes away. Must be something related to hyprland. What would be the best workaround? I could thinker with the config files, or should I try with pipewire directly.

geoffreybennett commented 3 weeks ago

I'd ask the hyprland people how to fix it. One workaround is to edit the routing using alsamixer while watching what's happening in alsa-scarlett-gui. Then if you've got more than one routing setup you use, switch between them with alsactl.