Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: clubex on 2013/09/10, 12:24:27
-
Nvidia 325.08 won't build against 3.11.0 kernel
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!
-
I have uploaded a fixed version in our fixes-repo.
-
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.
$ 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.
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
-
Thanks towo
-
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?
-
In siduction-fixes is 325.15.
-
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.
-
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.
-
For GeForce 6xxx ad 7xxx you should install nvidia-legacy-304xx-driver.
-
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.
-
32-bit wasn't uploaded from Debian, towo uploaded a fixed package to the fixes repo.
Then for me all went well with:
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.
-
@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.
-
...
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
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 :
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.
-
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.
-
Ich bin mir ziehmlich sicher, dass der 325 gezogen wird wenn du einfach ein d-u durchführst.
Vorab kannst du testen mit:
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.
-
...
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):
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?
-
...
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:
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.
-
@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.
-
@ dibl
And what's apt-get policy nvidia-vdpau-driver
saying?
-
Well ... that's very interesting -- I am glad you asked!
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
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
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
-
@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 "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:
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]
-
...
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.
-
Hi michaa7,
I gave dpkg -l | grep nvidia
and purged all packs wearing 325 in the name. Now my list looks like:
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:
[1;34mGraphics: [0;37m [1;34mCard:[0;37m NVIDIA G72 [GeForce 7300 GS]
[1;34m [0;37m [1;34mX.org:[0;37m 1.12.4 [1;34mdriver:[0;37m N/A [1;34mtty size:[0;37m 128x54 [1;34mAdvanced Data:[0;37m N/A for root out of X
[0m
I'll try going again through the whole procedure.
Which is the right version of
# apt-cache policy nvidia-vdpau-driver
nvidia-vdpau-driver:
Installed: 325.15-2.siduction.1
I killed it during the above described procedure.
-
...
I tried to uninstall all 325 by hand
How exactly?
...
Before I purged all nvidia*
by
apt-get remove --purge nvidia*
Hope the asterisk is fine or?
-
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:
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?
-
"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:
#
Section "Device"
Identifier "Device 0"
Driver "nvidia"
EndSection
#
-
...
apt-get remove --purge nvidia*
Hope the asterisk is fine or?
You should have seen ...
-
..
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?
-
# 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.
-
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?
-
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.
-
Seems my system has a major problem. I purged all the nvidia stuff and installed
xserver-xorg-video-nouveau
but also no init 5...
Is this package (from the wiki) outdated?
-
Seems my system has a major problem. I purged all the nvidia stuff and installed
xserver-xorg-video-nouveau
but also no init 5...
Is this package (from the wiki) outdated?
Try this
apt-get purge $(dpkg -l | awk '/nvidia/{print $2}') && rm -f /etc/X11/xorg.conf.d/20-nvidia.conf
apt-get update && apt-get dist-upgrade
apt-get install xserver-xorg-core xserver-xorg-video-nouveau
You possibly might need libgl1-mesa-dri alsoapt-get clean
reboot
if all works well, then try installing nvidia again and don't forget to make a new 20-nvidia.conf
-
...
if all works well, ...
Hi piper, first of all thanks. I went through your recommended procedure but still no init 5...
-
Anything unusual in /var/log/X.0.log and ~/.xsession-errors
What is the output ofls -l /sbin/init
-
hi piper,,
...
What is the output ofls -l /sbin/init
I check the logs and come back.
The output is
-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]
-
cat /var/log/X.0.log provides "File or Directory not found
he meant /var/log/Xorg.0.log
-
cat /var/log/X.0.log provides "File or Directory not found
he meant /var/log/Xorg.0.log
Yes, thanks ja danke
-
/var/log/Xorg.0.log is empty also; there is no Xorg* in /var/log/...
-
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.
-
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.