Re: [gentoo-user] nvidea emerge instructions?

2003-11-07 Thread Christian Herzyk
Guy Van Sanden wrote:

Thanks Matt

I have been using the Nvidia drivers for about 2 years now, but I didn't
know about the hardware acceleration option!
Cool

Guy

This is from the Nvidia readme:

   Option RenderAccel boolean
   Enable or disable hardware acceleration of the RENDER
   extension.  THIS OPTION IS EXPERIMENTAL.  ENABLE IT AT YOUR
   OWN RISK.  There is no correctness test suite for the
   RENDER extension so NVIDIA can not verify that RENDER
   acceleration works correctly.   Default: hardware 
   acceleration of the RENDER extension is disabled.

If you run the nvidia driver you user  hardware acceleration for 3D 
(just compare the results of gears).  This is only for the RENDER extension.

Christian



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] nvidea emerge instructions?

2003-11-07 Thread Matt Chorman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 07 November 2003 07:33 am, Christian Herzyk wrote:
 If you run the nvidia driver you user  hardware acceleration for 3D
 (just compare the results of gears).  This is only for the RENDER
 extension.

 Christian

The RENDER extension being X's way of rendering primitives, including fonts. 
It has nothing to do with glxgears - which is all done by the glx (opengl) 
extension. 

- -- 
Matt
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D81740A
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/q9bgZosHVX2BdAoRAhodAJ405i1GxSKANAVIjfgP47KIZmYtTACeKrW9
XDQPock5/ZNLJz72FyecQd4=
=4dKb
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



[gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Mark Knecht
Hi,
   I've only done ATI cards before under Gentoo. Where can I find
instructions on getting the right NVidea drivers installed?

Thanks,
Mark


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Matt Chorman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 06 November 2003 12:49 pm, Mark Knecht wrote:
 Hi,
I've only done ATI cards before under Gentoo. Where can I find
 instructions on getting the right NVidea drivers installed?

 Thanks,
 Mark

Quite simple, really. 

$ emerge nvidia-kernel
$ emerge nvidia-glx

Remove any references to glcore or dri from the start of XF86Config. Change 
the driver to

Driver=nvidia

Under this line, add

Option RenderAccel true
to enable hardware rendering in X.

Viola! 2d/3d accelerated desktop with nvidia drivers!
- -- 
Matt
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D81740A
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/qrU0ZosHVX2BdAoRAjw7AJwKw0eTGzp2uE8A9Cd+nU7Gc+X41wCfaeu3
JSQ6unnYaP76+tUFJnjMYHA=
=SGPq
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Mark Knecht
On Thu, 2003-11-06 at 12:55, Matt Chorman wrote:

 Quite simple, really. 
 
 $ emerge nvidia-kernel
 $ emerge nvidia-glx
 
 Remove any references to glcore or dri from the start of XF86Config. Change 
 the driver to
 
 Driver=nvidia
 
 Under this line, add
 
 Option RenderAccel true
 to enable hardware rendering in X.
 
 Viola! 2d/3d accelerated desktop with nvidia drivers!
 - -- 
 Matt

Matt,
   Thanks much. You proved I couldn't even spell NVidia! No wonder I've
been an ATI guy up until now! ;-)

   OK, everything is emerged and I've modified the XF86config file as
instructed. I'm getting an error message

NV: could not open control device /dev/nvidiactl (No such file or
directory)

(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!

   Indeed, /dev/nvidiactl does not exist.

   Are there any specific options I needed to enable in my kernel to
make this work? agpgart? Other stuff? dri/drm? That's required by the
Radeon family, but this is a new box and new kernel, so likely I didn't
get somethign turned on if required.

Thanks,
MArk


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Michael Andreen
On Thursday 06 November 2003 22.27, Mark Knecht wrote:
OK, everything is emerged and I've modified the XF86config file as
 instructed. I'm getting an error message

 NV: could not open control device /dev/nvidiactl (No such file or
 directory)

 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!

Indeed, /dev/nvidiactl does not exist.

Are there any specific options I needed to enable in my kernel to
 make this work? agpgart? Other stuff? dri/drm? That's required by the
 Radeon family, but this is a new box and new kernel, so likely I didn't
 get somethign turned on if required.

You need to load the kernel module:
modprobe nvidia

and maybe add nvidia to /etc/modules.autoload.d/kernel-2.[456]

/Michael


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Mark Knecht
On Thu, 2003-11-06 at 13:40, Michael Andreen wrote:

 
 You need to load the kernel module:
 modprobe nvidia
 
 and maybe add nvidia to /etc/modules.autoload.d/kernel-2.[456]
 
 /Michael

Very, very weird. 

OK, so I did emerge nvidea-kernel 3 times before I noticed what was
going on. I couldn't do the modprobe since it told me the drivers wasn't
found. 

So I look closer and guess what? I've built 3 kernels today. The
/usr/src/linux link was not pointing to the currently running kernel, so
the emerge was putting the nvidia stuff in a different /lib/modules
path.

Is this considered a bug? I think it might be, in the sense that this is
the first thing I've ever personally encountered where that link made a
difference. 

fluxbox is up and running.

thanks!

Mark


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Matt Chorman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 06 November 2003 01:59 pm, Mark Knecht wrote:
 So I look closer and guess what? I've built 3 kernels today. The
 /usr/src/linux link was not pointing to the currently running kernel, so
 the emerge was putting the nvidia stuff in a different /lib/modules
 path.

 Is this considered a bug? I think it might be, in the sense that this is
 the first thing I've ever personally encountered where that link made a
 difference.

It is not a bug - it is a feature of the nvidia-kernel. It allows you to 
build modules for any given kernel by following the link in /usr/src/linux. 
This is not going to change anytime soon. Just be aware that if you need to 
update your drivers in the future that you should modify that symlink to 
point to the appropriate kernel source that you wish to build the modules 
for. Sorry, I forgot about this little feature, else I would have warned 
you from the start. :-(

Also - I read in another thread responding to this about running opengl-update 
nvidia - this is only necessary if you've changed your opengl drivers. The 
ebuild for nvidia-opengl runs this command for you once you've emerged the 
nvidia-opengl package.

If, in the future, you upgrade XFree, you will need to run the command 
opengl-update nvidia again. It only needs to happen when your opengl libs 
have changed. 

Enjoy!
- -- 
Matt
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D81740A
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/qsvWZosHVX2BdAoRAvX7AJ9BmY5IWuMzwLde1d4i6Kjt0jIdjACfSsZh
sPu0iS813rxXSjUeF3maoVQ=
=JGHa
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Matt Chorman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 06 November 2003 02:00 pm, Michael Schreckenbauer wrote:
 you need to run opengl-update nvidia as well. This will change the symlinks
 libGL.so and friends in /usr/lib to point to the nvidia-glx. I also have
 agpgart and dri enabled in my kernel. Don't know, if that is really needed,
 but it works here without problems (Geforce 3) :-) I have a file /etc/
 modules.d/nvidia. Maybe you should run modules-update to get the entries in
 / etc/modules.conf. But I'm not shure, if I did that, so perhaps you try
 first without that.

opengl-update is run by the nvidia-glx.ebuild, so it should not be necessary.

Agpgart is fine to enable, and is the default. The nvidia driver states that 
dri should be removed from XF86Config (see lines 357-375 of /usr/share/doc/
nvidia-glx-1.0.4496-r1/README.gz)

quote
You should also remove the following lines:
Load dri
Load GLcore
/quote

I doubt it causes a fatal error, but if you check you XF86 log I'll bet it 
throws an error and does not load the dri module

- -- 
Matt
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D81740A
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/qs3VZosHVX2BdAoRAotLAJ0Q+CzM7FvjZS7yBwrOlbZrZjbsjwCdGD8F
fHtegYwux6z5uhvgY7vsDug=
=EC1G
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Michael Schreckenbauer
Hi,

Am Donnerstag, 6. November 2003 23:40 schrieb Matt Chorman:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Thursday 06 November 2003 02:00 pm, Michael Schreckenbauer wrote:
  you need to run opengl-update nvidia as well. This will change the
  symlinks libGL.so and friends in /usr/lib to point to the nvidia-glx. I
  also have agpgart and dri enabled in my kernel. Don't know, if that is
  really needed, but it works here without problems (Geforce 3) :-) I have
  a file /etc/ modules.d/nvidia. Maybe you should run modules-update to get
  the entries in / etc/modules.conf. But I'm not shure, if I did that, so
  perhaps you try first without that.

 opengl-update is run by the nvidia-glx.ebuild, so it should not be
 necessary.

Is that new? I think that didn't happen, when I configured my video. As far as 
I remember, I had to call it manually.

 Agpgart is fine to enable, and is the default. The nvidia driver states
 that dri should be removed from XF86Config (see lines 357-375 of
 /usr/share/doc/ nvidia-glx-1.0.4496-r1/README.gz)
 quote
 You should also remove the following lines:
   Load dri
   Load GLcore
 /quote

You are right. I don't have these lines in my XF86Config. But I have dri 
enabled in my kernel. Seems nvidia doesn't need that.

 I doubt it causes a fatal error, but if you check you XF86 log I'll bet it
 throws an error and does not load the dri module

 - --
 Matt
 http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D81740A
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (GNU/Linux)

 iD8DBQE/qs3VZosHVX2BdAoRAotLAJ0Q+CzM7FvjZS7yBwrOlbZrZjbsjwCdGD8F
 fHtegYwux6z5uhvgY7vsDug=
 =EC1G
 -END PGP SIGNATURE-

Regards
Michael


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] nvidea emerge instructions?

2003-11-06 Thread Matt Chorman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 06 November 2003 03:00 pm, Mark Knecht wrote:

Sorry, to be honest I've never used any of these. I have heard of some of 
them, I'll try to enlighten as best I can.

 *  media-video/yanc-0.2.1 [ Masked ]
   Description: YanC is a GUI configuration tool for the NVIDIA
 Accelerated Linux Driver Set.

I've never used this or even heard of it... Might be interesting as there are 
many environment variables one can set to change the anti-aliasing/shadowing/
etc Not sure if this program does this or not. 

 *  media-video/nvoption-0_alpha-r1
   Description: grapich front-end to change NVIDIA options in X mode

Once again, probably similiar to the above but it looks like an alpha alpha 
alpha... :-)

 *  media-tv/nvtv-0.4.5
   Description: TV-Out for NVidia cards

Only useful if you have a tv-out. AFAIK, not necessary either as the nvidia 
driver can take care of it (see the README.gz file I referenced in a previous 
email.) I had mine set as a dual-headed monitor/tv. It worked just fine with 
the nvidia driver options. Probably only useful to those using the nv driver 
(non-accelerated)

 *  media-video/nvclock-0.7
   Description: NVIDIA Overclocking Utility

Might be fun if you like to push your nvidia card to the burn-out limits.. 
Beware of heat-stroke. :-)

 *  media-gfx/nvidia-cg-toolkit
   Description: nvidia's c graphics compiler toolkit

Did not know this had been ported to linux. It will be interesting to see if 
any new software is built using cg.. AFAIK, not necessary. For anything. 
(unless you plan on developing software using cg.)

 *  media-sound/nforce-audio-1.0.0261
   Description: Linux kernel module for the NVIDIA's nForce1/2
 SoundStorm audio chipset

Useful only if you have an nforce motherboard (built by nvidia).

 *  media-tv/rivatv-0.8.2
   Description: kernel driver for nVidia based cards with video-in

Useful if your video card has the Video-in link (for watching video/movies and 
such). Once again, probably only if your driver is the nv driver, but I 
could be wrong as I don't have this feature on my graphics card.

 *  net-misc/nforce-net-1.0.0256
   Description: Linux kernel module for the NVIDIA's nForce network
 chip

Useful only if you have an nforce motherboard (built by nvidia).

- -- 
Matt
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7D81740A
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/qtaSZosHVX2BdAoRAlGAAJ9crh3ObFb7PMxM1F980L6bt262CwCfd9Az
AnY18dKgukst2VDC60aRe+0=
=UEUm
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list