You are not logged in.
Hi all,
Yesterday I updated the system (pacman -Syu). I believe there was a kernel update to 5.9.11. Possibly xorg-server was also updated. I always delete my /var/cache/pacman/pkg so I cannot say for sure (is there a way to check which packages were updated last besides looking into this directory?). Anyhow, to make one long story short a lot of my devices have now different names. According to dmesg my eth0, thunderbolt 3 dock, wlan0 are now being renamed differently which forced me to change a lot of my scripts. Besides this, none of my HDMI and DP ports (directly into the laptop or those connected via the thunderbolt docking station) are being detected so I cannot use my multi-monitor set-up. xrandr only detects the laptop screen (under eDP-1). I have checked the output of dmesg and my Xorg.log when I plug/unplug HDMI or DP and nothing, absolutely nothing appears.
After a fresh reboot and checking dmesg again I find the following suspicious lines:
[ 10.594232] L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details.
[ 11.593410] usbcore: registered new interface driver r8152
[ 11.601742] usbcore: registered new interface driver cdc_ether
[ 11.718242] usb 1-4.1.2: reset high-speed USB device number 11 using xhci_hcd
[ 11.865734] r8152 1-4.1.2:1.0 (unnamed net_device) (uninitialized): Invalid header when reading pass-thru MAC addr
[ 15.720676] typec_displayport port0-partner.0: failed to enter modeDoes anyone know what can possibly being going on ? I don't know whether these lines are relevant or not. If you need the full output let me know.
Other than this the laptop charges normally and the ethernet connection works fine (both through the docking station connected via thunderbolt 3).
Thanks in advance for any help !
Edit: the problem has been magically solved after a few reboots. According to dmesg my thunderbolt docking station is now being recognized and I can plug my external monitors via Display Port just as I was doing before. My wlan0 and eth0 controllers are now being renamed to a third completely different name (need to change scripts again!), but other than that everything is as it used to ... I guess there was no problem to begin with other than the Thunderbolt docking station acting weird. I think this is just a symptom of a larger problem (widely known) with Thunderbolt 3 controllers failing in Lenovo laptops. I guess mine is just showing the initial symptoms and will eventually die ... ![]()
Last edited by fistrosan (2020-12-04 15:07:47)
Offline
A bit more info I have found while trying to debug this:
1) I found my nvidia drivers were not be loaded:
lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
Subsystem: Lenovo Device 2267
Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
Subsystem: Lenovo Device 2267
Kernel modules: nouveau, nvidia_drm, nvidiaI know there were not being loaded because it did not say "Kernel drivers in use". So I added them manually:
sudo modprobe nvidia -vv
modprobe: INFO: custom logging function 0x55aad492c2d0 registered
insmod /lib/modules/5.9.11-arch2-1/extramodules/nvidia.ko.xz
modprobe: INFO: context 0x55aad5ffa440 releasedand then:
lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
Subsystem: Lenovo Device 2267
Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
Subsystem: Lenovo Device 2267
Kernel driver in use: nvidiaSo, that seems ok now as I am using the correct drivers ... question: will this be automatically done also after reboot or do I need to add it manually somewhere ?
Original problem still persists.
Offline
is there a way to check which packages were updated last besides looking into this directory?
There is /var/log/pacman.log by default although that can be changed in /etc/pacman.conf.
Offline
So, I think I have found why none of my HDMI and DP are not being detected. The reason is that even though I am now loading the correct nvidia drivers, I still only using my intel card.
optimus-manager --status
Optimus Manager (Client) version 1.2.2
Current GPU mode : intel
GPU mode requested for next login : nvidia
GPU mode for next startup : nvidia
Temporary config path: noWhen I do:
optimus-manager --switch nvidiaI logout, l log back in but still I am not using nvidia GPU so none of my HDMI and DPs are detected.
This is related to this older post of mine:
https://bbs.archlinux.org/viewtopic.php?id=261129
where I had added the following two lines to my .xinitrc in order to be able to switch between nvidia and intel.
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoThis worked fine for about a week, but after the latest upgrade it does not work anymore. The reason is that I don't have an NVIDIA-0 provider anymore, so the xrandr command above yields:
$xrandr --setprovideroutputsource modesetting nvidia-0
Could not find provider with name nvidia-0
$xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesettingAnd this is where I am stuck right now. If someone can offer me a solution great. Otherwise I guess I will just enable lightdm.service and optimus-manager.servide so I can get my nvidia card work again.
Offline
Alright, so I am now back with lightdm.service and optimus-manager.service. When I log in now optimus-manager --status now tells me that I am indeed using nvidia card. Also, xrandr --listproviders now shows again NVIDIA-0 as a provider. Moreover, xrandr now detects my DP-1, DP-2 (both connected through thunderbolt 3 docking) and HDMI-0 (directly in laptop). Unfortunately, they all appear as "disconnected". I am trying to figure this one out now. Meanwhile I have really diverted from my goal which was to use all this without a display-manager like lightdm, but hey ... whatever works at this point. Any input will be much appreciated !
Offline
I'm having something a bit similar atm. Upgraded (just a few days since the last one), rebooted, and now my system seems to completely miss that the laptop has an hdmi port. Hoping it also magically solves itself hehe. I simply have intel graphics so that hopefully should keep stuff simple. Also running lightdm. One weird maybe coincidence was that I had to enable early KMS a few weeks ago, my system wouldn't get past the systemd bootup log.
Output from xrandr for reference. Super weird.
% xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 290mm x 170mm
1920x1080 60.02*+ 59.93
1680x1050 59.88
1400x1050 59.98
1600x900 60.00 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1368x768 60.00 59.88 59.85
1280x800 59.81 59.91
1280x720 59.86 60.00 59.74
1024x768 60.00
1024x576 60.00 59.90 59.82
960x540 60.00 59.63 59.82
800x600 60.32 56.25
864x486 60.00 59.92 59.57
640x480 59.94
720x405 59.51 60.00 58.99
640x360 59.84 59.32 60.00
VIRTUAL1 disconnected (normal left inverted right x axis y axis)Offline
Aaaand now it works again haha! Rebooted a bunch of times yesterday and tried plugging in/out stuff. Had stuff off and plugged out over night, booting with the cables in now and everything suddenly works again.
Offline