Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173224 > unrolled thread

kernel 4.7.0 and nvidia

Started byBoyan Penkov <boyan.penkov@gmail.com>
First post2016-10-06 03:20 +0200
Last post2016-10-06 22:10 +0200
Articles 12 — 7 participants

Back to article view | Back to linux.debian.user


Contents

  kernel 4.7.0 and nvidia Boyan Penkov <boyan.penkov@gmail.com> - 2016-10-06 03:20 +0200
    Re: kernel 4.7.0 and nvidia gianluca <gianlucarenzi@eurekelettronica.it> - 2016-10-06 09:20 +0200
      Re: kernel 4.7.0 and nvidia Pascal Obry <pascal@obry.net> - 2016-10-06 20:00 +0200
        Re: kernel 4.7.0 and nvidia Boyan Penkov <boyan.penkov@gmail.com> - 2016-10-10 00:00 +0200
          Re: kernel 4.7.0 and nvidia David Baron <dbaron770@gmail.com> - 2016-10-10 09:20 +0200
      Re: kernel 4.7.0 and nvidia Ric Moore <wayward4now@gmail.com> - 2016-10-07 02:20 +0200
    Re: kernel 4.7.0 and nvidia Hans <hans.ullrich@loop.de> - 2016-10-06 10:10 +0200
      Re: kernel 4.7.0 and nvidia Boyan Penkov <boyan.penkov@gmail.com> - 2016-10-06 13:40 +0200
        Re: kernel 4.7.0 and nvidia Hans <hans.ullrich@loop.de> - 2016-10-06 13:50 +0200
          Re: kernel 4.7.0 and nvidia Floris <jkfloris@dds.nl> - 2016-10-06 21:30 +0200
            Re: kernel 4.7.0 and nvidia Hans <hans.ullrich@loop.de> - 2016-10-06 22:00 +0200
              Re: kernel 4.7.0 and nvidia Boyan Penkov <boyan.penkov@gmail.com> - 2016-10-06 22:10 +0200

#173224 — kernel 4.7.0 and nvidia

FromBoyan Penkov <boyan.penkov@gmail.com>
Date2016-10-06 03:20 +0200
Subjectkernel 4.7.0 and nvidia
Message-ID<sp5vP-1tf-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello,

I recently updated to kernel 4.7.0 in stretch, and am running the nvidia binary blob (nvidia-driver).

Upon restart, x fails to load.  The system works great with the 4.6 kernel.

Anybody see the issues described here: http://rglinuxtech.com/?p=1750 <http://rglinuxtech.com/?p=1750> ?

Cheers!
--
Boyan Penkov
www.boyanpenkov.com

[toc] | [next] | [standalone]


#173230

Fromgianluca <gianlucarenzi@eurekelettronica.it>
Date2016-10-06 09:20 +0200
Message-ID<spb8d-5iS-9@gated-at.bofh.it>
In reply to#173224
On 10/06/2016 03:18 AM, Boyan Penkov wrote:
> Hello,
>
> I recently updated to kernel 4.7.0 in stretch, and am running the nvidia binary blob (nvidia-driver).
>
> Upon restart, x fails to load.  The system works great with the 4.6 kernel.
>
> Anybody see the issues described here: http://rglinuxtech.com/?p=1750 <http://rglinuxtech.com/?p=1750> ?
>

Are the opensource nouveau drivers so bad, so you need closed-source 
blob??? If so, that's your choice. But do not ask why something is not 
working as execpted if you upgrade something on the kernel-side.

If I recall correctly 10 yrs ago or even more, when changing from kernel 
2.2 to 2.4 the NVIDIA closed blob drives stopped working due to a change 
in the kernel stack size or similar issue. Why not this time?

Ask NVIDIA to upgrade their driver to support the 4.7.0 Linux Kernel.

Cheers,
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

[toc] | [prev] | [next] | [standalone]


#173244

FromPascal Obry <pascal@obry.net>
Date2016-10-06 20:00 +0200
Message-ID<spl7z-3RX-7@gated-at.bofh.it>
In reply to#173230
Le jeudi 06 octobre 2016 à 08:55 +0200, gianluca a écrit :
> Are the opensource nouveau drivers so bad, so you need closed-source 
> blob??? If so, that's your choice. But do not ask why something is
> not working as execpted if you upgrade something on the kernel-side.

You may also say this without being harsh.

A possibility (and that's my case) is that I'm using NVIDIA proprietary
driver as I need OpenCL support and AFAIK there is no OpenCL support
with the Nouveau driver.

Anyway on my side I'm also on the 4.7 kernel (Debian/sid) and have no
problem with the dkms nvidia package.

Cheers,

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

[toc] | [prev] | [next] | [standalone]


#173363

FromBoyan Penkov <boyan.penkov@gmail.com>
Date2016-10-10 00:00 +0200
Message-ID<squiu-14c-11@gated-at.bofh.it>
In reply to#173244

[Multipart message — attachments visible in raw view] — view raw

Hey folks,

OK, here was the procedure (as a reminder, I’m on stretch, testing):

— boot into 4.6, verify everything works, purge both 4.7 kernel and 4.7 headers, purge all nvidia-* (and nvidia-dkms was indeed installed)

— purge xserver-xorg-video-nvidia

— install xserver-xorg-xideo-nvidia and nvidia-driver (which pulls in nvidia-dmks as a dependency, among others)

— I’m still booted into 4.6, so watch the install script build nvidia-dmks package for 4.6 only.

— reboot (into the only kernel I have: 4.6), verify all is ok

— install 4.7 and 4.7 headers.  I observed that the install script and post-install hook did not rebuild nvidia-dkms for 4.7

— reboot into 4.7  and everything works.

So, to wrap up: I’m happy for now, but I clearly don’t understand something about how nvidia-dmks built for 4.6 also functions on 4.7  Did we get lucky here, or do we need a bug filed to get the post-install script to check what kernels are there and build the kms accordingly?

Thanks for your individual help off-list as well.

Cheers!
--
Boyan Penkov
www.boyanpenkov.com

> On Oct 6, 2016, at 1:34 PM, Pascal Obry <pascal@obry.net> wrote:
> 
> Le jeudi 06 octobre 2016 à 08:55 +0200, gianluca a écrit :
>> Are the opensource nouveau drivers so bad, so you need closed-source 
>> blob??? If so, that's your choice. But do not ask why something is
>> not working as execpted if you upgrade something on the kernel-side.
> 
> You may also say this without being harsh.
> 
> A possibility (and that's my case) is that I'm using NVIDIA proprietary
> driver as I need OpenCL support and AFAIK there is no OpenCL support
> with the Nouveau driver.
> 
> Anyway on my side I'm also on the 4.7 kernel (Debian/sid) and have no
> problem with the dkms nvidia package.
> 
> Cheers,
> 
> -- 
>   Pascal Obry /  Magny Les Hameaux (78)
> 
>   The best way to travel is by means of imagination
> 
>   http://www.obry.net
> 
>   gpg --keyserver keys.gnupg.net --recv-key F949BD3B
> 

[toc] | [prev] | [next] | [standalone]


#173370

FromDavid Baron <dbaron770@gmail.com>
Date2016-10-10 09:20 +0200
Message-ID<sqD2p-6Kh-15@gated-at.bofh.it>
In reply to#173363
On יום ראשון, 9 באוקטובר 2016 17:54:35 IDT Boyan Penkov wrote:
> Hey folks,
> 
> OK, here was the procedure (as a reminder, I’m on stretch, testing):
> 
> — boot into 4.6, verify everything works, purge both 4.7 kernel and 4.7
> headers, purge all nvidia-* (and nvidia-dkms was indeed installed)
> 
> — purge xserver-xorg-video-nvidia
> 
> — install xserver-xorg-xideo-nvidia and nvidia-driver (which pulls in
> nvidia-dmks as a dependency, among others)
> 
> — I’m still booted into 4.6, so watch the install script build nvidia-dmks
> package for 4.6 only.
> 
> — reboot (into the only kernel I have: 4.6), verify all is ok
> 
> — install 4.7 and 4.7 headers.  I observed that the install script and
> post-install hook did not rebuild nvidia-dkms for 4.7
> 
> — reboot into 4.7  and everything works.
> 
> So, to wrap up: I’m happy for now, but I clearly don’t understand something
> about how nvidia-dmks built for 4.6 also functions on 4.7  Did we get lucky
> here, or do we need a bug filed to get the post-install script to check
> what kernels are there and build the kms accordingly?
> 
> Thanks for your individual help off-list as well.
> 
> Cheers!
> --
> Boyan Penkov
> www.boyanpenkov.com
> 
> > On Oct 6, 2016, at 1:34 PM, Pascal Obry <pascal@obry.net> wrote:
> > 
> > Le jeudi 06 octobre 2016 à 08:55 +0200, gianluca a écrit :
> >> Are the opensource nouveau drivers so bad, so you need closed-source
> >> blob??? If so, that's your choice. But do not ask why something is
> >> not working as execpted if you upgrade something on the kernel-side.
> > 
> > You may also say this without being harsh.
> > 
> > A possibility (and that's my case) is that I'm using NVIDIA proprietary
> > driver as I need OpenCL support and AFAIK there is no OpenCL support
> > with the Nouveau driver.
> > 
> > Anyway on my side I'm also on the 4.7 kernel (Debian/sid) and have no
> > problem with the dkms nvidia package.
> > 
> > Cheers,

With legacy-304xx, did not build for the 4.6 and what was built for 4.7 did 
not work! Impossible to go back to testing which did work :-(
These packages are off Debian, it seems.

[toc] | [prev] | [next] | [standalone]


#173260

FromRic Moore <wayward4now@gmail.com>
Date2016-10-07 02:20 +0200
Message-ID<spr3j-8vH-1@gated-at.bofh.it>
In reply to#173230
On 10/06/2016 02:55 AM, gianluca wrote:

> Are the opensource nouveau drivers so bad, so you need closed-source
> blob???

Yeah, unless you just play Hunt The Wumpus. Without accelerated 
graphics, you're missing out on a lot I already paid for. I refuse to 
cripple my hardware on purpose since I'm a geek, not a fool.

The reason the driver failed might be because the OP didn't install the 
dkms package. I went through the update and my nvidia setup is still 
rolling along. OTOH, if he would boot and get a black screen, move the 
mouse to see if there is a mouse cursor. If so, enter a terminal 
(ctl-alt-F1) logging as user and enter "startx" to see if his desktop 
comes back.

-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html

[toc] | [prev] | [next] | [standalone]


#173232

FromHans <hans.ullrich@loop.de>
Date2016-10-06 10:10 +0200
Message-ID<spbUB-5Qv-19@gated-at.bofh.it>
In reply to#173224
Am Mittwoch, 5. Oktober 2016, 21:18:16 CEST schrieb Boyan Penkov:
> Hello,
> 
Helloo Boyan,
> I recently updated to kernel 4.7.0 in stretch, and am running the nvidia
> binary blob (nvidia-driver).
> 
me, too. But I have an older chipset (GF8600M), but it is running finme with 
kernel 4.7.

> Upon restart, x fails to load.  The system works great with the 4.6 kernel.
> 
Can the kernel-module be built? I suggest, to use the *-dkms stuff for 
building. If this does not work, you may try the drivers from the nvidia site 
directly. Before installiing this, get rid of all nvidia packages (i.e. apt-
get --purge remove nvidia-*). Check before saying "y", that no other unwanted 
packages are iremoved.

> Anybody see the issues described here: http://rglinuxtech.com/?p=1750
> <http://rglinuxtech.com/?p=1750> ?
Hope this helps. If NOT, then you might try to run the nouveau driver. It is 
running fine, however, I prefer the proprietrary one, as I need it for my 
flightsim (X-Plane).

> 
> Cheers!
> --
> Boyan Penkov
> www.boyanpenkov.com

Good luck!

Hans

[toc] | [prev] | [next] | [standalone]


#173234

FromBoyan Penkov <boyan.penkov@gmail.com>
Date2016-10-06 13:40 +0200
Message-ID<spfbQ-7Yg-15@gated-at.bofh.it>
In reply to#173232

[Multipart message — attachments visible in raw view] — view raw

--
Boyan Penkov
www.boyanpenkov.com

> On Oct 6, 2016, at 4:02 AM, Hans <hans.ullrich@loop.de> wrote:
> 
> Am Mittwoch, 5. Oktober 2016, 21:18:16 CEST schrieb Boyan Penkov:
>> Hello,
>> 
> Helloo Boyan,
>> I recently updated to kernel 4.7.0 in stretch, and am running the nvidia
>> binary blob (nvidia-driver).
>> 
> me, too. But I have an older chipset (GF8600M), but it is running finme with 
> kernel 4.7.
> 
>> Upon restart, x fails to load.  The system works great with the 4.6 kernel.
>> 
> Can the kernel-module be built? I suggest, to use the *-dkms stuff for 
> building. If this does not work, you may try the drivers from the nvidia site 
> directly. Before installiing this, get rid of all nvidia packages (i.e. apt-
> get --purge remove nvidia-*). Check before saying "y", that no other unwanted 
> packages are iremoved.

How?  I’ll purge all nvidia packages, then install nvidia-kernel-dkms?

> 
>> Anybody see the issues described here: http://rglinuxtech.com/?p=1750
>> <http://rglinuxtech.com/?p=1750> ?
> Hope this helps. If NOT, then you might try to run the nouveau driver. It is 
> running fine, however, I prefer the proprietrary one, as I need it for my 
> flightsim (X-Plane).

A similar situation here, to respond to gianluca.

> 
>> 
>> Cheers!
>> --
>> Boyan Penkov
>> www.boyanpenkov.com
> 
> Good luck!
> 
> Hans
> 

[toc] | [prev] | [next] | [standalone]


#173235

FromHans <hans.ullrich@loop.de>
Date2016-10-06 13:50 +0200
Message-ID<spflv-81P-15@gated-at.bofh.it>
In reply to#173234
Can the kernel-module be built? I suggest, to use the *-dkms stuff for
> > building. If this does not work, you may try the drivers from the nvidia
> > site directly. Before installiing this, get rid of all nvidia packages
> > (i.e. apt- get --purge remove nvidia-*). Check before saying "y", that no
> > other unwanted packages are iremoved.
> 
> How?  I’ll purge all nvidia packages, then install nvidia-kernel-dkms?
> 

No. no. First purge all nvidia packages. Then go to the nvidia site and 
download the installer. It is an executable named NViidia-some-version.run.

Choose the correct one for your architecture. After download make it 
executable and execute it. Note, that there may no olf kernel-module be 
loaded. (If so, unload it: rmmod nvidia)

The other way is to use the nvidia-kernel-dkms packages. I prefer these before 
the already built packages. However, sometimes it fails to build, so I take 
the NVidia****.run as substitute. 

Try both solutions. Maybe one will work.

Happy hacking!

Hans
 

[toc] | [prev] | [next] | [standalone]


#173256

FromFloris <jkfloris@dds.nl>
Date2016-10-06 21:30 +0200
Message-ID<spmwF-5ch-11@gated-at.bofh.it>
In reply to#173235
Op Thu, 06 Oct 2016 13:45:46 +0200 schreef Hans <hans.ullrich@loop.de>:

> Can the kernel-module be built? I suggest, to use the *-dkms stuff for
>> > building. If this does not work, you may try the drivers from the  
>> nvidia
>> > site directly. Before installiing this, get rid of all nvidia packages
>> > (i.e. apt- get --purge remove nvidia-*). Check before saying "y",  
>> that no
>> > other unwanted packages are iremoved.
>>
>> How?  I’ll purge all nvidia packages, then install nvidia-kernel-dkms?
>>
>
> No. no. First purge all nvidia packages. Then go to the nvidia site and
> download the installer. It is an executable named  
> NViidia-some-version.run.
>
> Choose the correct one for your architecture. After download make it
> executable and execute it. Note, that there may no olf kernel-module be
> loaded. (If so, unload it: rmmod nvidia)
>
> The other way is to use the nvidia-kernel-dkms packages. I prefer these  
> before
> the already built packages. However, sometimes it fails to build, so I  
> take
> the NVidia****.run as substitute.
>
> Try both solutions. Maybe one will work.
>
> Happy hacking!
>
> Hans
>

or build the latest version (370.28) yourself
https://wiki.debian.org/NvidiaGraphicsDrivers#Building_newer_releases_from_SVN

 from the changelog:

Release highlights since 370.23:
Added support for the following GPU:
GeForce GTX 1060 3GB

Improved compatibility with recent Linux kernels.
....

[toc] | [prev] | [next] | [standalone]


#173258

FromHans <hans.ullrich@loop.de>
Date2016-10-06 22:00 +0200
Message-ID<spmZH-5pk-1@gated-at.bofh.it>
In reply to#173256
> or build the latest version (370.28) yourself
> https://wiki.debian.org/NvidiaGraphicsDrivers#Building_newer_releases_from_S
> 
Yes, that is down with dkms. And zhe NVidia installer,too.

However, I forgot to mention: Maybe the latest package does not support his 
chipset. He never told, which chipset he got.

Best

Hans

[toc] | [prev] | [next] | [standalone]


#173259

FromBoyan Penkov <boyan.penkov@gmail.com>
Date2016-10-06 22:10 +0200
Message-ID<spn9n-5J3-25@gated-at.bofh.it>
In reply to#173258

[Multipart message — attachments visible in raw view] — view raw

The chipset is a GTS 450, so Fermi on GF106.

Cheers!

On Thu, Oct 6, 2016 at 3:58 PM, Hans <hans.ullrich@loop.de> wrote:

> > or build the latest version (370.28) yourself
> > https://wiki.debian.org/NvidiaGraphicsDrivers#
> Building_newer_releases_from_S
> >
> Yes, that is down with dkms. And zhe NVidia installer,too.
>
> However, I forgot to mention: Maybe the latest package does not support his
> chipset. He never told, which chipset he got.
>
> Best
>
> Hans
>
>


-- 
Boyan Penkov

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web