OpenGL uses llvmpipe instead of nvidia driver (Laptop GTX 1050 | Ubuntu 22.04)

Installed nvidia drivers using apt

On Prime Profile: “Power Saving” the GPU is Intel
On “Performance” is LLVM

This is the output of inxi -G

  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] driver: nvidia
    v: 515.65.01
  Device-3: Chicony USB2.0 Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz
  OpenGL: renderer: llvmpipe (LLVM 14.0.0 256 bits)
    v: 4.5 Mesa 22.3.0-devel (git-74fc367127)

Output of glxinfo -B

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa/ (0xffffffff)
    Device: llvmpipe (LLVM 14.0.0, 256 bits) (0xffffffff)
    Version: 22.3.0
    Accelerated: no
    Video memory: 15710MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/
OpenGL renderer string: llvmpipe (LLVM 14.0.0, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.3.0-devel (git-74fc367127)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.3.0-devel (git-74fc367127)
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.0-devel (git-74fc367127)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

nvidia-bug-report.log.gz (325.3 KB) => /usr/local/lib/x86_64-linux-gnu/

you’re running some non-standard OpenGL in /usr/local
Please uninstall.

ok, to uninstall i need to remove it? i renamed it to
Now when running ldd /usr/bin/glxinfo again: => /lib/x86_64-linux-gnu/
also opengl renderer remains llvmpipe.

So i renamed also that, but after ldd /usr/bin/glxinfo will just say to me that there is no and startx won’t work.

reinstalling apt nvidia 515 drivers will get me back to the start

There’s also etc. in /usr/local you need to remove. likely some self-compiled mesa, you should know what you installed and where to run make uninstall.

ty for the replies so far, i have no info on what has been installed though, through synaptic i gathered these packages:

uninstalling some of these with apt will pretty much remove everything on my system , so i’m clearly doing something wrong or simply i’m not understanding the situatuion

is there a way to edit some configuration to successfully point to nvidia opengl rather than uninstalling?
Let’s say that i find the right package to uninstall though, what should i do after uninstalling? just reboot? reinstall nvidia drivers? run some specific commands?

So it’s not your system?
/usr/local is usually the default location where self-compiled stuff gets installed, i.e. download mesa sources, run configure, make, make install.
No packages get installed there, the location is usually empty but is searched first when libraries are loaded, to override system libs. Configured in /etc/
Please check what’s in those directories
and empty them in case you don’t find things you know and want to keep.

that worked thanks! i checked those directories and removed the unnecessary

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.