Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-15 Thread Sean Bryant

Norbert Papke wrote:

On Monday 12 March 2007 20:58, [EMAIL PROTECTED] wrote:
  

I'm actually having the same problem, but after I took out device agp out
of my kernel. And I still cannot start x with nvidia driver.

It complains that /dev/nvidiactl couldn't be opened. And then it says it
failed to load the kernel module.



It seems that the graphics card is not detected.  Does 


'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older version of 
the NVIDIA driver.


  

sysctl -a | grep nvidia
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:



For comparison, here is my output.  Note that  there are card specific 
entries.


# sysctl -a | grep nvidia
   nvidia   603  1293K   -38844  
16,32,64,128,256,512,1024,2048,4096
nvidia0: GeForce 7600 GS port 0xbc00-0xbc7f mem 
0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 16 at 
device 0.0 on pci3

nvidia0: [GIANT-LOCKED]
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006

hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce 7600 GS
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.16.02
hw.nvidia.cards.0.type: PCI-E
dev.nvidia.0.%desc: GeForce 7600 GS
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0392 subvendor=0x3842 
subdevice=0xc547 class=0x03

dev.nvidia.0.%parent: pci3
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

It seems the driver is attached:
[EMAIL PROTECTED]:0:0:   class=0x03 card=0x chip=0x00f910de 
rev=0xa2 hdr=0x00


its a 6800 GT. From BFG.  I am on CURRENT. And xorg 6.9.0

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-15 Thread Garrett Cooper

Sean Bryant wrote:

Norbert Papke wrote:

On Monday 12 March 2007 20:58, [EMAIL PROTECTED] wrote:
 
I'm actually having the same problem, but after I took out device agp 
out

of my kernel. And I still cannot start x with nvidia driver.

It complains that /dev/nvidiactl couldn't be opened. And then it says it
failed to load the kernel module.



It seems that the graphics card is not detected.  Does
'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older 
version of the NVIDIA driver.


 

sysctl -a | grep nvidia
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:



For comparison, here is my output.  Note that  there are card specific 
entries.


# sysctl -a | grep nvidia
   nvidia   603  1293K   -38844  
16,32,64,128,256,512,1024,2048,4096
nvidia0: GeForce 7600 GS port 0xbc00-0xbc7f mem 
0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 
16 at device 0.0 on pci3

nvidia0: [GIANT-LOCKED]
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006

hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce 7600 GS
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.16.02
hw.nvidia.cards.0.type: PCI-E
dev.nvidia.0.%desc: GeForce 7600 GS
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0392 subvendor=0x3842 
subdevice=0xc547 class=0x03

dev.nvidia.0.%parent: pci3


It seems the driver is attached:
[EMAIL PROTECTED]:0:0:   class=0x03 card=0x chip=0x00f910de 
rev=0xa2 hdr=0x00


its a 6800 GT. From BFG.  I am on CURRENT. And xorg 6.9.0


Driver section from Xorg?

Also, this could be an issue with some changes to the kernel interfaces 
for AGP / PCI-express, video, ABI, etc.. -CURRENT can be problematic 
sometimes and something may have gotten broken after an update.


You may want to take this question up on the -current@ list though.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-14 Thread Norbert Papke
On Tuesday 13 March 2007 21:41, Sean Bryant wrote:
 It seems the driver is attached:
 [EMAIL PROTECTED]:0:0:   class=0x03 card=0x chip=0x00f910de
 rev=0xa2 hdr=0x00

 its a 6800 GT.

In an earlier post you mentioned that there were problems with /dev/nvidiactl 
and the kernel module.  Just to confirm, 

* Does /dev/nvidiactl exist at all?
* Do you have /dev/nvidia0?
* Does kldstat show nvidia.ko at all?  
* What error do you get when you manually load the nvidia kernel 
module kldload nvidia?

Cheers,

-- Norbert.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-14 Thread hxc

Tore Lund wrote:

[EMAIL PROTECTED] wrote:
  

Chris Slothouber wrote:


What version of FreeBSD are you currently running.
  


Sorry for pressing the point, but it seems you have not yet told us
which version of FreeBSD you are running.

  
/Darn this looks pretty complicated  :-P  



In that case, it may be simpler to just back up a few directories and
install the latest version from scratch.
  
Hello all. I am afraid I have to throw in the towel. I tried updating 
FreeBSD 6.2 to stable  and ran into several problems. After a weeks 
worth of fiddling to get my Nvidia drivers working I decided it's not 
worth it to invest more time. I am heading back to Gentoo Linux. Thanks 
all, your help has been really appreciated :-)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Martin Tournoij wrote:


Armed Assault..?
Are you trying to run armed assault in wine? if so, then remember that
wine support for FreeBSD is horrible at best...

Anyway, I set hint.agp.0.disabled=1 and now hw.nvidia.agp.status.status
is set to enabled (it was disabled before)
glxgears results are the same, ~2300 FPS.

In my experience, games on FreeBSD are always slow, my hardware isn't very
fast (900MHz, 384MB RAM,Geforce FX5200) but on windows 2000 I'm able to
play even fairly recent games (Such as the punisher, civ4).

On FreeBSD, anything with more graphics than rogue will be anything from
slow to unplayable, even though FreeBSD outperforms windows in almost
every other way...

Conclusion:
Use windows for games, FreeBSD for serious stuff ...

  


I run Armed Assault in Windows it looks absolutely gorgeous. Btw the 
punisher is an excellent game, first one I played from start to finish 
since a long time. My gaming rig relatively fast:


AMD 4000+
1024 Ram
Videocard XFX 7800 GS166256-bitGDDR3/256MB440MHz
1300MHz

Sound Audigy 2

The thing is I notice it also in normal usage. Dragging a window  around 
the screen sometime makes the system stutter. That when I noticed in the 
first place that things were wrong. I can perfectly live without games 
in FreeBSD but not with an X server that feels slow and is lagging :-( 
.  For example if I draw circles with a window in Gentoo nothing happens 
but in FreeBSD my desktop freezes for a moment.

*
*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Hugo Silva

In my experience, games on FreeBSD are always slow, my hardware isn't very

fast (900MHz, 384MB RAM,Geforce FX5200) but on windows 2000 I'm able to
play even fairly recent games (Such as the punisher, civ4).

On FreeBSD, anything with more graphics than rogue will be anything from
slow to unplayable, even though FreeBSD outperforms windows in almost
every other way...

Conclusion:
Use windows for games, FreeBSD for serious stuff ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  



I have to disagree. Been playing Return to Castle Wolfenstein[: Enemy
Territory] and NeverWinter Nights 1 for years - I surely wouldn't say
they're anything from slow to unplayable: NWN runs fine at max
resolution, and I have constant 142FPS (they're capped @ 142) on ET, at
1280x1024.

Hugo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Hugo Silva wrote:


I have to disagree. Been playing Return to Castle Wolfenstein[: Enemy
Territory] and NeverWinter Nights 1 for years - I surely wouldn't say
they're anything from slow to unplayable: NWN runs fine at max
resolution, and I have constant 142FPS (they're capped @ 142) on ET, at
1280x1024.

Hugo

That is good news :D. I think the problem is not with 3d acceleration 
but with AGP. I now get this error message at boot:


login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

NVRM: kernel upgrade recommended.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc
In case you haven't noticed I am a total FreeBSD n00b ;). How can I 
solve this error message? Thanks in advance!:


Error message
login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

NVRM: kernel upgrade recommended.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 14:56, schreef [EMAIL PROTECTED]:
 Hugo Silva wrote:
  I have to disagree. Been playing Return to Castle Wolfenstein[: Enemy
  Territory] and NeverWinter Nights 1 for years - I surely wouldn't say
  they're anything from slow to unplayable: NWN runs fine at max
  resolution, and I have constant 142FPS (they're capped @ 142) on ET, at
  1280x1024.
 
  Hugo
My experience exactly; been playing Quake3 a while at framerates over 350 
(1024x768). In fact, I have created a robot simulation / visualisation which 
runs faster on FreeBSD than on Windows. OpenGL is just as fast on FreeBSD as 
it is on Windows, when set up properly.


 That is good news :D. I think the problem is not with 3d acceleration
 but with AGP. I now get this error message at boot:

 login: NVRM: AGP cannot be enabled on this combination of the AMD CPU
 and OS kernel
 NVRM: kernel upgrade recommended.
You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.

When everything is working OK, the hw.nvidia sysctl will look like this:
[EMAIL PROTECTED]:~ sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
[ ... ]
hw.nvidia.cards.0.model: GeForce 7600 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.25.70
hw.nvidia.cards.0.type: AGP

Regards,
Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Pieter de Goeje wrote:


You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.


When everything is working OK, the hw.nvidia sysctl will look like this:
[EMAIL PROTECTED]:~ sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
[ ... ]
hw.nvidia.cards.0.model: GeForce 7600 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.25.70
hw.nvidia.cards.0.type: AGP

Regards,
Pieter de Goeje
  


Do you have a link where I can more (newbie friendly) information on how 
to do this?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 16:20, schreef [EMAIL PROTECTED]:
 Do you have a link where I can more (newbie friendly) information on how
 to do this?

Look here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
or the dutch version:
http://www.freebsd.org/doc/nl_NL.ISO8859-1/books/handbook/kernelconfig.html

Basically it comes down to this:
# cd /usr/src/sys/i386/conf
# cp GENERIC MYKERNEL
edit MYKERNEL, delete 'device agp'
or you could: grep -v agp GENERIC  MYKERNEL
# cd /usr/src
# make kernel KERNCONF=MYKERNEL
# reboot

Regards,
Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Alex Zbyslaw

[EMAIL PROTECTED] wrote:

In case you haven't noticed I am a total FreeBSD n00b ;). How can I 
solve this error message? Thanks in advance!:


Error message
login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

NVRM: kernel upgrade recommended.


Unless I am misunderstanding, you can't.  See 
http://www.nvnews.net/vbulletin/showthread.php?t=52388 messages #4 and 
#6.  Changes are required to the FreeBSD kernel as well as to the NVidia 
driver.  
http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html


I have no idea what effect this has on 3D acceleration of any kind; I 
only use the driver because the nv driver available when I got the card 
locked up.  Newer Nvidia drivers do as well 
(http://www.nvnews.net/vbulletin/showthread.php?t=73644)


For reference, with a GT6600 and an older nvidia driver I get ~4700fps.  
I neither know nor care whether that is good or not; I can run X which 
is all I care about.  I use Windows for games.


hth,

--Alex


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Norbert Papke
On Monday 12 March 2007 20:58, [EMAIL PROTECTED] wrote:
 I'm actually having the same problem, but after I took out device agp out
 of my kernel. And I still cannot start x with nvidia driver.

 It complains that /dev/nvidiactl couldn't be opened. And then it says it
 failed to load the kernel module.

It seems that the graphics card is not detected.  Does 

'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older version of 
the NVIDIA driver.


 sysctl -a | grep nvidia
 hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
 13:20:59 PST 2006
 hw.nvidia.registry.EnableVia4x: 0
 hw.nvidia.registry.EnableALiAGP: 0
 hw.nvidia.registry.NvAGP: 1
 hw.nvidia.registry.EnableAGPSBA: 0
 hw.nvidia.registry.EnableAGPFW: 0
 hw.nvidia.registry.SoftEDIDs: 1
 hw.nvidia.registry.Mobile: 4294967295
 hw.nvidia.registry.ResmanDebugLevel: 4294967295
 hw.nvidia.registry.FlatPanelMode: 0
 hw.nvidia.registry.DevicesConnected: 0
 hw.nvidia.registry.RmLogonRC: 1
 hw.nvidia.registry.DetectPrimaryVga: 1
 hw.nvidia.registry.dwords:

For comparison, here is my output.  Note that  there are card specific 
entries.

# sysctl -a | grep nvidia
   nvidia   603  1293K   -38844  
16,32,64,128,256,512,1024,2048,4096
nvidia0: GeForce 7600 GS port 0xbc00-0xbc7f mem 
0xfd00-0xfdff,0xc000-0xcfff,0xfc00-0xfcff irq 16 at 
device 0.0 on pci3
nvidia0: [GIANT-LOCKED]
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce 7600 GS
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.16.02
hw.nvidia.cards.0.type: PCI-E
dev.nvidia.0.%desc: GeForce 7600 GS
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0392 subvendor=0x3842 
subdevice=0xc547 class=0x03
dev.nvidia.0.%parent: pci3
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Pieter de Goeje wrote:


Look here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
or the dutch version:
http://www.freebsd.org/doc/nl_NL.ISO8859-1/books/handbook/kernelconfig.html

Basically it comes down to this:
# cd /usr/src/sys/i386/conf
# cp GENERIC MYKERNEL
edit MYKERNEL, delete 'device agp'
or you could: grep -v agp GENERIC  MYKERNEL
# cd /usr/src
# make kernel KERNCONF=MYKERNEL
# reboot

Regards,
Pieter de Goeje

  
Thank you for your extensive answer. I tried both your method and the 
method described in the handbook*. I still get the same error message 
though**. I have attached MYKERNEL, maybe you can take a look at it to 
see if somethings wrong?


**Building a Kernel*

  1.

 Change to the /usr/src directory:

 # cd /usr/src
 


  2.

 Compile the kernel:

 # make buildkernel KERNCONF=/MYKERNEL/
 


  3.

 Install the new kernel:

 # make installkernel KERNCONF=/MYKERNEL/
 


**
Error message
login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

NVRM: kernel upgrade recommended.
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon 
Exp $

machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   GENERIC

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
device  ahb # EISA AHA1742 family
device  ahc # AHA2940 and onboard AIC7xxx devices
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# 

Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Eric P. Scott
[Pieter de Goeje [EMAIL PROTECTED]]
You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.

Really?  NVIDIA's README file says that shouldn't be necessary.

|Note that current FreeBSD releases are shipped with agp.ko built into the
|kernel; in order to allow NvAGP to work, the kernel can be rebuilt without
|'device agp' or the following entry added to /boot/device.hints:
|
| hint.agp.0.disabled=1

-=EPS=-
(using a different model NVIDIA card)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Martin Tournoij
On Tue 13 Mar 2007 17:03, [EMAIL PROTECTED] wrote:
 Pieter de Goeje wrote:
 
 Look here:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
 or the dutch version:
 http://www.freebsd.org/doc/nl_NL.ISO8859-1/books/handbook/kernelconfig.html
 
 Basically it comes down to this:
 # cd /usr/src/sys/i386/conf
 # cp GENERIC MYKERNEL
 edit MYKERNEL, delete 'device agp'
 or you could: grep -v agp GENERIC  MYKERNEL
 # cd /usr/src
 # make kernel KERNCONF=MYKERNEL
 # reboot
 
 Regards,
 Pieter de Goeje
 
   
 Thank you for your extensive answer. I tried both your method and the method 
 described in the handbook*. I still get the same error message 
 though**. I have attached MYKERNEL, maybe you can take a look at it to see if 
 somethings wrong?


Next time you build a kernel, you should change indent GENERIC to indent 
MYKERNEL
This will avoid any confusion about which kernel you are using.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Norbert Papke wrote:

It seems that the graphics card is not detected. Does
'pciconf -l | grep nvidia'

show anything?

What model is it?  If it is an older card, you may need the older version of 
the NVIDIA driver.


  
To unsubscribe, send any mail to [EMAIL PROTECTED]


  

Pciconf show this:

pciconf -l | grep nvidia
[EMAIL PROTECTED]:0:0:   class=0x03 card=0x21881682 chip=0x00f510de rev=0xa2 


I have a Geforce XFX 7800 GS AGP why does it show up as pci?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Roger Olofsson

Hello Pieter,

I hope this might be helpful for you. It's a forum for FreeBSD using 
nvidia. You can also find it from www.nvidia.com.


http://www.nvnews.net/vbulletin/forumdisplay.php?f=47

I found alot of helpful information there when setting up my OpenGL 
programming environment.


Good luck!



[EMAIL PROTECTED] skrev:

Pieter de Goeje wrote:


You really need to delete 'device AGP' from your kernel config and 
rebuild your kernel.


When everything is working OK, the hw.nvidia sysctl will look like this:
[EMAIL PROTECTED]:~ sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
[ ... ]
hw.nvidia.cards.0.model: GeForce 7600 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.25.70
hw.nvidia.cards.0.type: AGP

Regards,
Pieter de Goeje
  


Do you have a link where I can more (newbie friendly) information on how 
to do this?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Eric P. Scott wrote:

[Pieter de Goeje [EMAIL PROTECTED]]
  
You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.



Really?  NVIDIA's README file says that shouldn't be necessary.

|Note that current FreeBSD releases are shipped with agp.ko built into the
|kernel; in order to allow NvAGP to work, the kernel can be rebuilt without
|'device agp' or the following entry added to /boot/device.hints:
|
| hint.agp.0.disabled=1

-=EPS=-
(using a different model NVIDIA card)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
I have tried editing /boot/device.hints first* but this didn't work. 
Removing AGP from the kernel also did also zero :'(


*
*# tail /boot/device.hints*
[code]hint.ie.0.maddr=0xd
hint.fe.0.at=isa
hint.fe.0.disabled=1
hint.fe.0.port=0x300
hint.lnc.0.at=isa
hint.lnc.0.disabled=1
hint.lnc.0.port=0x280
hint.lnc.0.irq=10
hint.lnc.0.drq=0
hint.agp.0.disabled=1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 19:51, schreef Eric P. Scott:
 [Pieter de Goeje [EMAIL PROTECTED]]

 You really need to delete 'device AGP' from your kernel config and rebuild
 your kernel.

 Really?  NVIDIA's README file says that shouldn't be necessary.

 |Note that current FreeBSD releases are shipped with agp.ko built into the
 |kernel; in order to allow NvAGP to work, the kernel can be rebuilt without
 |'device agp' or the following entry added to /boot/device.hints:
 |
 | hint.agp.0.disabled=1

   -=EPS=-
   (using a different model NVIDIA card)
Hmm, you're probably right, I'll try it out some time.

- Pieter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
Op dinsdag 13 maart 2007 17:44, schreef [EMAIL PROTECTED]:
 Thank you for your extensive answer. I tried both your method and the
 method described in the handbook*. I still get the same error message
 though**. I have attached MYKERNEL, maybe you can take a look at it to
 see if somethings wrong?
 [snip]
 Error message
 login: NVRM: AGP cannot be enabled on this combination of the AMD CPU
 and OS kernel
 NVRM: kernel upgrade recommended.
Ok, the only other reason I can think of right now is that your motherboard's 
agp chipset isn't supported by the nvidia driver. In that case you'll need to 
load the FreeBSD agp driver and recompile the nvidia driver with support for 
freebsd's agp driver.

# cd /usr/ports/x11/nvidia-driver
# make config
check FREEBSD_AGP
# make clean
# make deinstall reinstall clean

Also, you need to go back to the GENERIC kernel w/ agp included, or load agp 
by specifying agp_load=yes in /boot/loader.conf.

Hope this helps,

Pieter de Goeje
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Roger Olofsson wrote:

Hello Pieter,

I hope this might be helpful for you. It's a forum for FreeBSD using 
nvidia. You can also find it from www.nvidia.com.


http://www.nvnews.net/vbulletin/forumdisplay.php?f=47

I found alot of helpful information there when setting up my OpenGL 
programming environment.


Good luck!




As you can see I have already posted a thread there :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Tore Lund
[EMAIL PROTECTED] wrote:
 
 pciconf -l | grep nvidia
 [EMAIL PROTECTED]:0:0:   class=0x03 card=0x21881682 chip=0x00f510de 
 rev=0xa2 
 
 I have a Geforce XFX 7800 GS AGP why does it show up as pci?

Mine also shows up as PCI.  As long as it works, I don't mind:

%pciconf -l | grep nvidia
[EMAIL PROTECTED]:0:0:   class=0x03 card=0x000210b0 chip=0x017110de
rev=0xa3 hdr=0x00

I'd be curious to know whether Pieter's last suggestion helps.
-- 
Tore

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Pieter de Goeje wrote:


Ok, the only other reason I can think of right now is that your motherboard's 
agp chipset isn't supported by the nvidia driver. In that case you'll need to 
load the FreeBSD agp driver and recompile the nvidia driver with support for 
freebsd's agp driver.


# cd /usr/ports/x11/nvidia-driver
# make config
check FREEBSD_AGP
# make clean
# make deinstall reinstall clean

Also, you need to go back to the GENERIC kernel w/ agp included, or load agp 
by specifying agp_load=yes in /boot/loader.conf.


Hope this helps,

Pieter de Goeje

  



I recompiled the kernel with AGP support enabled. The FreeBSD agp driver 
yields the same results. Meaning the same error message* and the same 
fps :-( . Maybe it is an idea to upgrade the kernel? I searched for a 
good howto but couldn't find anything useful. Who knows a link with more 
information about this?


*login: NVRM: AGP cannot be enabled on this combination of the AMD CPU 
and OS kernel

NVRM: kernel upgrade recommended.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Aniruddha

Roger Olofsson wrote:

Hello Pieter,

I hope this might be helpful for you. It's a forum for FreeBSD using 
nvidia. You can also find it from www.nvidia.com.


http://www.nvnews.net/vbulletin/forumdisplay.php?f=47

I found alot of helpful information there when setting up my OpenGL 
programming environment.


Good luck!




As you can see I have already posted a thread there :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Chris Slothouber

What version of FreeBSD are you currently running.

Check out the FreeBSD Handbook for step-by-step instructions for 
synchronizing your source and building an updated kernel and userland.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

[EMAIL PROTECTED] wrote:

Pieter de Goeje wrote:
(snip)
fps :-( . Maybe it is an idea to upgrade the kernel? I searched for a 
good howto but couldn't find anything useful. Who knows a link with more 
information about this?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Chris Slothouber wrote:

What version of FreeBSD are you currently running.

Check out the FreeBSD Handbook for step-by-step instructions for 
synchronizing your source and building an updated kernel and userland.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html 



[EMAIL PROTECTED] wrote:

Pieter de Goeje wrote:
(snip)
fps :-( . Maybe it is an idea to upgrade the kernel? I searched for a 
good howto but couldn't find anything useful. Who knows a link with 
more information about this?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Is the only possible to upgrade the kernel by upgrading FreeBSD as a 
whole? For now if I understand the total upgrading idea. I would like to 
keep FreeBSD stable. in order to upgrade the kernel I need to:


1 Use the cvsup program (gotta figure how yet)
2 Rebuilding world:
read /usr/src/UPDATING

# make buildworld
# make buildkernel
# make installkernel
# reboot

single user mode 
# mergemaster -p

# make installworld
# mergemaster
# reboot


# cd /usr/src
# make buildkernel KERNCONF=/MYKERNEL/
# make installkernel KERNCONF=/MYKERNEL


/Darn this looks pretty complicated  :-P  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Pieter de Goeje
On Tuesday 13 March 2007 22:12, [EMAIL PROTECTED] wrote:
 Chris Slothouber wrote:
  What version of FreeBSD are you currently running.
 
  Check out the FreeBSD Handbook for step-by-step instructions for
  synchronizing your source and building an updated kernel and userland.
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.ht
 ml
 
  [EMAIL PROTECTED] wrote:
  Pieter de Goeje wrote:
  (snip)
  fps :-( . Maybe it is an idea to upgrade the kernel? I searched for a
  good howto but couldn't find anything useful. Who knows a link with
  more information about this?
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 Is the only possible to upgrade the kernel by upgrading FreeBSD as a
 whole? For now if I understand the total upgrading idea. I would like to
 keep FreeBSD stable. in order to upgrade the kernel I need to:
Yes the steps below do exactly that: upgrade everything, including the kernel.

 1 Use the cvsup program (gotta figure how yet)
Use something like the following as supfile:
--- cut 
*default host=cvsup.nl.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all
 cut 
then run:
# csup -g -L 2 supfile

For more information: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

 2 Rebuilding world:
 read /usr/src/UPDATING

 # make buildworld
 # make buildkernel
 # make installkernel
You can specify KERNCONF=MYKERNEL here, if you want to build a custom kernel.
 # reboot

 single user mode
 # mergemaster -p
 # make installworld
 # mergemaster
mergemaster -U will save you some time here...
 # reboot
Correct.

 # cd /usr/src
 # make buildkernel KERNCONF=/MYKERNEL/
 # make installkernel KERNCONF=/MYKERNEL
Not necessary (already done above). By the way specify MYKERNEL without 
any '/' signs.


 /Darn this looks pretty complicated  :-P

Good Luck!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread hxc

Pieter de Goeje wrote:

Yes the steps below do exactly that: upgrade everything, including the kernel.
  

1 Use the cvsup program (gotta figure how yet)


Use something like the following as supfile:
--- cut 
*default host=cvsup.nl.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all
 cut 
then run:
# csup -g -L 2 supfile

For more information: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html


  
Good Luck!



  

I am afraid I already have a problem:

# cvsup standard-supfile
Cannot get IP address of my own host -- is its hostname correct?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-13 Thread Tore Lund
[EMAIL PROTECTED] wrote:
 Chris Slothouber wrote:
 What version of FreeBSD are you currently running.

Sorry for pressing the point, but it seems you have not yet told us
which version of FreeBSD you are running.

 /Darn this looks pretty complicated  :-P  

In that case, it may be simpler to just back up a few directories and
install the latest version from scratch.
-- 
Tore

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Armin Pirkovitsch
[EMAIL PROTECTED] wrote:
 I am trying for several days now to get 3d acceleration working on
 FreebSD for my XFX 7800 GS. But nothing what I've tried worked :-( .
 Below is a collection of useful information I've gathered thus far. Who
 can help me?

 *# glxinfo | fgrep direct*
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified

try glxinfo as the user which runs the xserver not as root (and only
when the x server is running)
(or run xhost + as the user who runs the xserver before you use glxinfo
as root or any other user - however i wouldn't recommend this version)

-- 
Armin Pirkovitsch
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread hxc

Running glxinfo  as user works:

$ glxinfo | fgrep direct
direct rendering: Yes

3d acceleration still isn't working though :-( :
$ sysctl hw.nvidia.agp.status
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a (unused)
hw.nvidia.agp.status.rate: n/a (disabled)
hw.nvidia.agp.status.fw: n/a (disabled)
hw.nvidia.agp.status.sba: n/a (disabled)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Martin Tournoij
hw.nvidia.agp.status.status: disabled means that the nvidia AGP
driver isn't working, not that 3d acceleration isn't working.

If you want to use the nvidia agp driver, then you should compile a
kernel without device agp.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

On Mon 12 Mar 2007 13:03, [EMAIL PROTECTED] wrote:
 Running glxinfo  as user works:
 
 $ glxinfo | fgrep direct
 direct rendering: Yes
 
 3d acceleration still isn't working though :-( :
 $ sysctl hw.nvidia.agp.status
 hw.nvidia.agp.status.status: disabled
 hw.nvidia.agp.status.driver: n/a (unused)
 hw.nvidia.agp.status.rate: n/a (disabled)
 hw.nvidia.agp.status.fw: n/a (disabled)
 hw.nvidia.agp.status.sba: n/a (disabled)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Travel important today; Internal Revenue men arrive tomorrow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread hxc

Martin Tournoij wrote:

hw.nvidia.agp.status.status: disabled means that the nvidia AGP
driver isn't working, not that 3d acceleration isn't working.

If you want to use the nvidia agp driver, then you should compile a
kernel without device agp.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html


  


Is this really true? Who can confirm this? I also wonder why glxgears in 
FreeBSD gives me 5000 fps, while in Linux gives me 13000.  To get 5000 
fps in Linux I need to disable 3d support :-\ .

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Tore Lund
[EMAIL PROTECTED] wrote:
 Martin Tournoij wrote:
 hw.nvidia.agp.status.status: disabled means that the nvidia AGP
 driver isn't working, not that 3d acceleration isn't working.

 If you want to use the nvidia agp driver, then you should compile a
 kernel without device agp.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

I believe it's enough to put this line into /boot/device.hints:

hint.agp.0.disabled=1

 Is this really true? Who can confirm this? I also wonder why glxgears in 
 FreeBSD gives me 5000 fps, while in Linux gives me 13000.  To get 5000 
 fps in Linux I need to disable 3d support :-\ .

Have you installed the port or package nvidia-driver (or one of its
siblings)?  The documentation that comes with it will probably tell you
what you need to know.

On my own machine I have NVIDIA-FreeBSD-x86-1.0-9631, and I get this:

%sysctl hw.nvidia.agp.status
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 4x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: disabled
-- 
Tore


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread hxc

Tore Lund wrote:


I believe it's enough to put this line into /boot/device.hints:

hint.agp.0.disabled=1

  
Is this really true? Who can confirm this? I also wonder why glxgears in 
FreeBSD gives me 5000 fps, while in Linux gives me 13000.  To get 5000 
fps in Linux I need to disable 3d support :-\ .



Have you installed the port or package nvidia-driver (or one of its
siblings)?  The documentation that comes with it will probably tell you
what you need to know.

On my own machine I have NVIDIA-FreeBSD-x86-1.0-9631, and I get this:

%sysctl hw.nvidia.agp.status
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 4x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: disabled
  


I have installed the port nvidia-driver. I have followed all the step in 
the readme (including adding the  line to  /boot/device.hint see below). 
I wonder though is nvidia 3d acceleration supported under FreeBSD? From 
the readme:

/
The NVIDIA Accelerated FreeBSD Driver Set brings accelerated 2D 
functionality

and high-performance OpenGL support to FreeBSD x86 with the use of NVIDIA
graphics processing units (GPUs).

These drivers provide optimized hardware acceleration for OpenGL and X
applications and support nearly all recent NVIDIA graphics chips (please see
Appendix A for a complete list of supported chips). TwinView, TV-Out and 
flat

panel displays are also supported.
/
P.S.
I also have ran ppracer. Results:

*FreeBSD*
*110 fps*

*Gentoo Linux*
*240 fps*


Additional information:

*# tail /boot/device.hints*
/hint.ie.0.maddr=0xd
hint.fe.0.at=isa
hint.fe.0.disabled=1
hint.fe.0.port=0x300
hint.lnc.0.at=isa
hint.lnc.0.disabled=1
hint.lnc.0.port=0x280
hint.lnc.0.irq=10
hint.lnc.0.drq=0
hint.agp.0.disabled=1/



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread hxc

OK. The line hw.nvidia.agp.status.status: disabled looks very odd, so

I had to ask.  If you have also modified your xorg.conf according to the
docs (or used nvidia-xconfig), this is baffling. Sorry I am unable to help.

  

P.S.
I also have ran ppracer. Results:

*FreeBSD*
*110 fps*

*Gentoo Linux*
*240 fps*



I did not get more than 35 fps, in 800x600 resolution...
  
Lol! I am a spoiled gamer used to run the latest games on the highest 
setting (i.e. Armed Assault :-P ). I have used nvidia-xconfig and also 
configured xorg.conf manually. Do you agree with my assessment that 3d 
acceleration isn't working?  Thanks for trying to help!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Tore Lund
[EMAIL PROTECTED] wrote:
 I have installed the port nvidia-driver. I have followed all the step in 
 the readme (including adding the  line to  /boot/device.hint see below). 

OK.  The line hw.nvidia.agp.status.status: disabled looks very odd, so
I had to ask.  If you have also modified your xorg.conf according to the
docs (or used nvidia-xconfig), this is baffling. Sorry I am unable to help.

 P.S.
 I also have ran ppracer. Results:
 
 *FreeBSD*
 *110 fps*
 
 *Gentoo Linux*
 *240 fps*

I did not get more than 35 fps, in 800x600 resolution...
-- 
Tore

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Martin Tournoij
On Mon, March 12, 2007 22:05, [EMAIL PROTECTED] wrote:
 OK. The line hw.nvidia.agp.status.status: disabled looks very odd, so
 I had to ask.  If you have also modified your xorg.conf according to the
 docs (or used nvidia-xconfig), this is baffling. Sorry I am unable to
 help.


 P.S.
 I also have ran ppracer. Results:

 *FreeBSD*
 *110 fps*

 *Gentoo Linux*
 *240 fps*


 I did not get more than 35 fps, in 800x600 resolution...

 Lol! I am a spoiled gamer used to run the latest games on the highest
 setting (i.e. Armed Assault :-P ). I have used nvidia-xconfig and also
 configured xorg.conf manually. Do you agree with my assessment that 3d
 acceleration isn't working?  Thanks for trying to help!

Armed Assault..?
Are you trying to run armed assault in wine? if so, then remember that
wine support for FreeBSD is horrible at best...

Anyway, I set hint.agp.0.disabled=1 and now hw.nvidia.agp.status.status
is set to enabled (it was disabled before)
glxgears results are the same, ~2300 FPS.

In my experience, games on FreeBSD are always slow, my hardware isn't very
fast (900MHz, 384MB RAM,Geforce FX5200) but on windows 2000 I'm able to
play even fairly recent games (Such as the punisher, civ4).

On FreeBSD, anything with more graphics than rogue will be anything from
slow to unplayable, even though FreeBSD outperforms windows in almost
every other way...

Conclusion:
Use windows for games, FreeBSD for serious stuff ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread Chris Slothouber

Martin Tournoij wrote:


Conclusion:
Use windows for games, FreeBSD for serious stuff ...


Good assessment :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No matter what I try I can't get Nvidia 3d acceleration to work. Please help!

2007-03-12 Thread sean
I'm actually having the same problem, but after I took out device agp out
of my kernel. And I still cannot start x with nvidia driver.

It complains that /dev/nvidiactl couldn't be opened. And then it says it
failed to load the kernel module.

Any idea.

sysctl -a | grep nvidia
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:


So the driver is loaded but nothing is working.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]