Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia driver doesn`t work [ SOLVED ]
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
zrebec
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2004
Posts: 129
Location: Bratislava / Slovakia

PostPosted: Fri Dec 10, 2004 3:37 pm    Post subject: Nvidia driver doesn`t work [ SOLVED ] Reply with quote

Hello,

well, I try again install my nvidia drivers.

Code:

emerge nvidia-kernel
emerge nvidia-glx
modprobe nvidia
modules-update


Then I edited my /etc/X11/xorg.conf file and try start it. But doesn`t work!

This is my Xorg.0.log file (some last line):

Code:


dia_drv.o is unresolved!
Required symbol xf86PrintEDID from module /usr/X11R6/lib/modules/drivers/nvidia_
drv.o is unresolved!
Symbol fbPictureInit from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is
unresolved!
Symbol fbValidateGC from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is u
nresolved!
Symbol fbGCPrivateIndex from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o
is unresolved!
Symbol fbCreateGC from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unr
esolved!
Symbol fbCreateWindow from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is
 unresolved!
Symbol fbWinPrivateIndex from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o
 is unresolved!
Symbol fbWinPrivateIndex from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o
 is unresolved!
Symbol fbCloseScreen from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is
unresolved!

Fatal server error:
Some required symbols were unresolved


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional informati
on.



This is my /etc/X11/xorg.cof file

Code:


Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
#    Load       "dri"

     Load "record"
     Load "xtrap"

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/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
#    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"

EndSection

Section "ServerFlags"

#    Option "NoTrapSignals"

#    Option "DontVTSwitch"

#    Option "DontZap"

#    Option "Dont Zoom"

#    Option "DisableVidModeExtension"

#    Option "AllowNonLocalXvidtune"

#    Option "DisableModInDev"

#    Option "AllowNonLocalModInDev"

EndSection

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

#    Option   "Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

#    Option "XkbModel"    "pc102"

#    Option "XkbModel"    "microsoft"

    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"   "us"

EndSection

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/mouse"


EndSection

Section "Monitor"

    Identifier  "PHILIPS 107T"

    HorizSync   31.5 - 64.3

    VertRefresh 50-100

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"

    Driver     "vga"

#    BusID      "PCI:0:10:0"

#    VideoRam   256

#    Clocks   25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "MSI [nVidia GeForce4]"
    Driver      "nv"
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection


Section "Screen"
    Identifier  "Screen 1"
    Device      "MSI [nVidia GeForce4]"
    Monitor     "PHILIPS 107T"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"


    Screen "Screen 1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection


Some hints:

Code:

Type: lsmod | grep nvidia
->     nvidia   3461980 0

Type: cat /usr/src/linux/.config | grep DRM
CONFIG_DRM=y
CONFIG_DRM_TDFX=m
CONFIG_DRM_R128=m
CONFIG_DRM_RADEON=m
CONFIG_DRM_I810=m
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
CONFIG_DRM_MGA=m
CONFIG_DRM_SIS=m

I don`t know what i may to do :o( Please help ;o([/code]
_________________
Many regards


Last edited by zrebec on Sat Dec 11, 2004 12:53 am; edited 1 time in total
Back to top
View user's profile Send private message
Koroviev
n00b
n00b


Joined: 06 Nov 2004
Posts: 40
Location: Scotland

PostPosted: Fri Dec 10, 2004 4:09 pm    Post subject: Reply with quote

Code:
Driver "nv"

is for the open source driver.

Code:
Driver "nvidia"

is for the binary driver.
Back to top
View user's profile Send private message
zrebec
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2004
Posts: 129
Location: Bratislava / Slovakia

PostPosted: Fri Dec 10, 2004 4:16 pm    Post subject: Doesn`t work again Reply with quote

Oh, sorry, I had a error in the xorg.conf. Of course, if I have Driver "nv", X works correctly. But If I type Driver "nvidia" X doesn`t works :o( (Some requiered symbols were unresolved)
_________________
Many regards
Back to top
View user's profile Send private message
Koroviev
n00b
n00b


Joined: 06 Nov 2004
Posts: 40
Location: Scotland

PostPosted: Fri Dec 10, 2004 4:58 pm    Post subject: Reply with quote

Did you compile xorg with dlloader?
If yes, recompiling it with
Code:
USE="-dlloader"
should fix your problem.
Back to top
View user's profile Send private message
zrebec
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2004
Posts: 129
Location: Bratislava / Slovakia

PostPosted: Fri Dec 10, 2004 5:20 pm    Post subject: This is my emerge -pv xorg-x11 Reply with quote

Yes I had it compiled with dlloader. How I may compile that please? And what is the "*" symbol in there? Thanks

[ebuild R ] x11-base/xorg-x11-6.8.0-r3 -3dfx +3dnow +bitmap-fonts -cjk* -debug -dlloader* -dmx -doc -hardened -insecure-drivers +ipv6 +mmx +nls +pam -sdk +sse -static -xprint* 0 kB
_________________
Many regards
Back to top
View user's profile Send private message
Koroviev
n00b
n00b


Joined: 06 Nov 2004
Posts: 40
Location: Scotland

PostPosted: Fri Dec 10, 2004 5:34 pm    Post subject: Reply with quote

The * symbol means that the flag has changed.

You can recompile xorg without dlload with
Code:
USE="-dlloader" emerge xorg-x11

or, if you want the change permanent, editing /etc/make.conf.
See here for more details
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2
Back to top
View user's profile Send private message
zrebec
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2004
Posts: 129
Location: Bratislava / Slovakia

PostPosted: Fri Dec 10, 2004 5:37 pm    Post subject: GREAT! THANKS! Reply with quote

Thanks ;o) I will try it ;o) But may I using the X server while compiling? Or I must be have in a text-mode? Because the xorg-x11 compile is a long time operation ;o)
_________________
Many regards
Back to top
View user's profile Send private message
Koroviev
n00b
n00b


Joined: 06 Nov 2004
Posts: 40
Location: Scotland

PostPosted: Fri Dec 10, 2004 5:40 pm    Post subject: Reply with quote

You can compile using the X server and restart it when it's finished.
Good luck!
Back to top
View user's profile Send private message
zrebec
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2004
Posts: 129
Location: Bratislava / Slovakia

PostPosted: Sat Dec 11, 2004 12:53 am    Post subject: Solved! Reply with quote

Yes, recompiled my xorg-x11 and restarted X-server. And now 3D HW accleration works correctly ;o) Thanks again ;o)
_________________
Many regards
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