LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-01-2005, 07:19 PM   #1
OwlManAtt
LQ Newbie
 
Registered: Apr 2004
Posts: 17

Rep: Reputation: 0
Xorg flickers and dies after nVidia driver install attempt


Hey there,

I've been working on a Gentoo install for my friend in Canada over the weekend, and I've almost got everything set up properly. I'm having a bit of trouble with Xorg 6.8.2, you see.

Initially, I had xorg (plus whatever dependencies emerge took care of), xdm, gnome, kde, and fluxbox installed and working wonderfully. Everything was perfectly fine. Then he wanted the closed-source nVidia drivers for gaming purposes.

So, he tried to do the installation of them himself. He removed rivabf support from the kernel, because the nvidia driver installer complained about it. This has since been recompiled as a kernel module.

Half-way through the install done with the nVidia installer (from their website), he decided that he would use the ebuild gentoo provided instead. So emerge nvidia-kernel nvidia glx (the latest and greatest ones in ~amd64) was run. The xorg config file was edited accordingly, and X was started.

However, my friend reports that X started. showed the nVidia logo, and promptly died. He had been starting it with /etc/init.d/xdm. He tried a few times with other commands - startx, startkde, bla bla bla, only to have the same thing occur. On a closer examination, I noted that the X processes were running.

I checked his log files for both xdm and Xorg. There were no errors, and it seems as if they started cleanly and should be running. And according to ps, they /were/ running, but the screen was black.

Thinking this was the nVidia driver's screwing something up, nvidia-glx and nvidia-kernel were unemerged. The xorg config was changed back, and X was restarted.

But, for the sake of god, it didn't fix the problem. I tried everything I could think of to fix it, but X just flashed on his screen for a second and then went black. (Not to a console, just black.)

Xorg was recompiled, and the config was regenerated. The problem was still presemt. I fiddled with the driver for the card. What it had been on when it was working, nv, caused the screen-black problem. Vesa, which I'm told sometimes works with GeForce FX 5200 cards, caused the monitor to turn off. And vga suffered from the same problem as nv.

So, I have don't really know what's wrong with X. I'm guessing one of the things it depends on became damaged during the attempted nVidia install, but I don't really know.

Any pointers would be GREATLY appreciated, as I've been struggling with this for a few days now.

And here are the relevant logs/configs.
Clicky.

Thanks to anyone who tries to help.
 
Old 03-01-2005, 07:23 PM   #2
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
You might try using nvidia-<version>.sh --uninstall
That should remove any garbage left over from the partial i nstall that is mucking up the works. Also, if that doesn't work, it might be worth attempting to startx with the generic "nv" driver to see if it is a problem w/ nvidia or xorg itself.
 
Old 03-01-2005, 07:38 PM   #3
OwlManAtt
LQ Newbie
 
Registered: Apr 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Ah, an excellent idea. I never thought of uninstalling anything the nvidia script installed.

However, this didn't help. X starts, flashes, and goes black. And it is using the standard nv driver.

But thanks, anyways. Any other ideas?
 
Old 03-01-2005, 09:59 PM   #4
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
I'm just kind of throwing ideas out there, if this is Gentoo, you could try a "revdep-rebuild" that might pick up whatever is broken in xorg. I have a friend who lives in my dorm that had a whole mess of trouble getting XFree86 to work on his computer. The problem was actually his XF86Config file. It was a valid file, but it was outputting HorizSync and VertRefresh rates that were outside what his monitor could handle. If xorg crashes no matter what drive you are using, try cd'ing into /usr/bin/X11/, backing up the current xorg.config and running ./xorgconfigure and choose conservative settings.

Last edited by Valhalla; 03-01-2005 at 10:01 PM.
 
Old 03-01-2005, 10:10 PM   #5
OwlManAtt
LQ Newbie
 
Registered: Apr 2004
Posts: 17

Original Poster
Rep: Reputation: 0
That didn't turn up anything good. It spat out a load of stuff on point2play needing libgl or something, but cedega/winex really has no impact on how Xorg works.

It didn't rebuild anything, and X is still broken. =/
 
Old 03-01-2005, 11:31 PM   #6
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
I looked back through your xorg.conf file and noticed

Code:
 Section "Device"
    Identifier  "** NVIDIA (generic)                   [nv]"
    Driver      "vga"
I beleive that as a driver "vesa" might work, I was able to use it on my GeForce4, I don't know much about your specific chipset.

What exactly are you planning on using rivafb for, as far as I know, it conflicts with all incarnations of the nvidia driver.

I don't know if it might be worth trying to recompile Xorg with very conservative CFLAGS other than that all I can say is Good Luck, beyond this I don't know enough to make any other suggestions.

Last edited by Valhalla; 03-01-2005 at 11:35 PM.
 
Old 03-02-2005, 06:15 PM   #7
OwlManAtt
LQ Newbie
 
Registered: Apr 2004
Posts: 17

Original Poster
Rep: Reputation: 0
Er, yea, the vga thing is only in there because it was my last, desperate 'omgplzwork' attempt at getting X to display something on the monitor, aside from blackness.

I put rivabf support back in because X stopped working around the same time that was removed, so perhaps that had some effect on it. I guess that this was not the case.

The card is an MSI GeForce FX 5200 w/ 256mb of onboard memory.

I've also don't think that the USE flags have caused any problems for xorg, because it was working before with the same set of flags.
 
Old 03-02-2005, 06:38 PM   #8
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
CFLAGS are different from USE flags. USE flags generally don't cause things to compile badly, but occassionally it is possible to pass CFLAGS that cause things to get really buggy. It might be useful for you to post the /etc/make.conf. Also, speaking of rivafb, its one type of frame buffer. I have the geforce4 and this is the arguments that I passed to my kernel on boot (I use the vesafb-tng framebuffer (its about 5 lines up in the config menu)).
kernel /kernel-nitro-2.6.11-r4 root=/dev/hda6 video=vesafb:ywrap,mtrr,1028x768-16@60, if you have frame buffer support you may have to append either a vga= or video= statement into your bootloader configuration. I had problems with that when I first installed gentoo.

p.s. I wish I had that much onboard memory

Last edited by Valhalla; 03-02-2005 at 06:39 PM.
 
Old 03-02-2005, 06:59 PM   #9
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
did you run xorgconfig? you may have soem bad refresh rate settings that yoru monitor can't handle.
 
Old 03-02-2005, 10:21 PM   #10
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
Does gentoo use /etc/modules.conf? If it does, what is in that file?

You also should look at /etc/modules if that is used.

You are into distro dependencies here, but on my distro (Mandrake 10) you need to have the line
Code:
video_adapter
in modules and you need to have
Code:
probeall video_adapter nvidia
in the modules.conf file.
 
Old 03-02-2005, 10:29 PM   #11
OwlManAtt
LQ Newbie
 
Registered: Apr 2004
Posts: 17

Original Poster
Rep: Reputation: 0
The problem has been solved. Kudos to linuxwolf from efnet.

X was fine, just as the logs said. For some reason, however, xdm was broken, and startkde didn't function, so me and my friends all thought it was X itself.

Solution: Use GDM. It's prettier, anyways.

Thanks to everyone who's posted, I appreciate your time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
xorg doesn't want to use the nvidia driver eantoranz Ubuntu 1 10-21-2005 02:42 PM
Xorg+24-bit depth+ Nvidia driver = No mouse cursor Micro420 Linux - Software 2 09-18-2005 02:02 PM
nvidia driver - xorg.conf screen error dark_prancer Linux - General 1 07-18-2005 05:13 AM
New nVidia Driver & Xorg Freeze drowbot Linux - Hardware 19 04-16-2005 09:59 PM
Sis-AGP + Nvidia Driver + Xorg = Hard Lock iotc247 Linux - Hardware 6 03-04-2005 11:56 AM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration