Linux

Logitech C922 Pro Web Stream 7 OBS Performance Issues

Source: https://obsproject.com/forum/threads/logitech-c922-issues-only-on-obs-not-on-any-other-programs.58702/


TRY THIS...
If the cam is plugged into USB 2.0 port, try plugging it into a USB 3.0 port.
If the cam is plugged into USB 3.0 port, try plugging it into a USB 2.0 port.
ALSO...
Try connecting the webcam to a USB port that is connected to the Motherboard directly, if it already is, connect it to one that's not.

I was having this same issue Thank you so much "So Who You" switching from a 3.0 to a 2.0 port fixed the issue. I really appreciate it


 

Bash: SSH with Tunnel

Syntax

ssh user@remoteHost.com -L 81:remoteHost:81

ssh user@192.168.0.112 -L 81:r192.168.0.112:81

Script

#!/bin/bash
function ssh-tunnel-112(){
        export $(grep -v '^#' .env | xargs)
        echo "ssh to .112:8081 to pi:3001"
        sudo ssh me@192.168.0.112 -L 8081:pi:3001
}
echo "creating tunnel on port 81"
ssh-tunnel-112

 

Tags

Linux: Bash: /bin/bash^M: bad interpreter: No such file or directory

 

/bin/bash^M: bad interpreter: No such file or directory

the ^M is the key to the solution here.... invalid line endings

Windows & Linux use different EOL encoding...

in Notepad++ open the file and then select one according to the runtime host OS

  • Edit > EOL Conversion > Linux(LF)
  • Edit > EOL Conversion > Windows (CR LF)
  • Edit > EOL Conversion > Macinstosh (CR)
Tags

Linux: Bash: Echo Commands

echo Options


 Options      Description
 -n      do not print the trailing newline.
 -e      enable interpretation of backslash escapes.
 \b      backspace
 \\      backslash
 \n      new line
 \r      carriage return
 \t      horizontal tab
 \v      vertical tab
Tags

jackaudio.org: How can I use multiple soundcards with JACK

Source: https://jackaudio.org/faq/multiple_devices.html


How can I use multiple soundcards with JACK?

JACK is fundamentally designed to be a component in a pro-audio/music creation environment and standard operating practice for such setups involves using only a single digital sample “clock” (something counting off the time between audio samples). This means that trying to use multiple independent soundcards is problematic, because each soundcard has its own sample clock, running independently from the others. Over time, these different clocks drift out of sync with each other, and cause glitches in the audio. You can’t stop this drift, although in some cases the effects may be insignificant enough that some people might not care about them.

Tags
Subscribe to Linux