Jawojx: to nic nie daje. za każdym razem jak instaluje z apt-get, envy lub sterowników własnościowych to po restarcie zostaje po włączeniu jedynie pasek jednopikselowy u góry ekranu...
Ulek: robiłem tak (zawsze):
Kod: Zaznacz cały
#chmod 777 NVI*
#./ << tutaj pełna nazwa sterownika
wyskakiwał błąd "nie to jądro"
#export CC=gcc-4.1
#./ <<znów sterownik
i znów ten sam błąd, jakby export nic nie dał
już nie wiem, co robić, chyba odświeżone jajo 8.10 nie daje rady. Chyba się przesiądę z powrotem na 8.04. Tylko co będzie, jeśli kojejne wydania będą też tak robić...
a manager do wyboru, myślałem na początku że to problem z płytą i usunąłem Ubu dając na te dyski Xu. Oba mają GDM, bo wyłączyć można przez init.d/gdm stop w obu przypadkach.
Kumpel powiedział mi, że 6100 i 6150 mają jakieś inne stery, że zawsze były z nimi kłopot
EDIT:
Dostałem odpowiedź od kumpla. Sterowniki dla 6100 i 6150 muszą być legacy. spróbuje, jutro dam wyniki.
EDIT:
Dobra, odpaliłem sterowniki 100.14.11 ściągnięte ze stronuyy NVIDII jako GF6 - Legacy. Jądro przekompilowało się dobrze (samo, podczas instalacji) trochę się pomęczył i nagle wyrzucił
Kod: Zaznacz cały
ERROR: Unable to build the NVIDIA kernel module.
sam nie wiem, co to znaczy, jeśli teoretycznie udała mu się kompilacja jądra (nie wyskoczył błąd w stylu poprzednich). daję leszcze jego log:
Kod: Zaznacz cały
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Mar 24 16:28:09 2009
option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)
Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 173.
14.18). As part of installing this driver (version: 100.14.11), the existin
g driver will be uninstalled. Are you sure you want to continue? ('no' will
abort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.27-11-generic/build'
-> Kernel output path: '/lib/modules/2.6.27-11-generic/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.
o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
a.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.27-11-gener
ic/build SYSOUT=/lib/modules/2.6.27-11-generic/build'...
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.27-11-generic/build /lib/modules
/2.6.27-11-generic/build cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.27-11-generic/build /lib/modules
/2.6.27-11-generic/build select_makefile full_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-11-generic/build SUBDIRS
=/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_ve
rsions ; rm -f /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.
tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.
11-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz10555/NV
IDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.nv
.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNE
L__ -Iinclude -I/usr/src/linux-headers-2.6.27-11-generic/arch/x86/include
-include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-p
rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-f
unction-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -m
preferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -pipe -
Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2
-mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-fra
me-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wn
o-pointer-sign -I/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv
-W
all -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthes
es -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float -MD -W
sign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
MODULE -DNVRM -DNV_VERSION_STRING=\"100.14.11\" -UDEBUG -U_DEBUG -DNDEBUG -D
NV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLAS
S_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_P
CI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRE
SENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_VMA
P_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"
-D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz10555/NVIDIA-Linux-x
86-100.14.11-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz10555/NVIDIA-Linux-x86-100
.14.11-pkg1/usr/src/nv/nv.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from include/linux/utsname.h:35,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv-linux.h:19,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv.c:14:
include/asm/bitops.h: In function ?set_bit?:
include/asm/bitops.h:60: warning: pointer of type ?void *? used in arith
metic
include/asm/bitops.h: In function ?clear_bit?:
include/asm/bitops.h:97: warning: pointer of type ?void *? used in arith
metic
In file included from include/linux/list.h:6,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv-linux.h:19,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv.c:14:
include/linux/prefetch.h: In function ?prefetch_range?:
include/linux/prefetch.h:57: warning: pointer of type ?void *? used in a
rithmetic
In file included from include/linux/utsname.h:35,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv-linux.h:19,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv.c:14:
include/linux/sched.h: In function ?object_is_on_stack?:
include/linux/sched.h:1975: warning: pointer of type ?void *? used in ar
ithmetic
In file included from include/asm/dma-mapping.h:9,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:94,
from include/linux/pci.h:989,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv-linux.h:78,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv.c:14:
include/linux/scatterlist.h: In function ?sg_virt?:
include/linux/scatterlist.h:199: warning: pointer of type ?void *? used
in arithmetic
In file included from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv.c:14:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-linux.h:98:27
: error: asm/semaphore.h: No such file or directory
In file included from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv-linux.h:100,
from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv.c:14:
include/linux/highmem.h: In function ?zero_user_segments?:
include/linux/highmem.h:134: warning: pointer of type ?void *? used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ?void *? used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ?void *? used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ?void *? used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ?void *? used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ?void *? used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ?void *? used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ?void *? used in a
rithmetic
In file included from /tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv.c:14:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-linux.h: In f
unction ?nv_execute_on_all_cpus?:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-linux.h:637:
error: too many arguments to function ?on_each_cpu?
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In functio
n ?nvos_proc_create?:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:622: error:
?proc_root_driver? undeclared (first use in this function)
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:622: error:
(Each undeclared identifier is reported only once
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:622: error:
for each function it appears in.)
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In functio
n ?nv_kern_cpu_callback?:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1285: error
: too many arguments to function ?smp_call_function?
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1292: error
: too many arguments to function ?smp_call_function?
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In functio
n ?nvidia_init_module?:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1326: error
: too many arguments to function ?kmem_cache_create?
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1435: error
: too many arguments to function ?kmem_cache_create?
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1569: error
: void value not ignored as it ought to be
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In functio
n ?nvidia_exit_module?:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1601: error
: void value not ignored as it ought to be
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In functio
n ?nv_kern_vma_nopage?:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1826: error
: ?NOPAGE_SIGBUS? undeclared (first use in this function)
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: At top lev
el:
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1833: error
: unknown field ?nopage? specified in initializer
/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1833: warni
ng: initialization from incompatible pointer type
make[3]: *** [/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv
.o] Błąd 1
make[2]: *** [_module_/tmp/selfgz10555/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv] Błąd 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Błąd 1
make: *** [module] Błąd 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.
Pomóżcie, już naprawdę nie wiem, co mu dolega!
EDIT:
Poradziłem soobie z tym. Sam na to wpadłem, nie widziałem żeby ktoś tak zrobił więc piszę jak dla potomnych:
najpierw zainstalowałem envy
Kod: Zaznacz cały
sudo apt-get install envyng-gtk envyng-core envyng-qt
potem odpalamy envy...
... i wybieramy odpowiedni sterownik, instalujemy i pozwalamy mu się zresetować. jeżeli nie ma waszego sterownika na liście to w Synapticu znajdź i zainstaluj coś, co będzie miało składnie nvidia-XXX-modaliases, zamiast XXX wstaw numer sterownika (dla mnie 180).
Po restarcie grafika żle się wyświetla, więc CTRL+ALT+F1 przenosi na konsolę. Wpisujemy
Kod: Zaznacz cały
$sudo su
$password for blaszanka:
home/blaszanka#cd .. <<schodzimy "cd .." aż do katalogu głównego
home/#cd ..
/#sudo nano etc/X11/xorg.conf
otworzy się plik konfiguracyjny nano. szukamy w nim Section "Screen" a w nim podsekcji "Display" jeśli nie ma to dopisujemy, jeśli jest edytujemy.
Kod: Zaznacz cały
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Modes "1280x960"
EndSubSection
EndSection
oto mój kawałek. u ciebie może być to trochę inne, inne wartości deph czy coś innego, dlatego pogruybiłem to, co musi być. na czerwono jest rozdzielczość, jest to maksymalna rozdzielczość dla twojej karty i monitora. jak przesadzisz czeka cię znowu pojedyńczy pasek pixeli podczas pracy systemu.
zapisujemy (lewy CTRL+S) i resetujemy X`y, na przykład
Teoretycznie zadziała kopmenda "etc/init.d/gdm restart" ale u mnie raz działa, raz nie.
Po tych operacjach mamy system w rozdzielczości maksymalnej (podanej w xorg.conf) i możemy spokojnie ustawić mniejszą już graficznie, przez System>Preferencje>rozdzielczość ekranu
Dziękuje wam za pomoc.