GoXLR-on-Linux / goxlr-on-linux

Documentation and scripts to make the GoXLR and GoXLR Mini useful on Linux.
142 stars 8 forks source link

Multiple errors when running the configure script #8

Closed jamesnhan closed 3 years ago

jamesnhan commented 3 years ago

The configure_goxlr.sh script produces the following errors:

--- engine param set "realtime" -> "true"
--- driver select "alsa"
--- driver param set "device" -> "hw:GoXLR,0"
--- driver param set "period" -> "512"
--- driver param set "rate" -> "48000"
--- driver param set "nperiods" -> "3"
--- start
Failure: Module initialization failed
Failure: Module initialization failed
Failure: Module initialization failed
Failure: Module initialization failed
Failure: Module initialization failed
Failure: Module initialization failed
Failure: Module initialization failed
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cannot connect client, already connected?
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cannot connect client, already connected?
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cannot connect client, already connected?
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cannot connect client, already connected?
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cannot connect client, already connected?
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cannot connect client, already connected?
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cannot connect client, already connected?
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
cannot connect client, already connected?
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
ERROR GoXLR_Sink_Sample:front-left not a valid port
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
ERROR GoXLR_Sink_Sample:front-right not a valid port
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
ERROR GoXLR_Source_Broadcast_Mix:front-left not a valid port
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
ERROR GoXLR_Source_Broadcast_Mix:front-right not a valid port
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
ERROR GoXLR_Source_Chat:front-left not a valid port
Cannot lock down 107341338 byte memory area (Cannot allocate memory)
ERROR GoXLR_Source_Chat:front-right not a valid port

Possibly related to the missing audio.config issue: #7

RobinVanCauter commented 3 years ago

Could def. be the case.

Also make sure you have added your user to the audio group as described in this known issue: https://github.com/T-Grave/goxlr-on-linux#cannot-lock-down-107341338-byte-memory-area-cannot-allocate-memory

If you still get invalid ports errors after adding the file from #7 (we'll fix that asap) and adding the user to the audio group, make sure your GoXLR has been initialized with a profile on Windows and don't turn if off when rebooting, it needs the profile to be loaded before booting into Linux.

RobinVanCauter commented 3 years ago

@jamesnhan PR #9 has been merged so you should be able to find the file and try again. Let us know if it worked!

jamesnhan commented 3 years ago

The issue was resolved after #9 . The issue with the invalid ports was also due to #7, which can be misleading. My user was already in the audio group, but I still got that error.

That being said, #9 fixed all issues so far!