Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia grrrrr :(
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
univac^
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 231
Location: Suwalki, Polska

PostPosted: Sun Apr 03, 2005 3:49 pm    Post subject: Nvidia grrrrr :( Reply with quote

Hi
My story of nvidia drivers.
Kernel:
Code:
2.6.12-rc1-love1

GPU:
Code:
Abit Gf 4 mx 440

Xserver
Code:
xorg-x11-6.8.2-r1

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
View user's profile Send private message
iainel
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2005
Posts: 94

PostPosted: Sun Apr 03, 2005 4:19 pm    Post subject: Reply with quote

Try and emerge nvidia-kernel-1.0.6629-r4?
Back to top
View user's profile Send private message
univac^
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 231
Location: Suwalki, Polska

PostPosted: Sun Apr 03, 2005 4:32 pm    Post subject: Reply with quote

The same compile error nvidia-kernel-1.0.6629-r*, i want 7*
_________________
Gentoo own3d
Back to top
View user's profile Send private message
s4kk3
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 232
Location: Finland

PostPosted: Sun Apr 03, 2005 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
FlavioVinicius
n00b
n00b


Joined: 03 Apr 2005
Posts: 6

PostPosted: Sun Apr 03, 2005 6:10 pm    Post subject: Reply with quote

You have to use a newer version of the driver, for some reason it is masked in portage.
The post bellow has information on how to emerge it.

https://forums.gentoo.org/viewtopic-t-317359-highlight-nvidia.html
Back to top
View user's profile Send private message
univac^
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 231
Location: Suwalki, Polska

PostPosted: Sun Apr 03, 2005 7:13 pm    Post subject: Reply with quote

Hmm, i change gcc version, change USE flags, but not works :(
_________________
Gentoo own3d
Back to top
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Sun Apr 03, 2005 11:22 pm    Post subject: Reply with quote

try using gentoo-sources.. and see if it helps... btw: you should change
Code:
Driver      "nv"
to
Code:
Driver      "nvidia"
in xorg.conf to be able to use the binary nvidia driver.
Back to top
View user's profile Send private message
Kensai
Guru
Guru


Joined: 09 Mar 2004
Posts: 569
Location: Puerto Rico

PostPosted: Sun Apr 03, 2005 11:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum