Kernel is too old for Iris

Hi newbie here,

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.

Any ideas in which direction to proceed ?

thanks in advance

I’d say upgrade the kernel to 5.7

Hint: GUI App in the menu is Manjaro Settings Manager, there you will find the Kernel menu for (un)installing different kernel series. You can have several kernels installed.
https://wiki.manjaro.org/index.php?title=Manjaro_Settings_Manager

1 Like

i just upgraded the kernel to 5.7, but still get the error.
Should i uninstall version 5.4?

also here is the output of

> inxi -G
Graphics:  Device-1: Intel Iris Plus Graphics G7 driver: i915 v: kernel 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: nvidia v: 450.66 
           Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.8 driver: intel,nvidia unloaded: modesetting,nouveau resolution: 
           1: 1920x1080~60Hz 2: 1920x1080~60Hz 
           OpenGL: renderer: llvmpipe (LLVM 10.0.1 256 bits) v: 3.3 Mesa 20.1.6 

if that helps

Did you reboot with the new kernel?
Try linux58 and linux59 as well.

1 Like

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!

and

> inxi -G
Graphics:  Device-1: Intel Iris Plus Graphics G7 driver: i915 v: kernel 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] driver: N/A 
           Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.8 driver: intel unloaded: modesetting resolution: 1: 1920x1080~60Hz 
           2: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2) v: 4.6 Mesa 20.1.6 

thanks for your fast response!

i tried to reinstall the video-hybrid-intel-nvidia-450xx-prime driver on linux59 and got an error
error: target not found: linux59-nvidia-450xx

Edit:
Seems like installing linux58 and reinstalling the driver fixed it for me.

huge thanks for the blazing fast responses @eugen-b and @cscs !

see this wiki & command about
mhwd-kernel

https://wiki.manjaro.org/index.php?title=Manjaro_Kernels

you should boot to version 5.7
, or 5.8
keep an kernel 5.4 lts

version 5.9 is under release candidate from Stable Kernel
https://www.kernel.org/

1 Like

Try linux59 again when nvidia extra module is available.

good!

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