Tried Pipewire 12+ months ago and ended up going back to pulse. Tried again 3-4 months ago and it has been perfect, even better than pulse with Bluetooth. I love Pipewire.
They are both pretty similar. I was using Kitty but then ran into some weird bug that was resolved by Alacritty. I don't even remember what the bug was, but I haven't gone back.
I ended up mapping my keyboard's brightness keys to a script I wrote so that it syncs my external and laptop's hardware brightness levels:
#!/bin/bash
# This script syncs the brightness on my laptop screen as well as my
# Dell 2720QM external usb-c monitor
# References:
# https://blog.tcharles.fr/ddc-ci-screen-control-on-linux
# Steps
# 1. Add udev rules to /etc/udev/rules.d/45-ddcutil-i2c.rules:
# KERNEL=="i2c-[0-9]*", GROUP="vtrac", MODE="0660"
# 2. Get I2C bus ID:
# ddcutil detect
function getDellBrightness() {
local busId=5
echo $(ddcutil --bus=$busId getvcp 10 | sed -n 's/.*current value =[[:space:]]*\(.*\),.*$/\1/p')
}
function setDellBrightness() {
local level=$1
local busId=5
ddcutil --bus=$busId setvcp 10 $level
}
function decrementBrightness() {
current=$(getDellBrightness)
new=$(expr $current - 25)
setDellBrightness $new
# set laptop screen
brightnessctl set 10%-
}
function incrementBrightness() {
current=$(getDellBrightness)
new=$(expr $current + 25)
setDellBrightness $new
# set laptop screen
brightnessctl set +10%
}
function main() {
action=$1
if [ "${action}" == "up" ]; then
incrementBrightness
elif [ "${action}" == "down" ]; then
decrementBrightness
fi
}
main $@
It works way better than the xrandr way (which I have been using for months).
What's the upgrade path from pulseaudio -> pipewire here? Just install the pipewire and pipewire-pulse packages, enable the pipewire systemd units, disable the pulseaudio units, and then reboot?
I used gentoo for years and had a very customized kernel with only the things I needed specifically for my hardware, with all of the optimized compilation flags set. While it was fun to learn everything, the time I spent on doing this is probably orders of magnitude greater than the time saved by my computer running faster.
Now I just run the stock arch kernel and rarely think about it. :)
Hangouts/meet, primarily. Sometimes zoom via browser.
Also, pre-corona, meetups and conference speaking was a pain with Wayland since there is no screen mirroring. As a presenter, you can't see on your laptop what is on the screen behind you, since they were different screens.
Sway is fantastic and handles multiple monitors really well (on x11/i3, I have a custom shell that switches via xrandr when I plug in my monitor). However, wayland/sway doesn't handle screen sharing during video calls, which I use all of the time, so it's a no-go for me.
This will probably work for you. You'll need to look at `aplay -l` and `arecord -l` to get your hardware device IDs for the PulseAudio loadmodule commands.
I had a similar issue with Gnome-shell and a 5th gen X1 Carbon. Gnome-shell would perform like shit on my 4k display. Moving to i3 completely solved the issue.
I had an x1 extreme. Wasn't the HDMI output hard-wired to the nvidia chip? Didn't you need to use the nvidia card in order to use the external monitor?
Is Wayland screen sharing fixed yet?
Been on Arch for 8-9 years. It’s amazing. If I ever switch, the only choice would be NixOS.
I've got a x1 carbon 7th gen, i7, 16GB RAM, 1TB SSD, 4k screen. Runs arch perfectly.
I upgraded a few months ago and so my x1 just sits around. Happy to sell it at a cheap price if you want it.
Cool idea, but your design would be very hard to use single-handed to run a smooth bead.
Yeah, I applied it and everything was fine.
This should do it. Or you can go straight to Pipewire, which now works beautifully. I use Bluetooth daily.
Tried Pipewire 12+ months ago and ended up going back to pulse. Tried again 3-4 months ago and it has been perfect, even better than pulse with Bluetooth. I love Pipewire.
They are both pretty similar. I was using Kitty but then ran into some weird bug that was resolved by Alacritty. I don't even remember what the bug was, but I haven't gone back.
Love how this is always a response now.
I've had 4 x1 carbons. They've all been wonderful with linux.
I ended up mapping my keyboard's brightness keys to a script I wrote so that it syncs my external and laptop's hardware brightness levels:
It works way better than the xrandr way (which I have been using for months).
Thanks. This works great:
ddcutil --bus=5 setvcp 10 20
What's the upgrade path from pulseaudio -> pipewire here? Just install the pipewire and pipewire-pulse packages, enable the pipewire systemd units, disable the pulseaudio units, and then reboot?
xrandr
I used gentoo for years and had a very customized kernel with only the things I needed specifically for my hardware, with all of the optimized compilation flags set. While it was fun to learn everything, the time I spent on doing this is probably orders of magnitude greater than the time saved by my computer running faster.
Now I just run the stock arch kernel and rarely think about it. :)
Looks like this is the bug: https://github.com/thesofproject/sof/issues/2828
Hangouts/meet, primarily. Sometimes zoom via browser.
Also, pre-corona, meetups and conference speaking was a pain with Wayland since there is no screen mirroring. As a presenter, you can't see on your laptop what is on the screen behind you, since they were different screens.
Sway is fantastic and handles multiple monitors really well (on x11/i3, I have a custom shell that switches via xrandr when I plug in my monitor). However, wayland/sway doesn't handle screen sharing during video calls, which I use all of the time, so it's a no-go for me.
I don't understand how intel can fuck up wifi and sound on their own hardware so often.
Maybe this? https://bugs.archlinux.org/task/64725
I updated the Audio section for 5.5 for the X1C7: https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_7)#Audio
This will probably work for you. You'll need to look at `aplay -l` and `arecord -l` to get your hardware device IDs for the PulseAudio loadmodule commands.
Intel Corporation Wireless-AC 9462 (x1 carbon 7th) works fine. No more sound though. :(
I had a similar issue with Gnome-shell and a 5th gen X1 Carbon. Gnome-shell would perform like shit on my 4k display. Moving to i3 completely solved the issue.
I had an x1 extreme. Wasn't the HDMI output hard-wired to the nvidia chip? Didn't you need to use the nvidia card in order to use the external monitor?
Holy shit - I thought about creating this thread over the weekend. I spent about 5 hours on this exact same problem.