xorg does not use nvidia gpu on a I+N machine.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Yuan-Chen Cheng | ||
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Focal |
Fix Released
|
High
|
Alberto Milone |
Bug Description
SRU Request:
[Test Case]
1) Enable the -proposed repository, and install the new ubuntu-
2) Check that the dpkg-dev package is also installed.
3) Restart your computer, and see if everything works correctly when
accessing the desktop.
[Regression Potential]
Low. No code was changed, only a missing dependency was added to solve the problem.
__________
On a machine with I+N, I install with focal 20.04 image. I didn't turn on auto-login. I checked "install 3rd party driver" during installation. It does install Nvidia driver (440.82+
On first boot, I double check by run 'prime-select query'. It return nvidia.
run nvidia-smi, no program is using NV GPU.
---
$ glxinfo -B
name of display: :1
display: :1 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_
Vendor: Intel (0x8086)
Device: Mesa Intel(R) UHD Graphics 630 (CFL GT2) (0x3e9b)
Version: 20.0.4
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
---
Run lsmod | grep nvidia, I got:
---
nvidia_uvm 970752 0
nvidia_drm 49152 0
nvidia_modeset 1114112 1 nvidia_drm
nvidia 20430848 8 nvidia_
drm_kms_helper 184320 2 nvidia_drm,i915
ipmi_msghandler 106496 2 ipmi_devintf,nvidia
drm 491520 11 drm_kms_
---
I run
$ sudo prime-select intel
$ sudo prime-select nvidia
$ sudo reboot
After reboot, nothing changed.
However, previously, on the same machine, I once get it works. (nvidia-smi show some X related process use GPU, glxinfo -B show Nvidia). I remembered I create another admin account, and later on, I found it's fixed. I didn't remember what else exactly make it happened.
I re-installed again, and try to do more tests, can't fix it so far.
LP: #1875315 have all the log that it first fixed.
---
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSign
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020
GCC version:
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 27 18:58:04 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell UHD Graphics 630 (Mobile) [1028:091a]
Subsystem: Dell GP107GLM [Quadro P620] [1028:091a]
InstallationDate: Installed on 2020-04-27 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
MachineType: Dell Inc. Precision 3541
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/21/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.5.1
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: Precision
dmi.product.name: Precision 3541
dmi.product.sku: 091A
dmi.sys.vendor: Dell Inc.
nvidia-settings:
ERROR: Unable to load info from any available system
ERROR: Unable to load info from any available system
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.
version.
version.
version.
version.
version.
version.
version.
description: | updated |
summary: |
- on first boot and XXX, xorg does not use nvidia gpu on a I+N machine. + xorg does not use nvidia gpu on a I+N machine. |
description: | updated |
Changed in oem-priority: | |
importance: | Undecided → High |
assignee: | nobody → Yuan-Chen Cheng (ycheng-twn) |
status: | New → Confirmed |
description: | updated |
tags: | added: oem-priority |
tags: | added: hybrid nvidia |
Changed in ubuntu-drivers-common (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in ubuntu-drivers-common (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
affects: | ubuntu-drivers-common → ubuntu-translations |
no longer affects: | ubuntu-translations |
Can you attach your /var/log/ gpu-manager. log after reproducing the problem, please?