nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Segmentation Fault with Graphics Drivers (http://www.nvnews.net/vbulletin/showthread.php?t=61905)

halfpower 12-20-05 09:52 AM

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?

netllama 12-20-05 11:59 AM

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

halfpower 12-20-05 01:35 PM

Re: Segmentation Fault with Graphics Drivers
 
Yes. It occurs with the 1.0-8174 driver.

And I was using the AMD64 K8 Linux Kernel.

netllama 12-20-05 01:55 PM

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

halfpower 12-20-05 06:06 PM

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.

netllama 12-20-05 07:25 PM

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

halfpower 12-20-05 07:50 PM

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.

netllama 12-20-05 07:57 PM

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

halfpower 12-21-05 12:37 AM

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.

netllama 12-21-05 12:51 AM

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

Lithorus 12-21-05 04:47 AM

Re: Segmentation Fault with Graphics Drivers
 
Also which distro are we talking about here?

halfpower 12-21-05 11:17 AM

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.


All times are GMT -5. The time now is 11:10 AM.

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