LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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

View Poll Results: How do YOU run xorg?
Xorg and nvidia's drivers, no problem. 5 62.50%
Xorg and the default drivers. 3d acceleration? What's that? 1 12.50%
Still using Xfree86... and driving a c. 1980's volvo. But hey, it works. 0 0%
Mines a radeon. 1 12.50%
I use mandrake. What's a driver? 0 0%
X11 is for wimps. Real men browse with lynx. 1 12.50%
Voters: 8. You may not vote on this poll

Reply
 
Search this Thread
Old 09-21-2004, 07:42 AM   #1
scius
Member
 
Registered: Jul 2003
Location: Berkeley
Distribution: gentoo (kernel 2.6.7)
Posts: 39

Rep: Reputation: 15
nvidia + xorg = death (fails to initialize)


I've struggled and strained and fought the good fight with the nvidia drivers on xfree... and eventually got them working. Sigh...
Because I love pain, i thought it would be a good idea to see what all this fuss is with xorg, and give it a shot. (but who am i kidding, i want a transparant xterm!)

---The short version---
Upgrading to xorg v6.7.0 won't load X with "nvidia" (drivers v1.0.6111) but will with the "nv" in xorg.conf. Xorg's error:
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics Device!
(EE) NVIDIA(0): ***Aborting***
(II) UnloadingModule: "nvidia"
(II) UnloadingModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

---Stuff that probably doesn't matter, but who knows---
::Nvidia drivers
I have a geforce3, 64mb card. When last emerging world I accidentally downgraded my nvidia drivers (to 1.0.5336, which broke before) so i re-upgraded to 1.0.6111. The reason for not using the defaults is, or was, that the 5336's required turning off 4k stacks (or something) in the 2.6 kernel - the latest fixed that.
Anyway - So i just installed the latest nvidia-kernel-mod. I modprobed, env-updated and even opengl-updated, and everything seems fine. /dev/nvidia0 is there, and in the xorg output it seems like the module loads just fine.

::Xorg
and I have (almost) the latest xorg (v6.7.0-r1) installed fresh ala emerge. I've since env-updated and source /etc/profile (what exactly does that do anyway!? - and do i need to do it on each term seperately?). So X worked fine after setting it up with defaults in from xorgconfig. The only changes i've made to the .conf since are:
1) uncomment
#Load "glx" -------------------> Load "glx"

2)and to change "nv" to "nvidia" in the "Device" section.

Section "Device"
Identifier "NVIDIA is teh sux"
Driver "nv" ----now reads---> Driver "nvidia
... (commented out)
EndSection

---In summary---
I might have just missed something, or forgotten a step, or needed to google one last time... but I feel like if this is a common problem with a pretty common setup (gentoo/xorg/nvidia) then it should be (but isn't!) documented all over the place.
A final note, X loads/work fine with "nv"(default drivers), so that seems to imply most things are good. Just wondering if anyone has had success with xorg and nvidia drivers (esp with a geforce 3), or if you have any other wisdom to share.

Thanks!
~ Graham
 
Old 09-21-2004, 08:26 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,908

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
In my Slack 10-current with 2.6.7 kernel and xorg, nvidia 1.0.6111 works like a charm. Both kernel and nvidia-driver are compiled by hand and not installed from binaries using package managers.
 
Old 09-21-2004, 08:34 AM   #3
scius
Member
 
Registered: Jul 2003
Location: Berkeley
Distribution: gentoo (kernel 2.6.7)
Posts: 39

Original Poster
Rep: Reputation: 15
Crap - isn't that how it is. You find the answer a moment after it's too late.

http://www.linuxforum.com/forums/ind...0&#entry371542
Discusses a similar (the same?) problem which was fixed by disabling "Frame-buffer support" in the kernel. I have this disabled, but it led me to think it might just be another kernel config thats wrong.
http://odin.prohosting.com/wedge01/g...aq.html#1_xorg
Says (among other things) Direct Rendering Manager must be disabled - which it wasn't. Disabled it and am currently rolling out the fresh new kernel. I'll post the results soon.
 
Old 09-21-2004, 08:51 AM   #4
scius
Member
 
Registered: Jul 2003
Location: Berkeley
Distribution: gentoo (kernel 2.6.7)
Posts: 39

Original Poster
Rep: Reputation: 15
WE HAVE LIFTOFF!!
Got the nvidia screen at startup, everything looks peachy keen.
So yeah - disabling "Direct Rendering Manager" is a must if you want to run xorg + nvidia (though it seems xfree cared not).

Ok then, enough madness, now it's time for bio labs!
 
Old 09-22-2004, 04:23 PM   #5
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
Yes let the installer compile a kernel module manually, disable dri (as the readme says), and then reboot your linux into x
 
Old 10-11-2004, 05:38 AM   #6
psykadelik
LQ Newbie
 
Registered: Oct 2004
Location: hamburg / germany
Distribution: debian sarge / 2.6.8.1
Posts: 1

Rep: Reputation: 0
hey,

Code:
micha@cassandra:~$ grep --after 2 "nvidia" /etc/X11/xorg.conf 
     VendorName  "nvidia"
     BoardName   "GeForce Ti 200"
     Driver     "nvidia"
     BusID      "PCI:1:0:0"
     Option     "RenderAccel" "true"
and
Code:
micha@cassandra:~$ grep --after 2 "Sec.*DRI" /etc/X11/xorg.conf   
Section "DRI"     
   Mode 0666  
EndSection
works fine for me, with kernel 2.6.8.1, nvidia installer (error while loading the module --> cp the module from the tmp directory to the lib/modules dir, and load it) and debian sarge

everything is fine (transparency, shadows, aso.), only the redraw-'fnort' of xterms are some kind of crappy

-> db391: sry, but your sig sucks
 
Old 10-11-2004, 09:36 AM   #7
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally posted by scius
Crap - isn't that how it is. You find the answer a moment after it's too late.

http://www.linuxforum.com/forums/ind...0&#entry371542
Discusses a similar (the same?) problem which was fixed by disabling "Frame-buffer support" in the kernel. I have this disabled, but it led me to think it might just be another kernel config thats wrong.
http://odin.prohosting.com/wedge01/g...aq.html#1_xorg
Says (among other things) Direct Rendering Manager must be disabled - which it wasn't. Disabled it and am currently rolling out the fresh new kernel. I'll post the results soon.

I liked the options of your poll. The laugh was worth the click.
 
  


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
(EE) NVIDIA(0): Failed to initialize the NVIDIA Kernel module latino Linux - Hardware 5 06-03-2008 03:55 AM
(EE) NVIDIA(0): Failed to initialize the nvidia kernel module necbrownie Slackware 18 06-16-2006 02:20 AM
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Stan the caddy Linux - Hardware 8 01-18-2004 04:21 PM
Fails to initialize network card sometimes jwstric2 Linux - Networking 8 01-10-2004 11:20 AM
(EE) NVIDIA (0) Failed to initialize the NVIDIA kernel module Isjhe Mandriva 14 09-25-2003 09:29 PM


All times are GMT -5. The time now is 06:41 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