Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't start X [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
KShots
Guru
Guru


Joined: 09 Oct 2003
Posts: 593
Location: Florida

PostPosted: Wed Sep 29, 2004 7:58 pm    Post subject: Can't start X [SOLVED] Reply with quote

I've been following this topic to get a copy of an XFree86.conf file that should work with my laptop, but I get a "screen not found" error. The specs match pretty much exactly, except for the CPU. It was a copy-and-paste job through SSH to transfer the config from that topic to my laptop.

Here's what I get from the log:
(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.

Fatal server error:
no screens found


I'm not sure where to go from here... For god's sake, it's the exact same hardware!

Also of note: I recently switched over from Mandrake, and under Mandrake I used that exact same config (I looked here for answers). It worked there. Something's obviously not configured correctly, but I'm not sure where. I emerged the nvidia-kernel module, added it to modules.autoload.d/kernel-2.6, and it even shows up under "lsmod" (in fact, it's the only module I have loaded). What else can I look for?
_________________
Life without passion is death in disguise


Last edited by KShots on Wed Oct 06, 2004 10:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
grepcomputers
Guru
Guru


Joined: 16 Sep 2003
Posts: 375

PostPosted: Wed Sep 29, 2004 8:42 pm    Post subject: Reply with quote

Do you have the nvidia drivers installed? What happens when you type "modprobe nvidia"?

I had a problem like that, in that X suddenly stopped finding usable devices, and it started working again when I manually loaded the module.

cheers...
Back to top
View user's profile Send private message
KShots
Guru
Guru


Joined: 09 Oct 2003
Posts: 593
Location: Florida

PostPosted: Fri Oct 01, 2004 12:26 pm    Post subject: Reply with quote

Like I said earlier, I can do an lsmod and nvidia pops up... so the module is loaded. However, it does appear that this module is the source of my problem - If I change to the vesa driver, everything's nice and happy. It just doesn't like the nvidia module.

EDIT: I feel I should provide more information...

uname -a reveals:
Quote:
Linux beastie 2.6.8.1 #1 SMP Tue Sep 28 06:01:03 EDT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz GenuineIntel GNU/Linux


dmesg | grep nvidia reveals:
Quote:
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336 Wed Jan 14 18:29:26 PST 2004


lspci reveals:
Quote:
0000:01:00.0 VGA compatible controller: nVidia Corporation NV31M [GeForce FX Go 5600] (rev a1)


I hope that triggers something...
_________________
Life without passion is death in disguise
Back to top
View user's profile Send private message
KShots
Guru
Guru


Joined: 09 Oct 2003
Posts: 593
Location: Florida

PostPosted: Fri Oct 01, 2004 6:06 pm    Post subject: Reply with quote

Here's some more info:

I just found something else of interest... I was checking the gentoo nvidia install guide, and I found that the MTRR has an uncachable section:
Code:
rich@beastie rich $ cat /proc/mtrr
reg00: base=0x00000000 (   0MB), size=1024MB: write-back, count=1
reg01: base=0x3ff80000 (1023MB), size= 512KB: uncachable, count=1
reg02: base=0xe0000000 (3584MB), size=   4MB: write-combining, count=1
Apparently, the solution to this is to change a BIOS setting... Unfortunately, my laptop only allow me to access the time and date in the BIOS... nothing further. Anyways, it worked under Mandrake... I can't imagine why it's choking to death here!

Also of note:
Code:
rich@beastie rich $ cat /proc/driver/nvidia/agp/card
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f000e1b:0x00000000
rich@beastie rich $ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f004a1b:0x00000900
rich@beastie rich $ cat /proc/driver/nvidia/agp/status
Status:          Disabled
Note that it says the status is "disabled"
_________________
Life without passion is death in disguise
Back to top
View user's profile Send private message
grepcomputers
Guru
Guru


Joined: 16 Sep 2003
Posts: 375

PostPosted: Fri Oct 01, 2004 6:17 pm    Post subject: Reply with quote

Did you compile /dev/agpgart support into the kernel? (statically or as a module?) If so, what chipset support did you use? (in the .config file, these are the "CONFIG_AGP=?" and "CONFIG_AGP_XXX=?" options).

What happens if you switch NvAgp to 2 and 1? (2 won't work unless you compiled /dev/agpgart support)

cheers...
Back to top
View user's profile Send private message
KShots
Guru
Guru


Joined: 09 Oct 2003
Posts: 593
Location: Florida

PostPosted: Fri Oct 01, 2004 6:25 pm    Post subject: Reply with quote

Hey, thanks for the quick reply!

Here's a short snippet of my kernel config:
Code:
beastie rich # cat /usr/src/linux/.config | grep CONFIG_AGP
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_INTEL_MCH is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
So yes, I compiled /dev/agpgart directly into the kernel (not a module), and I used the intel chipset. I'll try changing NvAgp to 2 and 1 and see what pops out. Again, thanks!
_________________
Life without passion is death in disguise
Back to top
View user's profile Send private message
KShots
Guru
Guru


Joined: 09 Oct 2003
Posts: 593
Location: Florida

PostPosted: Fri Oct 01, 2004 8:21 pm    Post subject: Reply with quote

OK, tried setting the NvAgp option to 2, then to 1... no dice :(. Anything else I could try?
_________________
Life without passion is death in disguise
Back to top
View user's profile Send private message
grepcomputers
Guru
Guru


Joined: 16 Sep 2003
Posts: 375

PostPosted: Fri Oct 01, 2004 11:01 pm    Post subject: Reply with quote

Same error with NvAgp set to 1 and 2?

Also, do you have "CONFIG_4KSTACKS=y" set? IIRC, the 5336 drivers don't work with this option set. (It's in "kernel hacking" in menuconfig).

Have you thought of trying the 6111 drivers? They are masked, but I use them with no problems whatsoever. (edit /etc/portage/package.keywords and add the lines "media-video/nvidia-kernel ~x86", "media-video/nvidia-glx ~x86" and "x11-base/opengl-update ~x86") (note: the 6111 drivers work with 4K Stacks)

good luck...
Back to top
View user's profile Send private message
KShots
Guru
Guru


Joined: 09 Oct 2003
Posts: 593
Location: Florida

PostPosted: Sat Oct 02, 2004 4:12 pm    Post subject: Reply with quote

I'm not using 4k stacks, but I'll give the 6111 drivers a try anyways. Thanks
_________________
Life without passion is death in disguise
Back to top
View user's profile Send private message
KShots
Guru
Guru


Joined: 09 Oct 2003
Posts: 593
Location: Florida

PostPosted: Wed Oct 06, 2004 10:46 pm    Post subject: Reply with quote

Problem solved.

Turned out I had compiled xorg-x11 with the static USE flag. This does very bad bad tings like statically linking all internal drivers (this is good) and disabling the external module loader (this is very very bad). Re-compiling xorg-x11 without the static flag solved the problem.

If there's anyone out there with similar problem, don't pull the trigger yet. It's not unsolvable :). I hope I saved someone's life with this.
_________________
Life without passion is death in disguise
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum