[Mesa 18.0 + nvidia-390] No 3D acceleration, using llvmpipe

Bug #1753663 reported by Michael
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
libglvnd (Ubuntu)
Fix Released
Undecided
Unassigned
mesa (Ubuntu)
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-390 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

As requested in https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1751414, I fill a new bug.

Even after getting the fixed packages in https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1751414, I get no 3D acceleration. Seems to be some mixup with nvidia drivers.

$glxinfo
...
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 5.0, 256 bits) (0xffffffff)
    Version: 18.0.0
    Accelerated: no
    Video memory: 15963MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
...

$ vdpauinfo
display: :1 screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu5
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
.tmp.unity_support_test.1:

ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,imgpng,snap,mousepoll,commands,imgjpeg,workarounds,wall,imgsvg,resize,place,neg,grid,scale,regex,text,shelf,expo,move,gnomecompat,annotate,session,notification,resizeinfo,ezoom,staticswitcher,bench]
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: MATE
Date: Tue Mar 6 08:00:28 2018
DistUpgraded: 2018-03-03 08:30:16,182 DEBUG /openCache(), new cache size 86475
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus:
 fwts-efi-runtime-dkms, 18.02.00, 4.15.0-10-generic, x86_64: installed
 ndiswrapper, 1.60, 4.15.0-10-generic, x86_64: installed
 r8168, 8.045.08, 4.15.0-10-generic, x86_64: installed
 tp_smapi, 0.42, 4.15.0-10-generic, x86_64: installed
 virtualbox, 5.2.8, 4.15.0-10-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation HD Graphics 5500 [8086:1616] (rev 08) (prog-if 00 [VGA controller])
   Subsystem: Intel Corporation HD Graphics 5500 [8086:1616]
MachineType: www.51nb.com X62
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-10-generic root=UUID=df422beb-6d13-4575-9b30-ad00e25a7d35 ro noquiet nosplash
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to bionic on 2018-03-03 (2 days ago)
dmi.bios.date: 12/10/2016
dmi.bios.vendor: 51NB
dmi.bios.version: 5.011
dmi.board.asset.tag: X62
dmi.board.name: CRESCENTBAY
dmi.board.vendor: INTEL Corporation
dmi.board.version: X62.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 10
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvn51NB:bvr5.011:bd12/10/2016:svnwww.51nb.com:pnX62:pvrV10:rvnINTELCorporation:rnCRESCENTBAY:rvrX62.:cvnToBeFilledByO.E.M.:ct10:cvrToBeFilledByO.E.M.:
dmi.product.family: X62
dmi.product.name: X62
dmi.product.version: V10
dmi.sys.vendor: www.51nb.com
version.compiz: compiz 1:0.9.13.1+18.04.20180302-0ubuntu1
version.libdrm2: libdrm2 2.4.90-1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc4-1ubuntu3
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.0~rc4-1ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Revision history for this message
Michael (3-ueuntu-4) wrote :
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [Mesa 18.0] No 3D acceleration, using llvmpipe

Can you tell us what nvidia package you have installed?

affects: xorg (Ubuntu) → libglvnd (Ubuntu)
summary: - No 3D acceleration, using llvmpipe
+ [Mesa 18.0] No 3D acceleration, using llvmpipe
Changed in mesa (Ubuntu):
status: New → Incomplete
Changed in libglvnd (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael (3-ueuntu-4) wrote :

a aptitude search nvidia | grep "i " gives only

"
i A libnvidia-common-390 - Shared files used by the NVIDIA libraries
i A libnvidia-gl-390 - NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
"

$ aptitude show libnvidia-common-390
Paket: libnvidia-common-390
Version: 390.25-0ubuntu4
Neu: ja
Zustand: Installiert
Automatisch installiert: ja
Multi-Arch: foreign
Priorität: optional
Bereich: restricted/libs
Verwalter: Ubuntu Core Developers <email address hidden>
Architektur: all
Unkomprimierte Größe: 31,7 k
Beschädigt: libnvidia-gl-390 (< 390.25-0ubuntu2~), libnvidia-gl-390:i386 (< 390.25-0ubuntu2~)
Ersetzt: libnvidia-common, libnvidia-gl-390 (< 390.25-0ubuntu2~), libnvidia-gl-390:i386 (< 390.25-0ubuntu2~)
Liefert: libnvidia-common, libnvidia-common-390:i386 (= 390.25-0ubuntu4)
Beschreibung: Shared files used by the NVIDIA libraries
 This package provides a set of files that are required by the NVIDIA libraries.
Homepage: http://www.nvidia.com

$ aptitude show libnvidia-gl-390
Paket: libnvidia-gl-390
Version: 390.25-0ubuntu4
Neu: ja
Zustand: Installiert
Automatisch installiert: ja
Multi-Arch: same
Priorität: optional
Bereich: restricted/libs
Verwalter: Ubuntu Core Developers <email address hidden>
Architektur: amd64
Unkomprimierte Größe: 73,2 M
Hängt ab von: libnvidia-common-390, libc6 (>= 2.2.5), libwayland-client0 (>= 1.3.92), libwayland-server0 (>= 1.2.0), libx11-6, libxext6
Empfiehlt: libnvidia-gl-390:i386
Kollidiert mit: libnvidia-gl, libnvidia-gl:i386
Beschädigt: libnvidia-gl-390:i386 (!= 390.25-0ubuntu4)
Ersetzt: libnvidia-gl, nvidia-384 (< 390.25), nvidia-384:i386 (< 390.25), nvidia-390 (< 390.25-0ubuntu1), libnvidia-gl:i386, libnvidia-gl-390:i386 (< 390.25-0ubuntu4)
Liefert: libegl-vendor, libglx-vendor, libnvidia-gl
Beschreibung: NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
 This package provides the NVIDIA OpenGL/GLX/EGL/GLES libraries and the Vulkan ICD.
Homepage: http://www.nvidia.com

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It seems the package layout has changed a lot in 390:

  https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390

So I'm not sure if your driver is fully installed, or if it is expected to work at all.

Maybe see also bug 1752053.

summary: - [Mesa 18.0] No 3D acceleration, using llvmpipe
+ [Mesa 18.0 + nvidia-390] No 3D acceleration, using llvmpipe
Changed in mesa (Ubuntu):
status: Incomplete → New
Changed in libglvnd (Ubuntu):
status: Incomplete → New
tags: added: nvidia
Revision history for this message
Michael (3-ueuntu-4) wrote :

The thing is: I don't need this driver at all (having only Intel...)

Theoretically, I could simply remove this driver, but...

$ sudo apt remove libnvidia-gl-390 libnvidia-common-390
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  gir1.2-grilo-0.3 gnome-orca gnome-software-common libboost-filesystem1.65.1:i386 libboost-system1.65.1:i386 libges-1.0-0 libmircore1:i386 libsnapd-glib1 plasma-discover plasma-discover-common qml-module-org-kde-kio vlc-bin
  vlc-plugin-qt xwayland
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
  libcapnp-0.6.1 libegl-mesa0 libmirclient9 libmircommon7 libmircore1
Die folgenden Pakete werden ENTFERNT:
  apturl bluedevil browser-plugin-vlc gdm3 gir1.2-ges-1.0 gnome-music gnome-packagekit-session gnome-session-bin gnome-session-flashback gnome-software gnome-software-plugin-snap kaffeine kate kscreen libcapnp-0.6.1:i386
  libegl-mesa0:i386 libegl1:i386 libegl1-mesa:i386 libgtk-3-0:i386 libmikmod3:i386 libmirclient9:i386 libmircommon7:i386 libnvidia-common-390 libnvidia-gl-390 libsdl-mixer1.2:i386 libsdl2-2.0-0:i386 libwayland-egl1-mesa:i386
  libwebkit2gtk-4.0-37-gtk2 nautilus-share plasma-desktop plasma-pa python-gst-1.0 python3-gst-1.0 session-shortcuts software-properties-gtk ubuntu-desktop ubuntu-session ubuntu-software unity-session vlc
Die folgenden NEUEN Pakete werden installiert:
  libcapnp-0.6.1 libegl-mesa0 libmirclient9 libmircommon7 libmircore1
0 aktualisiert, 5 neu installiert, 40 zu entfernen und 0 nicht aktualisiert.
Es müssen 1.045 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 171 MB Plattenplatz freigegeben.

So, I think there are 2 bugs:
1. The nvidia package kills the Intel accelaration
2. There are errors in the dependencies which prevent me to simply remove the driver.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

just install libegl-mesa0 and tell what happens?

Revision history for this message
Michael (3-ueuntu-4) wrote :

$ apt install libegl-mesa0 libmirclient9 libcapnp-0.6.1 libmircommon7
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  libboost-filesystem1.65.1:i386 libboost-system1.65.1:i386 libmircore1:i386
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
  libmircore1
Die folgenden Pakete werden ENTFERNT:
  libcapnp-0.6.1:i386 libegl-mesa0:i386 libegl1:i386 libegl1-mesa:i386 libgtk-3-0:i386 libmikmod3:i386 libmirclient9:i386 libmircommon7:i386 libsdl-mixer1.2:i386 libsdl2-2.0-0:i386 libwayland-egl1-mesa:i386
Die folgenden NEUEN Pakete werden installiert:
  libcapnp-0.6.1 libegl-mesa0 libmirclient9 libmircommon7 libmircore1
0 aktualisiert, 5 neu installiert, 11 zu entfernen und 0 nicht aktualisiert.
Es müssen 1.045 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 12,1 MB Plattenplatz freigegeben.

I had to add some packages to get apt on the right way.
I'll tell after a restart what happened, I just wanted to write down what apt did ;-)

Revision history for this message
Michael (3-ueuntu-4) wrote :

And it worked :-) Thanks for the hint!

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

So is there a bug here, for future reference? In nvidia-390 or mesa? Or none?

Changed in libglvnd (Ubuntu):
status: New → Incomplete
Changed in mesa (Ubuntu):
status: New → Incomplete
Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Incomplete
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I think you first got the updates when nvidia had migrated and mesa/libglvnd had no

Changed in libglvnd (Ubuntu):
status: Incomplete → Fix Released
Changed in mesa (Ubuntu):
status: Incomplete → Fix Released
Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
shankao (shankao) wrote :

I have tried every solution in this bug, but still getting LLVMpipe renderer. Strangely, it only happens in X.org, but picks the correct Intel in Wayland

Revision history for this message
Emiliano (retorquere) wrote :

I have the same as @shankao.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is closed. If you continue to experience any problems then please open a new bug by running:

ubuntu-bug mesa

or

ubuntu-bug nvidia-graphics-drivers-390

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.