Dear all,
I want to use OptiX therefore I need the NVIDIA implementation of the OpenGL and it turns out I am using Mesa implementation. I know there are already a lot of post for this, but I tried to reinstall the driver or tried to use the prime-select to nvidia, or tried to change it in the control panel. None of them works, can anyone help me?
The basic information is:
Operating system: Ubuntu 20.04 LTS
Output of nvidia smi:
Tue Jun 28 15:54:00 2022
±----------------------------------------------------------------------------+
| NVIDIA-SMI 510.73.05 Driver Version: 510.73.05 CUDA Version: 11.6 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA RTX A6000 Off | 00000000:01:00.0 Off | Off |
| 30% 33C P8 16W / 300W | 6MiB / 49140MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+
Output of lshw -class display:
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:2000-1fff iomemory:2000-1fff irq:183 memory:f6000000-f6ffffff memory:20090000000-2009fffffff memory:200a0000000-200a1ffffff ioport:3000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: ASPEED Graphics Family
vendor: ASPEED Technology, Inc.
physical id: 0
bus info: pci@0000:69:00.0
version: 52
width: 32 bits
clock: 33MHz
capabilities: vga_controller cap_list rom
configuration: driver=ast latency=0
resources: irq:181 memory:c9000000-c9ffffff memory:ca000000-ca03ffff ioport:e000(size=128) memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
Output of lspci | grep -i vga: (I know I have two graphics and opengl seems to use the ASPEED one)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2230 (rev a1)
69:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 52)
Output of sudo prime-select query: (I have made it to nvidia, before it was on-demand)
nvidia
Output of nvidia-settings: (And a blank window of NVIDIA X Server Settings pops out)
ERROR: Unable to load info from any available system
(nvidia-settings:44901): GLib-GObject-CRITICAL **: 15:55:14.096: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 15:55:14.098: PRIME: No offloading required. Abort
** Message: 15:55:14.098: PRIME: is it supported? no
xorg.config file content:
nvidia-xconfig: X configuration file generated by nvidia-xconfig
nvidia-xconfig: version 510.73.05
Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0”
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
EndSection
Section “Files”
EndSection
Section “InputDevice”
# generated from default
Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/psaux”
Option “Emulate3Buttons” “no”
Option “ZAxisMapping” “4 5”
EndSection
Section “InputDevice”
# generated from default
Identifier “Keyboard0”
Driver “kbd”
EndSection
Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
Option “DPMS”
EndSection
Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BusID “PCI:1:0:0”
EndSection
Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
SubSection “Display”
Depth 24
EndSubSection
EndSection
Output of glxinfo | grep -i opengl:
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 12.0.0, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.2.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 21.2.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Can anyone help me to change the opengl implementation to nvidia? If other information is needed, I will add also.
Many many thanks in advance!
Long
nvidia-bug-report.log.gz (673.1 KB)