LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 01-27-2005, 10:57 AM   #1
darklogik_org
Member
 
Registered: Jan 2004
Distribution: freebsd 5.3, openbsd 3.6, slackware 10
Posts: 96

Rep: Reputation: 15
NVIDIA binary driver saga fBSD 5.3


Hi, I've scoured the fBSD mailing lists and Google and can't seem to find a
solution to this little problem. I'm using the binary nvidia drivers on
my old 32mb TNT Riva 64 and from the framerates I'm getting from
xscreensaver, I think it's safe to assume that I'm not getting any
acceleration.

I installed the drivers as per the included documentation and set things
up as they suggested.

X.org gives this error on startup:

(EE) NVIDIA(0): Failed to load GLX

The relevant sysctls say:

Code:
hw.nvidia.agp.card.rates: 4x 2x 1x
hw.nvidia.agp.card.fw: not supported
hw.nvidia.agp.card.sba: not supported
hw.nvidia.agp.card.registers: 0x1f000007:0x00000000
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)
hw.nvidia.version: NVIDIA FreeBSD x86 NVIDIA Kernel Module  1.0-6113  Mon Aug  2 16:08:32 PDT 2004
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.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: AGP
The most exciting parts of my X.org config say:

Code:
Section "Device"
   Option  "NvAGP" "2"   #try OS agp, fall back to nvagp
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
   BusID       "PCI:2:0:0"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        #Load "speedo"                                                                                        
        Load  "type1"
EndSection
I have tried setting NvAGP to both 1 and 2 but neither makes any
difference. kldstat says:

Code:
d Refs Address    Size     Name
1   11 0xc0400000 6b524c   kernel
2    2 0xc0ab6000 1fb38    linux.ko
3    1 0xc0ad6000 2890     mac_seeotheruids.ko
4    1 0xc0ad9000 4ad9c8   nvidia.ko
5   14 0xc0f87000 5d7f0    acpi.ko
6    1 0xc1bb6000 2c000    pf.ko
So it hasn't loaded agp.ko (the documentation says that this is correct)
and nvidia.ko is obviously loaded.

I keep finding references to this problem but no definite resolution.
Does anybody have any ideas about what to try next?

Last edited by darklogik_org; 01-27-2005 at 10:58 AM.
 
Old 01-28-2005, 02:54 PM   #2
darklogik_org
Member
 
Registered: Jan 2004
Distribution: freebsd 5.3, openbsd 3.6, slackware 10
Posts: 96

Original Poster
Rep: Reputation: 15
Here's a followup for the sake of completeness:

I reinstalled the driver from ports (previously I had installed it from the nvidia site) which cleared up the GLX issue. It then gave me the documented error about NvAGP conflicting with the built in AGP. I rebuilt kernel + world without AGP and the drivers worked straight away.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with 855GME and Intel Binary driver VertX Linux - Laptop and Netbook 0 11-03-2005 10:33 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 05:38 AM
Nvidia Binary driver install problem plbowler Red Hat 8 11-11-2003 10:25 PM
Problems trying to compile custom ATI binary driver guerilla fighta Linux - Software 0 02-13-2003 04:53 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration