i have a laptop with an intel and a nvidia gpu. I installed the “video-hybrid-intel-nvidia-450xx-prime” driver (on testing branch) and am now able to run programs on the nvidia gpu with “prime-run”
however booting and returning from suspend is really slow and i suspect that it has something to do with my driver setup.
here is the output of
> glxinfo | grep "OpenGl"
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 10.0.1, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 20.1.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
But i am using the kernel version 5.4.60
> uname -a
Linux calculator 5.4.60-2-MANJARO #1 SMP PREEMPT Sat Aug 22 14:35:41 UTC 2020 x86_64 GNU/Linux
I also tried to use version 4.19 which fixes the iris error but freezes the screen every few seconds for ~ 1min.
I installed linux58 and linux59 though the manjaro settings manager and did a reboot afterwards.
Linux59 fixes my intel issue, … however now i am not able to use nvidia prime
> nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
here is
> mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
video-hybrid-intel-nvidia-450xx-prime 2019.10.25 false PCI
video-modesetting 2020.01.13 true PCI
Warning: No installed USB configs!