Open xhpohanka opened 1 year ago
That should work. Does it happen only with this device or with any device?
Hello ,
I withdrew my contribution because I was wondering whether it wouldn't be better to start again on a new thread, so I'm continuing here. Sorry about my English, it can be a random at times...
I've got some issues with OMS Open_Sound_Meter-v1.3-x8664.AppImage on Linux. I have the same error with Behringer UCM404HD USB sound card, but not with a M32R (important). ---> alsa error: -22 invalid argument "287" (extract from journalctl)_ Full duplex mode seem not working with this Behringer card, but working with internal card, and my external Midas M32r card...
My setup : I have 2 PCs, a desktop and a laptop.
The desktop has Debian (Sid) with the kernel deliberately locked to version 5.15.0-3-amd64 (for a number of reasons, including the capricious use of VMware player for OBD II, but let's not get carried away)... ---> OMS works with all soundcards (Behringer UMC404HD & Midas M32) with kernel 5.15.0-3-amd64 but not with 6.7.9-amd64(sid), anyway, I've gone back to version 5.15.0-3-amd64..
The laptop has the latest Debian Stable, with a kernel in 6.1.0-18-amd64 _(PREEMPTDYNAMIC Debian 6.1.76-1 (2024-02-01)) ---> With Behringer UMC404HD card, OMS won't generate sound when measurement is enabled on my laptop with a standard 6.1.0-18-amd64 kernel and even with a 5.15.152-amd64 kernel which I had to compile, because 5.15.0-3-amd64 kernel was no longer present in the repositories... But I insist, with this laptop setup, the internal sound card and the external Midas M32R sound card can generate a sound while the measurement is in progress I also tested Room Eq Wizard which didn't give me any problems with all the cards are, but maybe (definitely) the hardware calls don't work the same way.
I tried several recent LiveUSB distributions on my laptop, and same issue with Behringer Card : Mint, Ubuntu, Ubuntu Studio, Mageia (Kernel 6.4.9) ---> all : alsa error: -22 invalid argument "287"
When I Run OMS by CLI on laptop : ~/Apps/OMS/Open_Sound_Meter-v1.3-x86_64.AppImage 5 str: "No such file or directory" can't load Music-Noise 48 5 str: "No such file or directory" can't load Music-Noise 96 Invalid QML element name "meta::Filter"; type names must begin with an uppercase #letter Invalid QML element name "meta::Measurement"; type names must begin with an uppercase letter Invalid QML element name "meta::Windowing"; type names must begin with an uppercase letter
Measurement is started, and I click on generator to start
_ ALSA error: -22 Argument invalide "287"
Other test on laptop : ~/Apps/OMS/Open_Sound_Meter-v1.3-x86_64.AppImage 5 str: "No such file or directory" can't load Music-Noise 48 5 str: "No such file or directory" can't load Music-Noise 96 Invalid QML element name "meta::Filter"; type names must begin with an uppercase letter Invalid QML element name "meta::Measurement"; type names must begin with an uppercase letter Invalid QML element name "meta::Windowing"; type names must begin with an uppercase letter
Here I stop the measurement and start generator, a red cross appears in the measurement area often, and just after
QObject::moveToThread: Current thread (0x7fde4c003a50) is not the object's thread (0x7fde00000cf0). Cannot move to target thread (0x7fde4c0032d0)
In this case, OMS freeze, I must kill process.
Just for information / dmesg :
Midas M32R
usb 2-1: new high-speed USB device number 6 using xhci_hcd
usb 2-1: New USB device found, idVendor=26a0, idProduct=0003, bcdDevice= 0.10
usb 2-1: New USB device strings: Mfr=12, Product=7, SerialNumber=13
usb 2-1: Product: DN32-USB
usb 2-1: Manufacturer: KLARK TEKNIK
usb 2-1: SerialNumber: 440EAA7B
Behringer UMC404HD usb 2-1: new high-speed USB device number 8 using xhci_hcd usb 2-1: New USB device found, idVendor=1397, idProduct=0509, bcdDevice= 1.12 usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0 usb 2-1: Product: UMC404HD 192k usb 2-1: Manufacturer: BEHRINGER
Same problem with live usb Linux Mint on another computer. This workstation was configured with Windows 8, and OMS works fine with it...
Actually I was not able to use OSM on Linux reliably. It's a bit pain for me, as it is my primary system. When I need it I switch to windows.
Maybe JACK support would perhaps avoid having problems related to the hardware, as suggested on the https://github.com/psmokotnin/osm/pull/60 pull-request.
Same issue with Focusrite Scarlett 4i4 gen 3 (new purchase thinking it was going to be good), but works with a Scarlett 2i2 gen 3 (loaned before purchase) !!!
So I'm really disappointed...
Merci ! @jeromelebleu
Your modification solved the problem on my Scarlett 4i4 GEN3. Thanks a lot!
You're welcome @TkonekT, glad to know that it solved your problem too! Hope that it will be fixed in upstream at some time…
For the next release soon, there will be a fix included.
Hello,
I have tried OSM on my machine (up to date Linux, Arch, Cinnamon, pipewire). Unfortunately when I try to generate noise and record on the same device (I have tried behringer UMC and M32r) the OSM reports
alsa error: -22 invalid argument "287"
.What would be compatible linux setup, please?