public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] nvidia GeForce 6200 questions
@ 2010-03-01 22:04 Mark Knecht
  2010-03-01 22:12 ` Alan McKinnon
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Mark Knecht @ 2010-03-01 22:04 UTC (permalink / raw
  To: gentoo-user

Hi,
   I've been trying to get an nvidia controller working today and not
having much luck. It's complaining about failing to load kernel
module.

   As a starting point I'm following this guide:

http://www.gentoo.org/doc/en/nvidia-guide.xml

   My nvidia device is (I think) a GeForce 6 family card:

dragonfly ~ # lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
6200] (rev a1)
dragonfly ~ #

and from this nVidia page seems to be supported by the 173.xx series drivers:

http://www.nvidia.com/object/linux_display_ia32_173.14.25.html

   Because modinfo nvidia suggested it depended on them I've added
agpgart and i2c-core to modules.autoload and after booting this is
what's loaded:

dragonfly ~ # lsmod
Module                  Size  Used by
ipv6                  176929  18
sg                     19077  0
usb_storage            29021  0
usbhid                 18281  0
snd_intel8x0           19155  0
snd_ac97_codec         76628  1 snd_intel8x0
ac97_bus                 662  1 snd_ac97_codec
snd_pcm                42338  2 snd_intel8x0,snd_ac97_codec
ehci_hcd               27089  0
uhci_hcd               15779  0
snd_timer              11966  1 snd_pcm
usbcore                87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
agpgart                19136  0
snd                    31592  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
8139cp                 12993  0
soundcore               3607  1 snd
rtc                     6022  0
8139too                14560  0
i2c_core               11618  0
snd_page_alloc          4685  2 snd_intel8x0,snd_pcm
processor              20861  0
thermal                 9266  0
button                  3526  0
thermal_sys             8333  2 processor,thermal
dragonfly ~ #

When I try to load the nvidia driver it just complains:

dragonfly ~ # modprobe nvidia
FATAL: Error inserting nvidia
(/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
dragonfly ~ #

dragonfly ~ # modprobe --show-depends nvidia
insmod /lib/modules/2.6.33-gentoo/kernel/drivers/i2c/i2c-core.ko
insmod /lib/modules/2.6.33-gentoo/kernel/drivers/char/agp/agpgart.ko
insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
NVreg_ModifyDeviceFiles=1
dragonfly ~ #

dragonfly ~ # modprobe -v nvidia
insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
NVreg_ModifyDeviceFiles=1
FATAL: Error inserting nvidia
(/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
dragonfly ~ #

The driver exists:

dragonfly ~ # ls -al /lib/modules/2.6.33-gentoo/video/nvidia.ko
-rw-r--r-- 1 root root 7859091 Mar  1 13:35
/lib/modules/2.6.33-gentoo/video/nvidia.ko
dragonfly ~ #

I'm not clear what it means by 'no such device'. Is that a message
that this driver doesn't support this card?

I tried going down to the 96 series drivers but got the same results.

Sort of obvious stuff in the kernel config I could think of before
sending this email is here:

dragonfly ~ # zcat /proc/config.gz | grep AGP
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
dragonfly ~ # zcat /proc/config.gz | grep NVIDIA
# CONFIG_AGP_NVIDIA is not set
# CONFIG_FB_NVIDIA is not set
dragonfly ~ # zcat /proc/config.gz | grep DRM
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
dragonfly ~ #

I assumed the Intel AGP might be usefull since it's an Intel
motherboard but it didn't help so I blacklisted it and it's not
loaded.

   Anyone able to spot what must be an obvious mistake?

   Current xorg.conf file it attached. It was done by hand so it could
easily have big problems. I tried running with no xorg.conf file but
it didn't work either.

   hald is running.

Thanks,
Mark


dragonfly ~ # cat /etc/X11/xorg.conf
Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "glx"
#	Load  "dri"
EndSection

Section "DRI"
	Mode 0666
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Extensions"
	Option "Composite" "Enable"
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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "nvidia"
	Option	    "monitor-VGA1" "Samsung740n"
EndSection

Section "Monitor"
	Identifier   "Samsung740n"
	VendorName   "Samsung"
	ModelName    "740n"
	Option 	     "PreferredMode" "1280x1024"
	HorizSync    30-81
        VertRefresh  56-75
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Samsung740n"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes         "1280x1024"  "1024x768"   "800x600"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes         "1280x1024"  "1024x768"   "800x600"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes         "1280x1024"  "1024x768"   "800x600"
	EndSubSection
EndSection


Section "ServerLayout"
	Identifier     "dragonfly"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

dragonfly ~ #



dragonfly ~ # rc-update show
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
                hald |      default
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
            net.eth0 |      default
              net.lo | boot
            netmount |      default
          ntp-client |      default
                ntpd |      default
           rmnologin | boot
                sshd |      default
           syslog-ng |      default
      udev-postmount |      default
             urandom | boot
dragonfly ~ #


dragonfly ~ # cat /var/log/Xorg.0.log

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.33-gentoo i686
Current Operating System: Linux dragonfly 2.6.33-gentoo #5 SMP PREEMPT
Mon Mar 1 12:49:22 PST 2010 i686
Build Date: 01 March 2010  12:27:33PM

	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar  1 12:55:09 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "dragonfly"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Samsung740n"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/misc/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/misc/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/75dpi/" does not exist.
	Entry deleted from font path.
(**) FontPath set to:
	
(**) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x1aa0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 5.0
	X.Org XInput driver : 4.0
	X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0221:3842:a401 nVidia Corporation NV44A
[GeForce 6200] rev 161, Mem @ 0xf8000000/16777216,
0xf9000000/16777216, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded. This was enabled by default and also
specified in the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  190.53  Tue Dec  8 20:47:42 PST 2009
(II) Loading extension GLX
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
no screens found

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
information.

dragonfly ~ #



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

* Re: [gentoo-user] nvidia GeForce 6200 questions
  2010-03-01 22:04 [gentoo-user] nvidia GeForce 6200 questions Mark Knecht
@ 2010-03-01 22:12 ` Alan McKinnon
  2010-03-01 22:47 ` Neil Walker
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Alan McKinnon @ 2010-03-01 22:12 UTC (permalink / raw
  To: gentoo-user

On Tuesday 02 March 2010 00:04:08 Mark Knecht wrote:
> Hi,
>    I've been trying to get an nvidia controller working today and not
> having much luck. It's complaining about failing to load kernel
> module.
> 
>    As a starting point I'm following this guide:
> 
> http://www.gentoo.org/doc/en/nvidia-guide.xml
> 
>    My nvidia device is (I think) a GeForce 6 family card:
> 
> dragonfly ~ # lspci | grep VGA
> 01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
> 6200] (rev a1)
> dragonfly ~ #
> 
> and from this nVidia page seems to be supported by the 173.xx series
> drivers:
> 
> http://www.nvidia.com/object/linux_display_ia32_173.14.25.html
> 
>    Because modinfo nvidia suggested it depended on them I've added
> agpgart and i2c-core to modules.autoload and after booting this is
> what's loaded:
> 
> dragonfly ~ # lsmod
> Module                  Size  Used by
> ipv6                  176929  18
> sg                     19077  0
> usb_storage            29021  0
> usbhid                 18281  0
> snd_intel8x0           19155  0
> snd_ac97_codec         76628  1 snd_intel8x0
> ac97_bus                 662  1 snd_ac97_codec
> snd_pcm                42338  2 snd_intel8x0,snd_ac97_codec
> ehci_hcd               27089  0
> uhci_hcd               15779  0
> snd_timer              11966  1 snd_pcm
> usbcore                87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
> agpgart                19136  0
> snd                    31592  4
> snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer 8139cp                 12993
>  0
> soundcore               3607  1 snd
> rtc                     6022  0
> 8139too                14560  0
> i2c_core               11618  0
> snd_page_alloc          4685  2 snd_intel8x0,snd_pcm
> processor              20861  0
> thermal                 9266  0
> button                  3526  0
> thermal_sys             8333  2 processor,thermal
> dragonfly ~ #
> 
> When I try to load the nvidia driver it just complains:
> 
> dragonfly ~ # modprobe nvidia
> FATAL: Error inserting nvidia
> (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device

The nvidia driver in not bundled with the kernel, it is an external third-
party module.

You need to set /usr/src/linux to point to the kernel(s) you intend to run, 
and emerge nvidia-drivers for each one. Then modprobe -r nvidia ; modprobe 
nvidia and restart X

module-rebuild is a great tool for this. It knows what out-of-tree modules you 
use and the ebuilds that install them, and remembers the list (because the 
time will come when you forget and pull your hair out before you remember)


-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] nvidia GeForce 6200 questions
  2010-03-01 22:04 [gentoo-user] nvidia GeForce 6200 questions Mark Knecht
  2010-03-01 22:12 ` Alan McKinnon
@ 2010-03-01 22:47 ` Neil Walker
  2010-03-02 16:09   ` Peter Humphrey
  2010-03-01 22:50 ` John H. Moe
  2010-03-01 22:55 ` [gentoo-user] " Mark Knecht
  3 siblings, 1 reply; 10+ messages in thread
From: Neil Walker @ 2010-03-01 22:47 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:
> and from this nVidia page seems to be supported by the 173.xx series drivers:
>   

Yes, but I don't think they are compatible with the 2.6.33 kernel. There
was a
patch for the 190.53 driver released yesterday to make it work with
2.6.33. Try
that.


Be lucky,

Neil
http://www.neiljw.com





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

* Re: [gentoo-user] nvidia GeForce 6200 questions
  2010-03-01 22:04 [gentoo-user] nvidia GeForce 6200 questions Mark Knecht
  2010-03-01 22:12 ` Alan McKinnon
  2010-03-01 22:47 ` Neil Walker
@ 2010-03-01 22:50 ` John H. Moe
  2010-03-01 22:55 ` [gentoo-user] " Mark Knecht
  3 siblings, 0 replies; 10+ messages in thread
From: John H. Moe @ 2010-03-01 22:50 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:
> Hi,
>    I've been trying to get an nvidia controller working today and not
> having much luck. It's complaining about failing to load kernel
> module.
>
>    As a starting point I'm following this guide:
>
> http://www.gentoo.org/doc/en/nvidia-guide.xml
>
>    My nvidia device is (I think) a GeForce 6 family card:
>
> dragonfly ~ # lspci | grep VGA
> 01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
> 6200] (rev a1)
> dragonfly ~ #
>
> and from this nVidia page seems to be supported by the 173.xx series drivers:
>
> http://www.nvidia.com/object/linux_display_ia32_173.14.25.html
>
>    Because modinfo nvidia suggested it depended on them I've added
> agpgart and i2c-core to modules.autoload and after booting this is
> what's loaded:
>
> dragonfly ~ # lsmod
> Module                  Size  Used by
> ipv6                  176929  18
> sg                     19077  0
> usb_storage            29021  0
> usbhid                 18281  0
> snd_intel8x0           19155  0
> snd_ac97_codec         76628  1 snd_intel8x0
> ac97_bus                 662  1 snd_ac97_codec
> snd_pcm                42338  2 snd_intel8x0,snd_ac97_codec
> ehci_hcd               27089  0
> uhci_hcd               15779  0
> snd_timer              11966  1 snd_pcm
> usbcore                87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
> agpgart                19136  0
> snd                    31592  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
> 8139cp                 12993  0
> soundcore               3607  1 snd
> rtc                     6022  0
> 8139too                14560  0
> i2c_core               11618  0
> snd_page_alloc          4685  2 snd_intel8x0,snd_pcm
> processor              20861  0
> thermal                 9266  0
> button                  3526  0
> thermal_sys             8333  2 processor,thermal
> dragonfly ~ #
>
> When I try to load the nvidia driver it just complains:
>
> dragonfly ~ # modprobe nvidia
> FATAL: Error inserting nvidia
> (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
> dragonfly ~ #
>
> dragonfly ~ # modprobe --show-depends nvidia
> insmod /lib/modules/2.6.33-gentoo/kernel/drivers/i2c/i2c-core.ko
> insmod /lib/modules/2.6.33-gentoo/kernel/drivers/char/agp/agpgart.ko
> insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
> NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
> NVreg_ModifyDeviceFiles=1
> dragonfly ~ #
>
> dragonfly ~ # modprobe -v nvidia
> insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
> NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
> NVreg_ModifyDeviceFiles=1
> FATAL: Error inserting nvidia
> (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
> dragonfly ~ #
>
> The driver exists:
>
> dragonfly ~ # ls -al /lib/modules/2.6.33-gentoo/video/nvidia.ko
> -rw-r--r-- 1 root root 7859091 Mar  1 13:35
> /lib/modules/2.6.33-gentoo/video/nvidia.ko
> dragonfly ~ #
>
> I'm not clear what it means by 'no such device'. Is that a message
> that this driver doesn't support this card?
>
> I tried going down to the 96 series drivers but got the same results.
>
> Sort of obvious stuff in the kernel config I could think of before
> sending this email is here:
>
> dragonfly ~ # zcat /proc/config.gz | grep AGP
> CONFIG_AGP=m
> # CONFIG_AGP_ALI is not set
> # CONFIG_AGP_ATI is not set
> # CONFIG_AGP_AMD is not set
> # CONFIG_AGP_AMD64 is not set
> CONFIG_AGP_INTEL=m
> # CONFIG_AGP_NVIDIA is not set
> # CONFIG_AGP_SIS is not set
> # CONFIG_AGP_SWORKS is not set
> # CONFIG_AGP_VIA is not set
> # CONFIG_AGP_EFFICEON is not set
> dragonfly ~ # zcat /proc/config.gz | grep NVIDIA
> # CONFIG_AGP_NVIDIA is not set
> # CONFIG_FB_NVIDIA is not set
> dragonfly ~ # zcat /proc/config.gz | grep DRM
> CONFIG_DRM=m
> # CONFIG_DRM_TDFX is not set
> # CONFIG_DRM_R128 is not set
> # CONFIG_DRM_RADEON is not set
> # CONFIG_DRM_I810 is not set
> # CONFIG_DRM_I830 is not set
> # CONFIG_DRM_I915 is not set
> # CONFIG_DRM_MGA is not set
> # CONFIG_DRM_SIS is not set
> # CONFIG_DRM_VIA is not set
> # CONFIG_DRM_SAVAGE is not set
> dragonfly ~ #
>
> I assumed the Intel AGP might be usefull since it's an Intel
> motherboard but it didn't help so I blacklisted it and it's not
> loaded.
>
>    Anyone able to spot what must be an obvious mistake?
>
>    Current xorg.conf file it attached. It was done by hand so it could
> easily have big problems. I tried running with no xorg.conf file but
> it didn't work either.
>
>    hald is running.
>
> Thanks,
> Mark
>
>
> dragonfly ~ # cat /etc/X11/xorg.conf
> Section "Files"
> 	ModulePath   "/usr/lib/xorg/modules"
> 	FontPath     "/usr/share/fonts/misc/"
> 	FontPath     "/usr/share/fonts/TTF/"
> 	FontPath     "/usr/share/fonts/OTF"
> 	FontPath     "/usr/share/fonts/Type1/"
> 	FontPath     "/usr/share/fonts/100dpi/"
> 	FontPath     "/usr/share/fonts/75dpi/"
> EndSection
>
> Section "Module"
> 	Load  "extmod"
> 	Load  "glx"
> #	Load  "dri"
> EndSection
>
> Section "DRI"
> 	Mode 0666
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Keyboard0"
> 	Driver      "kbd"
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option	    "Protocol" "auto"
> 	Option	    "Device" "/dev/input/mice"
> 	Option	    "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Extensions"
> 	Option "Composite" "Enable"
> 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     "NoAccel"            	# [<bool>]
>         #Option     "SWcursor"           	# [<bool>]
>         #Option     "ColorKey"           	# <i>
>         #Option     "CacheLines"         	# <i>
>         #Option     "Dac6Bit"            	# [<bool>]
>         #Option     "DRI"                	# [<bool>]
>         #Option     "NoDDC"              	# [<bool>]
>         #Option     "ShowCache"          	# [<bool>]
>         #Option     "XvMCSurfaces"       	# <i>
>         #Option     "PageFlip"           	# [<bool>]
> 	Identifier  "Card0"
> 	Driver      "nvidia"
> 	Option	    "monitor-VGA1" "Samsung740n"
> EndSection
>
> Section "Monitor"
> 	Identifier   "Samsung740n"
> 	VendorName   "Samsung"
> 	ModelName    "740n"
> 	Option 	     "PreferredMode" "1280x1024"
> 	HorizSync    30-81
>         VertRefresh  56-75
> EndSection
>
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Card0"
> 	Monitor    "Samsung740n"
> 	DefaultDepth 24
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     8
> 		Modes         "1280x1024"  "1024x768"   "800x600"
> 	EndSubSection
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     16
> 		Modes         "1280x1024"  "1024x768"   "800x600"
> 	EndSubSection
> 	SubSection "Display"
> 		Viewport   0 0
> 		Depth     24
> 		Modes         "1280x1024"  "1024x768"   "800x600"
> 	EndSubSection
> EndSection
>
>
> Section "ServerLayout"
> 	Identifier     "dragonfly"
> 	Screen      0  "Screen0" 0 0
> 	InputDevice    "Mouse0" "CorePointer"
> 	InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> dragonfly ~ #
>
>
>
> dragonfly ~ # rc-update show
>             bootmisc | boot
>              checkfs | boot
>            checkroot | boot
>                clock | boot
>          consolefont | boot
>                 hald |      default
>             hostname | boot
>              keymaps | boot
>                local |      default nonetwork
>           localmount | boot
>              modules | boot
>             net.eth0 |      default
>               net.lo | boot
>             netmount |      default
>           ntp-client |      default
>                 ntpd |      default
>            rmnologin | boot
>                 sshd |      default
>            syslog-ng |      default
>       udev-postmount |      default
>              urandom | boot
> dragonfly ~ #
>
>
> dragonfly ~ # cat /var/log/Xorg.0.log
>
> X.Org X Server 1.6.5
> Release Date: 2009-10-11
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 2.6.33-gentoo i686
> Current Operating System: Linux dragonfly 2.6.33-gentoo #5 SMP PREEMPT
> Mon Mar 1 12:49:22 PST 2010 i686
> Build Date: 01 March 2010  12:27:33PM
>
> 	Before reporting problems, check http://wiki.x.org
> 	to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
> 	(++) from command line, (!!) notice, (II) informational,
> 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar  1 12:55:09 2010
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) ServerLayout "dragonfly"
> (**) |-->Screen "Screen0" (0)
> (**) |   |-->Monitor "Samsung740n"
> (**) |   |-->Device "Card0"
> (**) |-->Input Device "Mouse0"
> (**) |-->Input Device "Keyboard0"
> (==) Automatically adding devices
> (==) Automatically enabling devices
> (WW) The directory "/usr/share/fonts/misc/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/TTF/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/OTF" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/Type1/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/misc/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/TTF/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/OTF" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/Type1/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
> 	Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
> 	Entry deleted from font path.
> (**) FontPath set to:
> 	
> (**) ModulePath set to "/usr/lib/xorg/modules"
> (**) Extension "Composite" is enabled
> (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
> 'vmmouse' will be disabled.
> (WW) Disabling Mouse0
> (WW) Disabling Keyboard0
> (II) Loader magic: 0x1aa0
> (II) Module ABI versions:
> 	X.Org ANSI C Emulation: 0.4
> 	X.Org Video Driver: 5.0
> 	X.Org XInput driver : 4.0
> 	X.Org Server Extension : 2.0
> (II) Loader running on linux
> (++) using VT number 7
>
> (--) PCI:*(0:1:0:0) 10de:0221:3842:a401 nVidia Corporation NV44A
> [GeForce 6200] rev 161, Mem @ 0xf8000000/16777216,
> 0xf9000000/16777216, BIOS @ 0x????????/131072
> (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
> (II) No APM support in BIOS or kernel
> (II) System resource ranges:
> 	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
> 	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
> 	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
> 	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
> 	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
> 	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
> (II) "extmod" will be loaded. This was enabled by default and also
> specified in the config file.
> (II) "dbe" will be loaded by default.
> (II) "glx" will be loaded. This was enabled by default and also
> specified in the config file.
> (II) "record" will be loaded by default.
> (II) "dri" will be loaded by default.
> (II) "dri2" will be loaded by default.
> (II) LoadModule: "extmod"
> (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
> (II) Module extmod: vendor="X.Org Foundation"
> 	compiled for 1.6.5, module version = 1.0.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension MIT-SCREEN-SAVER
> (II) Loading extension XFree86-VidModeExtension
> (II) Loading extension XFree86-DGA
> (II) Loading extension DPMS
> (II) Loading extension XVideo
> (II) Loading extension XVideo-MotionCompensation
> (II) Loading extension X-Resource
> (II) LoadModule: "glx"
> (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
> (II) Module glx: vendor="NVIDIA Corporation"
> 	compiled for 4.0.2, module version = 1.0.0
> 	Module class: X.Org Server Extension
> (II) NVIDIA GLX Module  190.53  Tue Dec  8 20:47:42 PST 2009
> (II) Loading extension GLX
> (II) LoadModule: "dbe"
> (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
> (II) Module dbe: vendor="X.Org Foundation"
> 	compiled for 1.6.5, module version = 1.0.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension DOUBLE-BUFFER
> (II) LoadModule: "record"
> (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
> (II) Module record: vendor="X.Org Foundation"
> 	compiled for 1.6.5, module version = 1.13.0
> 	Module class: X.Org Server Extension
> 	ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension RECORD
> (II) LoadModule: "dri"
> (WW) Warning, couldn't open module dri
> (II) UnloadModule: "dri"
> (EE) Failed to load module "dri" (module does not exist, 0)
> (II) LoadModule: "dri2"
> (WW) Warning, couldn't open module dri2
> (II) UnloadModule: "dri2"
> (EE) Failed to load module "dri2" (module does not exist, 0)
> (II) LoadModule: "nvidia"
> (II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
> (II) Module nvidia: vendor="NVIDIA Corporation"
> 	compiled for 4.0.2, module version = 1.0.0
> 	Module class: X.Org Video Driver
> (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
> (EE) NVIDIA:     system's kernel log for additional error messages.
> (II) UnloadModule: "nvidia"
> (II) Unloading /usr/lib/xorg/modules/drivers//nvidia_drv.so
> (EE) Failed to load module "nvidia" (module-specific error, 0)
> (EE) No drivers available.
>
> Fatal server error:
> no screens found
>
> 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
> information.
>
> dragonfly ~ #
>   
Nvidia's site seems to say that your card is supported up to the current
release; perhaps try the latest version and see if it works?  I seem to
remember Nvidia's driver is rather kernel-version specific; if you're
using a recent kernel, you should probably use a recent driver.

http://www.nvidia.com/object/linux_display_ia32_190.53.html

John Moe



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

* [gentoo-user] Re: nvidia GeForce 6200 questions
  2010-03-01 22:04 [gentoo-user] nvidia GeForce 6200 questions Mark Knecht
                   ` (2 preceding siblings ...)
  2010-03-01 22:50 ` John H. Moe
@ 2010-03-01 22:55 ` Mark Knecht
  3 siblings, 0 replies; 10+ messages in thread
From: Mark Knecht @ 2010-03-01 22:55 UTC (permalink / raw
  To: gentoo-user

On Mon, Mar 1, 2010 at 2:04 PM, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
>   I've been trying to get an nvidia controller working today and not
> having much luck. It's complaining about failing to load kernel
> module.
<SNIP>

SOLVED:

Mar  1 14:36:49 dragonfly kernel: NVRM: This PCI I/O region assigned
to your NVIDIA device is invalid:
Mar  1 14:36:49 dragonfly kernel: NVRM: BAR1 is 0M @ 0x0 (PCI:0001:00.0)
Mar  1 14:36:49 dragonfly kernel: NVRM: The system BIOS may have
misconfigured your GPU.
Mar  1 14:36:49 dragonfly kernel: nvidia: probe of 0000:01:00.0 failed
with error -1
Mar  1 14:36:49 dragonfly kernel: NVRM: The NVIDIA probe routine
failed for 1 device(s).
Mar  1 14:36:49 dragonfly kernel: NVRM: None of the NVIDIA graphics
adapters were initialized!


And indeed it was a BIOS setting.

Fixed and working now.

Sorry for the noise,
Mark



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

* Re: [gentoo-user] nvidia GeForce 6200 questions
  2010-03-01 22:47 ` Neil Walker
@ 2010-03-02 16:09   ` Peter Humphrey
  2010-03-02 17:18     ` Neil Bothwick
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Peter Humphrey @ 2010-03-02 16:09 UTC (permalink / raw
  To: gentoo-user

On Monday 01 March 2010 22:47:36 Neil Walker wrote:

> There was a patch for the 190.53 driver released yesterday to make it
> work with 2.6.33.

Can you give a link please? I'm having trouble compiling nvidia-drivers 
with 2.6.33 and I can't see much on the nvidia site.

-- 
Rgds
Peter.



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

* Re: [gentoo-user] nvidia GeForce 6200 questions
  2010-03-02 16:09   ` Peter Humphrey
@ 2010-03-02 17:18     ` Neil Bothwick
  2010-03-04  0:38       ` Peter Humphrey
  2010-03-02 18:12     ` Neil Walker
  2010-03-02 18:27     ` Mark Knecht
  2 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2010-03-02 17:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

On Tue, 2 Mar 2010 16:09:06 +0000, Peter Humphrey wrote:

> > There was a patch for the 190.53 driver released yesterday to make it
> > work with 2.6.33.  
> 
> Can you give a link please? I'm having trouble compiling nvidia-drivers 
> with 2.6.33 and I can't see much on the nvidia site.

emerge --sync and try again. the patch is now in portage.


-- 
Neil Bothwick

Contentsoftaglinemaysettleduringshipping.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] nvidia GeForce 6200 questions
  2010-03-02 16:09   ` Peter Humphrey
  2010-03-02 17:18     ` Neil Bothwick
@ 2010-03-02 18:12     ` Neil Walker
  2010-03-02 18:27     ` Mark Knecht
  2 siblings, 0 replies; 10+ messages in thread
From: Neil Walker @ 2010-03-02 18:12 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey wrote:
>> There was a patch for the 190.53 driver released yesterday to make it
>> work with 2.6.33.
>>     
>
> Can you give a link please? I'm having trouble compiling nvidia-drivers 
> with 2.6.33 and I can't see much on the nvidia site.
>   

emerge =x11-drivers/nvidia-drivers-190.53-r1

nvidia-drivers-195.36.03 also compiles with kernel 2.6.33 as that is
what I'm
using here - but I had to unmask it first.


Be lucky,

Neil
http://www.neiljw.com





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

* Re: [gentoo-user] nvidia GeForce 6200 questions
  2010-03-02 16:09   ` Peter Humphrey
  2010-03-02 17:18     ` Neil Bothwick
  2010-03-02 18:12     ` Neil Walker
@ 2010-03-02 18:27     ` Mark Knecht
  2 siblings, 0 replies; 10+ messages in thread
From: Mark Knecht @ 2010-03-02 18:27 UTC (permalink / raw
  To: gentoo-user

On Tue, Mar 2, 2010 at 8:09 AM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
> On Monday 01 March 2010 22:47:36 Neil Walker wrote:
>
>> There was a patch for the 190.53 driver released yesterday to make it
>> work with 2.6.33.
>
> Can you give a link please? I'm having trouble compiling nvidia-drivers
> with 2.6.33 and I can't see much on the nvidia site.
>
> --
> Rgds
> Peter.

190.53-r1 is what I'm using.

It works fine but so far things like glxgears are very slow. I'll need
to look at that, maybe over the weekend. It has no effect that I can
see on what my wife does with the machine. But should it effect 2D-ish
things like HuluDesktop or Myth? I cannot see it. They seem to work
fine.

- Mark



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

* Re: [gentoo-user] nvidia GeForce 6200 questions
  2010-03-02 17:18     ` Neil Bothwick
@ 2010-03-04  0:38       ` Peter Humphrey
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Humphrey @ 2010-03-04  0:38 UTC (permalink / raw
  To: gentoo-user

On Tuesday 02 March 2010 17:18:38 Neil Bothwick wrote:
> On Tue, 2 Mar 2010 16:09:06 +0000, Peter Humphrey wrote:
> > > There was a patch for the 190.53 driver released yesterday to
> > > make it work with 2.6.33.
> > 
> > Can you give a link please? I'm having trouble compiling
> > nvidia-drivers with 2.6.33 and I can't see much on the nvidia
> > site.
> 
> emerge --sync and try again. the patch is now in portage.

So it is. I sync daily but I hadn't got this version until now. Thanks 
Neil.

-- 
Rgds
Peter.



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

end of thread, other threads:[~2010-03-04  0:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-01 22:04 [gentoo-user] nvidia GeForce 6200 questions Mark Knecht
2010-03-01 22:12 ` Alan McKinnon
2010-03-01 22:47 ` Neil Walker
2010-03-02 16:09   ` Peter Humphrey
2010-03-02 17:18     ` Neil Bothwick
2010-03-04  0:38       ` Peter Humphrey
2010-03-02 18:12     ` Neil Walker
2010-03-02 18:27     ` Mark Knecht
2010-03-01 22:50 ` John H. Moe
2010-03-01 22:55 ` [gentoo-user] " Mark Knecht

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