You are not logged in.
I have a problem with my "Think Pad Thunderbolt 3 Workstation Dock" https://support.lenovo.com/de/de/solutions/pd500252
When I connect my screen to the HDMI or DisplayPort connector on the dock, it's not working.
Only the HDMI port on the notebook self is working.
I'm running bbswitch and nvidia-xrun. And use cinnamon as desktop manager.
[sebastian@seb-arch ~]$ cat .nvidia-xinitrc
if [ $# -gt 0 ]; then
$*
else
cinnamon-session
fi
Also xrandr doesn't show anything connected to the displayports
Only on HDMI-0 but thats the connector on the thinkpad.
[sebastian@seb-arch ~]$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
3840x2160 29.98*+ 29.97
3840x1080 59.97
2560x1600 59.97
2560x1440 59.95
1920x2160 59.99 29.95
1920x1200 59.88
1920x1080 60.00 59.94 29.97
1680x1050 59.95
1600x1200 60.00
1600x900 60.00
1280x1024 60.02
1280x800 59.81
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32
720x480 59.94
640x480 59.94 59.93
eDP-1-1 connected (normal left inverted right x axis y axis)
3840x2160 60.00 + 59.98 59.97
3200x1800 59.96 59.94
2880x1620 59.96 59.97
2560x1600 59.99 59.97
2560x1440 59.99 59.99 59.96 59.95
2048x1536 60.00
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
2048x1152 59.99 59.98 59.90 59.91
1920x1200 59.88 59.95
1920x1080 60.01 59.97 59.96 59.93
1600x1200 60.00
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
2560x1440 (0x50) 241.500MHz +HSync -VSync
h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 88.79KHz
v: height 1440 start 1443 end 1448 total 1481 clock 59.95Hz
1920x1200 (0x59) 193.250MHz -HSync +VSync
h: width 1920 start 2056 end 2256 total 2592 skew 0 clock 74.56KHz
v: height 1200 start 1203 end 1209 total 1245 clock 59.88Hz
1600x1200 (0x5f) 162.000MHz +HSync +VSync
h: width 1600 start 1664 end 1856 total 2160 skew 0 clock 75.00KHz
v: height 1200 start 1201 end 1204 total 1250 clock 60.00Hz
1680x1050 (0x60) 146.250MHz -HSync +VSync
h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.29KHz
v: height 1050 start 1053 end 1059 total 1089 clock 59.95Hz
1280x1024 (0x67) 108.000MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
1280x800 (0x71) 83.500MHz -HSync +VSync
h: width 1280 start 1352 end 1480 total 1680 skew 0 clock 49.70KHz
v: height 800 start 803 end 809 total 831 clock 59.81Hz
1024x768 (0x78) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
800x600 (0x87) 40.000MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
640x480 (0x94) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
Currently i'm running the following kernel
5.3.8-arch1-1
I'm pretty new to the nvidia stuff in linux. I used only ATI in past in linux (and currently i think i will do again in the future)
Does someone use the same dock and got the displayports running?
Or maybe some has a hint where to look to get the display ports running.
Kind regards,
Sebastian
Offline
Is the nvidia card even relevant?
lspci | egrep 'VGA|3D'
did you enable/allow/permit the thunderbolt connection? https://wiki.archlinux.org/index.php/Thunderbolt
Offline
Here is the output of lspci
[sebastian@seb-arch ~]$ lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
Hmm. boltctl says dock is disconnected... But the USB devices connected to the dock are working...
[sebastian@seb-arch ~]$ sudo boltctl
○ Lenovo ThinkPad Thunderbolt 3 Dock
├─ type: peripheral
├─ name: ThinkPad Thunderbolt 3 Dock
├─ vendor: Lenovo
├─ uuid: 000f41f1-bd26-0801-ffff-ffffffffffff
├─ status: disconnected
├─ authorized: So 03 Nov 2019 14:56:23 UTC
├─ connected: So 03 Nov 2019 14:56:23 UTC
└─ stored: So 05 Mai 2019 19:29:22 UTC
├─ policy: auto
└─ key: no
Offline
Okay. Thanks for the hint.
I finally managed to get dock as connected. Somehow the dock needed a powercycle while the system was running.
But still have a weird problem using the ports on the dock. But thats maybe something bbswitch or nvidia-xrun specific.
When I start nvidia-xrun from a virtual console, (i think it's needed to get the display ports running - please correct me if i'm wrong) starting cinnamon in most cases will fail with the message below, when no cable is connected to HDMI port on the thinkpad.
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
But there were rare cases that cinnamon came up without any error.
When i start nvidia-xrun with the HDMI connected it allways works.
When cinnamon is up (HDMI connected to thinkpads HDMI port) and I plug the cable to dock then the hdmi output is also working.
Do anyone have also an idea for that problem?
Kind regards,
Sebastian
Edit: I found out the when no hdmi is connected neither to the thinkpad nor to the dock, then starting cinnamon with nvidia-xrun allways works.
Last edited by seho (2019-11-06 14:50:03)
Offline