View previous topic :: View next topic |
Author |
Message |
univac^ Apprentice
Joined: 19 Sep 2004 Posts: 231 Location: Suwalki, Polska
|
Posted: Sun Apr 03, 2005 3:49 pm Post subject: Nvidia grrrrr :( |
|
|
Hi
My story of nvidia drivers.
Kernel:
GPU:
Xserver
The newest drivers, from 7* tree, 1.0.7167 and 1.0.7174 freezes my X, i dont know why...
and nvidia-kernel-1.0.6629-r1 cant compile i have error
Code: | /var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:273: error: request for member `bind_memory' in something not a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:290: error: request for member `unbind_memory' in something not a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:305: error: request for member `free_memory' in something not a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In function `KernMapAGPPages':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:345: error: request for member `unbind_memory' in something not a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In function `KernFreeAGPPages':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: error: request for member `unbind_memory' in something not a structure or union
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: error: request for member `free_memory' in something not a structure or union
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function linux-mod_src_compile, Line 418, Exitcode 2
!!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, NOT this status message. |
I'll want use drivers 1.0.7174 with renderaccel and composite...
My xorg.conf
Code: | Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/aquafont"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/jmk"
FontPath "/usr/share/fonts/unifont"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons"
EndSection
Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 82.0
VertRefresh 50-90
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "** NVIDIA (generic) [nv]"
Driver "nv"
Option "RenderAccel" "1"
Option "AllowGLXWithComposite" "1"
Option "NoLogo" "1"
#VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen 1"
Device "** NVIDIA (generic) [nv]"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection |
_________________ Gentoo own3d |
|
Back to top |
|
|
iainel Tux's lil' helper
Joined: 28 Feb 2005 Posts: 94
|
Posted: Sun Apr 03, 2005 4:19 pm Post subject: |
|
|
Try and emerge nvidia-kernel-1.0.6629-r4? |
|
Back to top |
|
|
univac^ Apprentice
Joined: 19 Sep 2004 Posts: 231 Location: Suwalki, Polska
|
Posted: Sun Apr 03, 2005 4:32 pm Post subject: |
|
|
The same compile error nvidia-kernel-1.0.6629-r*, i want 7* _________________ Gentoo own3d |
|
Back to top |
|
|
s4kk3 Apprentice
Joined: 15 Oct 2004 Posts: 232 Location: Finland
|
Posted: Sun Apr 03, 2005 5:59 pm Post subject: |
|
|
Are you using 4kb stacks? If you're try removing them
And make sure you compile nvidia-kernel with same gcc version than kernel (this shouldn't cause compile errors) |
|
Back to top |
|
|
FlavioVinicius n00b
Joined: 03 Apr 2005 Posts: 6
|
|
Back to top |
|
|
univac^ Apprentice
Joined: 19 Sep 2004 Posts: 231 Location: Suwalki, Polska
|
Posted: Sun Apr 03, 2005 7:13 pm Post subject: |
|
|
Hmm, i change gcc version, change USE flags, but not works _________________ Gentoo own3d |
|
Back to top |
|
|
kmare l33t
Joined: 20 Nov 2004 Posts: 619 Location: Thessaloniki, Greece
|
Posted: Sun Apr 03, 2005 11:22 pm Post subject: |
|
|
try using gentoo-sources.. and see if it helps... btw: you should change
to in xorg.conf to be able to use the binary nvidia driver. |
|
Back to top |
|
|
Kensai Guru
Joined: 09 Mar 2004 Posts: 569 Location: Puerto Rico
|
Posted: Sun Apr 03, 2005 11:45 pm Post subject: |
|
|
I have the same GPU as you and it freezes only when passing options nvagp 3 and renderaccell true. Don't know why. and I'm using the latest nvidia driver in gentoo portage. _________________ Gentoo: Gigabyte: nFORCE 2: nVIDIA GeForce 6600: AMD Athlon XP 3200+
Leaving the above specs to immortalize the first system I Installed Gentoo on! |
|
Back to top |
|
|
|