public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-amd64] Xorg with nvidia driver problems
@ 2005-10-28  4:00 Dmitri Pogosyan
  2005-10-28 17:42 ` [gentoo-amd64] Xorg with nvidia driver problems (CURED) sean
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitri Pogosyan @ 2005-10-28  4:00 UTC (permalink / raw
  To: gentoo-amd64

Trust me this time :)

You don't have nvidia devices

/dev/nvidia0
/dev/nvidiactl

unofrtunately they are not created automatically withthe new kernel
(although some reports vary), and you have to do it manually.

There is a lot of discussion on that in gentoo forums.

Some nvidia-kernel packages contain /sbin/NVmakedevices.sh
script to run, if not you can do it by hand

cd /dev
mknod nvidia0 c 195 0
mknod nvidiactl 195 255

and then set ownership to root:video nad permissions to 666 or 660


Unfortunately, you will loose them on reboot unless you run udev with
RC_DEVICE_TARBALL="no"

if so you can create like /etc/init.d/nvidia and put it in boot level.




> I followed the instructions to get the nvidia driver working on my 
> system here, but obviously since I am writing, it is giving me problems.
> Information below, and thanks in advance for the help.
> 		Sean
> 
> Here is the error when I try to start with the 'nvidia' driver.
> (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
> (EE) NVIDIA(0):  *** Aborting ***
> (II) UnloadModule: "nvidia"
> (EE) Screen(s) found, but none have a usable configuration.
> 
> Fatal server error:
> no screens found
> 
> The module appears to be loaded as shown below.
> tardis sean # /sbin/lsmod
> Module                  Size  Used by
> nvidia               4054396  0
> snd_intel8x0           33856  2
> snd_ac97_codec         90712  1 snd_intel8x0
> snd_seq                55776  1
> snd_seq_device          8972  0
> snd_pcm_oss            52128  0
> snd_pcm                89608  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
> snd_timer              23816  2 snd_seq,snd_pcm
> snd_page_alloc         11728  2 snd_intel8x0,snd_pcm
> snd_mixer_oss          18176  1 snd_pcm_oss
> snd                    52552  13 
>
snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
> soundcore              10144  1 snd
> s2io                   39692  0
> tardis sean #
> 
> tardis sean # modinfo nvidia
> license:        NVIDIA
> alias:          char-major-195-*
> parmtype:       silence_nvidia_output:int
> parmtype:       NVreg_RmLogonRC:int
> parmtype:       NVreg_VideoEnhancement:int
> parmtype:       NVreg_DevicesConnected:int
> parmtype:       NVreg_FlatPanelMode:int
> parmtype:       NVreg_ResmanDebugLevel:int
> parmtype:       NVreg_Mobile:int
> parmtype:       NVreg_SoftEDIDs:int
> parmtype:       NVreg_EnableAGPFW:int
> parmtype:       NVreg_EnableAGPSBA:int
> parmtype:       NVreg_NvAGP:int
> parmtype:       NVreg_ReqAGPRate:int
> parmtype:       NVreg_EnableALiAGP:int
> parmtype:       NVreg_EnableVia4x:int
> parmtype:       NVreg_VideoMemoryTypeOverride:int
> alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
> depends:
> vermagic:       2.6.13-gentoo-r3 SMP gcc-3.4
> 
> tardis sean # uname -a
> Linux tardis 2.6.13-gentoo-r3 #4 SMP Thu Oct 27 14:26:00 EDT 2005 x86_64 
> AMD Opteron(tm) Processor 246 AuthenticAMD GNU/Linux
> 
> xorg config
> Section "ServerLayout"
>          Identifier     "X.org Configured"
>          Screen      0  "Screen0" 0 0
>          InputDevice    "Mouse0" "CorePointer"
>          InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "Files"
>          RgbPath      "/usr/lib64/X11/rgb"
>          ModulePath   "/usr/lib64/modules"
>          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/"
> EndSection
> 
> Section "Module"
>          Load  "extmod"
>          Load  "dri"
>          Load  "dbe"
>          Load  "record"
>          Load  "xtrap"
>          Load  "glx"
>          Load  "type1"
>          Load  "freetype"
> EndSection
> 
> Section "InputDevice"
>          Identifier  "Keyboard0"
>          Driver      "kbd"
> EndSection
> 
> Section "InputDevice"
>          Identifier  "Mouse0"
>          Driver      "mouse"
>          Option      "Protocol" "auto"
>          Option      "Device" "/dev/input/mouse0"
>          Option      "Zaxismapping" "4 5"
> EndSection
> 
> Section "Monitor"
>          Identifier   "Monitor0"
>          VendorName   "Monitor Vendor"
>          ModelName    "Monitor Model"
> EndSection
> 
> Section "Device"
>          ### Available Driver options are:-
>          ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>          ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>          ### [arg]: arg optional
>          #Option     "SWcursor"                  # [<bool>]
>          #Option     "HWcursor"                  # [<bool>]
>          #Option     "NoAccel"                   # [<bool>]
>          #Option     "ShadowFB"                  # [<bool>]
>          #Option     "UseFBDev"                  # [<bool>]
>          #Option     "Rotate"                    # [<str>]
>          #Option     "VideoKey"                  # <i>
>          #Option     "FlatPanel"                 # [<bool>]
>          #Option     "FPDither"                  # [<bool>]
>          #Option     "CrtcNumber"                # <i>
>          #Option     "FPScale"                   # [<bool>]
>          #Option     "FPTweak"                   # <i>
>          Identifier  "Card 0"
> #       Driver      "nvidia"
>          Driver      "nv"
>          VendorName  "nVidia Corporation"
>          BoardName   "Unknown Board"
>          BusID       "PCI:5:0:0"
>          VideoRam    256000
>          Option      "NvAGP" "1" # use nvidias agp - 1 , agpgart -2, 
> agpgart,nvagp -3
> EndSection
> 
> Section "Screen"
>          Identifier "Screen0"
>          Device     "Card0"
>          Monitor    "Monitor0"
> #       DefaultDepth 16
>          DefaultDepth 24
>          SubSection "Display"
>                  Viewport   0 0
>                  Depth     24
> #               Depth     16
>                  Modes   "1280x1024" "1024x768"
>          EndSubSection
> EndSection
> 
> -- 
> gentoo-amd64@gentoo.org mailing list



--
Dmitri Pogosyan            Department of Physics
Associate Professor        University of Alberta
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-28 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28  4:00 [gentoo-amd64] Xorg with nvidia driver problems Dmitri Pogosyan
2005-10-28 17:42 ` [gentoo-amd64] Xorg with nvidia driver problems (CURED) sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox