Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Python script causes lag on startup with Lenovo docking station and three displays. #46

Open
mleonc1977 opened this issue Feb 13, 2023 · 1 comment

Comments

@mleonc1977
Copy link

Hello! Please feel free to close the issue if it is already solved. I've had three days searching the web and all forums trying to find a solution with the issue.

cat /etc/os-release
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

apt policy $PACKAGE gnome-shell
gnome-shell:
Installed: 42.5-0ubuntu1167510345322.04472962b
Candidate: 42.5-0ubuntu1
167510345322.04472962b
Version table:
42.5-0ubuntu1 500
500 http://apt.pop-os.org/ubuntu jammy-updates/main amd64 Packages
*** 42.5-0ubuntu1167510345322.04~472962b 1001
1001 http://apt.pop-os.org/release jammy/main amd64 Packages
100 /var/lib/dpkg/status
42.0-2ubuntu1 500
500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages

Issue/Bug Description:
At my job we started to use a Lenovo ThinkPad T14s with a Thinkpad Universal USB-C Dock which is a Thunderbolt 4 docking station. When I installed Pop! OS on the computer, with the laptop display or the HDMI Monitor connected to the docking station there were no issues. But when I connected to other monitors to the dock, by DisplayPort cables, right after logging in, the gnome-shell started to lag making the computer unusable, until (I think) something on the python script of the hidpi-daemon timeouts, but this timeout is like 3-5 min after logging in. With the two DisplayPorts displays connected, everything after the login prompt is lag, even trying to get some logs is a real pain, until yesterday (Feb 12, 2023) I've manage to get the logs from syslog and found an error with the hidpi-daemon which makes me think it was the culprit. Following the directions from https://github.com/pop-os/hidpi-daemon, I've uninstall de daemon (BTW I don't use it on this computer) and boom!, the desktop works as spected from a reboot. All three displays are 1920x1080, and I use the laptop with the lid closed when connected to the dock. I've attached the dmesg output besides the files you ask on the template issue.

Steps to reproduce (if you know):
Lenovo Thinkpad T14s with Thinkpad Universal USB-C dock with 1 HDMI Display and 2 DisplayPorts displays connected. Lit closed.

Expected behavior:
Boot and loggin in normally just with 3 displays

Other Notes:
Attached dmesg output and picture of the dock model and serial if needed. Also the screenshot of the error on the python script.
xrandr.txt
dmesg.txt
monitors.txt
syslog.txt

Docking station
IMG_20230213_080856

Error on Python hidpi-daemon script.
Error_script

@mleonc1977 mleonc1977 changed the title Error on Python scrips causes lag on startup with Lenovo docking station and three displays. Error on Python script causes lag on startup with Lenovo docking station and three displays. Feb 13, 2023
@mleonc1977
Copy link
Author

Bump!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant