GoXLR-on-Linux / goxlr-on-linux

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

No Audio Playback #23

Closed justinforlenza closed 3 years ago

justinforlenza commented 3 years ago

Describe the bug I just got my GoXLR and got it all configured and working on windows and then when i switch to Linux, and ran the install.sh script. It created the separate devices, however no audio is getting captured by the GoXLR.

The one thing that is working is the working is the Broadcast Mix when i speak into the microphone, (but not the chat input device) image

I looked back to the install.sh output and saw the following.

image

Any help would be appreciated

Desktop (please complete the following information):

RobinVanCauter commented 3 years ago

Have you looked at this common issue, it's important your GoXLR has been initialized on windows and doesn't lose power when switching to Linux: https://github.com/GoXLR-on-Linux/goxlr-on-linux/wiki/Common-issues#error-goxlr_source_chatxxx-not-a-valid-port?

We also know of an issue causing this in the install script, I just merged the PR that fixed this: https://github.com/GoXLR-on-Linux/goxlr-on-linux/pull/18/

You can either manually change the file that has been installed (remove the ,0 from hw:GoXLR,0) or just run the most recent install script again (it should replace the previously installed script).

lm41 commented 3 years ago

@VirtuelJunkey can you please send the newest Version of the log script, so we can get a bit more information?

lm41 commented 3 years ago

@justinforlenza can you send a screenshot of the routing table on windows?

justinforlenza commented 3 years ago

Yeah i tested/initialized everything in windows before booting up into Linux.

Also tried the new version, and got the same errors

Here is my routing table image

VirtualJunky commented 3 years ago

While on Linux, try unplugging and plugging back in the USB cable from your GoXLR. Be sure it's the USB cable and not the power cable. Then in terminal use sh /etc/goxlr/goxlr-on-linux/configure_goxlr.sh and see if it posts the same errors.

If you still get errors your next step would be a Windows VM to initialize GoXLR then run the command above to ensure the GoXLR isn't powercycling on Linux boot. If there is still errors, we can try to find a solution to what might be causing it.

justinforlenza commented 3 years ago

Before i run the script again, i noticed i now have 2 of every audio device, is there a way i can reset/uninstall?

VirtualJunky commented 3 years ago

Use pulseaudio --kill in terminal, that will restart everything to default config and only have your physical devices again.

justinforlenza commented 3 years ago

Okay, so tried to re-plugging no luck.

Tried with my windows VM, no luck.

Also now when i restart my computer I get the following message before my session starts, and the devices are back (with three copies of each device lol) 20210510_171136

image

VirtualJunky commented 3 years ago

Oi okay, so the issue with running the install multiple times is it will keep adding more lines to the .profile. So open up your files > home > .profile at the bottom remove the duplicate lines that read source /etc/goxlr/goxlr-on-linux/configure_goxlr.sh and on PopOS you mind as well remove them all because the startup doesn't work (I'm on PopOS) so I just have the script on my desktop as a runable and I double click it once I login and my audio is all sorted.

But heres step by step what I'd like you to do as a test. Open up terminal, type pulseaudio --kill then sh /etc/goxlr/goxlr-on-linux/configure_goxlr.sh see if that gives you errors, it shouldn't cause that's what worked for me early on. Open up your audio devices and click that check mark on the side for whatever you want the default input and output to be and load up a YouTube video or something. Let me know how that goes.

justinforlenza commented 3 years ago

Removed the startup scripts from my .profile worked ty.

But running it manually still shows the same result

Screenshot from 2021-05-10 17-34-30

VirtualJunky commented 3 years ago

Was that after using pulseaudio --kill? Or removing them all from .profile and rebooting? Could try again, but after pulseaudio --kill unplug your GoXLR USB cable and plug it back in then run configure_goxlr.sh again.

You're having the same issue I had at first and just trying to remember the steps I did to fix it, especially since you're on PopOS like I am. I might have changed the USB port it was plugged in as a test at one point as well, don't remember if that helped or not.

lm41 commented 3 years ago

I think you should have a look at #15 Edit: and #17

justinforlenza commented 3 years ago

Yeah that was after a reboot + running pulseaudio --kill, and i did un-plug and replug. Ill try a different usb port

Also idk if this is helpful. But i opend up Carla, and saw that under system, i only have capture_1 and capture_2 image

VirtualJunky commented 3 years ago

That is interesting. I think I remember when I first installed Linux reading something about certain mobos needing to manually install audio drivers. That might not be it though, that issue a bit out of my area of expertise. I downloaded Carla quickly to see what mine looked like and it's very similar but I have a whole separate system section with playback 1-10. But I what makes me think I'm wrong is I believe those are virtual devices not physical, so maybe one of the requirements isn't installed correctly or at all. I looked at your original post and don't see any errors with installing any of it so not sure there. I think @T-Grave or @lm41 might be better help with those playback devices missing.

justinforlenza commented 3 years ago

Further update lol, it seems jackd will no longer start, so much fun haha

image

VirtualJunky commented 3 years ago

Ah yeah I used to run into that issue as well. I found pulseaudio --kill would often fix it. That command pretty much fixes everything..usually lol

justinforlenza commented 3 years ago

Yeah doesnt seem to be working in this case... still getting the same thing. Even after a full reboot.

VirtualJunky commented 3 years ago

Well what's interesting is in the first screenshot you posted jack started fine. I'm not sure you need to use the command jack_control start anymore. That was very early on in my testing if you are grabbing that from #15 and found pulseaudio --kill does it all for you. Even in your most recent screenshot of terminal after running configure_goxlr.sh the line that says start is jack starting without any issues, so I don't think that's an actual issue for you.

VirtualJunky commented 3 years ago

If you look at /etc/goxlr/goxlr-on-linux/configure_goxlr.sh will you post line 7 for me here?

justinforlenza commented 3 years ago

Okay I finally got it. Super weird fix. Idk why, but this fixed everything lol....

So in pulse audio control, i had to switch between multichannel duplex -> multichannel input -> multichannel duplex. Then ran the script again, and it worked. :shrug: image

All the inputs/outputs working perfectly. cheff kiss

Thank you all for helping me lol. You guys are doing great work

Defter250 commented 2 years ago

I know this is a old thread. Im on arch and am having similar issues. I dont have that setting within my pulse audio interface. What one could I get that has that setting. Any information is genuinely appreciated.