Click to See Complete Forum and Search --> : Nvidia problem with Gentoo


Hmse
02-10-2005, 05:20 PM
I've just finished an installation of Gentoo on my brohers computer, but after I installed the nvidia driver, edited the xorg.conf, and loaded the nvidia module, X would no longer start. Though, what would happen is it would appear to start, but then the screen would just black out and wouldn't wake up.
I have Gentoo installed on my computer with almost no problems with nvidia at all.
Specs of his computer are:

Abit NF7-2
Nvidia GeForce FX 5700 Pro
And other unimportant specs that I won't list:p

ph34r
02-10-2005, 05:25 PM
do a grep for EE in the X logs (/var/log/X.log IIRC)

cybertron
02-10-2005, 09:35 PM
Are you by chance using the 2.6.10 kernel? There are problems with that and the nVidia drivers. If you check their forum there is a sticky giving instructions on how to get them working. I didn't have much luck with them, but I didn't try very hard either:)

Maybe not your problem, but those sound like the symptoms of it at least.

Hmse
02-10-2005, 10:45 PM
Actually yes, I am using a 2.6.`10 kernel, but I thought it was only the 2.6.9 that had issues? I thought it was fixed in 2.6.10. I'm running 2.6.10 on my box with gentoo just fine.

cybertron
02-10-2005, 11:35 PM
I'm mostly going by what's in this thread: http://www.nvnews.net/vbulletin/showthread.php?t=42964

On the other hand, I've had no trouble (well, almost none) with 2.6.10 and the 6629 drivers on my Gentoo system, so it may be that Gentoo patched the kernel/drivers so everything works. Right now I'm using gentoo-dev-sources for 2.6.10 and the ebuilds for the NVidia drivers and it works like a charm.

Of coures, on my laptop the combination was a disaster, so I would tend to think there definitely is something amiss there; I just don't know if it's to blame in your case.

Icarus
02-11-2005, 12:33 AM
A problem with nvidia and 2.6.10?? oh no!!

uname -r
2.6.10-ck5


cat /proc/driver/nvidia/cards/0
Model: GeForce4 Ti 4800 SE
IRQ: 11
Video BIOS: 04.28.20.05.11
Card Type: AGP


glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation


Just got done playing Enemy Territory and UT2004 and ran great

SO! Let's see that /var/log/Xorg.0.log and see whats wrong ;)
seems like you might be out of range and need to tweak the display resolution. Could you post your /etc/X11/xorg.conf also?

Hmse
02-11-2005, 03:31 PM
Oh, yeah that'd be the problem.
heres the last section of the log:

Then heres the Device section of xorg.conf

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD0000000
(--) NVIDIA(0): MMIO registers at 0xE8000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5700 Ultra
(--) NVIDIA(0): VideoBIOS: 04.36.20.18.70
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(II) NVIDIA(0): Connected display device(s): DFP-0
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 8 bpp: 400 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(0): Display device DFP-0: maximum pixel clock at 32 bpp: 400 MHz
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
compiled for 6.8.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(WW) NVIDIA(0): config file hsync range 31.5-57kHz not within DDC hsync ranges.
(WW) NVIDIA(0): config file vrefresh range 50-70Hz not within DDC vrefresh ranges.
(II) NVIDIA(0): monitor: Using hsync range of 31.50-57.00 kHz
(II) NVIDIA(0): monitor: Using vrefresh range of 50.00-70.00 Hz
(II) NVIDIA(0): Clock range: 12.00 to 400.00 MHz
(II) NVIDIA(0): Not using default mode "640x350" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x175" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x200" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "720x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "360x200" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x240" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x240" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x240" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "400x300" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "400x300" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "400x300" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "512x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "512x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "512x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1152x864" (hsync out of range)
(II) NVIDIA(0): Not using default mode "576x432" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "832x624" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "416x312" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "700x525" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "700x525" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1152x768" (width too large for virtual size)
(WW) NVIDIA(0): Not using mode "576x384":
(WW) NVIDIA(0): horizontal sync start (589) not a multiple of 8
(**) NVIDIA(0): Validated modes for display device DFP-0:
(**) NVIDIA(0): Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(**) NVIDIA(0): Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(**) NVIDIA(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(**) NVIDIA(0): Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(**) NVIDIA(0): Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(**) NVIDIA(0): Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
(--) NVIDIA(0): Display dimensions: (310, 230) mm
(--) NVIDIA(0): DPI set to (83, 84)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
compiled for 6.8.0, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 6.8.0, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.7
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B]
[1] 0 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[B]
[2] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -1 0 0xea005000 - 0xea0050ff (0x100) MX[B]
[8] -1 0 0xea000000 - 0xea003fff (0x4000) MX[B]
[9] -1 0 0xea004000 - 0xea0047ff (0x800) MX[B]
[10] -1 0 0xeb001000 - 0xeb001fff (0x1000) MX[B]
[11] -1 0 0xeb005000 - 0xeb0050ff (0x100) MX[B]
[12] -1 0 0xeb004000 - 0xeb004fff (0x1000) MX[B]
[13] -1 0 0xeb003000 - 0xeb003fff (0x1000) MX[B]
[14] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O
[15] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[16] -1 0 0xe8000000 - 0xe8ffffff (0x1000000) MX[B](B)
[17] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
[18] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
[19] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
[20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[21] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[22] -1 0 0x0000b000 - 0x0000b0ff (0x100) IX[B]
[23] -1 0 0x0000ec00 - 0x0000ec7f (0x80) IX[B]
[24] -1 0 0x0000e800 - 0x0000e80f (0x10) IX[B]
[25] -1 0 0x00000b70 - 0x00000b73 (0x4) IX[B]
[26] -1 0 0x00000970 - 0x00000977 (0x8) IX[B]
[27] -1 0 0x00000bf0 - 0x00000bf3 (0x4) IX[B]
[28] -1 0 0x000009f0 - 0x000009f7 (0x8) IX[B]
[29] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
[30] -1 0 0x0000c800 - 0x0000c87f (0x80) IX[B]
[31] -1 0 0x0000c400 - 0x0000c4ff (0x100) IX[B]
[32] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B]
[33] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[34] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): Setting mode "1024x768"
(WW) NVIDIA(0): WAIT (2, 1, 0x800004x, 0x08x, 0x08x)
(WW) NVIDIA(0): WAIT (1, 1, 0x800004x, 0x08x, 0x08x)
(II) Loading extension NV-GLX

# Device configured by xorgconfig:

Section "Device"
Identifier "video card"
Driver "nvidia"
#VideoRam 131072
# Insert Clocks lines here if appropriate
EndSection


# ************************************************** ********************
# Screen sections
# ************************************************** ********************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "video card"
Monitor "monitor"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

So the log says that the syncs are out of range, which doesn't surprise me cause I had to esimate on them, 'cause I have no clue what his monitor's horizontal sync and vertical refresh are. He has one of the old 15" Apple Cinema Displays. Does anyone know the correct rates?

Icarus
02-11-2005, 03:36 PM
I usually plug in the model number into http://google.com/linux and usually in the first page or two you can find the refresh rates

Manufactures website might also have the rates

bsm2001
02-11-2005, 03:39 PM
try this http://www.everymac.com/monitors/apple/studio_cinema/specs/apple_studio_display_15.html

pezplaya
02-11-2005, 05:35 PM
did you install the driver using nvidias install program downloaded from their website?

if you did you might want to try emerging the drivers.

emerge nvidia-kernel nvidia-glx

sometimes it fixes some issues.

Hmse
02-12-2005, 12:07 AM
Hmmm, I changed xorg.conf to the correct sync, but still doesn't work, does the same thing. I also emerged to drivers and still I get a black screen and frozen comp. I checked to logs again, but now it doesn't really give any info abou the problem, not really any errors that I saw at all.
Any more ideas?

cybertron
02-12-2005, 01:02 AM
Okay, allow me to quote myself. Most importantly:
Originally posted by cybertron
http://www.nvnews.net/vbulletin/showthread.php?t=42964

Did you try anything from the nVidia forum post above? There are six pages of posts from people with the same problems as you, some of whom got them fixed.

Second, yes I know the drivers and kernel can work together (I'm doing it myself):

On the other hand, I've had no trouble (well, almost none) with 2.6.10 and the 6629 drivers on my Gentoo system...


And finally, I also know first-hand that they don't always:

Of coures, on my laptop the combination was a disaster, so I would tend to think there definitely is something amiss there; I just don't know if it's to blame in your case.
/indignant rant:)

Anyway, it may not be the culprit here, and it doesn't seem as though the patches even fix it in all situations (it never worked on my laptop), but if you don't try it you'll never know.

And I'm not posting this again (just think how messy the quoting would be):D

Hmse
02-12-2005, 08:39 PM
Oh sorry, I forgot to post that bit:Phttp://www.nvnews.net/vbulletin/showthread.php?t=42964
I did try some of those and they still didn't work.

cybertron
02-12-2005, 09:57 PM
Ah, okay. In that case I'm afraid I'm out of ideas. To get it working on my laptop I ended up using the 2.6.7 kernel and the 6111 drivers, so I guess you can try older versions of stuff if it isn't vital that it be cutting-edge. Otherwise maybe someone else can be of more assistance.

Hmse
02-12-2005, 10:35 PM
Originally posted by cybertron
so I guess you can try older versions of stuff if it isn't vital that it be cutting-edge. Otherwise maybe someone else can be of more assistance.
Well see, that's the problem it has to be cutting edge 'cause he hass cutting edge hardware, and I blieve the latesxt kernel that fully supports his hardware is 2.6.9. But an interesting thing is I did try the 2.6.8 and 2.6.8.1 kernels and both times after compile and reboot I got a reall weird segmentation fault, something I've never seen before.