public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] nvidia and kernel support
@ 2006-06-15  2:24 Sean
  2006-06-15  2:30 ` Sean
  2006-06-15  2:43 ` Hemmann, Volker Armin
  0 siblings, 2 replies; 14+ messages in thread
From: Sean @ 2006-06-15  2:24 UTC (permalink / raw
  To: gentoo-user

Trying to setup my system to support my nvidia vid card.

Per instructions I am supposed to enable agpgart in the kernel, which is 
under device drivers--->
	character devices--->
	--- /dev/agpgart (agp support)

As you can see above my system does not allow anything to be done for 
/dev/agpgart, it just has three lines before it.
How do I enable this in the kernel towards getting my nvidia card working?

Please note: if it makes a difference I am running amd64.

				Thanks
				Sean
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15  2:24 [gentoo-user] nvidia and kernel support Sean
@ 2006-06-15  2:30 ` Sean
  2006-06-15  3:03   ` Norberto Bensa
  2006-06-15  2:43 ` Hemmann, Volker Armin
  1 sibling, 1 reply; 14+ messages in thread
From: Sean @ 2006-06-15  2:30 UTC (permalink / raw
  To: gentoo-user

Sean wrote:
> Trying to setup my system to support my nvidia vid card.
> 
> Per instructions I am supposed to enable agpgart in the kernel, which is 
> under device drivers--->
>     character devices--->
>     --- /dev/agpgart (agp support)
> 
> As you can see above my system does not allow anything to be done for 
> /dev/agpgart, it just has three lines before it.
> How do I enable this in the kernel towards getting my nvidia card working?
> 
> Please note: if it makes a difference I am running amd64.
> 
>                 Thanks
>                 Sean
Additional, when I run the glxinfo  | grep direct, the reponse I get is
Error: unable to open display (null)
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15  2:24 [gentoo-user] nvidia and kernel support Sean
  2006-06-15  2:30 ` Sean
@ 2006-06-15  2:43 ` Hemmann, Volker Armin
  2006-06-15  2:55   ` Sean
  1 sibling, 1 reply; 14+ messages in thread
From: Hemmann, Volker Armin @ 2006-06-15  2:43 UTC (permalink / raw
  To: gentoo-user

On Thursday 15 June 2006 04:24, Sean wrote:
> Trying to setup my system to support my nvidia vid card.
>
> Per instructions I am supposed to enable agpgart in the kernel, which is
> under device drivers--->
> 	character devices--->
> 	--- /dev/agpgart (agp support)
>
> As you can see above my system does not allow anything to be done for
> /dev/agpgart, it just has three lines before it.
> How do I enable this in the kernel towards getting my nvidia card working?
>
> Please note: if it makes a difference I am running amd64.
>

you don't set anything else on amd64.

Just agp support.

That is enough.

Rebuild, configure X properly, emerge nvidia-kernel, eselect opengl set 
nvidia, start X.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15  2:43 ` Hemmann, Volker Armin
@ 2006-06-15  2:55   ` Sean
  2006-06-15  4:48     ` Daniel Iliev
  2006-06-15  9:58     ` Hemmann, Volker Armin
  0 siblings, 2 replies; 14+ messages in thread
From: Sean @ 2006-06-15  2:55 UTC (permalink / raw
  To: gentoo-user

Hemmann, Volker Armin wrote:
> On Thursday 15 June 2006 04:24, Sean wrote:
>> Trying to setup my system to support my nvidia vid card.
>>
>> Per instructions I am supposed to enable agpgart in the kernel, which is
>> under device drivers--->
>> 	character devices--->
>> 	--- /dev/agpgart (agp support)
>>
>> As you can see above my system does not allow anything to be done for
>> /dev/agpgart, it just has three lines before it.
>> How do I enable this in the kernel towards getting my nvidia card working?
>>
>> Please note: if it makes a difference I am running amd64.
>>
> 
> you don't set anything else on amd64.
> 
> Just agp support.
> 
> That is enough.
> 
> Rebuild, configure X properly, emerge nvidia-kernel, eselect opengl set 
> nvidia, start X.

Is this "Just agp support" something else other then what the handbook 
instructions state about /dev/agpgart (agp support)?
As mentioned above that option is not available to me.

				Thanks
				Sean
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15  2:30 ` Sean
@ 2006-06-15  3:03   ` Norberto Bensa
  2006-06-15 11:58     ` Sean
  0 siblings, 1 reply; 14+ messages in thread
From: Norberto Bensa @ 2006-06-15  3:03 UTC (permalink / raw
  To: gentoo-user

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

Sean wrote:
> > How do I enable this in the kernel towards getting my nvidia card
> > working?

"---" means it's enabled (another part of your kernel wants it built-in)


> Additional, when I run the glxinfo  | grep direct, the reponse I get is
> Error: unable to open display (null)

You need to run glxinfo inside X

Do: emerge nvidia-{kernel,glx}


-- 
Norberto Bensa
Cel: 011-5654-9539
Ciudad de Buenos Aires, Argentina


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

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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15  2:55   ` Sean
@ 2006-06-15  4:48     ` Daniel Iliev
  2006-06-15  9:58     ` Hemmann, Volker Armin
  1 sibling, 0 replies; 14+ messages in thread
From: Daniel Iliev @ 2006-06-15  4:48 UTC (permalink / raw
  To: gentoo-user

As Mr. Norberto Bensa wrote: "---" means it's enabled (another part of your kernel
wants it built-in)

Additionally the help about this feature reads:

  │ Symbol: AGP [=n]
  │ Prompt: /dev/agpgart (AGP Support)
  │   Defined at drivers/char/agp/Kconfig:1
  │   Depends on: (ALPHA || IA64 || PPC || X86) && !GART_IOMMU
  │   Location:
  │     -> Device Drivers
  │       -> Character devices
  │   Selected by: FB_I810 && FB && EXPERIMENTAL && PCI && X86_32 || FB_INTEL
&& FB && EXPERI
  │

I would suppose you have some of the Intel cards under "Device Drivers/Graphics
support" enabled by "YES". My suggestion is that under "Graphics Support" you
disable everything but:

 <*> Support for frame buffer devices
  &#9474; [*]   Enable Video Mode Handling Helpers
  &#9474; [*]   VESA VGA graphics support

Then go back to Character Devices and enable apggart.


-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15  2:55   ` Sean
  2006-06-15  4:48     ` Daniel Iliev
@ 2006-06-15  9:58     ` Hemmann, Volker Armin
  2006-06-15 11:09       ` [gentoo-user] " Peter
  1 sibling, 1 reply; 14+ messages in thread
From: Hemmann, Volker Armin @ 2006-06-15  9:58 UTC (permalink / raw
  To: gentoo-user

On Thursday 15 June 2006 04:55, Sean wrote:
> Hemmann, Volker Armin wrote:
> > On Thursday 15 June 2006 04:24, Sean wrote:
> >> Trying to setup my system to support my nvidia vid card.
> >>
> >> Per instructions I am supposed to enable agpgart in the kernel, which is
> >> under device drivers--->
> >> 	character devices--->
> >> 	--- /dev/agpgart (agp support)
> >>
> >> As you can see above my system does not allow anything to be done for
> >> /dev/agpgart, it just has three lines before it.
> >> How do I enable this in the kernel towards getting my nvidia card
> >> working?
> >>
> >> Please note: if it makes a difference I am running amd64.
> >
> > you don't set anything else on amd64.
> >
> > Just agp support.
> >
> > That is enough.
> >
> > Rebuild, configure X properly, emerge nvidia-kernel, eselect opengl set
> > nvidia, start X.
>
> Is this "Just agp support" something else other then what the handbook
> instructions state about /dev/agpgart (agp support)?
> As mentioned above that option is not available to me.
>

link?

and: if you have enabled iommu support, agpsupport is built in the kernel. 
Because both are the same for AMD64.

There is nio good reason to build agpsupport as modul on amd64, so it is ok to 
build it in. Just make a kernel, install the kernel and install nvidia-kernel 
and nvidia-glx.
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: nvidia and kernel support
  2006-06-15  9:58     ` Hemmann, Volker Armin
@ 2006-06-15 11:09       ` Peter
  2006-06-15 12:03         ` Sean
  2006-06-15 12:12         ` Hemmann, Volker Armin
  0 siblings, 2 replies; 14+ messages in thread
From: Peter @ 2006-06-15 11:09 UTC (permalink / raw
  To: gentoo-user

On Thu, 15 Jun 2006 11:58:58 +0200, Hemmann, Volker Armin wrote:

snip
> 
> and: if you have enabled iommu support, agpsupport is built in the kernel.
> Because both are the same for AMD64.
> 
> There is nio good reason to build agpsupport as modul on amd64, so it is
> ok to build it in. Just make a kernel, install the kernel and install
> nvidia-kernel and nvidia-glx.

Actually, if you want to use the nvidia agpgart drivers, agpgart support
should be a module. Depending on your nvidia options, it will be loaded
when the nvidia module is loaded, or nvidia will handle agpgart itself.

>From the README:

X Config Options

Option "NvAGP" "integer"

    Configure AGP support. Integer argument can be one of:
    
        Value             Behavior
        --------------    ---------------------------------------------------
        0                 disable AGP
        1                 use NVIDIA's internal AGP support, if possible
        2                 use AGPGART, if possible
        3                 use any AGP support (try AGPGART, then NVIDIA's
                          AGP)

If agpgart is compiled into the kernel, only 2 will work.
-- 
Peter


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15  3:03   ` Norberto Bensa
@ 2006-06-15 11:58     ` Sean
  2006-06-15 12:48       ` Michael Weyershäuser
  0 siblings, 1 reply; 14+ messages in thread
From: Sean @ 2006-06-15 11:58 UTC (permalink / raw
  To: gentoo-user

Norberto Bensa wrote:
> Sean wrote:
>>> How do I enable this in the kernel towards getting my nvidia card
>>> working?
> 
> "---" means it's enabled (another part of your kernel wants it built-in)
> 
> 
>> Additional, when I run the glxinfo  | grep direct, the reponse I get is
>> Error: unable to open display (null)
> 
> You need to run glxinfo inside X
> 
> Do: emerge nvidia-{kernel,glx}
> 
> 

Don't know why I did not realize that I had to have X started for the 
glxinfo test, brain skip on my part.

Started X and works great. Thanks to all the tips. Very responsive group 
here.

Numbers look impressive on the test, first line reads
70644 frames in 5.0 seconds = 14128.800 FPS

The successor lines average over 14500 FPS. That looks very impressive, 
  seems much higher then I would have expected.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: nvidia and kernel support
  2006-06-15 11:09       ` [gentoo-user] " Peter
@ 2006-06-15 12:03         ` Sean
  2006-06-15 14:32           ` Hemmann, Volker Armin
  2006-06-15 12:12         ` Hemmann, Volker Armin
  1 sibling, 1 reply; 14+ messages in thread
From: Sean @ 2006-06-15 12:03 UTC (permalink / raw
  To: gentoo-user

Peter wrote:
> On Thu, 15 Jun 2006 11:58:58 +0200, Hemmann, Volker Armin wrote:
> 
> snip
>> and: if you have enabled iommu support, agpsupport is built in the kernel.
>> Because both are the same for AMD64.
>>
>> There is nio good reason to build agpsupport as modul on amd64, so it is
>> ok to build it in. Just make a kernel, install the kernel and install
>> nvidia-kernel and nvidia-glx.
> 
> Actually, if you want to use the nvidia agpgart drivers, agpgart support
> should be a module. Depending on your nvidia options, it will be loaded
> when the nvidia module is loaded, or nvidia will handle agpgart itself.
> 
>>From the README:
> 
> X Config Options
> 
> Option "NvAGP" "integer"
> 
>     Configure AGP support. Integer argument can be one of:
>     
>         Value             Behavior
>         --------------    ---------------------------------------------------
>         0                 disable AGP
>         1                 use NVIDIA's internal AGP support, if possible
>         2                 use AGPGART, if possible
>         3                 use any AGP support (try AGPGART, then NVIDIA's
>                           AGP)
> 
> If agpgart is compiled into the kernel, only 2 will work.

My menuconfig still shows --- for the agp line, so based on my responses 
I still have it built in some where do to another dependency.
Tried playing with some of the options, but still shows ---.
I will look at it more.

I guess nvidia's agp looks better then agpgart?
I have not done anything in the X config o wht you mention above.

			Thanks
			Sean

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: nvidia and kernel support
  2006-06-15 11:09       ` [gentoo-user] " Peter
  2006-06-15 12:03         ` Sean
@ 2006-06-15 12:12         ` Hemmann, Volker Armin
  1 sibling, 0 replies; 14+ messages in thread
From: Hemmann, Volker Armin @ 2006-06-15 12:12 UTC (permalink / raw
  To: gentoo-user

On Thursday 15 June 2006 13:09, Peter wrote:
>
>
> Actually, if you want to use the nvidia agpgart drivers, agpgart support
> should be a module. Depending on your nvidia options, it will be loaded
> when the nvidia module is loaded, or nvidia will handle agpgart itself.

yeah, but there is no good reason to use the nvidia agpgart driver ;)
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15 11:58     ` Sean
@ 2006-06-15 12:48       ` Michael Weyershäuser
  2006-06-15 14:34         ` Hemmann, Volker Armin
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Weyershäuser @ 2006-06-15 12:48 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sean wrote:
> Numbers look impressive on the test, first line reads
> 70644 frames in 5.0 seconds = 14128.800 FPS
> 
> The successor lines average over 14500 FPS. That looks very impressive,
>  seems much higher then I would have expected.

Those numbers are by no means representative. The only thing you can
read from it is ">100 = hardware acceleration works" ;)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEkVcD6q4f+IV6B/wRAvmYAJsEfeCpcR1nI8kAGk0bZMKVEqw5gQCdGOW3
103IFS2grD/GnX7KQ+Ko8W0=
=zXIX
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: nvidia and kernel support
  2006-06-15 12:03         ` Sean
@ 2006-06-15 14:32           ` Hemmann, Volker Armin
  0 siblings, 0 replies; 14+ messages in thread
From: Hemmann, Volker Armin @ 2006-06-15 14:32 UTC (permalink / raw
  To: gentoo-user

On Thursday 15 June 2006 14:03, Sean wrote:

> > --------------------------------------------------- 0                
> > disable AGP
> >         1                 use NVIDIA's internal AGP support, if possible
> >         2                 use AGPGART, if possible
> >         3                 use any AGP support (try AGPGART, then NVIDIA's
> >                           AGP)
> >
> > If agpgart is compiled into the kernel, only 2 will work.
>
> My menuconfig still shows --- for the agp line, so based on my responses
> I still have it built in some where do to another dependency.
> Tried playing with some of the options, but still shows ---.
> I will look at it more.
>
> I guess nvidia's agp looks better then agpgart?
> I have not done anything in the X config o wht you mention above.
>

nope, it does not.

I don't even know, if nvidia-agp really supports amd64.

Just go with the inkernel agpgart. Nvidia even says, that you only should use 
nvidia-agpgart, if your chipset is not supported by inkernel drivers, but the 
nvidia driver.

Go with inkernel driver. It is the right choice.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] nvidia and kernel support
  2006-06-15 12:48       ` Michael Weyershäuser
@ 2006-06-15 14:34         ` Hemmann, Volker Armin
  0 siblings, 0 replies; 14+ messages in thread
From: Hemmann, Volker Armin @ 2006-06-15 14:34 UTC (permalink / raw
  To: gentoo-user

On Thursday 15 June 2006 14:48, Michael Weyershäuser wrote:
> Sean wrote:
> > Numbers look impressive on the test, first line reads
> > 70644 frames in 5.0 seconds = 14128.800 FPS
> >
> > The successor lines average over 14500 FPS. That looks very impressive,
> >  seems much higher then I would have expected.
>
> Those numbers are by no means representative. The only thing you can
> read from it is ">100 = hardware acceleration works" ;)

well, in Xgl, I have ~5500FPS 
with plain X 2500-3500 FPS 

...

so much about the sccuracy.

compare that to ut2004.
with Xgl 5-6FPS
with X 50-180FPS

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-06-15 15:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-15  2:24 [gentoo-user] nvidia and kernel support Sean
2006-06-15  2:30 ` Sean
2006-06-15  3:03   ` Norberto Bensa
2006-06-15 11:58     ` Sean
2006-06-15 12:48       ` Michael Weyershäuser
2006-06-15 14:34         ` Hemmann, Volker Armin
2006-06-15  2:43 ` Hemmann, Volker Armin
2006-06-15  2:55   ` Sean
2006-06-15  4:48     ` Daniel Iliev
2006-06-15  9:58     ` Hemmann, Volker Armin
2006-06-15 11:09       ` [gentoo-user] " Peter
2006-06-15 12:03         ` Sean
2006-06-15 14:32           ` Hemmann, Volker Armin
2006-06-15 12:12         ` Hemmann, Volker Armin

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