Closed matt-deboer closed 6 years ago
Does it work using macOS in the same machine?
Yes (up to 10.13.3; Apple "enhanced" (read: broke) eGPU support in 10.13.4)
Looks like a similar issue: https://askubuntu.com/questions/967223/running-into-pci-resource-allocation-issues-17-10-kernel-4-13-0-16-generic-64bit --looks like his path forward was to enable PCI addressing above 4GB...but I'm unsure of how to approach that.
I neither have an idea how to fix that, but I'd start trying out several pci-related boot flags, like pci=nobios
, pci=realloc=on
, pci=realloc=off
, pci=assign-busses
, ...
Also dynamically rescanning PCI devices could help: https://www.linuxquestions.org/questions/linux-hardware-18/issue-installing-a-external-gpu-device-888879/page3.html or https://bbs.archlinux.org/viewtopic.php?pid=1602551#p1602551
As there are people who seem to be able to use an eGPU with Windows through Bootcamp on a Mac (https://egpu.io/forums/pc-setup/egpu-plugplay-in-bootcamp/), which is unsupported by Apple, I'm optimistic that it's possible to get to work with Linux as well.
Thanks for the tips; I finally got a little time to play with this over the weekend.
I can confirm that manually removing and then rescanning the bridge device (to which the eGPU is attached) works (requires pci=realloc
kernel param).
The runfile nvidia drivers must be used (ubuntu drivers bomb the kernel log with PKCS#7 signature errors).
The next hurdle (not necessarily a MBP issue) is that vga_switcheroo steps in and disables the discrete gpu whenever the eGPU is connected--I need a way to make it ignore specific devices' hotplug events...
So I'd consider this partially solved, but I'll report back with any more progress/findings.
Awesome. Thanks for reporting back. :+1: I'll leave this issue open for you to report your findings. Feel free to close it at any time, if you feel that there is nothing more to say. :smile:
Hi there, I could really use some help! I have Ubuntu 16.04 LTS installed on my MBP (15 inch, touchbar, late 2016 i believe). I am trying to get my gamebox aurous with a gtx 1080 working. I have it working on windows, but I need it to work with python on linux for my work. Right now, when I try to insert the driver I get "insmod: ERROR: could not insert module /lib/modules/4.13.0-45-generic/updates/dkms/nvidia_384.ko: No such device". (also "modprobe nvidia" gives "modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.13.0-45-generic") In addition, dmesg says "NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0) [ 85.546913] NVRM: The system BIOS may have misconfigured your GPU." I have tried all of the following:
I believe the device you need to manually remove is either 00:01.1
or 00:01.2
(left and right PCIe bridge, whichever side your gpu is plugged
into); you might also try adding the pci=scan-busses
kernel parameter (I
use it for my tb dock to be recognized, but it may also be helping with the tb gpu)
(You can use lspci -vt
to show the tree)
On Thu, Jun 14, 2018 at 7:38 PM Jacob Beck notifications@github.com wrote:
Hi there, I could really use some help! I have Ubuntu 16.04 LTS installed on my MBP (15 inch, touchbar, late 2016 i believe). I am trying to get my gamebox aurous with a gtx 1080 working. I have it working on windows, but I need it to work with python on linux for my work. Right now, when I try to insert the driver I get "insmod: ERROR: could not insert module /lib/modules/4.13.0-45-generic/updates/dkms/nvidia_384.ko: No such device". (also "modprobe nvidia" gives "modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.13.0-45-generic") In addition, dmesg says "NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0) [ 85.546913] NVRM: The system BIOS may have misconfigured your GPU." I have tried all of the following:
- "echo 1 > /sys/bus/pci/devices/0000:00:1c.0/remove
- and echo 1 > /sys/bus/pci/rescan
- adding pci=realloc to my kernel parameters
- adding pci=nocrs
- installing nvidia 384 driver
- installing nvidia-modprobe
- installing nvidia 384 from a runfile (which i couldnt get to work for various reasons)
- installing the driver from the ppa repository
- installing through the "additional drivers" page in settings. If it is any help, the output of dmesg and lspci are bellow: 00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07) 00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07) 00:01.1 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x8) (rev 07) 00:01.2 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x4) (rev 07) 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) 00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H LPSS I2C Controller #0 (rev 31) 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 https://github.com/Dunedan/mbp-2016-linux/issues/1 (rev 31) 00:19.0 Signal processing controller: Intel Corporation Sunrise Point-H LPSS UART Controller #2 https://github.com/Dunedan/mbp-2016-linux/issues/2 (rev 31) 00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #17 https://github.com/Dunedan/mbp-2016-linux/issues/17 (rev f1) 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 https://github.com/Dunedan/mbp-2016-linux/issues/1 (rev f1) 00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-H LPSS UART #0 (rev 31) 00:1e.1 Signal processing controller: Intel Corporation Sunrise Point-H LPSS UART #1 https://github.com/Dunedan/mbp-2016-linux/issues/1 (rev 31) 00:1e.2 Signal processing controller: Intel Corporation Sunrise Point-H LPSS SPI #0 (rev 31) 00:1e.3 Signal processing controller: Intel Corporation Sunrise Point-H LPSS SPI #1 https://github.com/Dunedan/mbp-2016-linux/issues/1 (rev 31) 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31) 00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31) 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31) 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67ef (rev c0) 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0 02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a804 03:00.0 Network controller: Broadcom Corporation BCM43602 802.11ac Wireless LAN SoC (rev 02) 04:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] (rev 02) 05:00.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) 05:01.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) 05:02.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) 05:04.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) 06:00.0 System peripheral: Intel Corporation Device 15d2 (rev 02) 07:00.0 USB controller: Intel Corporation Device 15d4 (rev 02) 08:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] 09:01.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] 09:04.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] 0a:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1) 0a:00.1 Audio device: NVIDIA Corporation Device 10f0 (rev a1) 0b:00.0 USB controller: Intel Corporation DSL6540 USB 3.1 Controller [Alpine Ridge] 7a:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] (rev 02) 7b:00.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) 7b:01.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) 7b:02.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) 7b:04.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) 7c:00.0 System peripheral: Intel Corporation Device 15d2 (rev 02) 7d:00.0 USB controller: Intel Corporation Device 15d4 (rev 02) [ 63.948786] nvidia-nvlink: Nvlink Core is being initialized, major device number 240 [ 63.949134] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0) [ 63.949135] NVRM: The system BIOS may have misconfigured your GPU. [ 63.949139] nvidia: probe of 0000:0a:00.0 failed with error -1 [ 63.949167] NVRM: The NVIDIA probe routine failed for 1 device(s). [ 63.949167] NVRM: None of the NVIDIA graphics adapters were initialized! [ 63.949326] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240 [ 76.475919] nvidia-nvlink: Nvlink Core is being initialized, major device number 240 [ 76.476146] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0) [ 76.476147] NVRM: The system BIOS may have misconfigured your GPU. [ 76.476149] nvidia: probe of 0000:0a:00.0 failed with error -1 [ 76.476164] NVRM: The NVIDIA probe routine failed for 1 device(s). [ 76.476164] NVRM: None of the NVIDIA graphics adapters were initialized! [ 76.476242] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240 [ 83.730141] pcieport 0000:09:04.0: bridge window [io 0x1000-0x0fff] to [bus 0b] add_size 1000 [ 83.730157] pcieport 0000:08:00.0: bridge window [io 0x1000-0x0fff] to [bus 09-0b] add_size 1000 [ 83.730164] pcieport 0000:05:01.0: bridge window [io 0x1000-0x0fff] to [bus 08-40] add_size 1000 [ 83.730166] pcieport 0000:05:01.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 08-40] add_size 200000 add_align 100000 [ 83.730202] pcieport 0000:7b:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 7d] add_size 200000 add_align 100000 [ 83.730249] pcieport 0000:05:01.0: BAR 15: assigned [mem 0xc0200000-0xc03fffff 64bit pref] [ 83.730251] pcieport 0000:05:01.0: BAR 13: assigned [io 0x6000-0x6fff] [ 83.730254] pcieport 0000:08:00.0: BAR 13: assigned [io 0x6000-0x6fff] [ 83.730256] pcieport 0000:09:04.0: BAR 13: assigned [io 0x6000-0x6fff] [ 83.730261] pcieport 0000:7b:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] [ 83.730263] pcieport 0000:7b:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] [ 83.730265] pcieport 0000:7b:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] [ 83.730266] pcieport 0000:7b:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] [ 85.546651] nvidia-nvlink: Nvlink Core is being initialized, major device number 240 [ 85.546912] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0) [ 85.546913] NVRM: The system BIOS may have misconfigured your GPU. [ 85.546916] nvidia: probe of 0000:0a:00.0 failed with error -1 [ 85.546928] NVRM: The NVIDIA probe routine failed for 1 device(s). [ 85.546929] NVRM: None of the NVIDIA graphics adapters were initialized! [ 85.547017] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240 [ 161.316492] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready [ 161.352795] brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23 [ 162.840829] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready [ 172.415719] brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23 [ 177.635318] brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23 [ 182.277551] brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23 [ 1026.005493] nvidia-nvlink: Nvlink Core is being initialized, major device number 240 [ 1026.005735] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid: NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0a:00.0) [ 1026.005735] NVRM: The system BIOS may have misconfigured your GPU. [ 1026.005738] nvidia: probe of 0000:0a:00.0 failed with error -1 [ 1026.005753] NVRM: The NVIDIA probe routine failed for 1 device(s). [ 1026.005754] NVRM: None of the NVIDIA graphics adapters were initialized! [ 1026.005845] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dunedan/mbp-2016-linux/issues/60#issuecomment-397496289, or mute the thread https://github.com/notifications/unsubscribe-auth/ABbBtWxoWJA0dRoJaiZHOvD2-rHDaoXxks5t8x4hgaJpZM4UDzfK .
@matt-deboer This is the output of lspci -vt, but I don't know what it means:
00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)
DeviceName: SATA
Subsystem: Apple Inc. Skylake Host Bridge/DRAM Registers
Flags: bus master, fast devsel, latency 0
Capabilities:
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: 82600000-826fffff
Prefetchable memory behind bridge: 00000000b0000000-00000000c01fffff
Capabilities:
00:01.1 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x8) (rev 07) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=04, subordinate=79, sec-latency=0
I/O behind bridge: 00006000-00009fff
Memory behind bridge: 82800000-909fffff
Prefetchable memory behind bridge: 00000000c0200000-00000000ce1fffff
Capabilities:
00:01.2 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x4) (rev 07) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=7a, subordinate=ef, sec-latency=0
I/O behind bridge: 0000a000-0000dfff
Memory behind bridge: 90a00000-9ebfffff
Prefetchable memory behind bridge: 000000009ec00000-00000000ad3fffff
Capabilities:
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
Subsystem: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller
Flags: bus master, medium devsel, latency 0, IRQ 37
Memory at 82700000 (64-bit, non-prefetchable) [size=64K]
Capabilities:
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H LPSS I2C Controller #0 (rev 31)
Subsystem: Intel Corporation Sunrise Point-H Serial IO I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 82728000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
Subsystem: Intel Corporation Sunrise Point-H CSME HECI
Flags: bus master, fast devsel, latency 0, IRQ 60
Memory at 82729000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
00:19.0 Signal processing controller: Intel Corporation Sunrise Point-H LPSS UART Controller #2 (rev 31)
Subsystem: Intel Corporation Sunrise Point-H Serial IO UART Controller
Flags: bus master, fast devsel, latency 0, IRQ 21
Memory at 8272a000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #17 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: 82500000-825fffff
Capabilities:
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: 82000000-824fffff
Capabilities:
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-H LPSS UART #0 (rev 31)
Subsystem: Intel Corporation Sunrise Point-H Serial IO UART
Flags: bus master, fast devsel, latency 0, IRQ 20
Memory at 8272b000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
00:1e.1 Signal processing controller: Intel Corporation Sunrise Point-H LPSS UART #1 (rev 31)
Subsystem: Intel Corporation Sunrise Point-H Serial IO UART
Flags: bus master, fast devsel, latency 0, IRQ 21
Memory at 8272c000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
00:1e.2 Signal processing controller: Intel Corporation Sunrise Point-H LPSS SPI #0 (rev 31)
Subsystem: Intel Corporation Sunrise Point-H Serial IO SPI
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at 8272d000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
00:1e.3 Signal processing controller: Intel Corporation Sunrise Point-H LPSS SPI #1 (rev 31)
Subsystem: Intel Corporation Sunrise Point-H Serial IO SPI
Flags: bus master, fast devsel, latency 0, IRQ 23
Memory at 8272e000 (64-bit, non-prefetchable) [size=4K]
Capabilities:
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31) Subsystem: Intel Corporation Sunrise Point-H LPC Controller Flags: bus master, medium devsel, latency 0
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31) Subsystem: Intel Corporation Sunrise Point-H PMC Flags: fast devsel Memory at 82724000 (32-bit, non-prefetchable) [disabled] [size=16K]
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
Subsystem: Intel Corporation Sunrise Point-H HD Audio
Flags: bus master, fast devsel, latency 64, IRQ 61
Memory at 82720000 (64-bit, non-prefetchable) [size=16K]
Memory at 80000000 (64-bit, non-prefetchable) [size=64K]
Capabilities:
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31) Subsystem: Intel Corporation Sunrise Point-H SMBus Flags: medium devsel, IRQ 255 Memory at 8272f000 (64-bit, non-prefetchable) [size=256] I/O ports at 5040 [size=32] Kernel modules: i2c_i801
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67ef (rev c0) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. Device 0160
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at b0000000 (64-bit, prefetchable) [size=256M]
Memory at c0000000 (64-bit, prefetchable) [size=2M]
I/O ports at 4000 [size=256]
Memory at 82600000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at 82640000 [disabled] [size=128K]
Capabilities:
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0
Flags: bus master, fast devsel, latency 0, IRQ 62
Memory at 82660000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a804 (prog-if 02 [NVM Express])
Subsystem: Samsung Electronics Co Ltd Device a801
Flags: bus master, fast devsel, latency 0, IRQ 36
Memory at 82500000 (64-bit, non-prefetchable) [size=16K]
I/O ports at 3000 [disabled] [size=256]
Capabilities:
03:00.0 Network controller: Broadcom Corporation BCM43602 802.11ac Wireless LAN SoC (rev 02)
Subsystem: Apple Inc. BCM43602 802.11ac Wireless LAN SoC
Flags: bus master, fast devsel, latency 0, IRQ 63
Memory at 82400000 (64-bit, non-prefetchable) [size=32K]
Memory at 82000000 (64-bit, non-prefetchable) [size=4M]
Capabilities:
04:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 26
Bus: primary=04, secondary=05, subordinate=79, sec-latency=0
I/O behind bridge: 00006000-00008fff
Memory behind bridge: 82800000-909fffff
Prefetchable memory behind bridge: 00000000c0200000-00000000ce1fffff
Capabilities:
05:00.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 27
Bus: primary=05, secondary=06, subordinate=06, sec-latency=0
Memory behind bridge: 82900000-829fffff
Capabilities:
05:01.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) (prog-if 00 [Normal decode])
Physical Slot: 1
Flags: bus master, fast devsel, latency 0, IRQ 28
Bus: primary=05, secondary=08, subordinate=40, sec-latency=0
Memory behind bridge: 82a00000-89ffffff
Capabilities:
05:02.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 29
Bus: primary=05, secondary=07, subordinate=07, sec-latency=0
I/O behind bridge: 00007000-00007fff
Memory behind bridge: 82800000-828fffff
Prefetchable memory behind bridge: 000000008a000000-000000008a1fffff
Capabilities:
05:04.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) (prog-if 00 [Normal decode])
Physical Slot: 2
Flags: bus master, fast devsel, latency 0, IRQ 30
Bus: primary=05, secondary=41, subordinate=79, sec-latency=0
I/O behind bridge: 00008000-00008fff
Memory behind bridge: 8a200000-8a3fffff
Prefetchable memory behind bridge: 000000008a400000-000000008a5fffff
Capabilities:
06:00.0 System peripheral: Intel Corporation Device 15d2 (rev 02)
Subsystem: Intel Corporation Device 0000
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at 82900000 (32-bit, non-prefetchable) [size=256K]
Memory at 82940000 (32-bit, non-prefetchable) [size=4K]
Capabilities:
07:00.0 USB controller: Intel Corporation Device 15d4 (rev 02) (prog-if 30 [XHCI])
Subsystem: Intel Corporation Device 0000
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 38
Memory at 82800000 (32-bit, non-prefetchable) [size=64K]
Capabilities:
08:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] (prog-if 00 [Normal decode])
Physical Slot: 1-2
Flags: bus master, fast devsel, latency 0, IRQ 56
Bus: primary=08, secondary=09, subordinate=40, sec-latency=0
Memory behind bridge: 82c00000-847fffff
Capabilities:
09:01.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 57
Bus: primary=09, secondary=0a, subordinate=0a, sec-latency=0
Memory behind bridge: 83000000-847fffff
Capabilities:
09:04.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] (prog-if 00 [Normal decode])
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 58
Bus: primary=09, secondary=0b, subordinate=40, sec-latency=0
Memory behind bridge: 82c00000-82cfffff
Prefetchable memory behind bridge: 0000000082d00000-0000000082dfffff
Capabilities:
0a:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device 3791
Flags: fast devsel, IRQ 19
Memory at 83000000 (32-bit, non-prefetchable) [size=16M]
Memory at
0a:00.1 Audio device: NVIDIA Corporation Device 10f0 (rev a1)
Subsystem: Gigabyte Technology Co., Ltd Device 3791
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 84080000 (32-bit, non-prefetchable) [size=16K]
Capabilities:
0b:00.0 USB controller: Intel Corporation DSL6540 USB 3.1 Controller [Alpine Ridge] (prog-if 30 [XHCI])
Subsystem: Gigabyte Technology Co., Ltd DSL6540 USB 3.1 Controller [Alpine Ridge]
Physical Slot: 0-2
Flags: bus master, fast devsel, latency 0, IRQ 59
Memory at 82c00000 (32-bit, non-prefetchable) [size=64K]
Capabilities:
7a:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 31
Bus: primary=7a, secondary=7b, subordinate=ef, sec-latency=0
I/O behind bridge: 0000a000-0000cfff
Prefetchable memory behind bridge: 000000009ec00000-00000000ad3fffff
Capabilities:
7b:00.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 32
Bus: primary=7b, secondary=7c, subordinate=7c, sec-latency=0
Capabilities:
7b:01.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) (prog-if 00 [Normal decode])
Physical Slot: 1-1
Flags: bus master, fast devsel, latency 0, IRQ 33
Bus: primary=7b, secondary=7e, subordinate=b6, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Prefetchable memory behind bridge: 000000009ec00000-00000000a5dfffff
Capabilities:
7b:02.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 34
Bus: primary=7b, secondary=7d, subordinate=7d, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Prefetchable memory behind bridge: 00000000a5e00000-00000000a61fffff
Capabilities:
7b:04.0 PCI bridge: Intel Corporation Device 15d3 (rev 02) (prog-if 00 [Normal decode])
Physical Slot: 2-1
Flags: bus master, fast devsel, latency 0, IRQ 35
Bus: primary=7b, secondary=b7, subordinate=ef, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Prefetchable memory behind bridge: 00000000a6200000-00000000ad3fffff
Capabilities:
7c:00.0 System peripheral: Intel Corporation Device 15d2 (rev 02)
Subsystem: Intel Corporation Device 0000
Flags: fast devsel, IRQ 18
Memory at
7d:00.0 USB controller: Intel Corporation Device 15d4 (rev 02) (prog-if 30 [XHCI])
Subsystem: Intel Corporation Device 0000
Physical Slot: 0-1
Flags: fast devsel, IRQ 16
Memory at
@matt-deboer
I got the gpu working! However, I still have some dmesg errors that seem bad. Any ideas if I need to fix these / how to fix these ? If anyone is curious, as to how I fixed it: I had add the ppa repo, install nvidia-396 through the "additional drivers", then: echo 1 > /sys/bus/pci/devices/0000\:00\:01.1/remove echo 1 > /sys/bus/pci/devices/0000\:00\:01.2/remove echo 1 > /sys/bus/pci/rescan dmesg errors: [ 0.069522] ACPI Error: AE_NO_MEMORY, SSDT 0xFFFF8F5EEBC5E800 Table is duplicated (20180313/tbdata-528) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU0.GCAP, AE_ALREADY_EXISTS (20180313/psparse-516) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU0._OSC, AE_ALREADY_EXISTS (20180313/psparse-516) [ 0.069522] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU1.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU1._OSC, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU2.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU2._OSC, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU3.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU3._OSC, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU4.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU4._OSC, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU5.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU5._OSC, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU6.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.069522] ACPI Error: Method parse/execution failed _PR.CPU6._OSC, AE_NOT_FOUND (20180313/psparse-516) [ 0.069730] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.069742] ACPI Error: Method parse/execution failed _PR.CPU7.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.069746] ACPI Error: Method parse/execution failed _PR.CPU7._OSC, AE_NOT_FOUND (20180313/psparse-516) [ 0.069746] ACPI Error: AE_NO_MEMORY, SSDT 0xFFFF8F5EEB828800 Table is duplicated (20180313/tbdata-528) [ 0.069746] ACPI Error: Method parse/execution failed _PR.CPU0.GCAP, AE_ALREADY_EXISTS (20180313/psparse-516) [ 0.072004] ACPI Error: Method parse/execution failed _PR.CPU0._PDC, AE_ALREADY_EXISTS (20180313/psparse-516) [ 0.072405] ACPI Error: AE_NO_MEMORY, SSDT 0xFFFF8F5EEBC07000 Table is duplicated (20180313/tbdata-528) [ 0.072413] ACPI Error: Method parse/execution failed _PR.CPU1.APPT, AE_ALREADY_EXISTS (20180313/psparse-516) [ 0.072421] ACPI Error: Method parse/execution failed _PR.CPU1.GCAP, AE_ALREADY_EXISTS (20180313/psparse-516) [ 0.072421] ACPI Error: Method parse/execution failed _PR.CPU1._PDC, AE_ALREADY_EXISTS (20180313/psparse-516) [ 0.072421] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.072421] ACPI Error: Method parse/execution failed _PR.CPU2.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.072421] ACPI Error: Method parse/execution failed _PR.CPU2._PDC, AE_NOT_FOUND (20180313/psparse-516) [ 0.072597] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.072609] ACPI Error: Method parse/execution failed _PR.CPU3.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.072614] ACPI Error: Method parse/execution failed _PR.CPU3._PDC, AE_NOT_FOUND (20180313/psparse-516) [ 0.072892] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.072904] ACPI Error: Method parse/execution failed _PR.CPU4.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.072909] ACPI Error: Method parse/execution failed _PR.CPU4._PDC, AE_NOT_FOUND (20180313/psparse-516) [ 0.073186] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.073198] ACPI Error: Method parse/execution failed _PR.CPU5.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.073202] ACPI Error: Method parse/execution failed _PR.CPU5._PDC, AE_NOT_FOUND (20180313/psparse-516) [ 0.073480] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.073492] ACPI Error: Method parse/execution failed _PR.CPU6.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.073497] ACPI Error: Method parse/execution failed _PR.CPU6._PDC, AE_NOT_FOUND (20180313/psparse-516) [ 0.073773] ACPI BIOS Error (bug): Failure looking up [_SB.OSCP], AE_NOT_FOUND (20180313/psargs-330) [ 0.073785] ACPI Error: Method parse/execution failed _PR.CPU7.GCAP, AE_NOT_FOUND (20180313/psparse-516) [ 0.073790] ACPI Error: Method parse/execution failed _PR.CPU7._PDC, AE_NOT_FOUND (20180313/psparse-516) [ 1.144850] DMAR: Failed to find handle for ACPI object _SB.PCI0.UA00 [ 1.144855] DMAR: Failed to find handle for ACPI object _SB.PCI0.UA01 [ 1.144857] DMAR: Failed to find handle for ACPI object _SB.PCI0.UA02 [ 6.704790] appletb: Failed to set touchbar display to 1 (-32) [ 6.728298] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43602-pcie for chip BCM43602/2 [ 6.981098] Bluetooth: hci0: BCM: failed to write update baudrate (-16) [ 6.981127] Bluetooth: hci0: Failed to set baudrate [ 7.054224] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43602-pcie for chip BCM43602/2 [ 7.054260] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 7.054973] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43602/2 wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c [ 7.486749] usbhid 7-2.2:1.1: couldn't find an input interrupt endpoint [ 49.006291] hdaudio hdaudioC2D0: no AFG or MFG node found [ 49.006298] hdaudio hdaudioC2D1: no AFG or MFG node found [ 49.006303] hdaudio hdaudioC2D2: no AFG or MFG node found [ 49.006307] hdaudio hdaudioC2D3: no AFG or MFG node found [ 49.006312] hdaudio hdaudioC2D4: no AFG or MFG node found [ 49.006316] hdaudio hdaudioC2D5: no AFG or MFG node found [ 49.006321] hdaudio hdaudioC2D6: no AFG or MFG node found [ 49.006326] hdaudio hdaudioC2D7: no AFG or MFG node found [ 49.006327] snd_hda_intel 0000:b9:00.1: no codecs initialized [ 54.972256] xhci_hcd 0000:ba:00.0: can't setup: -19 [ 54.972319] xhci_hcd 0000:ba:00.0: init 0000:ba:00.0 fail, -19 [ 56.450755] usbhid 7-2.2:1.1: couldn't find an input interrupt endpoint [ 104.853827] brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-52
@jacooba glad you got it working; I don't see nearly that many kernel error messages -- are you using refind with osx spoofing? I found that without this, I generally saw more errors, and notably, my thunderbolt dock and external monitors were not detected.
I was finally able to get my setup working on ubuntu 18.04, but that was after quite a few changes--I need to do a clean reinstall to filter out the unnecessary steps.
Closing this for now, as there hasn't been any activity for a while now anymore. Feel free to reopen if necessary.
macbookpro 14,3 ...
@matt-deboer I realize I’m late to the party but, eGPU usage on a nonMacOS operating system is unsupported by Apple, the EFI is set up to block this functionality. Secondly, NVidia GPUs aren’t officially supported by Apple either under macOS.
217/5000 can you please help me i have a mac book pro (2017) + Razer CoreX with Geforce RTX2080 super and i want to run it on Ubuntu 18.04 to speed up processes with tensorflow.
The problem is when I restart the laptop with the eGPU connected, it does not turn on, it remains black ...
$ lspci -k | grep NVIDIA b9:00.0 VGA compatible controller: NVIDIA Corporation Device 1e81 (rev a1) b9:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1) b9:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1) b9:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)
$ nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
I followed the procedures that show up to ...
adding pci=realloc to my kernel parameters OK. but ..
$ echo 1 > /sys/bus/pci/devices/0000:00:01.1/remove bash: /sys/bus/pci/devices/0000:00:01.1/remove: Permission denied
i cant change the permission..
can you help me, please I'm not a Linux expert excuse me Thank you
217/5000 can you please help me i have a mac book pro (2017) + Razer CoreX with Geforce RTX2080 super and i want to run it on Ubuntu 18.04 to speed up processes with tensorflow:
$ lspci -k | grep NVIDIA b9:00.0 VGA compatible controller: NVIDIA Corporation Device 1e81 (rev a1) b9:00.1 Audio device: NVIDIA Corporation Device 10f8 (rev a1) b9:00.2 USB controller: NVIDIA Corporation Device 1ad8 (rev a1) b9:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1)
$ nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
I followed the procedures that show up to ...
adding pci=realloc to my kernel parameters OK. but ..
$ echo 1 > /sys/bus/pci/devices/0000:00:01.1/remove bash: /sys/bus/pci/devices/0000:00:01.1/remove: Permission denied
i cant change the permission..
can you help me, please I'm not a Linux expert excuse me Thank you
You might want to take stock of the repository you’re in. This is for getting T series chip equipped Macs to run new versions of Linux. This particular issue is about running an eGPU.
...take stock of the repository you’re in..... ??? what does this mean ... excuse me but I'm not an expert
$ lspci -vt -[0000:00]-+-00.0 Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers +-01.0-[01]--+-00.0 Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460/560D / Pro 450/455/460/555/560] | -00.1 Advanced Micro Devices, Inc. [AMD/ATI] Device aae0 +-01.1-[04-79]----00.0-[05-79]--+-00.0-[06]----00.0 Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] | +-01.0-[08-40]-- | +-02.0-[07]----00.0 Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] | -04.0-[41-79]-- +-01.2-[7a-ef]----00.0-[7b-ef]--+-00.0-[7c]----00.0 Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] | +-01.0-[7e-b6]-- | +-02.0-[7d]----00.0 Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] | -04.0-[b7-ef]----00.0-[b8-b9]----01.0-[b9]--+-00.0 NVIDIA Corporation Device 1e81 | +-00.1 NVIDIA Corporation Device 10f8 | +-00.2 NVIDIA Corporation Device 1ad8 | -00.3 NVIDIA Corporation Device 1ad9 +-14.0 Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller +-15.0 Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 +-16.0 Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 +-19.0 Intel Corporation 100 Series/C230 Series Chipset Family Serial IO UART Controller #2 +-1b.0-[02]----00.0 Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 +-1c.0-[03]----00.0 Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC +-1e.0 Intel Corporation 100 Series/C230 Series Chipset Family Serial IO UART #0 +-1e.1 Intel Corporation 100 Series/C230 Series Chipset Family Serial IO UART #1 +-1e.2 Intel Corporation 100 Series/C230 Series Chipset Family Serial IO GSPI #0 +-1e.3 Intel Corporation 100 Series/C230 Series Chipset Family Serial IO GSPI #1 +-1f.0 Intel Corporation Sunrise Point-H LPC Controller +-1f.2 Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controlle
Jorge it means you are not asking this in the right place at all. Permission denied might be because you need to run as root. Try asking for help somewhere else.
Ahhhh /.... Ok ... I did it i found this comand:
echo 1 | sudo tee /sys/bus/pci/devices/0000\:00\:01.2/remove [sudo] password for jorgeandrespenaaraya: tee: '/sys/bus/pci/devices/0000:00:01.2/remove': Permission denied 1
can you give me any suggestion Thank you
macbookpro 14,3 ubuntu 18.04, linux 4.15.0-20-generic
Plugging in the external GPU results in the following kernel messages:
any ideas where to start?