Puesto que no secomo desinstalar Nouveau, continuo el siguiente paso del link que estoy siguiendo.
Ejecuto:
Código
La pantalla se pone totalmente negra. Asi que: CTRL+ALT+F1
sudo service lightdm stop
Código
(intento instalar el driver privativo de NVIDIA que descargue desde su pagina web)
sudo sh NVIDIA.run
y me larga:
Citar
ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the nvidia driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution´s documentation for details on how to correctly disable the Nouveau kernel driver.
luego sale el siguiente mensaje:
Citar
For some distributions, Nouveau can be disable by adding a file in the modprobe configuration directory. Would you like nvidia-installer to attempt to create this modprobe file for you?
Le digo que SI.Ahora me larga el siguiente mensaje:
Citar
One or more modprobe configuration files to disable Nouveau, have been written. For some distributions, this may be sufficient to disable Nouveau; other distributions may require modification of the initial ramdisk. Please reboot your system and attempt NVIDIA driver instalation again. Note if you later wish to reenable Nouveau, you will need to delete these files:
/etc/modprobe.d/nvidia-installer-diable-nouveau.conf
/etc/modprobe.d/nvidia-installer-diable-nouveau.conf
rebooteo el sistema, me permite entrar al modo grafico, pero ahora tengo una resolucion de 640x480
Código
xrandr
Citar
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected primary 640x480+0+0 0mm x 0mm
640x480 73.0*
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected primary 640x480+0+0 0mm x 0mm
640x480 73.0*
Repito los pasos del principio para instalar el driver de NVIDIA, en esta ocasion no salen los mensajes anteriores, comienza la barra de progreso de instalacion a incrementarse... pero al rato sale:
Citar
ERROR: Unable to build the NVIDIA kernel module
Este es el contenido de /etc/modprobe/nvidia-installer-disable-nouveau.conf: (que ni bien termine de mandar esta consulta lo borro, pues la resolucion actual me esta dejando ciego)
Citar
# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0
blacklist nouveau
options nouveau modeset=0
Este es el contenido de /var/log/nvidia-installer.log:
Citar
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Aug 28 07:15:33 2015
installer version: 304.125
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
nvidia-installer command line:
./nvidia-installer
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 304.125.
-> Running distribution scripts
executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed! Continue installation anyway? (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/3.19.0-26-generic/build'
-> Kernel output path: '/lib/modules/3.19.0-26-generic/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/3.19.0-26-generic/build SYSOUT=/lib/modules/3.19.0-26-generic/build'...
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/.tmp_versions ; rm -f /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel
cc -Wp,-MD,/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL
__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -I/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel -Wall
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.125\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/.tmp_nv.o /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from ./include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from include/linux/utsname.h:5,
from /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv-linux.h:40,
from /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:13:
include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from ./include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from include/linux/utsname.h:5,
from /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv-linux.h:40,
from /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:13:
./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function ‘nv_kern_unlocked_ioctl’:
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2029:30: error: ‘struct file’ has no member named ‘f_dentry’
return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function ‘nv_kern_compat_ioctl’:
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2038:30: error: ‘struct file’ has no member named ‘f_dentry’
return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function ‘nv_kern_unlocked_ioctl’:
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2030:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function ‘nv_kern_compat_ioctl’:
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2039:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[3]: *** [/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.o] Error 1
make[2]: *** [_module_/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
creation time: Fri Aug 28 07:15:33 2015
installer version: 304.125
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
nvidia-installer command line:
./nvidia-installer
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 304.125.
-> Running distribution scripts
executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed! Continue installation anyway? (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/3.19.0-26-generic/build'
-> Kernel output path: '/lib/modules/3.19.0-26-generic/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/3.19.0-26-generic/build SYSOUT=/lib/modules/3.19.0-26-generic/build'...
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/.tmp_versions ; rm -f /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel
cc -Wp,-MD,/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL
__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -I/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel -Wall
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.125\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/.tmp_nv.o /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from ./include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from include/linux/utsname.h:5,
from /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv-linux.h:40,
from /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:13:
include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
^
include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from ./include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from include/linux/utsname.h:5,
from /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv-linux.h:40,
from /tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:13:
./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
./arch/x86/include/asm/uaccess.h: In function ‘copy_to_user’:
./arch/x86/include/asm/uaccess.h:730:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
^
include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function ‘nv_kern_unlocked_ioctl’:
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2029:30: error: ‘struct file’ has no member named ‘f_dentry’
return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function ‘nv_kern_compat_ioctl’:
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2038:30: error: ‘struct file’ has no member named ‘f_dentry’
return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg);
^
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function ‘nv_kern_unlocked_ioctl’:
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2030:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c: In function ‘nv_kern_compat_ioctl’:
/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.c:2039:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[3]: *** [/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel/nv.o] Error 1
make[2]: *** [_module_/tmp/selfgz2383/NVIDIA-Linux-x86_64-304.125/kernel] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
RESUMIENDO:
Por lo que entiendo, en este momento tengo deshabilitado Noveau, tengo descargado el driver de NVIdIA de la pagina de ellos, dirver que soporta mi tarjeta grafica y es para Linux de 64 bits... pero hay error al querer instalarlo!!!!!
Gualicho!!!!!!!