You are not logged in.

#1 2020-04-18 21:10:11

jneen
Member
Registered: 2017-05-15
Posts: 5

DisplayPort-via-Thunderbolt on a System76 Galago Pro - works in Ubuntu

Hey all,

I'm the proud owner of a new Galago Pro from System76, and I'm having a heck of a time getting the DisplayPort lane through the Thunderbolt port to connect to anything at all. `xrandr` shows:

> DP1 disconnected (normal left inverted right x axis y axis)

and ddcutil doesn't detect the thing at all. I've tried a number of adapters, as well as my real goal, which is this (also new) OWC Thunderbolt 3 docking station (which works fine for all the other peripherals: keyboard, usb, even the builtin audio device). Nothing shows up, not in journalctl, not in dmesg, not in .local/share/Xorg.0.log. I'm kind of at a loss as to how to even approach this problem, and System76 support has more or less hit the limit of what they can manage outside of Ubuntu/PopOS.

The curious thing is, I can boot a USB of PopOS (basically Ubuntu) and the monitor works just fine, shows up in xrandr, and is in fact automatically configured by gdm. Is there a lower-level place I need to check, or some magic kernel module I need to enable?

Thanks for your help, I'm sort of out of my depth here.

Last edited by jneen (2020-04-18 21:15:10)

Offline

#2 2020-04-18 21:13:08

jneen
Member
Registered: 2017-05-15
Posts: 5

Re: DisplayPort-via-Thunderbolt on a System76 Galago Pro - works in Ubuntu

Data dump:

[root@garlic jneen]# uname -a
Linux garlic 5.6.4-arch1-1 #1 SMP PREEMPT Mon, 13 Apr 2020 12:21:19 +0000 x86_64 GNU/Linux
[root@garlic jneen]# boltctl
 ● Other World Computing Thunderbolt 3 Dock
   ├─ type:          peripheral
   ├─ name:          Thunderbolt 3 Dock
   ├─ vendor:        Other World Computing
   ├─ uuid:          00611125-3824-5a00-ffff-ffffffffffff
   ├─ generation:    Thunderbolt 3
   ├─ status:        authorized
   │  ├─ domain:     d1030000-0060-6c0e-8383-3c1f06d43824
   │  └─ authflags:  none
   ├─ authorized:    Sat 18 Apr 2020 20:46:25 UTC
   ├─ connected:     Sat 18 Apr 2020 20:46:25 UTC
   └─ stored:        no

[root@garlic jneen]# systemctl status bolt | head -20
● bolt.service - Thunderbolt system service
     Loaded: loaded (/usr/lib/systemd/system/bolt.service; static; vendor preset: disabled)
     Active: active (running) since Sat 2020-04-18 13:39:19 EDT; 3h 32min ago
       Docs: man:boltd(8)
   Main PID: 738 (boltd)
     Status: "authmode: enabled, force-power: unset"
      Tasks: 4 (limit: 38371)
     Memory: 4.4M
     CGroup: /system.slice/bolt.service
             └─738 /usr/lib/boltd

Apr 18 14:53:46 garlic boltd[738]: probing: timeout, done: [2254915] (2000000)
Apr 18 16:46:22 garlic boltd[738]: [00611125-3824-Thunderbolt 3 Dock         ] removed (/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/domain0/0-0/0-1)
Apr 18 16:46:22 garlic boltd[738]: [00611125-3824-Thunderbolt 3 Dock         ] dbus: unexported
Apr 18 16:46:25 garlic boltd[738]: probing: started [1000]
Apr 18 16:46:25 garlic boltd[738]: [00611125-3824-Thunderbolt 3 Dock         ] device added, status: authorized, at /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/domain0/0-0/0-1
Apr 18 16:46:25 garlic boltd[738]: [00611125-3824-Thunderbolt 3 Dock         ] labeling device: Other World Computing Thunderbolt 3 Dock
Apr 18 16:46:25 garlic boltd[738]: [00611125-3824-Thunderbolt 3 Dock         ] import: user mode, boot: no -> no import
Apr 18 16:46:25 garlic boltd[738]: [00611125-3824-Thunderbolt 3 Dock         ] dbus: exported device at /org/freedesktop/bolt/devices/00611125_3824...
Apr 18 16:46:25 garlic boltd[738]: [00611125-3824-Thunderbolt 3 Dock         ] udev: device changed: authorized -> authorized
[root@garlic jneen]# lsmod
Module                  Size  Used by
8021q                  40960  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  1 garp
llc                    16384  2 stp,garp
ccm                    20480  6
snd_seq_dummy          16384  0
snd_seq_midi           20480  1
snd_seq_midi_event     16384  1 snd_seq_midi
snd_hrtimer            16384  1
snd_seq                86016  8 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
dm_crypt               53248  1
dm_mod                163840  3 dm_crypt
hid_generic            16384  0
usbhid                 65536  0
hid                   147456  2 usbhid,hid_generic
uas                    32768  0
usb_storage            77824  1 uas
snd_usb_audio         294912  4
snd_usbmidi_lib        40960  1 snd_usb_audio
snd_rawmidi            45056  2 snd_seq_midi,snd_usbmidi_lib
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
mc                     61440  1 snd_usb_audio
igb                   253952  0
dca                    16384  1 igb
joydev                 28672  0
mousedev               24576  0
intel_rapl_msr         20480  0
intel_rapl_common      32768  1 intel_rapl_msr
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
snd_hda_codec_hdmi     73728  1
coretemp               20480  0
cmac                   16384  2
kvm_intel             315392  0
snd_hda_codec_realtek   126976  1
algif_hash             16384  1
snd_sof_pci            24576  0
snd_sof_intel_byt      20480  1 snd_sof_pci
algif_skcipher         16384  1
iwlmvm                458752  0
snd_hda_codec_generic    94208  1 snd_hda_codec_realtek
kvm                   827392  1 kvm_intel
snd_sof_intel_ipc      20480  1 snd_sof_intel_byt
snd_sof_intel_hda_common    81920  1 snd_sof_pci
af_alg                 32768  6 algif_hash,algif_skcipher
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_sof_xtensa_dsp     16384  2 snd_sof_intel_hda_common,snd_sof_intel_byt
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
irqbypass              16384  1 kvm
bnep                   28672  2
mac80211             1032192  1 iwlmvm
snd_sof               126976  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof
snd_soc_skl           180224  0
btusb                  65536  0
btrtl                  24576  1 btusb
btbcm                  20480  1 btusb
snd_soc_sst_ipc        20480  1 snd_soc_skl
btintel                32768  1 btusb
snd_soc_sst_dsp        40960  1 snd_soc_skl
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_acpi_intel_match    40960  3 snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
libarc4                16384  1 mac80211
r8169                  90112  0
snd_soc_acpi           16384  4 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_soc_skl
i915                 2498560  4
ghash_clmulni_intel    16384  0
bluetooth             675840  28 btrtl,btintel,btbcm,bnep,btusb
8250_dw                16384  0
aesni_intel           368640  9
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
nls_iso8859_1          16384  1
ecdh_generic           16384  1 bluetooth
crypto_simd            16384  1 aesni_intel
nls_cp437              20480  1
i2c_algo_bit           16384  2 igb,i915
iwlwifi               409600  1 iwlmvm
cryptd                 24576  4 crypto_simd,ghash_clmulni_intel
ecc                    36864  1 ecdh_generic
realtek                24576  0
glue_helper            16384  1 aesni_intel
snd_soc_core          294912  4 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
drm_kms_helper        241664  1 i915
ofpart                 20480  0
cmdlinepart            16384  0
cec                    65536  2 drm_kms_helper,i915
intel_cstate           16384  0
intel_spi_pci          16384  0
intel_spi              24576  1 intel_spi_pci
snd_compress           28672  1 snd_soc_core
rc_core                61440  1 cec
spi_nor                61440  1 intel_spi
ac97_bus               16384  1 snd_soc_core
intel_uncore          147456  0
snd_pcm_dmaengine      16384  1 snd_soc_core
intel_gtt              24576  1 i915
vfat                   24576  1
intel_lpss_pci         20480  0
syscopyarea            16384  1 drm_kms_helper
fat                    86016  1 vfat
cfg80211              884736  3 iwlmvm,iwlwifi,mac80211
sysfillrect            16384  1 drm_kms_helper
intel_rapl_perf        16384  0
psmouse               180224  0
snd_hda_intel          57344  0
thunderbolt           241664  0
pcspkr                 16384  0
mtd                    77824  6 spi_nor,cmdlinepart,intel_spi,ofpart
input_leds             16384  0
i2c_i801               36864  0
intel_lpss             16384  1 intel_lpss_pci
sysimgblt              16384  1 drm_kms_helper
libphy                139264  2 r8169,realtek
snd_intel_dspcfg       28672  4 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
rfkill                 28672  6 bluetooth,cfg80211
fb_sys_fops            16384  1 drm_kms_helper
idma64                 20480  0
battery                24576  0
evdev                  24576  36
intel_hid              24576  0
sparse_keymap          16384  1 intel_hid
ac                     16384  0
mac_hid                16384  0
coreboot_table         16384  0
system76_io            16384  0
system76_acpi          16384  0
intel_wmi_thunderbolt    20480  0
wmi                    36864  1 intel_wmi_thunderbolt
i2c_dev                24576  0
crypto_user            16384  0
snd_aloop              32768  0
snd_hda_codec         163840  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core          106496  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
drm                   565248  4 drm_kms_helper,i915
snd_pcm               143360  13 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_aloop,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer              40960  4 snd_seq,snd_hrtimer,snd_aloop,snd_pcm
snd                   110592  22 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_aloop,snd_pcm,snd_rawmidi
soundcore              16384  1 snd
agpgart                53248  2 intel_gtt,drm
ip_tables              36864  0
x_tables               53248  1 ip_tables
ext4                  794624  2
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  139264  1 ext4
rtsx_pci_sdmmc         32768  0
mmc_core              188416  1 rtsx_pci_sdmmc
serio_raw              20480  0
atkbd                  36864  0
libps2                 20480  2 atkbd,psmouse
xhci_pci               20480  0
crc32c_intel           24576  4
xhci_hcd              290816  1 xhci_pci
rtsx_pci               90112  1 rtsx_pci_sdmmc
i8042                  32768  0
serio                  28672  9 serio_raw,atkbd,psmouse,i8042

Last edited by jneen (2020-04-18 21:23:01)

Offline

#3 2020-04-18 21:22:02

jneen
Member
Registered: 2017-05-15
Posts: 5

Re: DisplayPort-via-Thunderbolt on a System76 Galago Pro - works in Ubuntu

Because I forgot, here's the relevant output from `lspci -vvv` as well:

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02) (prog-if 00 [VGA controller])
	DeviceName: VGA compatible controller
	Subsystem: Intel Corporation UHD Graphics
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 169
	Region 0: Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
	Region 2: Memory at a0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at 5000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+ FLReset+
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-, NROPrPrP-, LTR-
			 10BitTagComp-, 10BitTagReq-, OBFF Not Supported, ExtFmt-, EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS-
			 AtomicOpsCap: 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
			 AtomicOpsCtl: ReqEn-
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00018  Data: 0000
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [100 v1] Process Address Space ID (PASID)
		PASIDCap: Exec- Priv-, Max PASID Width: 14
		PASIDCtl: Enable- Exec- Priv-
	Capabilities: [200 v1] Address Translation Service (ATS)
		ATSCap:	Invalidate Queue Depth: 00
		ATSCtl:	Enable-, Smallest Translation Unit: 00
	Capabilities: [300 v1] Page Request Interface (PRI)
		PRICtl: Enable- Reset-
		PRISta: RF- UPRGI- Stopped+
		Page Request Capacity: 00008000, Page Request Allocation: 00000000
	Kernel driver in use: i915
	Kernel modules: i915

Offline

#4 2020-04-21 17:35:00

mikebutash
Member
Registered: 2017-05-01
Posts: 36

Re: DisplayPort-via-Thunderbolt on a System76 Galago Pro - works in Ubuntu

Might need to disable tb security in the bios, or run a user agent to *allow* the device when connected, otherwise hardware/bios-level security blocks it.  I went through this years ago with my xps15 in acquiring my first dock, I just leave it disabled, but there *are* agents to do this now for linux, just maybe not default in arch.

Offline

#5 2020-04-21 17:57:12

jneen
Member
Registered: 2017-05-15
Posts: 5

Re: DisplayPort-via-Thunderbolt on a System76 Galago Pro - works in Ubuntu

That's the thing though, the bios has authorized it, which is why all the other peripherals work, and `boltctl` shows "status: authorized" as above. (I accomplished this via a udev rule, but it's actually cached in the bios so I don't have to authorize it again.)

Last edited by jneen (2020-04-21 17:58:20)

Offline

Board footer

Powered by FluxBB