Good day.
Before some days ago, I start x11 session and nvidia loads its driver fine.
Now, I reinstall Manjaro with the last download file to get Gnome Wayland session directly with no changes.
Everything goes fine, but nvidia drivers seems not to load.
If I change the drivers files to others than the installed, the system changes to x11 but programs who needs nvidia driver (darktable, obs-studio) can’t use OpenGL, NVENC (can’t activate it)
The only way to activate OpenGL for them is downloading nvidia drivers from Nvidia.
Then the system start as x11 and nvidia driver loaded.
Is there a way to load some driver to nvidia at starting to use OpenGL in Gnome-Wayland?
I follow instructions to activate Wayland-Nvidia and other solutions pages with no results. Thanks.
The commands I give to verify the situation:
(The most significant is ‘inxi’ with nvidia driver: N/A)
echo $XDG_SESSION_TYPE ✔
wayland
mhwd -li ✔
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-modesetting 2020.01.13 true PCI
video-hybrid-intel-nvidia-prime 2021.12.18 false PCI
Warning: No installed USB configs!
inxi -Gazy ✔
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: ASUSTeK
driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: ASUSTeK
driver: N/A alternate: nouveau bus-ID: 01:00.0 chip-ID: 10de:1f11
class-ID: 0300
Device-3: IMC Networks USB2.0 HD IR UVC WebCam type: USB driver: uvcvideo
bus-ID: 1-9:2 chip-ID: 13d3:56e4 class-ID: 0e02 serial: <filter>
Display: wayland server: X.Org 1.21.1.4 compositor: gnome-shell v: 41.2
driver: loaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x3260 s-dpi: 96 s-size: 1016x863mm (40.0x34.0")
s-diag: 1333mm (52.5")
Monitor-1: XWAYLAND0 res: 3840x1100 hz: 60 dpi: 287
size: 340x100mm (13.4x3.9") diag: 354mm (14")
Monitor-2: XWAYLAND1 res: 3840x2160 hz: 60 dpi: 287
size: 340x190mm (13.4x7.5") diag: 389mm (15.3")
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 21.3.2
direct render: Yes
lspci -k | grep -A 2 -E "(VGA|3D)" ✔
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] (rev 02)
DeviceName: Second VGA
Subsystem: ASUSTeK Computer Inc. Device 19e1
Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
DeviceName: VGA
Subsystem: ASUSTeK Computer Inc. Device 19e1
Kernel modules: nouveau
uname -a ✔
Linux 5.16.0-1-MANJARO #1 SMP PREEMPT Mon Dec 20 15:49:00 UTC 2021 x86_64 GNU/Linux
pamac list -i | grep nvidia ✔
mhwd-nvidia 495.44-5 extra 1,4 kB
mhwd-nvidia-390xx 390.147-2 extra 1,9 kB
mhwd-nvidia-470xx 470.94-1 extra 1,7 kB
nvidia-prime 1.0-4 extra 112 bytes
nvidia-utils 495.44-6 extra 461,1 MB
sudo mhwd-gpu --check ✔ 4s
xorg configuration symlink valid...
mhwd-gpu --status ✔
:: status
xorg configuration file: '/etc/X11/mhwd.d/nvidia.conf'
cat /etc/X11/mhwd.d/nvidia.conf ✔
##
## Generated by mhwd - Manjaro Hardware Detection
##
mhwd -li -d --pci ✔
NAME: video-modesetting
ATTACHED: PCI
VERSION: 2020.01.13
INFO: X.org modesetting video driver.
PRIORITY: 1
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300
VENDORIDS: *
NAME: video-hybrid-intel-nvidia-prime
ATTACHED: PCI
VERSION: 2021.12.18
INFO: Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
PRIORITY: 8
FREEDRIVER: false
DEPENDS: video-modesetting
CONFLICTS: video*nvidia*
CLASSIDS: 0300 0302 0300
VENDORIDS: 10de 8086
nvidia-settings ✔
ERROR: Unable to find display on any available system
nvidia-smi 1 ✘
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
Make sure that the latest NVIDIA driver is installed and running.
xrandr --listproviders 1|1 ✘
Providers: number : 0
sudo pacman -Q xorg-xwayland libxcb egl-wayland 1 ✘ 7s
xorg-xwayland 21.1.4-1
libxcb 1.14-1
egl-wayland 2:1.1.9+r3+g582b2d3-1
sudo pacman -Q nvidia* 1 ✘
zsh: no matches found: nvidia*
pacman -Q mesa 0|1 ✘
mesa 21.3.2-1
glxinfo | grep -i device ✔
Device: Mesa Intel(R) UHD Graphics 630 (CFL GT2) (0x3e9b)
glxinfo | grep -i opengl 1 ✘
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 21.3.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
prime-run glxinfo | grep -i opengl ✔
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 51
prime-run darktable-cltest ✔
0.041085 [opencl_init] opencl related configuration options:
0.041092 [opencl_init]
0.041094 [opencl_init] opencl: 1
0.041095 [opencl_init] opencl_scheduling_profile: 'very fast GPU'
0.041096 [opencl_init] opencl_library: ''
0.041097 [opencl_init] opencl_memory_requirement: 768
0.041098 [opencl_init] opencl_memory_headroom: 400
0.041099 [opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
0.041101 [opencl_init] opencl_mandatory_timeout: 200
0.041102 [opencl_init] opencl_size_roundup: 16
0.041103 [opencl_init] opencl_async_pixelpipe: 0
0.041104 [opencl_init] opencl_synch_cache: active module
0.041105 [opencl_init] opencl_number_event_handles: 25
0.041106 [opencl_init] opencl_micro_nap: 1000
0.041107 [opencl_init] opencl_use_pinned_memory: 0
0.041108 [opencl_init] opencl_use_cpu_devices: 0
0.041109 [opencl_init] opencl_avoid_atomics: 0
0.041110 [opencl_init]
0.041189 [opencl_init] could not find opencl runtime library 'libOpenCL'
0.041278 [opencl_init] could not find opencl runtime library 'libOpenCL.so'
0.041380 [opencl_init] could not find opencl runtime library 'libOpenCL.so.1'
0.041383 [opencl_init] no working opencl library found. Continue with opencl disabled
0.041384 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
0.041385 [opencl_init] initial status of opencl enabled flag is OFF.