AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / computer / 问题 / 1475192
Accepted
Richard
Richard
Asked: 2019-08-26 12:17:11 +0800 CST2019-08-26 12:17:11 +0800 CST 2019-08-26 12:17:11 +0800 CST

Razer Core X eGPU 在 Thinkpad + Lubuntu 18.04 中不工作

  • 772

我刚刚第一次将带有 eGPU 的 Razor Core X 连接到我的 Thinkpad。风扇在旋转,但nvidia-smi没有显示 eGPU。

我能做些什么?

linux ubuntu
  • 1 1 个回答
  • 1190 Views

1 个回答

  • Voted
  1. Best Answer
    Richard
    2019-08-26T12:17:11+08:002019-08-26T12:17:11+08:00

    首先,检查dmesg | tail -n 200. 它可能会显示如下内容:

    [   74.959198] thunderbolt 0000:06:00.0: current switch config:
    [   74.959201] thunderbolt 0000:06:00.0:  Switch: 8086:15da (Revision: 6, TB Version: 2)
    [   74.959202] thunderbolt 0000:06:00.0:   Max Port Number: 11
    [   74.959203] thunderbolt 0000:06:00.0:   Config:
    [   74.959204] thunderbolt 0000:06:00.0:    Upstream Port Number: 1 Depth: 1 Route String: 0x3 Enabled: 1, PlugEventsDelay: 254ms
    [   74.959205] thunderbolt 0000:06:00.0:    unknown1: 0x0 unknown4: 0x0
    [   74.999560] thunderbolt 0000:06:00.0: 3: reading drom (length: 0x56)
    [   75.301575] thunderbolt 0000:06:00.0: 3: uid: 0x1279cc9b0ba8400
    [   75.301686] thunderbolt 0000:06:00.0:  Port 0: 8086:15d3 (Revision: 6, TB Version: 1, Type: Port (0x1))
    [   75.301689] thunderbolt 0000:06:00.0:   Max hop id (in/out): 7/7
    [   75.301692] thunderbolt 0000:06:00.0:   Max counters: 8
    [   75.301694] thunderbolt 0000:06:00.0:   NFC Credits: 0x800000
    [   75.302174] thunderbolt 0000:06:00.0:  Port 1: 8086:15d3 (Revision: 6, TB Version: 1, Type: Port (0x1))
    [   75.302178] thunderbolt 0000:06:00.0:   Max hop id (in/out): 15/15
    [   75.302180] thunderbolt 0000:06:00.0:   Max counters: 16
    [   75.302183] thunderbolt 0000:06:00.0:   NFC Credits: 0x7800000
    [   75.302681] thunderbolt 0000:06:00.0:  Port 2: 8086:15d3 (Revision: 6, TB Version: 1, Type: Port (0x1))
    [   75.302683] thunderbolt 0000:06:00.0:   Max hop id (in/out): 15/15
    [   75.302685] thunderbolt 0000:06:00.0:   Max counters: 16
    [   75.302687] thunderbolt 0000:06:00.0:   NFC Credits: 0x0
    [   75.302689] thunderbolt 0000:06:00.0: 3:3: disabled by eeprom
    [   75.302691] thunderbolt 0000:06:00.0: 3:4: disabled by eeprom
    [   75.302692] thunderbolt 0000:06:00.0: 3:5: disabled by eeprom
    [   75.302806] thunderbolt 0000:06:00.0:  Port 6: 8086:15d3 (Revision: 6, TB Version: 1, Type: PCIe (0x100102))
    [   75.302808] thunderbolt 0000:06:00.0:   Max hop id (in/out): 8/8
    [   75.302809] thunderbolt 0000:06:00.0:   Max counters: 2
    [   75.302811] thunderbolt 0000:06:00.0:   NFC Credits: 0x800000
    [   75.302960] thunderbolt 0000:06:00.0:  Port 7: 8086:15d3 (Revision: 6, TB Version: 1, Type: PCIe (0x100101))
    [   75.302962] thunderbolt 0000:06:00.0:   Max hop id (in/out): 8/8
    [   75.302964] thunderbolt 0000:06:00.0:   Max counters: 2
    [   75.302966] thunderbolt 0000:06:00.0:   NFC Credits: 0x800000
    [   75.302967] thunderbolt 0000:06:00.0: 3:8: disabled by eeprom
    [   75.302969] thunderbolt 0000:06:00.0: 3:9: disabled by eeprom
    [   75.302971] thunderbolt 0000:06:00.0: 3:a: disabled by eeprom
    [   75.302973] thunderbolt 0000:06:00.0: 3:b: disabled by eeprom
    

    这表明存在权限/安全问题。

    让我们安装 Thunderbolt 管理工具,以便我们修复它:

    sudo apt install thunderbolt-tools
    

    现在,让我们检查一下 Thunderbolt 是否看到了扩展坞:

    root@mymachine:~# tbtadm devices
    0-4 Razer Core X  non-authorized  not in ACL
    

    确实如此!

    现在,让我们授权码头:

    tbtadm approve 0-4
    

    由此可见:

    Authorizing "/sys/bus/thunderbolt/devices/0-4"
    Already in ACL
    system:5 Input/output error
    

    拔下并重新插入扩展坞并dmesg再次查看显示:

    [11187.232181] thunderbolt 0000:06:00.0: PCIe tunnel creation failed
    

    所以我们再看一下迅雷:

    root@mymachine:~# tbtadm devices
    0-4 Razer Core X  non-authorized  in ACL
    

    而且,确实,我们可以看到扩展坞已连接:

    root@mymachine:~# tbtadm acl
    0XXXXXb0-XXXX-XXXX-ffff-ffffffffffff  Razer Core X  connected
    

    让我们尝试手动授权:

    root@mymachine:~# echo '1' > /sys/bus/thunderbolt/devices/0-4/authorized 
    -bash: echo: write error: Input/output error
    

    在这一点上,我怀疑 BIOS 可能是问题所在。所以,重新启动,拉起 BIOS 设置。它在“用户授权”中,但让我们使用核“无安全性”选项(可能很好地弄清楚如何稍后再次锁定): BIOS 雷电设置

    此时,再次启动机器。

    在插入 GPU 之前,请确保您已加载 Nvidia 驱动程序:

    sudo modprobe nvidia-uvm
    

    并尝试找到 GPU:

    nvidia-smi
    

    成功!

    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 418.87.00    Driver Version: 418.87.00    CUDA Version: 10.1     |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  GeForce RTX 208...  Off  | 00000000:3D:00.0 Off |                  N/A |
    | 15%   36C    P0     1W / 250W |      0MiB / 10989MiB |      0%      Default |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID   Type   Process name                             Usage      |
    |=============================================================================|
    |  No running processes found                                                 |
    +-----------------------------------------------------------------------------+
    

    根据本文档,BIOS 设置意味着:

    • 无安全性:允许自动连接 Thunderbolt 设备。
    • 用户授权:允许在用户授权后连接 Thunderbolt 设备。
    • 安全连接:允许 Thunderbolt 设备使用已被用户批准的已保存密钥进行连接。
    • 显示端口和 USB:仅允许连接显示输出和 USB 设备。不允许连接迅雷设备
    • 4

相关问题

  • 对于 cp 或 mv,是否有等同于 cd - 的东西?

  • vmwared 共享文件夹不工作

  • 以 root 身份运行 docker 容器

  • 如何在域和 Linux 活动目录中启用指纹传感器

  • 如何在CentOS 7 中将Ctrl+C 永久更改为Ctrl+K?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    Windows 10 服务称为 AarSvc_70f961。它是什么,我该如何禁用它?

    • 2 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Marko Smith

    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] 证书验证失败:无法获取本地颁发者证书 (_ssl.c:1056)

    • 4 个回答
  • Marko Smith

    我如何知道 Windows 安装在哪个驱动器上?

    • 6 个回答
  • Martin Hope
    Albin 支持结束后如何激活 WindowsXP? 2019-11-18 03:50:17 +0800 CST
  • Martin Hope
    fixer1234 “HTTPS Everywhere”仍然相关吗? 2019-10-27 18:06:25 +0800 CST
  • Martin Hope
    Kagaratsch Windows 10 删除大量小文件的速度非常慢。有什么办法可以加快速度吗? 2019-09-23 06:05:43 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    Inter Sys Ctrl+C 和 Ctrl+V 是如何工作的? 2019-05-15 02:51:21 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve