NVIDIA cards should have set AllowExternalGpus in /usr/share/X11/xorg.conf.d/10-nvidia.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-440 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-450 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have a Lenovo Thunderbold 3 Graphics Dock (comes integrated NVIDIA MTX 1050 graphics card), see https:/
*What happened:*
With nvidia-
```
(WW) NVIDIA(GPU-0): This device is an external GPU, but external GPUs have not
(WW) NVIDIA(GPU-0): been enabled with AllowExternalGpus. Disabling this device
(WW) NVIDIA(GPU-0): to prevent crashes from accidental removal.
(EE) NVIDIA(0): Failing initialization of X screen 0
```
Some googling turned up https:/
After I added the `Option "AllowExternalGpus" "true"` to `Section "OutputClass"` of `/usr/share/
This is a matter for all eGPUs (external GPUs) that run NVIDIA I guess. See reports at https:/
*Possible solution*
Add this line to /usr/share/
```
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInit
# vvvvv ADD THIS LINE vvvvvvvvvvvvvvv
Option "AllowExternalGpus" "true"
# ^^^^^^^^^ ADD THIS LINE ^^^^^^^^^^^^^^^^^^^
ModulePath "/usr/lib/
EndSection
```
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xserver-
ProcVersionSign
Uname: Linux 5.4.0-33-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 2 07:30:47 2020
InstallationDate: Installed on 2019-09-19 (257 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: nvidia-
UpgradeStatus: Upgraded to focal on 2020-05-29 (3 days ago)
Changed in nvidia-graphics-drivers-450 (Ubuntu): | |
status: | New → Confirmed |
tags: | added: hirsute |
I can confirm that adding:
Option "AllowExternalGpus"
Fixes my issue. This may be the same as #1790515, too.