FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-25-2010, 10:38 AM
Jerome BENOIT
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

Hello,

you may build the nvidia related Debian packages from source
if you do not use the distributed kernel.

hth,
Jerome


??????? ?????? wrote:


Hello to everybody!
I'm trying to install nvidia-glx in order to make my GeForce FX 5200
play, but I bump on this curious situation: What is this irrelevant
2.6.26-2-686 kernel that is mentioned? My system runs 2.6.32-trunk-686...


any ideas?

aris:/home/encmp/gpall# aptitude install nvidia-glx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
nvidia-kernel-2.6.26-2-686 xserver-xorg-core
The following NEW packages will be installed:
nvidia-glx nvidia-kernel-common{a}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.3MB of archives. After unpacking 30.8MB will be used.
The following packages have unmet dependencies:
nvidia-kernel-2.6.26-2-686: Depends: linux-image-2.6.26-2-686 which is
a virtual package.
xserver-xorg-core: Conflicts: xserver-xorg-video-2 which is a virtual
package.

The following actions will resolve these dependencies:

Keep the following packages at their current version:
nvidia-glx [Not Installed]
nvidia-kernel-2.6.26-2-686 [Not Installed]

Score is -9871

Accept this solution? [Y/n/q/?]
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

aris:/home/encmp/gpall#



--
Jerome BENOIT
jgmbenoit-at+rezozer*dot_net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2010, 11:11 AM
Jerome BENOIT
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

In Sid,

there is a package ready to be built to do so.

Jerome

olafrv@gmail.com wrote:

Hi,

Download nvidia driver from nvidia official page. Then install package linux-headers for you kernel version and finally install the downloaded nvidia driver.

Bye.-

Olaf.

"You don't know where your shadow will fall",
Somebody.-
----------------------------------------------------------------
Olaf Reitmaier Veracierta (BB) <olafrv@gmail.com>
----------------------------------------------------------------
http://olafrv.googlepages.com
----------------------------------------------------------------

-----Original Message-----
From: ??????? ??????
<gpall@ccf.auth.gr>
Date: Mon, 25 Jan 2010 13:25:24
To: debian Users ENG<debian-user@lists.debian.org>

Subject: problem installing nvidia-glx on a debian testing with 2.6.32 kernel


Hello to everybody!
I'm trying to install nvidia-glx in order to make my GeForce FX 5200
play, but I bump on this curious situation: What is this irrelevant
2.6.26-2-686 kernel that is mentioned? My system runs 2.6.32-trunk-686...


any ideas?

aris:/home/encmp/gpall# aptitude install nvidia-glx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
nvidia-kernel-2.6.26-2-686 xserver-xorg-core
The following NEW packages will be installed:
nvidia-glx nvidia-kernel-common{a}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.3MB of archives. After unpacking 30.8MB will be used.
The following packages have unmet dependencies:
nvidia-kernel-2.6.26-2-686: Depends: linux-image-2.6.26-2-686 which is
a virtual package.
xserver-xorg-core: Conflicts: xserver-xorg-video-2 which is a virtual
package.

The following actions will resolve these dependencies:

Keep the following packages at their current version:
nvidia-glx [Not Installed]
nvidia-kernel-2.6.26-2-686 [Not Installed]

Score is -9871

Accept this solution? [Y/n/q/?]
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

aris:/home/encmp/gpall#




--
Jerome BENOIT
jgmbenoit-at+rezozer*dot_net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2010, 11:36 AM
Vincent Lefevre
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

Hi,

On 2010-01-25 14:26:56 +0200, Γιώργος *άλλας wrote:
> I guess you mean the nvidia-kernel-source package. Well, I installed
> it, and then:
> # module-assistant auto-install nvidia
>
> That fails, and I cant understand why... Again any ideas would be
> very appreciated!

I don't have that in the installation steps:

# apt-get install nvidia-kernel-common module-assistant
# m-a -i -t prepare
# m-a clean,a-i -i -t -f nvidia-kernel-source
# depmod -a
# apt-get install nvidia-glx nvidia-glx-dev nvidia-xconfig
# dpkg-reconfigure xserver-xorg
# nvidia-xconfig

When I need to reinstall the drivers (e.g. after a kernel upgrade),
I rerun steps 2 to 4.

This has always worked for me.

--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2010, 11:59 AM
Jerome BENOIT
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

Hello There,

sorry I should be more specific: I mean the debain source:

http://packages.debian.org/source/sid/nvidia-graphics-drivers

hth,
Jerome

??????? ?????? wrote:

Jerome BENOIT wrote:

In Sid,

there is a package ready to be built to do so.



thanks for the answers!

I guess you mean the nvidia-kernel-source package. Well, I installed it,
and then:

# module-assistant auto-install nvidia

That fails, and I cant understand why... Again any ideas would be very
appreciated!



aris:/var/cache/modass# cat
nvidia-kernel-source.buildlog.2.6.32-trunk-686.1264422219

/usr/bin/make -f debian/rules
clean

make[1]: Entering directory
`/usr/src/modules/nvidia-kernel'

# select which makefile to
use.

rm -f /usr/src/modules/nvidia-kernel/Makefile ||
true if [
6 = 6 ]; then


ln -s Makefile.kbuild Makefile ;


fi

if [ 6 = 4 ]; then


ln -s Makefile.nvidia Makefile ;


fi

if [ -e patch-stamp ]; then


dpatch deapply-all ;


rm -rf patch-stamp debian/patched ;


fi

if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then
cp
/usr/src/modules/nvidia-kernel/debian/control.template
/usr/src/modules/nvidia-kernel/debian/control;

fi

dh_testroot

rm -f build-stamp
configure-stamp

/usr/bin/make clean SYSSRC=/lib/modules/2.6.32-trunk-686/build -C
/usr/src/modules/nvidia-kernel/ -f Makefile make[2]:
Entering directory
`/usr/src/modules/nvidia-kernel'

make[2]: Leaving directory
`/usr/src/modules/nvidia-kernel'

rm -f /usr/src/modules/nvidia-kernel//Makefile ||
true;
rm
/usr/src/modules/nvidia-kernel//gcc-check

rm
/usr/src/modules/nvidia-kernel//cc-sanity-check

dh_clean

rm
/usr/src/modules/nvidia-kernel/debian/control

rm
/usr/src/modules/nvidia-kernel/debian/dirs

rm
/usr/src/modules/nvidia-kernel/debian/override

make[1]: Leaving directory
`/usr/src/modules/nvidia-kernel'


echo "ROOT_CMD = "
ROOT_CMD =
/usr/bin/make -f debian/rules binary_modules
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/Makefile || true
if [ 6 = 6 ]; then
ln -s Makefile.kbuild Makefile ;
fi
if [ 6 = 4 ]; then
ln -s Makefile.nvidia Makefile ;
fi
if ! gcc-4.3 -v 2> /dev/null ; then
echo "Compiler gcc-4.3 does not exist on the system" ;
exit 1;
fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then
cp
/usr/src/modules/nvidia-kernel/debian/control.template
/usr/src/modules/nvidia-kernel/debian/control;

fi
if [ "i686" = "x86_64" ]; then
cp /usr/src/modules/nvidia-kernel/nv-kernel.o.x86_64
/usr/src/modules/nvidia-kernel/nv-kernel.o ;

fi
touch configure-stamp
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 4.3.4
Detected compiler version : 4.3.4
Using compiler gcc-4.3 version 4.3.4
touch /usr/src/modules/nvidia-kernel//gcc-check
touch /usr/src/modules/nvidia-kernel//cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.3" /usr/bin/make -C
/usr/src/modules/nvidia-kernel/ -f Makefile
SYSSRC=/lib/modules/2.6.32-trunk-686/build KBUILD_PARAMS="-C
/lib/modules/2.6.32-trunk-686/build
SUBDIRS=/usr/src/modules/nvidia-kernel" module;

make[2]: Entering directory `/usr/src/modules/nvidia-kernel'
NVIDIA: calling KBUILD...
make CC=gcc-4.3 -C /lib/modules/2.6.32-trunk-686/build
SUBDIRS=/usr/src/modules/nvidia-kernel modules

make[3]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-686'
Building modules, stage 2.
MODPOST 0 modules
make[3]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-686'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Error 1
make[2]: Leaving directory `/usr/src/modules/nvidia-kernel'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel'
make: *** [kdist_image] Error 2




--
Jerome BENOIT
jgmbenoit-at+rezozer*dot_net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2010, 12:06 PM
Sjoerd Hardeman
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

Vincent Lefevre schreef:

Hi,

On 2010-01-25 14:26:56 +0200, Γιώργος *άλλας wrote:

I guess you mean the nvidia-kernel-source package. Well, I installed
it, and then:
# module-assistant auto-install nvidia

That fails, and I cant understand why... Again any ideas would be
very appreciated!


I don't have that in the installation steps:
m-a a-i == module-assistant auto-install, so you actually do. However,
doing a m-a prepare, m-a clean might work for the OP. I did a m-a a-i
for the 2.6.32 yesterday (on and amd64, so not exactly the same config),
without any problem. So likely there's still some old junk in the way.


Sjoerd
 
Old 01-25-2010, 12:24 PM
steef
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

hi giorgos,

you received already valuable advice.

maybe this can be a valuable possibility too


Script URL: http://smxi.org/sg/sgfxi
#### Script SVN: http://code.google.com/p/sgfxi
#### Script Documentation: http://smxi.org/docs/
#### Script Home page: http://techpatterns.com/forums/about933.html


reg.,

steef




Γιώργος *άλλας schreef:


Hello to everybody!
I'm trying to install nvidia-glx in order to make my GeForce FX 5200
play, but I bump on this curious situation: What is this irrelevant
2.6.26-2-686 kernel that is mentioned? My system runs 2.6.32-trunk-686...

<.....>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2010, 02:20 PM
Nima Azarbayjany
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

I guess you're in Squeeze or probably Lenny, right?

Remove everything nvidia-related (source packages, modules built or
installed, non-free binary drivers, etc.), activate sid in your
sources.list, and then try again. Be sure to have the correct kernel
headers available by doing m-a prepare for the proper kernel (which is
now the same in both squeeze and sid). Then try installing from sid. I
had the same problem as yours. The build process failed without any
understandable errors but when I used the packages in sid it worked like
a charm.


First install headers for you kernel, then activate sid if not already
activated, then go through downloading and building the module with
module-assistant. Then install nvidia-glx (from sid) if it does not get
installed during the process of module building and installing. The
nvidia-settings and nvidia-xconfig packages can also be very useful.


Nima


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2010, 04:28 PM
Ingo Kasten
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

Γιώργος *άλλας schrieb:


Hello to everybody!
I'm trying to install nvidia-glx in order to make my GeForce FX 5200
play, but I bump on this curious situation: What is this irrelevant
2.6.26-2-686 kernel that is mentioned? My system runs 2.6.32-trunk-686...




For a Geforce FX 5200 afaik you need nvidia-kernel-legacy-173xx and
related packages (unstable 173.14.22)


Regards
Ingo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2010, 07:18 PM
Alex Samad
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

Hi

I have just recently built nvidia for 6.32 using m-a

I would recommend always using m-a and not the nvidia installer - easier
to maintain.



On Mon, Jan 25, 2010 at 03:20:15PM +0200, Γιώργος *άλλας wrote:
> Vincent Lefevre wrote:
> >Hi,
> >

[snip]

> Setting up nvidia-kernel-source (173.14.09-5) ...
> Updating info about nvidia-kernel-source

I am not sure if 173.14 builds against 2.6.32,
194.42 is the latest, try it.

[snip]

>
 
Old 01-25-2010, 09:30 PM
Ingo Kasten
 
Default problem installing nvidia-glx on a debian testing with 2.6.32 kernel

I am not sure if 173.14 builds against 2.6.32,
194.42 is the latest, try it.

No. 173.14.09 doesn't build against 2.6.32, but 173.14.20 and
173.14.22 (unstable) do.
194.42 does not work with GeForce FX 5200.
So you have to try the legacy-driver from unstable.

Ingo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org