← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1875339] [NEW] xorg does not use nvidia gpu on a I+N machine.

 

You have been subscribed to a public bug:

SRU Request:

[Test Case]
1) Enable the -proposed repository, and install the new ubuntu-drivers-common (1:0.8.1.1).

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+really.440.64-0ubuntu6).

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_query_renderer):
    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_uvm,nvidia_modeset
drm_kms_helper        184320  2 nvidia_drm,i915
ipmi_msghandler       106496  2 ipmi_devintf,nvidia
drm                   491520  11 drm_kms_helper,nvidia_drm,i915
---

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
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 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'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 27 18:58:04 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
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=/boot/vmlinuz-5.4.0-26-generic root=UUID=8c0e264c-f63c-4d5a-b85f-6faf4008b9e6 ro quiet splash vt.handoff=7
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.:bvr1.5.1:bd08/21/2019:svnDellInc.:pnPrecision3541:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:
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.libgl1-mesa-dri: libgl1-mesa-dri 20.0.4-2ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200226-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

** Affects: oem-priority
     Importance: High
     Assignee: Yuan-Chen Cheng (ycheng-twn)
         Status: Fix Released

** Affects: ubuntu-translations
     Importance: Undecided
         Status: New

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: High
     Assignee: Alberto Milone (albertomilone)
         Status: Fix Released

** Affects: ubuntu-drivers-common (Ubuntu Focal)
     Importance: High
     Assignee: Alberto Milone (albertomilone)
         Status: Fix Released


** Tags: amd64 apport-bug focal hybrid nvidia oem-priority ubuntu verification-done-focal verification-needed
-- 
xorg does not use nvidia gpu on a I+N machine.
https://bugs.launchpad.net/bugs/1875339
You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations.