Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-01-07, 09:05 PM   #1
tuctboh
Registered User
 
Join Date: Oct 2007
Posts: 8
Default FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Hi,

Hopefully someone can help here, I'm not seeming to get much off FreeBSD-X11 or the XORG list.

I have a Dell laptop with FBSD 5.5-STABLE. When I had XOrg 6.? I would run the NVIDIA driver out of ports for my GeForce4 440 GO. The world was happy.

When I was forced to go to XOrg 7.2 in July 2007 when it brought itself up the first time it used the built in "nv" driver, and it was great. It worked perfectly. So, I went with that and uninstalled the additional nvidia driver.

All of a sudden 3 days ago the machine started to have XOrg lock up constantly. NOTHING had changed, it'd be up/running over 6 days at that point. There are dozens of things I could talk about, like the postage stamp sized pulsating bars hanging to the lower right of the cursor, etc.. But I don't want to lose people in too much info right now.

I basically narrowed it down that it seems that anything DMA oriented could be screwing up. In nv_xaa.c, it hangs in :

303 while(READ_GET(pNv) != pNv->dmaPut);

I've also seen it hang up somewhere in nv_drv.so in the
NVDmaWait routine. (I didn't have a debug copy running at the time to see the line number.

Is my video card just dying on me? Should I go back to using the external "nvidia" programs, and which one? (71xx or 96xx, they both look like they don't support my card)

If you need any of my config/output/etc files.........ASK!!!!!!!!!!

Thanks! Tuc
tuctboh is offline   Reply With Quote
Old 10-08-07, 03:29 PM   #2
tuctboh
Registered User
 
Join Date: Oct 2007
Posts: 8
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

bump
tuctboh is offline   Reply With Quote
Old 10-10-07, 02:03 AM   #3
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

You won't get any support here regarding the open source nv driver.
I suggest you ask your question on the freebsd-x11 mailinglist.

Quote:
There are dozens of things I could talk about, like the postage stamp sized pulsating bars hanging to the lower right of the cursor, etc..
One thing you could check, I've had some issues with it too, is the AGP aperture size in the BIOS. Set it to 128 or 256 and see if that helps. But the pulsating bars do sound like your card is FUBAR'ed.
SirDice is offline   Reply With Quote
Old 10-10-07, 08:53 AM   #4
tuctboh
Registered User
 
Join Date: Oct 2007
Posts: 8
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Quote:
Originally Posted by SirDice
You won't get any support here regarding the open source nv driver.
I suggest you ask your question on the freebsd-x11 mailinglist.


One thing you could check, I've had some issues with it too, is the AGP aperture size in the BIOS. Set it to 128 or 256 and see if that helps. But the pulsating bars do sound like your card is FUBAR'ed.
Hi,

Thanks for the reply. I've tried freebsd-x11 and xorg, and been met with deafening silence there. I also tried the NVIDIA driver, but had problems with that... I did what I was told... Posted here and emailed some email address.... Nothing.

You'll have to clue me in how to find that setting. I know how to get to the Dell BIOS, which has nothing in it for the video card that I can tell.

However, I do think your final thought is true. I opened the laptop, took the card out, reseated it, and when I turned it back on the DMA issue went away...........For 3 hours. Now the bars and other weird ****e is back. I've ordered a refurb card off Ebay and hope that'll be my solution.

Again, thank you VERY much for the reply.
tuctboh is offline   Reply With Quote
Old 10-14-07, 09:57 PM   #5
tuctboh
Registered User
 
Join Date: Oct 2007
Posts: 8
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Quote:
Originally Posted by SirDice
You won't get any support here regarding the open source nv driver.
I suggest you ask your question on the freebsd-x11 mailinglist.


One thing you could check, I've had some issues with it too, is the AGP aperture size in the BIOS. Set it to 128 or 256 and see if that helps. But the pulsating bars do sound like your card is FUBAR'ed.
Refurb card ordered, installed yesterday, running on Xorg local driver for 48 hours now. Tried to switch over to NVidia ones, didn't get the error I got before, but also didn't seem to produce anything.

I guess the card was dying on me.

Thanks, you were the only one to even REPLY despite multiple posts to Xorg, FreeBSD-X11, and freebsd-gfx-bugs@nvidia.com .

Tuc
tuctboh is offline   Reply With Quote
Old 10-16-07, 01:33 PM   #6
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Yeah, I know the feeling... Happens to me sometimes too

One thing I've learned over the years though..
If you ask a question and no-one answers it's likely that:

a) nobody understands the problem
Asking the right question is the tricky part, this includes giving any and all the information to solve the problem.

b) nobody knows how to solve the problem
You can run into something really weird..

c) nobody cares about your problem
It's a free world after all

So, the nv driver is running OK? That good to know.. At least we can progress from a working solution
Does the nvidia driver work now too? You say you don't get any errors but it doesn't do anything?
SirDice is offline   Reply With Quote
Old 10-16-07, 02:45 PM   #7
tuctboh
Registered User
 
Join Date: Oct 2007
Posts: 8
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Quote:
Originally Posted by SirDice
c) nobody cares about your problem
It's a free world after all

So, the nv driver is running OK? That good to know.. At least we can progress from a working solution
Does the nvidia driver work now too? You say you don't get any errors but it doesn't do anything?
C Regis, final answer.

Yea, nv has (KNOCK KNOCK) been running fine a few days. I went to the nvidia driver but the screen was all black. Since the nv driver works, I'll stick with it. (No offense to nVidia though)

The screen just comes up black. If I CTRL-ALT-BACKSPACE it goes back to a standard text screen. I don't get the issues with the /dev/nvidia0 not being readable or stuff like that. I used nvidia-xconfig to configure, so thought it should work....

Do I really buy anything with the nvidia compared to nv?

Thanks! Tuc
tuctboh is offline   Reply With Quote
Old 10-16-07, 04:02 PM   #8
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Added bonus compared to the nv driver would be OpenGL (hardware accelerated 3D) and the ability to use multiple screens (tv-out, dual monitor).

A Freebsd GNOME desktop and beryl/compiz rocks

http://www.freshports.org/x11-wm/beryl/
http://www.freshports.org/x11-wm/compiz/
SirDice is offline   Reply With Quote

Old 10-16-07, 10:03 PM   #9
tuctboh
Registered User
 
Join Date: Oct 2007
Posts: 8
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Quote:
Originally Posted by SirDice
Added bonus compared to the nv driver would be OpenGL (hardware accelerated 3D) and the ability to use multiple screens (tv-out, dual monitor).

A Freebsd GNOME desktop and beryl/compiz rocks

http://www.freshports.org/x11-wm/beryl/
http://www.freshports.org/x11-wm/compiz/
Ok, I'll take "OpenGL" as good enough...

So, where do I start to find out or provide info that might suggest why its just giving me a black screen?

Thanks, Tuc
tuctboh is offline   Reply With Quote
Old 10-20-07, 11:33 AM   #10
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Some commands are usefull...

uname -a
Tells you the kernel name, version etc..

dmesg | less
Log of boot messages. Look for hardware being detected. Is the nvidia module loaded? With or without freebsd AGP?

kldstat
Shows which kernel modules are loaded. This doesn't show the devices that are build into the kernel though. Dmesg output will show the things that are detected by the kernel.

less /var/log/Xorg.0.log
Prime source of information regarding anything X related. Look for clues why things don't work.

ls /var/db/pkg/
Show which ports are installed

Did you install the driver via the ports? Do you also have /usr/ports/ports-mgmt/portupgrade installed?

Just a black screen would indicate that the nvidia driver is found but the monitor section is probably not set up properly
SirDice is offline   Reply With Quote
Old 10-21-07, 02:25 PM   #11
jamie
Registered User
 
Join Date: Nov 2002
Location: Wales, UK
Posts: 9
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

I'd also try starting X with:

startx -- -logverbose 5

that will put far more info into the /var/log/Xorg.0.log file!
jamie is offline   Reply With Quote
Old 10-23-07, 03:46 PM   #12
tuctboh
Registered User
 
Join Date: Oct 2007
Posts: 8
Default Re: FBSD 5.5 / XOrg 7.2 / DMA issues out of nowhere?

Quote:
Originally Posted by SirDice
Some commands are usefull...

uname -a
Tells you the kernel name, version etc..

dmesg | less
Log of boot messages. Look for hardware being detected. Is the nvidia module loaded? With or without freebsd AGP?

kldstat
Shows which kernel modules are loaded. This doesn't show the devices that are build into the kernel though. Dmesg output will show the things that are detected by the kernel.

less /var/log/Xorg.0.log
Prime source of information regarding anything X related. Look for clues why things don't work.

ls /var/db/pkg/
Show which ports are installed

Did you install the driver via the ports? Do you also have /usr/ports/ports-mgmt/portupgrade installed?

Just a black screen would indicate that the nvidia driver is found but the monitor section is probably not set up properly
uname -a :

FreeBSD himinbjorg.tucs-beachin-obx-house.com 5.5-STABLE FreeBSD 5.5-STABLE #9: Tue Jan 23 23:44:47 EST 2007 root@himinbjorg.tucs-beachin-obx-house.com:/usr/obj/usr/src/sys/HIMINBJORG53 i386

dmesg:

pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce4 440 Go> mem 0xdff80000-0xdfffffff,0xe0000000-0xe7ffffff,0xfc0
00000-0xfcffffff irq 11 at device 0.0 on pci1
NVRM: detected agp.ko, aborting NVIDIA AGP setup!


himinbjorg# kldstat
Id Refs Address Size Name
1 33 0xc0400000 5cee14 kernel
2 1 0xc09cf000 587c vesa.ko
3 4 0xc09d5000 1b36c linux.ko
4 1 0xc09f1000 3704 umodem.ko
5 1 0xc09f5000 4deeb4 nvidia.ko
6 1 0xc0ed4000 86c0 ng_ubt.ko
7 6 0xc0edd000 dcac netgraph.ko
8 1 0xc0eeb000 40ac uplcom.ko
9 1 0xc0ef0000 8ba0 aio.ko
10 1 0xc0ef9000 580b0 acpi.ko
11 1 0xc2c8b000 6000 linprocfs.ko
12 4 0xc2db2000 2000 ng_bluetooth.ko
13 1 0xc2dbe000 d000 ng_hci.ko
14 1 0xc2dcb000 f000 ng_l2cap.ko
15 1 0xc2dda000 18000 ng_btsocket.ko
16 1 0xc2df3000 4000 ng_socket.ko
17 1 0xc2e0e000 2000 snake_saver.ko
18 1 0xc2ea3000 4000 if_tap.ko
19 1 0xc2eb6000 2000 rtc.ko

Xorg.0.log:

Shows everything normal... Attached for your reading enjoyment.

/var/db/pkg:
So freaking many after upgrading from 6.8 to 7.2 it isn't funny! Also attached for your amusement.


Driver from ports: Yup
portupgrade: Don't leave home w/o it.

Monitor section : Just as nvidia-xconfig made it :

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Monitor section from my "nv" running config :

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
# HorizSync 31.5 - 64.3
# VertRefresh 50.0 - 90.0
EndSection
Attached Files
File Type: txt log.txt (21.3 KB, 147 views)
File Type: txt pkg.txt (16.7 KB, 331 views)
tuctboh is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
173.14.34 -- Xorg 1.12.1 & 1.11.4, glx module fails to load mereset NVIDIA Linux 17 06-10-12 01:24 AM

All times are GMT -5. The time now is 06:43 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.