Reposting from Reddit just in case I can get help a bit faster:
I’m about a week into switching to Linux from Windows 10 on my laptop and I’ve been having a great time with it. Started off with Linux Mint and quickly realized I wanted more control over how everything worked. So I switched over to Endeavour, since I heard people say it was more straight forward than Arch.
So far, I’ve been able to solve problems either on my own by reading manuals or by looking through Reddit and other forums. But now I’ve run into two problems that have stumped me:
If I turn on my computer with my external monitor plugged in, it will just freeze before I even get to the login screen. In order to successfully use my computer, I must first unplug the HDMI cable, wait for the login screen and then plug it back in. Everything works fine from there. It’s not a major problem, but it would be great if I didn’t have to do this every time.
This one is bizarre to me. I use a Focusrite Scarlett 2i4 (2nd Gen) for audio. Worked fine on Windows 10 and Mint. But now if I plug it directly into any of the USB ports on my laptop, all I get as output is loud, glitchy white noise. If I plug it into my USB hub though, it works perfectly! The hub itself can be plugged into any of the ports with the same result. Every other USB device I have tested so far has worked fine when plugged straight into the laptop as well.
Any ideas on what could be causing these problems?
ad 1.
The SDDM login screen can be disabled on the HDMI. sudo nano /usr/share/sddm/scripts/Xsetup
#!/bin/sh
# Xsetup - run as root before the login dialog appears
xrandr --output HDMI-1 --off
( my old HDMI monitor needs 25 secs to finish a long plug&play procedure disturbing the laptop display as well in Plasma.
There is no such unwanted procedure in XFCE, Cinnamon, Budgie etc.)
Just tried that and got the same result.
Making sure I’m not being an idiot:
I should put that Xsetup file in /usr/share/sddm/scripts/ and that should work? Or is there anything else I need to do?
I had to create the sddm and scripts directories because they weren’t there initially.
The usb port doubles as a power supply & the data link, if I’m not mistaken ?
You could try to control its volume via alsamixer and check with qpwgraph, which is a patchbay for pipewire, to check if the signal is routed in a meaningful way when directly connected via usb w/o a hub in between.
ly simply appears on both monitors. It’s up to you which you prefer.
The default sddm worked on the secondary monitor here. That’s why I suggested
disabling HDMI.
Alright! Yeah, just switching to sddm fixed that problem. Didn’t even need to disable the monitor in the Xsetup script.
Now only the audio interface problem remains.
No idea… I didn’t even look at any of that since everything just worked. But it doesn’t make any sense to me why it works through the hub but not straight in.