Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-03 Thread Peter Humphrey
On Tuesday 02 March 2010 17:18:38 Neil Bothwick wrote:
> On Tue, 2 Mar 2010 16:09:06 +, 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.



Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-02 Thread Mark Knecht
On Tue, Mar 2, 2010 at 8:09 AM, Peter Humphrey  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



Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-02 Thread Neil Walker
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





Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-02 Thread Neil Bothwick
On Tue, 2 Mar 2010 16:09:06 +, 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.


signature.asc
Description: PGP signature


Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-02 Thread Peter Humphrey
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.



Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread John H. Moe
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_storage29021  0
> usbhid 18281  0
> snd_intel8x0   19155  0
> snd_ac97_codec 76628  1 snd_intel8x0
> ac97_bus 662  1 snd_ac97_codec
> snd_pcm42338  2 snd_intel8x0,snd_ac97_codec
> ehci_hcd   27089  0
> uhci_hcd   15779  0
> snd_timer  11966  1 snd_pcm
> usbcore87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
> agpgart19136  0
> snd31592  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
> 8139cp 12993  0
> soundcore   3607  1 snd
> rtc 6022  0
> 8139too14560  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"
> EndSect

Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread Neil Walker
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





Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread Alan McKinnon
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_storage29021  0
> usbhid 18281  0
> snd_intel8x0   19155  0
> snd_ac97_codec 76628  1 snd_intel8x0
> ac97_bus 662  1 snd_ac97_codec
> snd_pcm42338  2 snd_intel8x0,snd_ac97_codec
> ehci_hcd   27089  0
> uhci_hcd   15779  0
> snd_timer  11966  1 snd_pcm
> usbcore87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
> agpgart19136  0
> snd31592  4
> snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer 8139cp 12993
>  0
> soundcore   3607  1 snd
> rtc 6022  0
> 8139too14560  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