Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: clubex on 2013/09/10, 12:24:27

Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: clubex on 2013/09/10, 12:24:27
Nvidia 325.08 won't build against 3.11.0 kernel
Code: [Select]

Error! Bad return status for module build on kernel:3.11-0.towo-siduction-amd64
Consult /var/lib/dkms/nvidia/325.08/build/make.log for more information.


Same with 325.15-1 from experimental.

So, does this mean that I need to go back to (fixed) driver 325.08 to run kernel 3.11?

Thanks.


Crap --- sorry to mess up your original post clubex.  I did "edit" and I meant to do "quote".  My bad -- too many mod powers in my hands!
Title: RE: Nvidia 325.08 won
Post by: towo on 2013/09/10, 14:56:55
I have uploaded a fixed version in our fixes-repo.
Title: RE: Nvidia 325.08 won
Post by: musca on 2013/09/10, 16:12:53
Dear users of older nvidia cards!
Geforce 6xxx and 7xxx are no longer supported by the new 325.15 release.

Luckily everything went fine with the new nvidia-legacy-304xx-driver from debian unstable repo, which has patches for kernel 3.11 included.

Code: [Select]
$ apt-get changelog  nvidia-legacy-304xx-driver | grep '3\.11'
  * kernel-3.11.patch: New patch to fix compilation with Linux 3.11-rc.


Also with a little help from towo` i managed to avoid conflicts by removing all old nvidia packages and then installing the new driver.

Code: [Select]
apt-get purge $(dpkg -l | awk '/nvidia/{print $2}') && apt-get install nvidia-legacy-304xx-driver nvidia-settings nvidia-vdpau-driver

Thanks towo` for the nice support and optimal results!

greetings
musca
Title: RE: Nvidia 325.08 won
Post by: clubex on 2013/09/10, 17:00:57
Thanks towo
Title: RE: Nvidia 325.08 won
Post by: dibl on 2013/09/10, 20:31:44
Same problem exists with driver 325.15-1 from experimental, which I have been running for some weeks with no issues.  So I think this means if I want to boot kernel 3.11, I need to revert the driver back to the (fixed) 3.08 from siduction fixes, right?
Title: RE: Nvidia 325.08 won
Post by: towo on 2013/09/10, 20:48:38
In siduction-fixes is 325.15.
Title: RE: Nvidia 325.08 won
Post by: dibl on 2013/09/10, 21:21:35
Got it.  The hardest issues of all are when it is a PEBKAC -- somehow for a year or more I was operating this system without the non-free fixes repo!  :oops:

Working fine now -- thank you very much towo for these great contributions.
Title: My experience:
Post by: Gabriel_M on 2013/09/10, 23:01:24
I have cards nvidia series 6 y 7 and executed Siduction Xfce 32 bits.
After a dist-upgrade, the graphics failed by incompatibility of new drivers.
Following the manual, through Control + Alt + F1
I uninstall nvidia drivers and i install opensource drivers
After a reboot, the graphics failed.
Following the manual, through Control + Alt + F1
I uninstall opensource drivers  and i install nvidia-legacy173xx drivers.
After a reboot,the graphics worked fine.
Title: RE: My experience:
Post by: towo on 2013/09/10, 23:03:14
For GeForce 6xxx ad 7xxx you should install nvidia-legacy-304xx-driver.
Title: Re: RE: Nvidia 325.08 won
Post by: dibl on 2013/09/11, 17:13:32
Quote from: "musca"


Code: [Select]
apt-get purge $(dpkg -l | awk '/nvidia/{print $2}') && apt-get install nvidia-legacy-304xx-driver nvidia-settings nvidia-vdpau-driver



I am struggling with a Quadro NVS 110M/Geforce Go 7300 that needs the 304xx legacy driver installed.  I have removed everything nvidia and libglx at this point, and (again) tried the nouveau driver, which loads and runs, but the KDE desktop is unusable garbage -- can't even see enough of system-settings to adjust to other resolutions.

Is the above installation command sufficient on a system with no nvidia-kernel-source packages installed, or do the 3 packages described in the manual (nvidia-kernel-source, nvidia-kernel-common, and nvidia-kernel-dkms) need to be installed first?  And I see that there are now "legacy" versions for some of those packages, but I don't see "legacy-304xx" for all of them?

Thanks for a hint!


EDIT:  Never mind -- I answered my own question.  The answer is actually this:

(a) None of the 3 nvidia-kernel-source packages described in the manual should be installed -- absolutely nothing "nvidia" or "libglx" should be on the system.

(b) There is a problem installing nvidia-settings at the same time -- it depends on nvidia-alternative, which is not able to be pulled in.  So I installed nvidia-legacy-304xx-driver and nvidia-vdpau-driver, and they came in and pulled in all needed dependencies, and the system is running KDE as it did prior to yesterday.

nvidia-settings is not terribly important for this user, so if it is not cleanly able to be installed with nvidia-alternative, I will skip that.
Title: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/11, 17:24:27
32-bit wasn't uploaded from Debian, towo uploaded a fixed package to the fixes repo.

Then for me all went well with:

Quote
apt-get purge $(dpkg -l | awk '/nvidia/{print $2}') && apt-get install nvidia-legacy-304xx-driver nvidia-vdpau-driver libxvmcnvidia1

nvidia-settings is not installable due to dependency issues.
Title: RE: Re: RE: Nvidia 325.08 won
Post by: dibl on 2013/09/11, 17:31:31
@micha you posted when I posted my edit.  :)

In my case (a 64-bit Dell laptop), libxvmcnvidia1 was pulled in with the driver packages.

On nvidia-alternative, I can see a package ver. 304.108-2 in the sid repo, but I'm not going to install that or nvidia-settings until I hear someone else say it doesn't cause trouble.
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/11, 19:52:19
Quote from: "dibl"
...
On nvidia-alternative, I can see a package ver. 304.108-2 in the sid repo,

I can't. Here on 32 bit it's 304.108-1
Quote from: "dibl"
but I'm not going to install that or nvidia-settings until I hear someone else say it doesn't cause trouble.
I now tried :
Code: [Select]
apt-get install nvidia-settings=304.108-1  nvidia-alternative=304.108-1 which successfully installed both packages.

But whoever follows this road, please refrain from installing the suggested libgl1-nvidia-glx because it installs v325, or when installed with in the "appropriate" version libgl1-nvidia-glx=304.108-1 it will conflict with libgl1-nvidia-legacy-304xx-glx.

Other than that there is no problem ... on 32 bit!

To me it seems nvidia dependencies between old 304 and new legacy 304xx are currently a mess.
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: spacepenguin on 2013/09/13, 14:10:42
My system is running with the 304 driver (not legacy yet), the card is an GF 8400. So the 325 should work. Is it automatically switched to the 325 driver when I do a dist-upgrade now?

The d-u pulls in the 3.11 kernel and some nvidia stuff, libxvmcnvidia1 libxvmcnvidia1:i386 nvidia-settings are to be removed. Is that ok in this case? Or do I have to do anything else? The siduction fixes repo is activated as is debian experimental, siduction experimental is not.
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/13, 14:50:52
Ich bin mir ziehmlich sicher, dass der 325 gezogen wird wenn du einfach ein d-u durchführst.

Vorab kannst du testen mit:
Code: [Select]
apt-cache policy nvidia-driver nvidia-glx

Du siehst dann was so in den regalen rumliegt, und "installationskandidat" zeigt dir das auserwählte paket.

EN:
I guess an ordinary d-u will install 325, but you may test (see above in DE text)

You'll see what's around, and "Candidate" will show the one which will be picked by default.
Title: Re: RE: Nvidia 325.08 won
Post by: mylo on 2013/09/14, 11:44:50
Quote from: "michaa7"
...

Quote
apt-get purge $(dpkg -l | awk '/nvidia/{print $2}') && apt-get install nvidia-legacy-304xx-driver nvidia-vdpau-driver libxvmcnvidia1



Hi,

using this, gives me (translated free):

Code: [Select]
Unmatching Nvidia-Kernel Module loaded
The Nvidia driver installed (Version 325.15) does not match the actually loaded Nvidia kernel Module (Version 304.108)

...


This seems to me strange, as the 304 was on the way to get installed.
Is this a question of repo setting?
Title: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/14, 13:30:46
Quote from: mylo
...
Is this a question of repo setting?

No. AFAICT.

I saw the same message when I downgraded the driver.

To me it seems the transition form nvidia-driver=304.108-1 to nvidia-legacy-304xx-driver didn't provide packages with clean dependencies/conflicts between each other:
http://forum.siduction.org/index.php?msg=32398#32398

For mixed versions of nvidia packages have a look at:
 
Code: [Select]
dpkg -l | grep nvidia
To me it seems somewhat insane to have packages from different versions (304/325) which is why I downgraded manually nvidia-vdpau-driver.
Title: RE: Re: RE: Nvidia 325.08 won
Post by: dibl on 2013/09/14, 14:24:19
@mylo I had the same problem with a GF Go 7300, and I was not able to ever get that command to replace the driver.  I manually purged every nvidia* and  libglx* and xserver-xorg-* package from my system, then (after a reboot) installed only nvidia-legacy-304xx-driver and nvidia-vdpau-driver, and they pulled in their needed dependencies, including libxvmcnvidia1.  I have not installed nvidia-settings on that laptop.
Title: RE: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/14, 14:30:14
@ dibl

And what's
Code: [Select]
apt-get policy nvidia-vdpau-driversaying?
Title: RE: Re: RE: Nvidia 325.08 won
Post by: dibl on 2013/09/14, 15:44:19
Well ... that's very interesting -- I am glad you asked!

Code: [Select]

root@latitude-D620:/# apt-cache policy nvidia-legacy-304xx-driver
nvidia-legacy-304xx-driver:
  Installed: 304.108-2
  Candidate: 304.108-2
  Version table:
 *** 304.108-2 0
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status


Code: [Select]
root@latitude-D620:/# apt-cache policy nvidia-vdpau-driver
nvidia-vdpau-driver:
  Installed: 325.15-2.siduction.1
  Candidate: 325.15-2.siduction.1
  Version table:
 *** 325.15-2.siduction.1 0
        500 http://packages.siduction.org/fixes/ unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status
     325.15-1 0
          1 http://http.debian.net/debian/ experimental/non-free amd64 Packages
     304.108-2 0
        500 http://http.debian.net/debian/ unstable/non-free amd64 Packages


Code: [Select]
root@latitude-D620:/# inxi -v3
System:    Host: latitude-D620 Kernel: 3.11-0.towo-siduction-amd64 x86_64 (64 bit, gcc: 4.8.1)
           Desktop: KDE 4.11.1 (Qt 4.8.5) Distro: siduction 12.1.1 Desperado Reloaded - kde - (201206241901)
Machine:   System: Dell product: Latitude D620 serial: 587F1D1
           Mobo: Dell model: 0KX350 serial: .587F1D1.CN1296175N2438. Bios: Dell version: A10 date: 05/16/2008
CPU:       Dual core Intel Core2 CPU T7200 (-MCP-) cache: 4096 KB flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 7989.26
           Clock Speeds: 1: 1000.00 MHz 2: 1000.00 MHz
Graphics:  Card: NVIDIA G72M [Quadro NVS 110M/GeForce Go 7300] bus-ID: 01:00.0
           X.org: 1.12.4 driver: nvidia tty size: 73x39 Advanced Data: N/A for root
Network:   Card-1: Broadcom NetXtreme BCM5752 Gigabit Ethernet PCI Express driver: tg3 ver: 3.132 bus-ID: 09:00.0
           IF: eth0 state: down mac: 00:18:8b:d6:2c:8f
           Card-2: Intel PRO/Wireless 3945ABG [Golan] Network Connection driver: iwl3945 ver: in-tree:s bus-ID: 0c:00.0
           IF: wlan0 state: up mac: 00:1b:77:37:e7:b5
Drives:    HDD Total Size: 100.0GB (6.7% used) 1: model: Hitachi_HTS72101
Info:      Processes: 150 Uptime: 5 min Memory: 797.5/3267.0MB Runlevel: 5 Gcc sys: 4.8.1
           Client: Shell (bash 4.2.45) inxi: 1.9.14
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: mylo on 2013/09/14, 18:06:20
Quote from: "dibl"
@mylo I had the same problem with a GF Go 7300, and I was not able to ever get that command to replace the driver.  I manually purged every nvidia* and  libglx* and xserver-xorg-* package from my system, then (after a reboot) installed only nvidia-legacy-304xx-driver and nvidia-vdpau-driver, and they pulled in their needed dependencies, including libxvmcnvidia1.  I have not installed nvidia-settings on that laptop.


Hi dibl,

I followed your instruction. At the end a blue backgrounded message appears saying
Code: [Select]
"The driver has still to be configured in xorg.conf before being able to using it".
I quit hitting "ok" the only option.

And then I see:

Code: [Select]
nvidia-kernel-dkms (325.15-2..) will beconfigured
Loading new nvidia-current-325.15 DKMS files...
First installation...
and so on.
Then it seems to getting installed by the hand of a ghost.
dpkg ll then sows the messed up mixture of 304 and 325.

I tried to uninstall all 325 by hand, but no success so far.

[/code]
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/14, 18:32:22
Quote from: "mylo"
...
I tried to uninstall all 325 by hand


How exactly?

You simply need to downgrade by explicitly defining the right version for each or at least some packages. It's written down here somewhere in the actual nvidia threads.
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: mylo on 2013/09/14, 18:37:05
Hi michaa7,

I gave dpkg -l | grep nvidia

and purged all packs wearing 325 in the name. Now my list looks like:
Code: [Select]
ii  glx-alternative-nvidia                           0.4.0                           amd64        allows the selection of NVIDIA as GLX provider
ii  libgl1-nvidia-legacy-304xx-glx:amd64             304.108-2                       amd64        NVIDIA binary OpenGL libraries (304xx legacy version)
ii  libxvmcnvidia1:amd64                             304.108-2                       amd64        NVIDIA binary XvMC library (304xx legacy version)
ii  nvidia-installer-cleanup                         20130816+1                      amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                             20130816+1                      amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-304xx-alternative                  304.108-2                       amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-legacy-304xx-driver                       304.108-2                       amd64        NVIDIA metapackage (304xx legacy version)
ii  nvidia-legacy-304xx-kernel-dkms                  304.108-2                       amd64        NVIDIA binary kernel module DKMS source (304xx legacy version)
ii  nvidia-support                                   20130816+1                      amd64        NVIDIA binary graphics driver support files
ii  xserver-xorg-video-nvidia-legacy-304xx           304.108-2                       amd64        NVIDIA binary Xorg driver (304xx legacy version)


EDIT:

Code: [Select]
Graphics:  Card: NVIDIA G72 [GeForce 7300 GS]
           X.org: 1.12.4 driver: N/A tty size: 128x54 Advanced Data: N/A for root out of X



I'll try going again through the whole procedure.

Which is the right version of

Code: [Select]
# apt-cache policy nvidia-vdpau-driver
nvidia-vdpau-driver:
  Installed: 325.15-2.siduction.1


I killed it during the above described procedure.
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: mylo on 2013/09/14, 18:48:06
Quote from: "michaa7"
Quote from: "mylo"
...
I tried to uninstall all 325 by hand


How exactly?

...

Before I purged all nvidia*
by

Code: [Select]
apt-get remove --purge nvidia*

Hope the asterisk is fine or?
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/14, 18:57:58
Having the wrong version of nvidia-vdpau-driver didn't make a difference, but I installed nvidia-vdpau-driver=304.108-2 nontheless.

Try something like:

Code: [Select]
apt-get install nvidia-legacy-304xx-driver=304.108-2 libxvmcnvidia1=304.108-2 libgl1-nvidia-legacy-304xx-glx=304.108-2 <and_so_on> --reinstall

Or purge all packages on your nvidia list first.

I did it in RL3! Did you?
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: dibl on 2013/09/14, 19:03:44
Quote from: "mylo"
Code: [Select]
"The driver has still to be configured in xorg.conf before being able to using it".



That sounds like maybe you do not have an /etc/X11/xorg.conf.d/20-nvidia.conf file which must look like this:

Code: [Select]
#
Section "Device"
        Identifier      "Device 0"
        Driver          "nvidia"
EndSection
#
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/14, 19:06:34
Quote from: "mylo"
...

Code: [Select]
apt-get remove --purge nvidia*

Hope the asterisk is fine or?


You should have seen ...
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: mylo on 2013/09/15, 13:37:59
Quote from: "dibl"
..
That sounds like maybe you do not have an /etc/X11/xorg.conf.d/20-nvidia.conf file which must look like this:

[code]#
Section "Device"
        Identifier      "Device 0"
        Driver          "nvidia"
EndSection
#

Hi dibl,
I rebuilt thids file (rights for root ok?) but no success.
This smells like a reinstall, bah! The new box is planned for end of the year and the next install either.

Does anybody have a hint here what I can try more?
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: michaa7 on 2013/09/15, 13:58:46
Quote
# cat /etc/X11/xorg.conf.d/20-nvidia.conf
#
Section "Device"
        Identifier      "Device 0"
        Driver          "nvidia"
EndSection
# Leerzeile muss sein


There has to be a empty line at the end, maybe that's what is missing.
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: mylo on 2013/09/15, 14:05:05
It looks exactly like written above just omitting the text Leerzeile.. behind the #

Do I have to put this file after the reinstallation of 304 and vdpau? Does it confuse anything when it is there while reinstalling?
Title: Re: RE: Re: RE: Nvidia 325.08 won
Post by: dibl on 2013/09/15, 14:18:56
Quote from: "mylo"


Do I have to put this file after the reinstallation of 304 and vdpau?


NO, it has to already be there before you install the nvidia driver.

Yes, the last "#" holds an empty line -- the last line needs to be empty.
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: mylo on 2013/09/15, 15:59:52
Seems my system has a major problem. I purged all the nvidia stuff and installed

Code: [Select]
xserver-xorg-video-nouveau

but also no init 5...
Is this package (from the wiki) outdated?
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: piper on 2013/09/15, 17:13:15
Quote from: "mylo"
Seems my system has a major problem. I purged all the nvidia stuff and installed

Code: [Select]
xserver-xorg-video-nouveau

but also no init 5...
Is this package (from the wiki) outdated?


Try this
Code: [Select]
apt-get purge $(dpkg -l | awk '/nvidia/{print $2}') && rm -f /etc/X11/xorg.conf.d/20-nvidia.conf
Code: [Select]
apt-get update && apt-get dist-upgrade
Code: [Select]
apt-get install xserver-xorg-core xserver-xorg-video-nouveauYou possibly might need libgl1-mesa-dri also
Code: [Select]
apt-get cleanreboot

if all works well, then try installing nvidia again and don't forget to make a new 20-nvidia.conf
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: mylo on 2013/09/15, 17:45:54
Quote from: "piper"
...
if all works well, ...


Hi piper, first of all thanks. I went through your recommended procedure but still no init 5...
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: piper on 2013/09/15, 17:56:49
Anything unusual in /var/log/X.0.log and ~/.xsession-errors

What is the output of
Code: [Select]
ls -l /sbin/init
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: mylo on 2013/09/15, 19:30:45
hi piper,,

Quote from: "piper"
...
What is the output of
Code: [Select]
ls -l /sbin/init

I check the logs and come back.

The output is

Code: [Select]
-rwxr-xr-x 1 root root 40552 Jul 16 22:13 /sbin/init

cat /var/log/X.0.log provides "File or Directory not found

cat ~/.xsession-errors delivers half a mile of text, I'll send you the paste URL as PM (do not know whether security infos are in).
[/code]
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: absolut on 2013/09/15, 21:35:27
cat /var/log/X.0.log provides "File or Directory not found

he meant /var/log/Xorg.0.log
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: piper on 2013/09/15, 21:45:20
Quote from: "absolut"
cat /var/log/X.0.log provides "File or Directory not found

he meant /var/log/Xorg.0.log


Yes, thanks ja danke
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: mylo on 2013/09/16, 09:40:23
/var/log/Xorg.0.log is empty also; there is no Xorg* in /var/log/...
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: vayu on 2013/09/17, 06:16:41
Quote from: "piper"

Try this
apt-get purge $(dpkg -l | awk '/nvidia/{print $2}')


What does this part do?  I'd like to uninstall nvidia on my laptop but I also have some nvidia libraries installed that are dependencies for a programming library and don't want to uninstall those.
Title: Nvidia 325.08 won't build against 3.11.0 kernel
Post by: Geier0815 on 2013/09/17, 10:38:17
dpkg -l list all Packages available at your system. This will be piped to the awk-code which will search for nvidia in every line and print if found the name of the package. This code with the $() builds a variable for every found of "nvidia" and the "apt-get purge" uninstall all these founds incl. their configs.