Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
Hi all,

Has anyone been successful installing the Nvidia blob with kernel 4.4.70x and 4.4.71x
while using Leap 42.3?

ERROR: Unable to load the kernel module 'nvidia-drm.ko'.  This happens most frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as
rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no
NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.

It was working with kernel 4.4.68

Cheers!

Roman

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Knurpht - Gertjan Lettink
Op zaterdag 17 juni 2017 00:59:12 CEST schreef Roman Bysh:

> Hi all,
>
> Has anyone been successful installing the Nvidia blob with kernel 4.4.70x
> and 4.4.71x while using Leap 42.3?
>
> ERROR: Unable to load the kernel module 'nvidia-drm.ko'.  This happens most
> frequently when this kernel module was built against the wrong or
> improperly configured kernel sources, with a version of gcc that differs
> from the one used to build the target kernel, or if a driver such as
> rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel
> module from obtaining ownership of the NVIDIA graphics device(s), or no
> NVIDIA GPU installed in this system is supported by this NVIDIA Linux
> graphics driver release.
>
> It was working with kernel 4.4.68
>
> Cheers!
>
> Roman
So, it builds OK, but refuses to load ? Check whether nouveau is blacklisted.
Rin mkinitrd.

--
Gertjan Lettink, a.k.a. Knurpht

openSUSE Board Member
openSUSE Forums Team
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
On 16/06/17 07:14 PM, Knurpht - Gertjan Lettink wrote:

> Op zaterdag 17 juni 2017 00:59:12 CEST schreef Roman Bysh:
> > Hi all,
> >
> > Has anyone been successful installing the Nvidia blob with kernel 4.4.70x
> > and 4.4.71x while using Leap 42.3?
> >
> > ERROR: Unable to load the kernel module 'nvidia-drm.ko'.  This happens most
> > frequently when this kernel module was built against the wrong or
> > improperly configured kernel sources, with a version of gcc that differs
> > from the one used to build the target kernel, or if a driver such as
> > rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel
> > module from obtaining ownership of the NVIDIA graphics device(s), or no
> > NVIDIA GPU installed in this system is supported by this NVIDIA Linux
> > graphics driver release.
> >
> > It was working with kernel 4.4.68
> >
> > Cheers!
> >
> > Roman
> So, it builds OK, but refuses to load ? Check whether nouveau is blacklisted.
> Rin mkinitrd.
>
Nouveau was blacklisted and I ran nkinitrd && reboot. Error still happens.
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
On 16/06/17 07:20 PM, Roman Bysh wrote:

> On 16/06/17 07:14 PM, Knurpht - Gertjan Lettink wrote:
> > Op zaterdag 17 juni 2017 00:59:12 CEST schreef Roman Bysh:
> > > Hi all,
> > >
> > > Has anyone been successful installing the Nvidia blob with kernel 4.4.70x
> > > and 4.4.71x while using Leap 42.3?
> > >
> > > ERROR: Unable to load the kernel module 'nvidia-drm.ko'.  This happens most
> > > frequently when this kernel module was built against the wrong or
> > > improperly configured kernel sources, with a version of gcc that differs
> > > from the one used to build the target kernel, or if a driver such as
> > > rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel
> > > module from obtaining ownership of the NVIDIA graphics device(s), or no
> > > NVIDIA GPU installed in this system is supported by this NVIDIA Linux
> > > graphics driver release.
> > >
> > > It was working with kernel 4.4.68
> > >
> > > Cheers!
> > >
> > > Roman
> > So, it builds OK, but refuses to load ? Check whether nouveau is blacklisted.
> > Rin mkinitrd.
> >
> Nouveau was blacklisted and I ran nkinitrd && reboot. Error still happens.
Correction

mkinitrd && reboot
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Peter Suetterlin
In reply to this post by Roman Bysh
Roman Bysh wrote:
> Hi all,
>
> Has anyone been successful installing the Nvidia blob with kernel 4.4.70x and 4.4.71x
> while using Leap 42.3?
>
> ERROR: Unable to load the kernel module 'nvidia-drm.ko'.

No further info (via 'modprobe -v' or from syslog)?
Which version of the BLOB?
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
On 17/06/17 08:47 AM, pit wrote:

> Roman Bysh wrote:
> > Hi all,
> >
> > Has anyone been successful installing the Nvidia blob with kernel 4.4.70x and 4.4.71x
> > while using Leap 42.3?
> >
> > ERROR: Unable to load the kernel module 'nvidia-drm.ko'.
>
> No further info (via 'modprobe -v' or from syslog)?
> Which version of the BLOB?
>
I'm using 381.22.
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
On 17/06/17 12:03 PM, Roman Bysh wrote:

> On 17/06/17 08:47 AM, pit wrote:
> > Roman Bysh wrote:
> > > Hi all,
> > >
> > > Has anyone been successful installing the Nvidia blob with kernel 4.4.70x and 4.4.71x
> > > while using Leap 42.3?
> > >
> > > ERROR: Unable to load the kernel module 'nvidia-drm.ko'.
> >
> > No further info (via 'modprobe -v' or from syslog)?
> > Which version of the BLOB?
> >
> I'm using 381.22.
I have attached the nvidia-installer.log.
Note:

/tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nvidia_drm_get_client_capability’:
    /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c:557:31: warning: unused variable ‘nv_dev’ [-Wunused-variable]
         struct nvidia_drm_device *nv_dev = dev->dev_private;



nvidia-installer.log (26K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Sudhir Anand
On Saturday, 17 June 2017 17:38:12 BST Roman Bysh wrote:

> On 17/06/17 12:03 PM, Roman Bysh wrote:
> > On 17/06/17 08:47 AM, pit wrote:
> > > Roman Bysh wrote:
> > > > Hi all,
> > > >
> > > > Has anyone been successful installing the Nvidia blob with kernel
> > > > 4.4.70x and 4.4.71x while using Leap 42.3?
> > > >
> > > > ERROR: Unable to load the kernel module 'nvidia-drm.ko'.
> > >
> > > No further info (via 'modprobe -v' or from syslog)?
> > > Which version of the BLOB?
> >
> > I'm using 381.22.
>
> I have attached the nvidia-installer.log.
> Note:
>
> /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.
> c: In function ‘nvidia_drm_get_client_capability’:
> /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv
> .c:557:31: warning: unused variable ‘nv_dev’ [-Wunused-variable] struct
> nvidia_drm_device *nv_dev = dev->dev_private;
 
I had similar issues with legacy Nvidia driver 340.102.   The fix was to apply
three patches.  I cannot find any for kernel 4.4.  I have to apply patches to
Nvidia kernel in TW but not Leap.

Does anyone know if Nvidia files have to be patched?

Regards.
 

--
Sudhir Anand
N�����r��y隊Z)z{.���r�+�맲��r��z�^�ˬz��N�(�֜��^� ޭ隊Z)z{.���r�+��0�����Ǩ�
Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
On 17/06/17 12:54 PM, Sudhir Anand wrote:

> On Saturday, 17 June 2017 17:38:12 BST Roman Bysh wrote:
> > On 17/06/17 12:03 PM, Roman Bysh wrote:
> >> On 17/06/17 08:47 AM, pit wrote:
> >>> Roman Bysh wrote:
> >>>> Hi all,
> >>>>
> >>>> Has anyone been successful installing the Nvidia blob with kernel
> >>>> 4.4.70x and 4.4.71x while using Leap 42.3?
> >>>>
> >>>> ERROR: Unable to load the kernel module 'nvidia-drm.ko'.
> >>>
> >>> No further info (via 'modprobe -v' or from syslog)?
> >>> Which version of the BLOB?
> >>
> >> I'm using 381.22.
> >
> > I have attached the nvidia-installer.log.
> > Note:
> >
> > /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.
> > c: In function ‘nvidia_drm_get_client_capability’:
> > /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv
> > .c:557:31: warning: unused variable ‘nv_dev’ [-Wunused-variable] struct
> > nvidia_drm_device *nv_dev = dev->dev_private;
>
> I had similar issues with legacy Nvidia driver 340.102.   The fix was to apply
> three patches.  I cannot find any for kernel 4.4.  I have to apply patches to
> Nvidia kernel in TW but not Leap.
>
> Does anyone know if Nvidia files have to be patched?
>
> Regards.
>
>
I''ll check the Nvidia message boards. Something should appear soon.
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Peter Suetterlin
In reply to this post by Roman Bysh
Roman Bysh wrote:

> On 17/06/17 12:03 PM, Roman Bysh wrote:
> >On 17/06/17 08:47 AM, pit wrote:
> >> Roman Bysh wrote:
> >> > Hi all,
> >> >
> >> > Has anyone been successful installing the Nvidia blob with kernel 4.4.70x and 4.4.71x
> >> > while using Leap 42.3?
> >> >
> >> > ERROR: Unable to load the kernel module 'nvidia-drm.ko'.
> >>
> >> No further info (via 'modprobe -v' or from syslog)?
> >> Which version of the BLOB?
> >>
> >I'm using 381.22.
> I have attached the nvidia-installer.log.
> Note:
>
> /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nvidia_drm_get_client_capability’:
>    /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c:557:31: warning: unused variable ‘nv_dev’ [-Wunused-variable]
>         struct nvidia_drm_device *nv_dev = dev->dev_private;

That is only a warning about unused variables.  The compile of that part
finishes fine.  The kernel messages at the end are irritating though...

Have you tried compiling/installing 375.66 instead?  That one I run both on
4.4 (Leap 42.2 via the nvidia repo) and 4.11 (bumblebee/dkms compile).

If that one works I'd also think it is an issue of the 381 line...
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
On 17/06/17 02:05 PM, pit wrote:

> Roman Bysh wrote:
> > On 17/06/17 12:03 PM, Roman Bysh wrote:
> >> On 17/06/17 08:47 AM, pit wrote:
> >>> Roman Bysh wrote:
> >>>> Hi all,
> >>>>
> >>>> Has anyone been successful installing the Nvidia blob with kernel 4.4.70x and 4.4.71x
> >>>> while using Leap 42.3?
> >>>>
> >>>> ERROR: Unable to load the kernel module 'nvidia-drm.ko'.
> >>>
> >>> No further info (via 'modprobe -v' or from syslog)?
> >>> Which version of the BLOB?
> >>>
> >> I'm using 381.22.
> > I have attached the nvidia-installer.log.
> > Note:
> >
> > /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nvidia_drm_get_client_capability’:
> >     /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c:557:31: warning: unused variable ‘nv_dev’ [-Wunused-variable]
> >          struct nvidia_drm_device *nv_dev = dev->dev_private;
>
> That is only a warning about unused variables.  The compile of that part
> finishes fine.  The kernel messages at the end are irritating though...
>
> Have you tried compiling/installing 375.66 instead?  That one I run both on
> 4.4 (Leap 42.2 via the nvidia repo) and 4.11 (bumblebee/dkms compile).
>
> If that one works I'd also think it is an issue of the 381 line...
>
Yes. I tried 375.66 and it gives the same message. It builds but won't load nvidia-drm.ko
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
On 17/06/17 04:45 PM, Roman Bysh wrote:

> On 17/06/17 02:05 PM, pit wrote:
> > Roman Bysh wrote:
> > > On 17/06/17 12:03 PM, Roman Bysh wrote:
> > >> On 17/06/17 08:47 AM, pit wrote:
> > >>> Roman Bysh wrote:
> > >>>> Hi all,
> > >>>>
> > >>>> Has anyone been successful installing the Nvidia blob with kernel 4.4.70x and 4.4.71x
> > >>>> while using Leap 42.3?
> > >>>>
> > >>>> ERROR: Unable to load the kernel module 'nvidia-drm.ko'.
> > >>>
> > >>> No further info (via 'modprobe -v' or from syslog)?
> > >>> Which version of the BLOB?
> > >>>
> > >> I'm using 381.22.
> > > I have attached the nvidia-installer.log.
> > > Note:
> > >
> > > /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nvidia_drm_get_client_capability’:
> > >     /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c:557:31: warning: unused variable ‘nv_dev’ [-Wunused-variable]
> > >          struct nvidia_drm_device *nv_dev = dev->dev_private;
> >
> > That is only a warning about unused variables.  The compile of that part
> > finishes fine.  The kernel messages at the end are irritating though...
> >
> > Have you tried compiling/installing 375.66 instead?  That one I run both on
> > 4.4 (Leap 42.2 via the nvidia repo) and 4.11 (bumblebee/dkms compile).
> >
> > If that one works I'd also think it is an issue of the 381 line...
> >
> Yes. I tried 375.66 and it gives the same message. It builds but won't load nvidia-drm.ko
Update

You can install the driver with the switch -no-drm. For example:
./NVIDIA-Linux-x86_64-381.22.run -no-drm
./NVIDIA-Linux-x86_64-375.66.run -no-drm

However you will get a warning message:
WARNING: The nvidia-drm module will not be installed. As a result, DRM-KMS will not function with this installation of the NVIDIA driver.

There is some discrepancy between Nvidia developers and kernel developers about the use of drm-kms. Wayland requires it.
The DRM KMS support in nvidia-drm.ko is still unproven, and has some interaction issues with SLI, so it is disabled by default in the kernel.


    Known Issues

  *

    The NVIDIA DRM KMS implementation is currently incompatible with SLI. The X server will fail to initialize SLI if DRM KMS is enabled.

  *

    The NVIDIA DRM KMS implementation does not yet register an overlay plane: only primary and cursor planes are currently provided.

  *

    Buffer allocation and submission to DRM KMS using gbm is not currently supported.




--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Leap 42.3 latest kernel 4.4.71 cannot install Nvidia blob

Roman Bysh
On 17/06/17 06:21 PM, Roman Bysh wrote:

> On 17/06/17 04:45 PM, Roman Bysh wrote:
> > On 17/06/17 02:05 PM, pit wrote:
> > > Roman Bysh wrote:
> > > > On 17/06/17 12:03 PM, Roman Bysh wrote:
> > > >> On 17/06/17 08:47 AM, pit wrote:
> > > >>> Roman Bysh wrote:
> > > >>>> Hi all,
> > > >>>>
> > > >>>> Has anyone been successful installing the Nvidia blob with kernel 4.4.70x and 4.4.71x
> > > >>>> while using Leap 42.3?
> > > >>>>
> > > >>>> ERROR: Unable to load the kernel module 'nvidia-drm.ko'.
> > > >>>
> > > >>> No further info (via 'modprobe -v' or from syslog)?
> > > >>> Which version of the BLOB?
> > > >>>
> > > >> I'm using 381.22.
> > > > I have attached the nvidia-installer.log.
> > > > Note:
> > > >
> > > > /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nvidia_drm_get_client_capability’:
> > > >     /tmp/selfgz1995/NVIDIA-Linux-x86_64-381.22/kernel/nvidia-drm/nvidia-drm-drv.c:557:31: warning: unused variable ‘nv_dev’
> > [-Wunused-variable]
> > > >          struct nvidia_drm_device *nv_dev = dev->dev_private;
> > >
> > > That is only a warning about unused variables.  The compile of that part
> > > finishes fine.  The kernel messages at the end are irritating though...
> > >
> > > Have you tried compiling/installing 375.66 instead?  That one I run both on
> > > 4.4 (Leap 42.2 via the nvidia repo) and 4.11 (bumblebee/dkms compile).
> > >
> > > If that one works I'd also think it is an issue of the 381 line...
> > >
> > Yes. I tried 375.66 and it gives the same message. It builds but won't load nvidia-drm.ko
> Update
>
> You can install the driver with the switch -no-drm. For example:
> ./NVIDIA-Linux-x86_64-381.22.run -no-drm
> ./NVIDIA-Linux-x86_64-375.66.run -no-drm
>
> However you will get a warning message:
> WARNING: The nvidia-drm module will not be installed. As a result, DRM-KMS will not function with this installation of the NVIDIA driver.
>
> There is some discrepancy between Nvidia developers and kernel developers about the use of drm-kms. Wayland requires it.
> The DRM KMS support in nvidia-drm.ko is still unproven, and has some interaction issues with SLI, so it is disabled by default in the kernel.
>
>
>     Known Issues
>
>   *
>
>     The NVIDIA DRM KMS implementation is currently incompatible with SLI. The X server will fail to initialize SLI if DRM KMS is enabled.
>
>   *
>
>     The NVIDIA DRM KMS implementation does not yet register an overlay plane: only primary and cursor planes are currently provided.
>
>   *
>
>     Buffer allocation and submission to DRM KMS using gbm is not currently supported.
>
According to Arch. Enabling KMS causes GDM <https://wiki.archlinux.org/index.php/GDM> and GNOME <https://wiki.archlinux.org/index.php/GNOME> to default to Wayland, which currently suffers from very poor performance.
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]