Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-20-05, 08:52 AM   #1
halfpower
Registered User
 
Join Date: Dec 2005
Posts: 11
Default Segmentation Fault with Graphics Drivers

I have a Jaton GeForce 3DForce MX4000Twin 8x AGP dual head video card. I'm running Debian Linux and trying to install the nVidia graphics driver. When I try to install the driver the following happens:
Code:
~$ sh NVIDIA-Linux-x86_64-1.0-7676-pkg2.run
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-7676..........................................................................
NVIDIA-Linux-x86_64-1.0-7676-pkg2.run: line 653:  4406 Segmentation fault      $script $scriptargs $*
Does anyone know what might cause this? Am I using the right driver? Will I need to have anything else installed, such as xinerama? Does it make a difference if my OS is 32 or 64 bit? Can I definitely get dual screens running on my system?
halfpower is offline   Reply With Quote
Old 12-20-05, 10:59 AM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Segmentation Fault with Graphics Drivers

Only a 64bit OS can run a 64 bit driver. Does this problem reproduce with the 1.0-8174 driver?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 12-20-05, 12:35 PM   #3
halfpower
Registered User
 
Join Date: Dec 2005
Posts: 11
Default Re: Segmentation Fault with Graphics Drivers

Yes. It occurs with the 1.0-8174 driver.

And I was using the AMD64 K8 Linux Kernel.
halfpower is offline   Reply With Quote
Old 12-20-05, 12:55 PM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Segmentation Fault with Graphics Drivers

For the 1.0-7676 driver, that segfault seems to be happening at the end of this section:
else
echo "Cannot decompress $0"; exit 1
fi

Based on the $ in your command above, you're trying to install the driver as a non-root user? You must be root, and you need to be doing this on a read-write filesystem.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 12-20-05, 05:06 PM   #5
halfpower
Registered User
 
Join Date: Dec 2005
Posts: 11
Default Re: Segmentation Fault with Graphics Drivers

I'm not sure how to view the source code. Not that I would be able to fix the problem if I could.

When I run the program as root I still get the segmentation fault.
halfpower is offline   Reply With Quote
Old 12-20-05, 06:25 PM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Segmentation Fault with Graphics Drivers

Please try installing the driver with the following command:
./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run -s

If that fails, please post the output as well as /var/log/nvidia-installer.log.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 12-20-05, 06:50 PM   #7
halfpower
Registered User
 
Join Date: Dec 2005
Posts: 11
Default Re: Segmentation Fault with Graphics Drivers

The command failed. Here's the output. It was run as root.
Code:
# ./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run -s
sh: ./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run: Permission denied
There is no such file as /var/log/nvidia-installer.log.
halfpower is offline   Reply With Quote
Old 12-20-05, 06:57 PM   #8
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Segmentation Fault with Graphics Drivers

You need to make the driver executable:
chmod 500 NVIDIA-Linux-x86_64-1.0-8174-pkg2.run

-Lonni
netllama is offline   Reply With Quote

Old 12-20-05, 11:37 PM   #9
halfpower
Registered User
 
Join Date: Dec 2005
Posts: 11
Default Re: Segmentation Fault with Graphics Drivers

Okay. I made the driver executable, and then ran the ./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run -s command again.

Code:
:~$ ./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run -s
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-8174...................................................................................................................................
./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run: line 737:  5024 Segmentation fault  $script $scriptargs $*
There is still no file called /var/log/nvidia-installer.log though.
halfpower is offline   Reply With Quote
Old 12-20-05, 11:51 PM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Segmentation Fault with Graphics Drivers

Is there anything unique, or unusual about your system, such as quotas, unusual shells, etc?

Again, you must install the driver as root. Also, please try adding the -e switch to the command, and if it fails, post the resulting output.

Also, please try extracting the driver with the -x switch.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 12-21-05, 03:47 AM   #11
Lithorus
Registered User
 
Lithorus's Avatar
 
Join Date: Sep 2004
Posts: 783
Default Re: Segmentation Fault with Graphics Drivers

Also which distro are we talking about here?
Lithorus is offline   Reply With Quote
Old 12-21-05, 10:17 AM   #12
halfpower
Registered User
 
Join Date: Dec 2005
Posts: 11
Default Re: Segmentation Fault with Graphics Drivers

Code:
A3001:/home/halfpower# ./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run -s -e
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-8174...................................................................................................................................
./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run: line 737:  4381 Segmentation fault  $script $scriptargs $*
A3001:/home/halfpower#
A3001:/home/halfpower# ./NVIDIA-Linux-x86_64-1.0-8174-pkg2.run -s -e -x
Creating directory NVIDIA-Linux-x86_64-1.0-8174-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-8174...................................................................................................................................
I got a segmentation fault when using the -e swtich but not the -x switch.

I don't think there is anything unusual about my system. My video card is not working perfectly. In Windows it does not display the color red on the second monitor. I'm expecting the same behavior in Linux.

I'm using Debian Sarge with 2.6.8-11-amd64-k8 kernel.
halfpower is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thoughts from console owners on NVIDIA's GEFORCE GRID MikeC Console World 11 05-27-12 08:43 AM

All times are GMT -5. The time now is 08:39 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.