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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-03-07, 12:06 PM   #1
zebdits
Registered User
 
Join Date: Mar 2007
Posts: 51
Default startx hangs my computer

I recently purchased a GeForce 8800 GTS OC. I can get it sort-of working with the vesa driver (widescreen resolutions don't work, but other than that it's OK), but with the nvidia driver 9746, startx just hangs my computer.

It gets as far as declaring (on the console window) that it is using /etc/xorg.conf. And then it just hangs. Doesn't go into graphical mode - or sometimes the screen flashes for an instant and then immediately back into console mode.

And it just hangs forever. I have to hard power down my computer. This leads to lots of "drive wasn't unmounted properly" errors when I restart it; I'm starting to get worried that I'm going to kill my hard drives just by trying to solve this problem.

/var/log/Xorg.0.log doesn't show anything. And I don't just mean "it doesn't show any errors", I mean that it shows output from the last time that I successfully started X with the vesa driver. As if the attempt to start X using the nvidia driver didn't update the log at all.

I've tried using xorg.conf exactly as created by nvidia-xconfig, and I've tried it with various tweaks. All give this same problem. I am attaching a couple xorg.confs (which will be described at the end of this post).

I am starting to get worried that the card is not supported by 9746: The "Release Highlights" of the driver version's <a href="http://www.nvidia.com/object/freebsd_1.0-9746.html">page</a> claims that support was added for "GeForce 8800 GTS" (I checked this before I bought the card), but the box actually says "GeForce 8800 GTS OC". Is that "OC" meaningful in this context?

So, a few questions:

(1) Uh, can anybody magically fix this? Please?

(2) If not, has anybody ever seen something like this? Have any ideas? Any suggestions? Any questions? Et cetera?

(3) Is, or is not, a GeForce 8800 GTS OC supposed to be supported by 9746?

Now, information about the xorg.conf files that I am attaching:

(1) xorg.conf.nv.txt: This is exactly as created by nvidia-xconfig, and causes the computer to hang.

(2) xorg.conf.vesa.txt: I had been using an ATI card, with the VESA driver. This is (almost) exactly the file I had been using to drive that card; it also works with my new NVIDIA card (except that I can't get widescreen to work, which is the whole point of this exercise). The one difference between this file and the one that I had been using to drive the ATI card is that I have changed the BusID from PCI:6:0:0 to PCI:5:0:0. This is because (while investigating the NVIDIA problem), I noticed a potential IRQ conflict between the NVIDIA board and an ethernet controller that I wasn't using. So, I disabled the ethernet controller in the BIOS, and after that, the VESA config (set up for PCI:6) started complaining that it couldn't find a device in xorg.conf for PCI:5. I switched to PCI:5, and the VESA xorg.conf started working again (with my NVIDIA board).

I have also tried manually modifying the VESA xorg.conf as described in the NVIDIA README - i.e. replacing driver "vesa" with "nvidia", getting rid of "dri" and "GLCore" (although the latter wasn't present in the first place), adding "glx". This results in the same problem - my computer hangs on startx, while still displaying the console, and must be hard powered off.

Thanks in advance for any help.
Attached Files
File Type: txt xorg.conf.nv.txt (2.1 KB, 245 views)
File Type: txt xorg.conf.vesa.txt (1.9 KB, 253 views)
zebdits is offline   Reply With Quote
Old 03-03-07, 12:09 PM   #2
zebdits
Registered User
 
Join Date: Mar 2007
Posts: 51
Default Re: startx hangs my computer

Forgot to mention - I also tried a xorg.conf created by "Xorg -configure". Same problem occurs.
zebdits is offline   Reply With Quote
Old 03-04-07, 01:04 PM   #3
zebdits
Registered User
 
Join Date: Mar 2007
Posts: 51
Default Re: startx hangs my computer

A little further information:

FreeBSD 6.2 Release, SMP.

Output of dmesg shows nothing out of the ordinary.
zebdits is offline   Reply With Quote
Old 03-07-07, 11:31 PM   #4
zebdits
Registered User
 
Join Date: Mar 2007
Posts: 51
Default Re: startx hangs my computer

Well, the new 9755 driver gets a little bit farther, but...

Instead of just hanging the computer while still in console mode, it clears the screen and then hangs the computer.

And instead of just not updating Xorg.0.log at all, it moves Xorg.0.log to Xorg.0.log.old, creates a new Xorg.0.log, and puts no information into it at all (i.e. the file is zero bytes long).

Any help, please?
zebdits is offline   Reply With Quote
Old 03-08-07, 10:47 AM   #5
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: startx hangs my computer

Add the 'sync' option to your /var entry in /etc/fstab. That should, hopefully, get you actual information in /var/log/Xorg.0.log.

Adam
adamk75 is offline   Reply With Quote
Old 03-08-07, 01:09 PM   #6
anonuser
Registered User
 
Join Date: Mar 2007
Posts: 9
Default Re: startx hangs my computer

You might want to try an include a module path in your xorg.conf but i may have just not have seen it.

Also comment out the VertRefresh and HorztRefresh and let it use values from the card.
anonuser is offline   Reply With Quote
Old 03-10-07, 06:30 PM   #7
zebdits
Registered User
 
Join Date: Mar 2007
Posts: 51
Default Re: startx hangs my computer

OK, thanks for the suggestions. I turned on syncing on /var, and did get some information in Xorg.0.log.

I tried it twice - once, I turned the computer off after about a minute of hanging; the other time, I let it go for several minutes. The "several minutes" case got far more information into Xorg.0.log than the "about a minute" case did. So it seems like maybe it is doing stuff, but very, very slowly?

I am attaching both copies of Xorg.0.log - the "about a minute" case is Xorg.0.log.1.txt, and the "several minutes" case is Xorg.0.log.2.txt.

I saw only one thing in there that struck me as odd - at the very end of the "several minutes" one, there is the following line:

(--) NVIDIA(0): No video decoder detected

I don't really know much about this stuff, so I'm not sure if that's actually a problem, but it looked suspicious, at least.

Any more ideas?

I will try doing this one more time, and letting it go overnight, to see if anything else eventually gets into Xorg.0.log.

Thanks again.
zebdits is offline   Reply With Quote
Old 03-10-07, 06:37 PM   #8
zebdits
Registered User
 
Join Date: Mar 2007
Posts: 51
Default Re: startx hangs my computer

Whoops - didn't attach them. I will do so in this post (I hope).

Also, forgot to mention - regarding the other suggestion:

I have tried it without Vert/Horiz stuff, and also with a ModulePath. Still get the problem.

Also, I am attaching the latest xorg.conf that I used (with the results described in my post of a moment ago). This was created by nvidia-xconfig, and apparently is a merge of my old (working) vesa xorg.conf with whatever nvidia-xconfig decided was good.
Attached Files
File Type: txt Xorg.0.log.1.txt (2.0 KB, 225 views)
File Type: txt Xorg.0.log.2.txt (23.4 KB, 234 views)
File Type: txt xorg.conf.txt (2.3 KB, 246 views)
zebdits is offline   Reply With Quote

Old 04-12-07, 09:50 PM   #9
jamie
Registered User
 
Join Date: Nov 2002
Location: Wales, UK
Posts: 9
Default Re: startx hangs my computer

When it 'hangs', assuming the machine itself hasn't really crashed, you should be able to do:

CTRL-ALT-F1

to get back to console, then control-c to abort the startx - you should also see some messages on the screen which may help.
jamie 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
What Comes after the K Computer? News Archived News Items 0 06-28-12 06:40 PM
Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..." MquwIBUO NVIDIA Linux 7 06-12-12 04:39 PM
3D emitter lockups, Computer not locked up DragonDru NVIDIA Linux 15 05-31-12 04:28 AM
Serious problem! Computer that boots by itself!? DXnfiniteFX General Hardware 18 10-05-02 12:15 AM

All times are GMT -5. The time now is 04:48 AM.


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