对于某些 flatpak 应用程序,最好使用专用 GPU,但是当您无法在沙盒应用程序中运行通常的测试命令时,如何确保 PRIME 正确卸载?
有一个类似的问题,我一直在 askubuntu 上关注这个答案:https ://askubuntu.com/a/1158183/254943 。这个解决方案完全符合我的要求。可悲的是,在最近的更新之后,该解决方案停止工作,Xorg 现在再次使用 nvidia。
- | NVIDIA-SMI 450.66 驱动程序版本:450.66 CUDA 版本:11.0 |
- Linux XXX 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- 等离子壳 5.18.5 | Qt:5.12.8 | KDE 框架:5.68.0 | kf5-配置:1.0
$ cat /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
# DO NOT EDIT. AUTOMATICALLY GENERATED BY gpu-manager
Section "OutputClass"
Identifier "Nvidia Prime"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "IgnoreDisplayDevices" "CRT"
# Option "PrimaryGPU" "Yes" <<< commented out
ModulePath "/x86_64-linux-gnu/nvidia/xorg"
EndSection
# added
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
Option "PrimaryGPU" "yes"
EndSection
我试图自己调试它,但我无法修复它。
$ nvidia-smi # shows running process /usr/lib/xorg/Xorg
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.66 Driver Version: 450.66 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 105... Off | 00000000:01:00.0 Off | N/A |
| N/A 50C P8 N/A / N/A | 6MiB / 4040MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1257 G /usr/lib/xorg/Xorg 4MiB |
+-----------------------------------------------------------------------------+
在 XPS 15 9560 上使用 Ubuntu 20.04,我安装了该system76-power
软件包以随意禁用 GPU,因为 90% 的时间我都不需要它。它完美地工作了几个月,但现在我在它和一个nvidia-prime
包之间发生了冲突(可能来自nvidia-driver-440/focal-updates 450.66-0ubuntu0.20.04.1
.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
system76-power : Conflicts: nvidia-prime
E: Broken packages
我该如何解决这个冲突?
我应该提到我不能用 apt 升级,因为它会阻塞整个过程(我可以升级单个包,但我更愿意先解决这个问题)。
我没有安装内存nvidia-prime
,但它可能已由驱动程序实用程序自动安装。
我在新安装的 Kubuntu 20.04.1 上安装了 Nvidia 450。
Prime Render Offload 在手动模式下工作__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
但是nvidia-settings
说不支持素数。因此,如下所示,我在 nvidia 窗口中没有主要条目。
所以我认为集成 GPU 和 nvidia GPU 之间的切换不会是自动的,并且“按需”不起作用。
怎么了 ?谢谢您的帮助。
电脑: 华硕A17-TUF766IU-H7074T
操作系统详细信息: Kubuntu 20.04.1 与主线 5.8.8 内核 Nvidia 驱动程序版本:450.66 桌面环境:等离子窗口管理器:KDE
硬件细节 处理器:AMD Ryzen 4800H GPU:GeForce GTX 1660 Ti 6 Go
meloli@Asus-A17:~$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | egrep "(OpenGL vendor|OpenGL renderer|OpenGL version)"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1660 Ti/PCIe/SSE2
OpenGL version string: 4.6.0 NVIDIA 450.66
meloli@Asus-A17:~$ glxinfo | egrep "(OpenGL vendor|OpenGL renderer|OpenGL version)"
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RENOIR (DRM 3.38.0, 5.8.8-050808-generic, LLVM 10.0.0)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.8
和
meloli@Asus-A17:~$ nvidia-settings
(nvidia-settings:6099): GLib-GObject-CRITICAL **: 14:05:53.205: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
ERROR: nvidia-settings could not find the registry key file. This file should have been installed along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the README for possible values and
descriptions.
** Message: 14:05:53.270: PRIME: No offloading required. Abort
** Message: 14:05:53.271: PRIME: is it supported? no
更改为 Intel(省电模式)后,Nvidia X-server 设置没有显示任何内容。我现在需要激活 GPU,但无法激活它。
$ sudo lshw -c display
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:50 memory:99000000-99ffffff memory:a0000000-afffffff ioport:5000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GK208BM [GeForce 920M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:16 memory:9a000000-9affffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:3000(size=128) memory:9b000000-9b07ffff
$ sudo nvidia-settings
ERROR: Unable to load info from any available system
(nvidia-settings:45705): GLib-GObject-CRITICAL **: 16:53:23.943: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 16:53:23.948: PRIME: No offloading required. Abort
** Message: 16:53:23.948: PRIME: is it supported? no
我希望有一个我无法解决的快速问题:
我安装了 Ubuntu 20.04,(顺便说一句很棒的发行版)。我在主要设置上使用“按需”配置文件运行 NVIDIA 驱动程序。
我所要做的就是右键单击程序的图标并选择“使用专用显卡启动”,一切都很好。它运行顺利。如果我不这样做,则性能“不稳定”,因为它使用的是 Intel 显卡而不是 NVIDIA。
(顺便说一句,如果我在 PRIME 配置文件上将驱动程序置于“性能”模式。无论如何,程序都会获得英特尔卡,我不知道为什么会这样,但我在“按需”模式下工作得很好.
但是....这是我的问题:
我有几个像 Meshroom 这样的程序,它们不使用安装程序或软件包,而是直接在终端中使用二进制文件运行。
但是当我执行它时,它总是得到英特尔显卡”。
你知道我需要在命令行上放哪一行(或小脚本中的行)来执行带有专用图形支持的命令吗?
我一直在环顾四周,Ubuntu 16 和 18 的方法(例如将“DRI_PRIME=1”放在命令前面)似乎不适用于这个新版本。
非常感谢。我非常感谢您的回答、见解或建议。:)
祝你有美好的一天。注意安全。
我在 Ubuntu 19.10 上安装了 Nvidia 专有驱动程序。
在 Prime Profiles 部分,有三个选项:
* NVIDIA(性能模式)
* NVIDIA On-Demand
* Intel(省电模式)
第一个和最后一个选项很明显,但我不知道第二个选项是如何工作的。它如何检测哪些应用程序需要 NVIDIA 驱动程序而哪些不需要?
从主题中可以猜到,我有一台 Optimus 笔记本电脑。只要我运行的是 19.04,我就可以使用 Prime(通过prime-select {intel|nvidia}
命令)切换到 Nvidia dGPU 并返回。升级到 19.10 后情况发生了变化:升级后的第二天,系统冻结,内核抱怨某些任务被卡住,例如一个任务rmmod
。prime-select nvidia
我设法通过在 chroot root 登录环境中运行来取回我的系统。
我不会过多介绍诸如从 initramfs 中删除 iGPU/dGPU 驱动程序的细节(无论如何,这些对 initramfs 有什么作用?),但现在它至少可以启动,无论是否激活了 dGPU 启动.
这就是我遇到问题的地方:如果我的系统启动并激活了 intel 配置文件,则切换到 nvidia 配置文件不起作用,因为硬件中未检测到 dGPU。事实上,它不在 lspci 列表中。我必须重新启动才能再次检测到 dGPU。因此,当我关闭我的系统时,我应该总是考虑事先激活 nvidia 配置文件,否则我必须重新启动才能下次使用它。
这是我的主要问题。另一个不那么烦人的问题是,从 nvidia 切换到 intel 时,我总是必须重新启动 gdm 服务。我可以忍受,但这是我在 19.04 中没有的问题。
欢迎就这个问题提出建议!要么防止 dGPU 从硬件列表中消失,要么让系统再次检测到它,而无需重新启动。
Fwiw,我的 iGPU 是 Intel HD Graphics 4600,而我的 dGPU 是 Nvidia GTX 880M。
编辑: @Syfer Polski,感谢您提供信息丰富的回复!
我注意到有一个按需配置文件,但我放弃了它,因为它可能是一些无用的尝试,因为我不久前读到真正有效的 Optimus 实现不会很快出现......我应该阅读那个自述文件!
因此,我立即尝试了该按需配置文件。起初它不起作用,因为我有不支持它的 430 驱动程序。应该有一些驱动程序检查拒绝为没有运行支持版本的人启用配置文件,我怀疑这就是我的系统崩溃的原因,因为在升级期间自动激活了按需配置文件(仅假设我没有t 检查时间)。
无论如何......所以我安装了 435 驱动程序,并且确实按需配置文件有效。但是,我觉得它不够令人满意,因为我的 GPU 在不使用时没有关闭电源,并且如果关闭我自己不起作用则尝试打开电源。我尝试通过直接 ACPI 调用关闭它,确实它关闭了,但是:
NVRM: GPU at PCI:0000:01:00: GPU-9b8a3387-4913-0c33-619e-da118e532a5f
NVRM: Xid (PCI:0000:01:00): 79, pid=29013, GPU has fallen off the bus.
NVRM: GPU 0000:01:00.0: GPU has fallen off the bus.
NVRM: A GPU crash dump has been created. If possible, please run
NVRM: nvidia-bug-report.sh as root to collect this data before
NVRM: the NVIDIA kernel module is unloaded.
所以,对我来说不幸的是,只要专有驱动程序在不使用时无法关闭我的 dGPU,我想我会坚持使用经典的英特尔/英伟达配置文件系统。
当我在启用英特尔模式的情况下启动时,这让我回到了最初的问题:如何在不重新启动的情况下恢复我的 dGPU?
重新扫描 ( echo 1 >/sys/bus/pci/rescan
) 在日志中显示它:
pci 0000:01:00.0: [10de:1198] type 00 class 0x030000
pci 0000:01:00.0: reg 0x10: [mem 0xf6000000-0xf6ffffff]
pci 0000:01:00.0: reg 0x14: [mem 0xe0000000-0xefffffff 64bit pref]
pci 0000:01:00.0: reg 0x1c: [mem 0xf0000000-0xf1ffffff 64bit pref]
pci 0000:01:00.0: reg 0x24: [io 0xe000-0xe07f]
pci 0000:01:00.0: reg 0x30: [mem 0xf7000000-0xf707ffff pref]
pci 0000:01:00.0: 32.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x16 link at 0000:00:01.0 (capable of 126.016 Gb/s with 8 GT/s x16 link)
pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
但 lspci 保持沉默。我可以通过 ACPI 调用随意打开/关闭设备,内核在重新扫描时显示它,但驱动程序没有检测到它,因此不会加载。一定有事可做,但怎么办?
通过图形驱动程序 PPA试验前沿驱动程序
双 GPU 笔记本电脑,Ubuntu Budgie w/nvidia-driver-418
在大约 15 秒的日志记录后冻结屏幕,除了鼠标,所以我尝试了 nvidia-410 和 415,它只是有时加载。
nvidia-settings
抛出错误ERROR: Unable to load info from any available system
Linux skyhawk 4.18.0-17-generic #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
nvidia-smi
Mon Apr 15 22:46:46 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 415.27 Driver Version: 415.27 CUDA Version: 10.0 |
|-------------------------------+----------------------+----------------------+
| 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 GTX 860M Off | 00000000:01:00.0 Off | N/A |
| N/A 55C P8 N/A / N/A | 2MiB / 2004MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
dmesg
7.073081] PKCS#7 signature not signed with a trusted key
[ 7.073095] nvidia: loading out-of-tree module taints kernel.
[ 7.073102] nvidia: module license 'NVIDIA' taints kernel.
[ 7.073102] Disabling lock debugging due to kernel taint
[ 7.077684] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 7.082249] iwlwifi 0000:08:00.0: base HW address: e8:2a:ea:2a:79:b6
[ 7.085970] intel_rapl: Found RAPL domain package
[ 7.085972] intel_rapl: Found RAPL domain core
[ 7.085972] intel_rapl: Found RAPL domain uncore
[ 7.085973] intel_rapl: Found RAPL domain dram
[ 7.085975] intel_rapl: RAPL package 0 domain package locked by BIOS
[ 7.086116] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 7.086397] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 7.086451] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.PEG0._PRT.AR02], AE_NOT_FOUND (20180531/psargs-330)
[ 7.086459] No Local Variables are initialized for Method [_PRT]
[ 7.086460] No Arguments are initialized for method [_PRT]
[ 7.086462] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0._PRT, AE_NOT_FOUND (20180531/psparse-516)
[ 7.186041] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.27 Thu Dec 20 17:25:03 CST 2018 (using threaded interrupts)
[ 7.191194] PKCS#7 signature not signed with a trusted key
[ 7.214782] PKCS#7 signature not signed with a trusted key
[ 7.215491] PKCS#7 signature not signed with a trusted key
[ 7.215754] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 415.27 Thu Dec 20 17:06:08 CST 2018
[ 7.221693] PKCS#7 signature not signed with a trusted key
[ 7.222538] PKCS#7 signature not signed with a trusted key
[ 7.223063] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 7.248789] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20180531/nsarguments-66)
[ 7.304472] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[ 7.340248] Adding 16670716k swap on /dev/sda3. Priority:-2 extents:1 across:16670716k SSFS
[ 7.648887] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 7.648888] [drm] No driver support for vblank timestamp query.
[ 7.648890] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 7.663188] PKCS#7 signature not signed with a trusted key
[ 7.666364] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 236
[ 8.557995] audit: type=1400 audit(1555386280.076:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/ubuntu-core-launcher" pid=965 comm="apparmor_parser"
[ 8.558489] audit: type=1400 audit(1555386280.076:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=967 comm="apparmor_parser"
[ 8.558800] audit: type=1400 audit(1555386280.076:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=966 comm="apparmor_parser"
[ 8.559344] audit: type=1400 audit(1555386280.076:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=964 comm="apparmor_parser"
[ 8.559347] audit: type=1400 audit(1555386280.076:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=964 comm="apparmor_parser"
[ 8.559348] audit: type=1400 audit(1555386280.076:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=964 comm="apparmor_parser"
[ 8.559949] audit: type=1400 audit(1555386280.076:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=969 comm="apparmor_parser"
[ 8.562885] audit: type=1400 audit(1555386280.080:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=961 comm="apparmor_parser"
[ 8.562889] audit: type=1400 audit(1555386280.080:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=961 comm="apparmor_parser"
[ 8.562891] audit: type=1400 audit(1555386280.080:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=961 comm="apparmor_parser"
[ 8.646060] PKCS#7 signature not signed with a trusted key
[ 8.646346] bbswitch: version 0.8
[ 8.646353] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 8.646360] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 8.646491] bbswitch: detected an Optimus _DSM function
[ 8.646502] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 8.768143] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 8.768145] Bluetooth: BNEP filters: protocol multicast
[ 8.768148] Bluetooth: BNEP socket layer initialized
[ 8.857865] input: lircd-uinput as /devices/virtual/input/input20
[ 9.205259] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.249926] r8169 0000:09:00.0 eth0: link down
[ 9.250014] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.254137] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9.491467] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9.504092] nvidia-uvm: Unloaded the UVM driver in 8 mode
[ 9.532167] [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
[ 9.576143] nvidia-modeset: Unloading
[ 9.612318] nvidia-nvlink: Unregistered the Nvlink Core, major device number 238
[ 9.622231] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 9.729809] bbswitch: disabling discrete graphics
[ 9.730246] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.PEG0._PRT.AR02], AE_NOT_FOUND (20180531/psargs-330)
[ 9.730258] No Local Variables are initialized for Method [_PRT]
[ 9.730259] No Arguments are initialized for method [_PRT]
[ 9.730261] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0._PRT, AE_NOT_FOUND (20180531/psparse-516)
[ 16.142019] PKCS#7 signature not signed with a trusted key
[ 16.150020] vboxdrv: Found 8 processor cores
[ 16.168352] vboxdrv: TSC mode is Invariant, tentative frequency 2394440871 Hz
[ 16.168353] vboxdrv: Successfully loaded version 5.2.18_Ubuntu (interface 0x00290001)
[ 16.174679] PKCS#7 signature not signed with a trusted key
[ 16.175038] VBoxNetFlt: Successfully started.
[ 16.181035] PKCS#7 signature not signed with a trusted key
[ 16.181313] VBoxNetAdp: Successfully started.
[ 16.188978] PKCS#7 signature not signed with a trusted key
[ 16.189288] VBoxPciLinuxInit
[ 16.193576] vboxpci: IOMMU not found (not registered)
[ 16.306057] wlan0: authenticate with 10:6f:3f:f8:d0:e4
[ 16.310742] wlan0: send auth to 10:6f:3f:f8:d0:e4 (try 1/3)
[ 16.313234] wlan0: authenticated
[ 16.319871] wlan0: associate with 10:6f:3f:f8:d0:e4 (try 1/3)
[ 16.324916] wlan0: RX AssocResp from 10:6f:3f:f8:d0:e4 (capab=0x411 status=0 aid=1)
[ 16.325876] wlan0: associated
[ 16.355404] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 20.050713] rfkill: input handler disabled
[ 20.300757] Bluetooth: RFCOMM TTY layer initialized
[ 20.300762] Bluetooth: RFCOMM socket layer initialized
[ 20.300766] Bluetooth: RFCOMM ver 1.11
[ 27.275341] PKCS#7 signature not signed with a trusted key
[ 27.292838] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 27.385783] PKCS#7 signature not signed with a trusted key
[ 27.794598] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.PEG0._PRT.AR02], AE_NOT_FOUND (20180531/psargs-330)
[ 27.794606] No Local Variables are initialized for Method [_PRT]
[ 27.794607] No Arguments are initialized for method [_PRT]
[ 27.794609] ACPI Error: Method parse/execution failed \_SB.PCI0.PEG0._PRT, AE_NOT_FOUND (20180531/psparse-516)
[ 27.894229] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 415.27 Thu Dec 20 17:25:03 CST 2018 (using threaded interrupts)
[ 27.900766] PKCS#7 signature not signed with a trusted key
[ 27.901674] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 415.27 Thu Dec 20 17:06:08 CST 2018
[ 27.903901] PKCS#7 signature not signed with a trusted key
[ 27.904954] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 28.305317] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 28.305318] [drm] No driver support for vblank timestamp query.
[ 28.305320] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 28.315254] PKCS#7 signature not signed with a trusted key
[ 28.318040] nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 236
我的笔记本电脑具有 ubuntu 18.10 以及 Intel HD620 和 Nvidia 940mx 的混合显卡。当我切换 Nvidia 图形时,它可以零延迟工作,但 Intel 图形滞后,所以我为 Intel 安装了 mesa 18.1.1。我怀疑ubuntu是否会与两个驱动程序冲突。因为我有一次禁用 IRQ #16 错误。所以我想知道安装这两个驱动程序是否可以,并且英特尔将使用 Mesa 和 Nvidia 仅使用 415.25 吗?当我使用 sudo prime-select 时,驱动程序会正确切换吗?
我将附加到最终以这种情况结束的教程。 https://github.com/lutris/lutris/wiki/How-to:-DXVK