小编MTi*_*ita的帖子

Ubuntu 20.04 上的 AMD 和 NVIDIA GPU

我最近获得了 AMD Radeon RX 5700 XT 卡,并且我已经有一段时间将 GeForce RTX 2070 作为我的主要 GPU。我试图将它们一起运行并在将 AMD 卡安装为主要卡并在需要时使用 Prime-run 在 NVIDA 卡上运行应用程序后设法在 manjaro 上执行此操作,现在我正在尝试返回 Ubuntu,我可以不会运行相同的配置。

  1. 即使安装后,prime-run 也根本无法工作 nvidia-prime
  2. 使用 env vars 运行任何东西都__NV_PRIME_RENDER_OFFLOAD=2 __GLX_VENDOR_LIBRARY_NAME=nvidia不起作用
root@my-pc:~#__NV_PRIME_RENDER_OFFLOAD=2 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep OpenGL
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  39
  Current serial number in output …
Run Code Online (Sandbox Code Playgroud)

nvidia xorg graphics amd-graphics 20.04

6
推荐指数
2
解决办法
3143
查看次数

标签 统计

20.04 ×1

amd-graphics ×1

graphics ×1

nvidia ×1

xorg ×1