LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work (http://www.linuxquestions.org/questions/linux-hardware-18/nvidia-fx5500-mandrake-10-1-problem-nvidia-in-etc-modprobe-preload-doesnt-work-278458/)

eikeland 01-16-2005 11:01 AM

Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work
 
Hi,
I installed Nvidia GeForce FX5500 (AGP) on my Mandrake 10.1 Community edition, and now I have no display. When I boot, it only boots to a command prompt, and if I check the log it says:
"Failed to initialize the Nvidia kernel module!". I see there are a lot of people with the same problem, and they were able to it working by inserting the following line into the /etc/modprobe.preload file since the nvidia jernel appearantly doesn't start up automatically in mdk 10.1:

nvidia.

I did this, and when I boot now, I just get a black screen with no prompt. If I hit ctrl+alt+F2, I can get to a command prompt though.

I check the log file, and I can't see anything wrong there either. The XF86Config file has 'nvidia' for driver, and 'glx' is un-commented.

The driver I downloaded is:
NVIDIA-Linux-x86-1.0-6629-pkg1.run

The driver appear in:
/usr/X11R6/lib/modules/drivers

I am running kernel 2.6.8.1 (from uname -r)

Here are some parts of Xorg.0.log, and it looks like the driver is loaded correctly, but I am not sure why I get a black screen instead of X.

r
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD0000000
(--) NVIDIA(0): MMIO registers at 0xE4000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5500
(--) NVIDIA(0): VideoBIOS: 04.34.20.69.01
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 8 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 400 MHz
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(WW) NVIDIA(0): config file hsync range 30-70kHz not within DDC hsync ranges.
(WW) NVIDIA(0): config file vrefresh range 50-120Hz not within DDC vrefresh ranges.
(II) NVIDIA(0): monitor1: Using hsync range of 30.00-70.00 kHz
(II) NVIDIA(0): monitor1: Using vrefresh range of 50.00-120.00 Hz
(II) NVIDIA(0): Clock range: 12.00 to 400.00 MHz
(II) NVIDIA(0): Not using mode "1280x800" (width too large for virtual size)
(II) NVIDIA(0): Not using mode "1680x1050" (width too large for virtual size)
.....
.....
(II) NVIDIA(0): Not using mode "1920x1200" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "768x576":
(WW) NVIDIA(0): horizontal sync width (846 - 832 = 14) not a multiple of 8
(WW) NVIDIA(0): Not using mode "576x384":
(WW) NVIDIA(0): horizontal sync start (589) not a multiple of 8
(WW) NVIDIA(0): Not using mode "360x200":
(WW) NVIDIA(0): horizontal sync start (378) not a multiple of 8
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
...
....
(**) NVIDIA(0): Default mode "320x175": 15.8 MHz, 37.9 kHz, 85.3 Hz (D)
(--) NVIDIA(0): Display dimensions: (330, 240) mm
(--) NVIDIA(0): DPI set to (78, 81)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
compiled for 6.7.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/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 6.7.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 0xe4000000 - 0xe4ffffff (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 0xe7006000 - 0xe70060ff (0x100) MX[B]
[8] -1 0 0xe7004000 - 0xe70040ff (0x100) MX[B]
[9] -1 0 0xe7000000 - 0xe7003fff (0x4000) MX[B]
[10] -1 0 0xe7005000 - 0xe70057ff (0x800) MX[B]
[11] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O
[12] -1 0 0xd0000000 - 0xdfffffff (0x10000000) MX[B](B)
[13] -1 0 0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
[14] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
[15] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
[16] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
[17] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[18] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[19] -1 0 0x0000e800 - 0x0000e81f (0x20) IX[B]
[20] -1 0 0x0000e400 - 0x0000e41f (0x20) IX[B]
[21] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX[B]
[22] -1 0 0x0000dc00 - 0x0000dc07 (0x8) IX[B]
[23] -1 0 0x0000d800 - 0x0000d81f (0x20) IX[B]
[24] -1 0 0x0000d400 - 0x0000d403 (0x4) IX[B]
[25] -1 0 0x0000d000 - 0x0000d003 (0x4) IX[B]
[26] -1 0 0x0000cc00 - 0x0000ccff (0x100) IX[B]
[27] -1 0 0x0000c800 - 0x0000c81f (0x20) IX[B]
[28] -1 0 0x0000c400 - 0x0000c41f (0x20) IX[B]
[29] -1 0 0x0000c000 - 0x0000c00f (0x10) IX[B]
[30] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[31] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): Setting mode "1024x768"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing extension GLX
(II) Keyboard "Keyboard1" handled by legacy driver
(**) Option "Protocol" "ExplorerPS/2"
(**) Mouse1: Device: "/dev/mouse"
(**) Mouse1: Protocol: "ExplorerPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse1: ps2EnableDataReporting: succeeded

*******************************************************

>>>>>>>>>>>>>>>>>>>>>>>>>>>>Here is my -etc-modprobe.preload file:


# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules
via-agp
nvidia


********************************************************
>>>>>>>>>>>>>>>>>>>>>>>>>>>>This is my modprobe.conf file:
# This file is autogenerated from /etc/modules.conf using generate-modprobe.conf command

alias eth0 tulip
remove snd-emu10k1 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-emu10k1
install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
remove snd-via82xx /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-via82xx
install snd-via82xx /sbin/modprobe --first-time --ignore-install snd-via82xx && { /sbin/modprobe snd-pcm-oss; /bin/true; }
alias ieee1394-controller ohci1394
install scsi_hostadapter /sbin/modprobe imm; /sbin/modprobe ppa; /bin/true
install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true
alias eth1 eth1394

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.6 ---
options snd device_mode=0666
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# --- END: Generated by ALSACONF, do not edit. ---

alias char-major-195* nvidia
*********************************************************



>>>>>>>>>>>>>>>>>>>>>>>>>>>>My XF86Config file is here:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
####### Load "glx" # 3D layer
Load "glx" #David
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Gateway EV700"
HorizSync 30.0-70.0
VertRefresh 50.0-120.0

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia"
#david BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia" #David 1/15/05
# Screen 0 #David 1/15/05
#david Driver "nv" #David
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

****************************************************

>>>>>>>>>>>>>>>>>>>>>>>>>>>>I know this was a lot of information, but I hope someone can help me since I am not a Linux guru.

Thank you.

David

foo_bar_foo 01-16-2005 12:39 PM

check to see if the device nodes are being created for the NVIDIA module by udev

ls /dev | grep nvidia

eikeland 01-16-2005 12:54 PM

Thanks for the quick reply.

I think they are loaded, cause when I enter 'ls /dev | grep nvidia' I get:

nvidia0
nvidiactl

David

ptruog 01-16-2005 05:00 PM

/etc/modules
 
I'm sorry if this has already been addressed.. and i'm not sure if this will help here, but are the drivers being loaded?

What entries exist in /etc/modules ??

you should see something like: nvidia-agp

eikeland 01-16-2005 05:37 PM

There wasn't anything in this file, which I can believe is a problem. However, I added what you suggested, and changed the driver to 'nvidia' in /etc/X11/XF86Config, and I still had the same problem.

David

ptruog 01-17-2005 02:09 PM

your 5500 card
 
Here's a link to another thread on this website which posts some suggestions and responses to those suggestions.. try it out and let us know if it worked at all for you.

http://www.linuxquestions.org/questions/history/265435


All times are GMT -5. The time now is 02:41 AM.