nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   "nvidia-installer install" is OK but "manual install" give a black screen (http://www.nvnews.net/vbulletin/showthread.php?t=153193)

linuxos 07-19-10 09:24 PM

"nvidia-installer install" is OK but "manual install" give a black screen
 
Hello,

I would like to do a manual install for the NVIDIA drivers. I would like to compile, and copy files but I don't want to use the installer. If I use the installer, it's ok. If I do a manual install, I got a black screen when I do "startx".

This is what I do :
./NVIDIA-Linux-x86-256.35.run -x
cd NVIDIA-Linux-x86-256.35
cd kernel/
make SYSSRC=/usr/src/linux-headers-2.6.34.1/ module
sudo cp nvidia.ko /lib/modules/2.6.34.1/kernel/drivers/video/nvidia.ko
cd ..
sudo cp libGL.so.256.35 /usr/lib/
sudo cp libglx.so.256.35 /usr/lib/xorg/modules/extensions/
sudo cp nvidia_drv.so /usr/lib/xorg/modules/drivers/
sudo rm /usr/lib/libGL.so.1
sudo ln -s /usr/lib/libGL.so.256.35 /usr/lib/libGL.so.1
sudo rm /usr/lib/xorg/modules/extensions/libglx.so
sudo ln -s /usr/lib/xorg/modules/extensions/libglx.so.256.35 /usr/lib/xorg/modules/extensions/libglx.so
sudo ./nvidia-xconfig
sudo cp libnvidia-tls.so.256.35 /usr/lib
sudo depmod
sudo cp libnvidia-glcore.so.256.35 /usr/lib

If I do "startx" I have a black screen.
If I remove libnvidia-glcore.so.256.35 I have no black screen, the NVIDIA logo is displayed then I am on my desktop environment. But in this case, the driver isn't fully installed.

These are the files before my manual install :
ls -l /usr/lib/libGL*
lrwxrwxrwx 1 root root 12 jui 20 02:59 /usr/lib/libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 397196 déc 14 2008 /usr/lib/libGL.so.1.2
lrwxrwxrwx 1 root root 20 jui 20 03:00 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070004
-rw-r--r-- 1 root root 532152 déc 14 2008 /usr/lib/libGLU.so.1.3.070004
ls -l /usr/lib/xorg/modules/drivers/
total 4849
-rw-r--r-- 1 root root 135364 jun 2 2008 apm_drv.so
-rw-r--r-- 1 root root 18548 jun 2 2008 ark_drv.so
-rw-r--r-- 1 root root 4584 sep 5 2008 ati_drv.so
-rw-r--r-- 1 root root 6120 mai 11 23:31 ch7017.so
-rw-r--r-- 1 root root 5884 mai 11 23:31 ch7xxx.so
-rw-r--r-- 1 root root 145672 jun 2 2008 chips_drv.so
-rw-r--r-- 1 root root 35320 jan 25 2009 cirrus_alpine.so
-rw-r--r-- 1 root root 11772 jan 25 2009 cirrus_drv.so
-rw-r--r-- 1 root root 27320 jan 25 2009 cirrus_laguna.so
-rw-r--r-- 1 root root 27012 sep 16 2007 cyrix_drv.so
-rw-r--r-- 1 root root 13304 jun 2 2008 dummy_drv.so
-rw-r--r-- 1 root root 19844 jun 5 2008 fbdev_drv.so
-rw-r--r-- 1 root root 290288 jui 1 2008 glint_drv.so
-rw-r--r-- 1 root root 56088 jun 5 2008 i128_drv.so
-rw-r--r-- 1 root root 44552 jun 5 2008 i740_drv.so
lrwxrwxrwx 1 root root 12 jui 20 03:00 i810_drv.so -> intel_drv.so
-rw-r--r-- 1 root root 19016 sep 16 2007 imstt_drv.so
-rw-r--r-- 1 root root 375992 mai 11 23:31 intel_drv.so
-rw-r--r-- 1 root root 5988 mai 11 23:31 ivch.so
-rw-r--r-- 1 root root 194816 jun 13 2008 mach64_drv.so
-rw-r--r-- 1 root root 170980 jui 10 2008 mga_drv.so
-rw-r--r-- 1 root root 70868 mai 22 2008 neomagic_drv.so
-rw-r--r-- 1 root root 293368 jun 16 2008 nsc_drv.so
-rw-r--r-- 1 root root 163440 jui 1 2008 nv_drv.so
-rw-r--r-- 1 root root 317548 déc 17 2008 openchrome_drv.so
-rw-r--r-- 1 root root 103368 jun 13 2008 r128_drv.so
-rw-r--r-- 1 root root 543476 sep 5 2008 radeon_drv.so
-rw-r--r-- 1 root root 248304 mai 11 2008 radeonhd_drv.so
-rw-r--r-- 1 root root 39604 jun 14 2008 rendition_drv.so
-rw-r--r-- 1 root root 56532 jun 6 2008 s3_drv.so
-rw-r--r-- 1 root root 73580 mai 22 2008 s3virge_drv.so
-rw-r--r-- 1 root root 138048 mar 22 2009 savage_drv.so
-rw-r--r-- 1 root root 4808 mai 11 23:31 sil164.so
-rw-r--r-- 1 root root 94884 jun 6 2008 siliconmotion_drv.so
-rw-r--r-- 1 root root 593004 jun 6 2008 sis_drv.so
-rw-r--r-- 1 root root 76876 jun 6 2008 sisusb_drv.so
-rw-r--r-- 1 root root 69552 jun 6 2008 tdfx_drv.so
-rw-r--r-- 1 root root 5768 mai 11 23:31 tfp410.so
-rw-r--r-- 1 root root 48376 sep 16 2007 tga_drv.so
-rw-r--r-- 1 root root 158420 jun 6 2008 trident_drv.so
-rw-r--r-- 1 root root 51916 jun 6 2008 tseng_drv.so
-rw-r--r-- 1 root root 14552 jun 9 2008 v4l_drv.so
-rw-r--r-- 1 root root 23008 sep 16 2007 vesa_drv.so
-rw-r--r-- 1 root root 18784 sep 17 2007 vga_drv.so
-rw-r--r-- 1 root root 45432 jun 13 2008 vmware_drv.so
-rw-r--r-- 1 root root 24940 jun 6 2008 voodoo_drv.so
ls -l /usr/lib/xorg/modules/extensions/
total 3134
-rw-r--r-- 1 root root 19243 jun 8 2009 libdbe.so
-rw-r--r-- 1 root root 40804 jun 8 2009 libdri.so
-rw-r--r-- 1 root root 152014 jun 8 2009 libextmod.so
-rw-r--r-- 1 root root 2486954 jun 8 2009 libGLcore.so
-rw-r--r-- 1 root root 426625 jun 8 2009 libglx.so
-rw-r--r-- 1 root root 28575 jun 8 2009 librecord.so
-rw-r--r-- 1 root root 40153 jun 8 2009 libxtrap.so

These are the files after my manual install :
ls -l /usr/lib/libGL*
lrwxrwxrwx 1 root root 24 jui 20 03:21 /usr/lib/libGL.so.1 -> /usr/lib/libGL.so.256.35
-rw-r--r-- 1 root root 397196 déc 14 2008 /usr/lib/libGL.so.1.2
-rwxr-xr-x 1 root root 765460 jui 20 03:19 /usr/lib/libGL.so.256.35
lrwxrwxrwx 1 root root 20 jui 20 03:00 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070004
-rw-r--r-- 1 root root 532152 déc 14 2008 /usr/lib/libGLU.so.1.3.070004
ls -l /usr/lib/xorg/modules/drivers/
total 9982
-rw-r--r-- 1 root root 135364 jun 2 2008 apm_drv.so
-rw-r--r-- 1 root root 18548 jun 2 2008 ark_drv.so
-rw-r--r-- 1 root root 4584 sep 5 2008 ati_drv.so
-rw-r--r-- 1 root root 6120 mai 11 23:31 ch7017.so
-rw-r--r-- 1 root root 5884 mai 11 23:31 ch7xxx.so
-rw-r--r-- 1 root root 145672 jun 2 2008 chips_drv.so
-rw-r--r-- 1 root root 35320 jan 25 2009 cirrus_alpine.so
-rw-r--r-- 1 root root 11772 jan 25 2009 cirrus_drv.so
-rw-r--r-- 1 root root 27320 jan 25 2009 cirrus_laguna.so
-rw-r--r-- 1 root root 27012 sep 16 2007 cyrix_drv.so
-rw-r--r-- 1 root root 13304 jun 2 2008 dummy_drv.so
-rw-r--r-- 1 root root 19844 jun 5 2008 fbdev_drv.so
-rw-r--r-- 1 root root 290288 jui 1 2008 glint_drv.so
-rw-r--r-- 1 root root 56088 jun 5 2008 i128_drv.so
-rw-r--r-- 1 root root 44552 jun 5 2008 i740_drv.so
lrwxrwxrwx 1 root root 12 jui 20 03:00 i810_drv.so -> intel_drv.so
-rw-r--r-- 1 root root 19016 sep 16 2007 imstt_drv.so
-rw-r--r-- 1 root root 375992 mai 11 23:31 intel_drv.so
-rw-r--r-- 1 root root 5988 mai 11 23:31 ivch.so
-rw-r--r-- 1 root root 194816 jun 13 2008 mach64_drv.so
-rw-r--r-- 1 root root 170980 jui 10 2008 mga_drv.so
-rw-r--r-- 1 root root 70868 mai 22 2008 neomagic_drv.so
-rw-r--r-- 1 root root 293368 jun 16 2008 nsc_drv.so
-rw-r--r-- 1 root root 163440 jui 1 2008 nv_drv.so
-rwxr-xr-x 1 root root 5248664 jui 20 03:20 nvidia_drv.so
-rw-r--r-- 1 root root 317548 déc 17 2008 openchrome_drv.so
-rw-r--r-- 1 root root 103368 jun 13 2008 r128_drv.so
-rw-r--r-- 1 root root 543476 sep 5 2008 radeon_drv.so
-rw-r--r-- 1 root root 248304 mai 11 2008 radeonhd_drv.so
-rw-r--r-- 1 root root 39604 jun 14 2008 rendition_drv.so
-rw-r--r-- 1 root root 56532 jun 6 2008 s3_drv.so
-rw-r--r-- 1 root root 73580 mai 22 2008 s3virge_drv.so
-rw-r--r-- 1 root root 138048 mar 22 2009 savage_drv.so
-rw-r--r-- 1 root root 4808 mai 11 23:31 sil164.so
-rw-r--r-- 1 root root 94884 jun 6 2008 siliconmotion_drv.so
-rw-r--r-- 1 root root 593004 jun 6 2008 sis_drv.so
-rw-r--r-- 1 root root 76876 jun 6 2008 sisusb_drv.so
-rw-r--r-- 1 root root 69552 jun 6 2008 tdfx_drv.so
-rw-r--r-- 1 root root 5768 mai 11 23:31 tfp410.so
-rw-r--r-- 1 root root 48376 sep 16 2007 tga_drv.so
-rw-r--r-- 1 root root 158420 jun 6 2008 trident_drv.so
-rw-r--r-- 1 root root 51916 jun 6 2008 tseng_drv.so
-rw-r--r-- 1 root root 14552 jun 9 2008 v4l_drv.so
-rw-r--r-- 1 root root 23008 sep 16 2007 vesa_drv.so
-rw-r--r-- 1 root root 18784 sep 17 2007 vga_drv.so
-rw-r--r-- 1 root root 45432 jun 13 2008 vmware_drv.so
-rw-r--r-- 1 root root 24940 jun 6 2008 voodoo_drv.so
ls -l /usr/lib/xorg/modules/extensions/
total 5285
-rw-r--r-- 1 root root 19243 jun 8 2009 libdbe.so
-rw-r--r-- 1 root root 40804 jun 8 2009 libdri.so
-rw-r--r-- 1 root root 152014 jun 8 2009 libextmod.so
-rw-r--r-- 1 root root 2486954 jun 8 2009 libGLcore.so
lrwxrwxrwx 1 root root 49 jui 20 03:21 libglx.so -> /usr/lib/xorg/modules/extensions/libglx.so.256.35
-rwxr-xr-x 1 root root 2626768 jui 20 03:20 libglx.so.256.35
-rw-r--r-- 1 root root 28575 jun 8 2009 librecord.so
-rw-r--r-- 1 root root 40153 jun 8 2009 libxtrap.s

Can you tell me why the screen stay black?

Thank you.

Licaon 07-20-10 07:06 AM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
http://www.nvnews.net/vbulletin/showthread.php?t=46678 ?

linuxos 07-20-10 07:49 AM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
I respect it :
1) OK
2) OK
3) OK
4) OK
4a) Hum...I have not included a nvidia-bug-report.log file... But I don't think it is very intresting for this problem.
4b) OK
4c) OK
4d) OK

Can you explain me what is the problem?

adamk75 07-20-10 08:19 AM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
I'm pretty sure that no one can help you without that bug report. As the thread you were linked to says: All requests for assistance from NVIDIA must include the bug report, per the instructions above.

They don't ask for the bug report for fun. They ask for the bug report because it contains nearly every piece of pertinent information.

linuxos 07-20-10 10:43 AM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
OK but now my problem is resolved!

I just need to copy other lib files :

kernel/nvidia.ko /lib/modules/`uname -r`/kernel/drivers/video/
nvidia_drv.so /usr/lib/xorg/modules/drivers/
libglx.so.x.y /usr/lib/xorg/modules/extensions/
libGL.so.x.y /usr/lib/
libnvidia-cfg.so.x.y /usr/lib/
libnvidia-compiler.so.x.y /usr/lib/
libnvidia-glcore.so.x.y /usr/lib/
libnvidia-tls.so.x.y /usr/lib/
libnvidia-wfb.so.x.y /usr/lib/
libOpenCL.so.1.0.0 /usr/lib/
libvdpau_nvidia.so.x.y /usr/lib/
libvdpau.so.x.y /usr/lib/
libvdpau_trace.so.x.y /usr/lib/
libXvMCNVIDIA.so.x.y /usr/lib/
tls/ /usr/lib/

Thank you.

PROBLEM RESOLVED

Licaon 07-24-10 03:50 PM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
Quote:

Originally Posted by linuxos (Post 2290139)
OK but now my problem is resolved!

I just need to copy other lib files :
...
PROBLEM RESOLVED

that's not really solved actually :thumbdwn:
so for the next driver version you will hunt the libs and rm them by hand ?

linuxos 07-24-10 07:58 PM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
Not really.
All these files are put into a package (a debian package).
So the files will be automatically removed if I update.

Licaon 07-26-10 04:34 PM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
Quote:

Originally Posted by linuxos (Post 2292573)
Not really.
All these files are put into a package (a debian package).
So the files will be automatically removed if I update.

so instead of finding why the driver does not install as it should you create a separate deb package for it? :headexplode:

adamk75 07-26-10 05:46 PM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
The OP never said the driver does not install as it should. In fact, the OP says:

Quote:

If I use the installer, it's ok.

Licaon 07-27-10 04:04 AM

Re: "nvidia-installer install" is OK but "manual install" give a black screen
 
Quote:

Originally Posted by adamk75 (Post 2293430)
The OP never said the driver does not install as it should. In fact, the OP says:

my bad :(


All times are GMT -5. The time now is 12:08 AM.

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