View Single Post
Old 07-19-10, 09:24 PM   #1
linuxos
Registered User
 
Join Date: Feb 2004
Posts: 6
Exclamation "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.
__________________
YuGiOhJCJ
http://yugiohjcj.1s.fr/
linuxos is offline   Reply With Quote