Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia on 2.6.9-r13 kernel just hangs
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
tomreinertson
n00b
n00b


Joined: 13 Aug 2004
Posts: 1

PostPosted: Thu Feb 03, 2005 5:51 pm    Post subject: Nvidia on 2.6.9-r13 kernel just hangs Reply with quote

I'm another hapless nvidia user who has searched the multitude of nvidia threads trying to find an answer to my problem. I had been happily running xorg and nvidia-kernel-1.0.6111 with the 2.6.9-r1 kernel. I just upgraded to 2.6.9-r13, recompiled my kernel, installed nvidia-kernel-1.0.6629 (and nvidia-glx) and when I startx the nvidia 'white' screen comes up and just hangs there. Kdm is running but it never goes to the user login screen.

I'm using the same xorg.conf that worked perfectly under 2.6.9-r13 so I know that's okay. The real dilemma is that I tried to go back to my -r1 kernel but X refuses to even load now, so I'm committed to -r13.

I see several font-renderer errors in the log. Could this be a problem? Any direction here will be greatly appreciated.

Thanks In Advance,
Tom

------ /var/log/Xorg.0.log ------------------
X Window System Version 6.8.0
Release Date: 8 September 2004
X Protocol Version 11, Revision 0, Release 6.8
Build Operating System: Linux 2.6.9-gentoo-r1 i686 [ELF]
Current Operating System: Linux snowbird 2.6.9-gentoo-r13 #3 Thu Feb 3 08:20:09 MST 2005 i686
Build Date: 02 February 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 3 10:32:29 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "screen" (0)
(**) | |-->Monitor "viewsonic"
(**) | |-->Device "nvidia"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/CID,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/font
(==) RgbPath set to "/usr/lib/X11/rgb"
(==) ModulePath set to "/usr/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.0, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.8.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
Using vt 7
(--) using VT number 7

[snip]

(II) NVIDIA(0): Virtual screen size determined to be 2048 x 768
(--) NVIDIA(0): Display dimensions: (640, 240) mm
(--) NVIDIA(0): DPI set to (81, 81)
(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:

[snip]

II) NVIDIA(0): Setting mode "1024x768,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
(II) Loading extension XINERAMA
(==) 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 XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(**) Option "CoreKeyboard"
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) Generic Keyboard: XkbRules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) Generic Keyboard: XkbModel: "pc104"
(**) Option "XkbLayout" "us"
(**) Generic Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "auto"
(**) Configured Mouse: Device: "/dev/psaux"
(**) Configured Mouse: Protocol: "auto"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Buttons" "7"
(==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "6 7"
(**) Configured Mouse: ZAxisMapping: buttons 6 and 7
(**) Configured Mouse: Buttons: 7
(**) Configured Mouse: SmartScroll: 1
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(--) Configured Mouse: PnP-detected protocol: "ExplorerPS/2"
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
Could not init font path element unix/:7100, removing from list!
Could not init font path element /usr/lib/X11/fonts/CID, removing from list!
Could not init font path element /usr/lib/X11/fonts/Speedo, removing from list!
[[/code]
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Fri Feb 04, 2005 1:56 am    Post subject: Reply with quote

Remove speedo and CID from your xorg.conf file. For some odd reasons these 2 cause issues with the nvidia kernel driver.
Back to top
View user's profile Send private message
rhumbliner
n00b
n00b


Joined: 15 Nov 2004
Posts: 59
Location: Las Vegas

PostPosted: Fri Feb 04, 2005 3:35 pm    Post subject: Reply with quote

Thanks for the response. I did remove those fonts but it didn't help anything. They were being ignored anyway. I've included my complete xorg.conf file for your review. It's pretty simple. What stumps me is that this worked previously so it must be some incompatible drivers somewhere. The fact that I can't backup to my previous setup really gets me. I've tried using emerge to reinstall nvidia-kernel and nvidia-glx and I've tried just running the script from Nvidia. Neither works.

What about the agp support in the kernel? I've tried compiling nvidia-agp.ko as a module and then test with and without loading it. No luck. Should I be using it?

I'm still getting just the Nvidia logo screen and nothing more. No errors in the log. I've read the complete README from Nvidia and nothing helps. This is driving me crazy.

Thanks,
Tom

-------------- /etc/X11/xorg.conf ---------------------
Section "Files"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
Load "type1"
EndSection

Section "InputDevice"
Identifier "keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "auto"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "viewsonic"
HorizSync 30-70

VertRefresh 50-120
# Option "DPMS"
EndSection

Section "Device"
Identifier "nvidia"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
BusID "PCI:02:0:0"
# Option "DPMS"
Option "UseEdidFreqs" "on"
Option "NoLogo" "off"
Option "TwinView" "on"
Option "IgnoreDisplayDevices" "DFP,TV"
Option "Connected Monitor" "CRT,CRT"
Option "SecondMonitorHorizSync" "31-65"
Option "SecondMonitorVertRefresh" "50-120"
# Option "MetaModes" "1152x864, 1152x864"
Option "MetaModes" "1024x768,1024x768"
Option "TwinViewOrientation" "RightOf"
EndSection

Section "Screen"
Identifier "screen"
Device "nvidia"
Monitor "viewsonic"
DefaultDepth 16
SubSection "Display"
Depth 16
# Modes "1152x864"
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "screen"
InputDevice "keyboard"
InputDevice "mouse"
EndSection

#Section "DRI"
# Mode 0666
#EndSection
Back to top
View user's profile Send private message
rhumbliner
n00b
n00b


Joined: 15 Nov 2004
Posts: 59
Location: Las Vegas

PostPosted: Fri Feb 04, 2005 3:44 pm    Post subject: AGP Status Reply with quote

By the way, my AGP status seems to be disabled even when I'm running X. Is that normal?

{/etc/X11} cat /proc/driver/nvidia/agp/status
Status: Disabled

{/etc/X11} cat /proc/driver/nvidia/agp/*
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000000
Host Bridge: nVidia Corporation nForce2 AGP (different version?)
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x
Registers: 0x1f000214:0x00000000
Status: Disabled

{/etc/X11} cat /proc/driver/nvidia/cards/0
Model: GeForce4 MX Integrated GPU
IRQ: 10
Video BIOS: ??.??.??.??.??
Card Type: AGP
Back to top
View user's profile Send private message
cancech
Apprentice
Apprentice


Joined: 22 Dec 2004
Posts: 171

PostPosted: Fri Feb 04, 2005 5:58 pm    Post subject: Reply with quote

I've been getting the same problem. I just reinstalled gentoo yesterday and when I go open a Xsession then the nvidia logo appears and it just "hangs" there. When using the default window manager in X (it's name escapes me at the moment) then I could use the various terminal windows, but all I could see was the nvidia logo. Only the mouse changed from that X to a "I" (text input cursor). When I tried to start KDE, then the graphics all went to hell. It seemed almost as if KDE and the NVidia logo were fighting over what gets displayed. BUT if you load your card using the "nv" driver instead of "nvidia" you nolonger have this problem with the NVidia logo, but you also have no 3d acceleration.

For comparison purposes here's my xorg.conf:

Quote:

Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"

# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
# FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
# FontPath "/usr/share/fonts/Speedo/"
# FontPath "/usr/share/fonts/TrueType/"
# FontPath "/usr/share/fonts/freefont/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.

# Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

# Option "Protocol" "Xqueue"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for Xorg
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"

Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
Option "XkbVariant" "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"

# Mouse-speed setting for PS/2 mouse.

# Option "Resolution" "256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.5 - 57.0

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-100

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "nv"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
Identifier "nvidia"
Driver "nv"
# unsupported card
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 "nvidia"
Monitor "monitor"
DefaultDepth 24

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

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
# Mode 0666
# EndSection


Back to top
View user's profile Send private message
cancech
Apprentice
Apprentice


Joined: 22 Dec 2004
Posts: 171

PostPosted: Fri Feb 04, 2005 7:02 pm    Post subject: Reply with quote

A friend of mine pointed out that I need to have DRI installed for 3D acceleration. I installed it according to the HOWTO on the gentoo site, but I still get the same problem. The xorg.conf file has been edited to take advantage of DRI.
Back to top
View user's profile Send private message
rhumbliner
n00b
n00b


Joined: 15 Nov 2004
Posts: 59
Location: Las Vegas

PostPosted: Fri Feb 04, 2005 7:44 pm    Post subject: Still Hung Reply with quote

Yeah, this is so wierd. I can get the vesa and nv drivers to work just fine. But my real goal is to get Twinview working again. I can't get the Nvidia driver to work with my old configuration file and I have never had any success getting the nv driver to support a dual head card.

I'm really stuck and don't know what to try next.

Tom
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Fri Feb 04, 2005 8:18 pm    Post subject: Reply with quote

DRI, Speedo, and some other modules should not be allowed to start if you use the nvidia kernel driver since they will conflict and slow down/crash X.

Also rhumbliner, I noticed that some of your settings might be xfree86 related, so I was wondering if you in fact are running XFree or Xorg. XFree was unsupported as of late by the nvidia folks and their libraries are different, so maybe you might want to try switching to Xorg.

Also, in order to load glx you must emerge nvidia-glx and then if you have issues find the MesaGL symlinks for X and then remove them because they might not be set properly by the nvidia-glx/opengl-update ebuild.

If things get hard, maybe you should just download the installer from the nvidia website, try to install it, and then emerge the nvidia-glx ebuild and hopefully *crosses fingers confidently* the issue will be solved. 99% of the time if the ebuild doesn't work it's related to older versions of drivers or bad symlinks.
Back to top
View user's profile Send private message
rhumbliner
n00b
n00b


Joined: 15 Nov 2004
Posts: 59
Location: Las Vegas

PostPosted: Fri Feb 04, 2005 9:01 pm    Post subject: Definitely Xorg Reply with quote

I'm definitely running Xorg 6.8.0. Which options are XFree related?

I've removed nvidia-kernel & nvidia-glx and reinstalled them every time I rebuild my kernel. I've even tried an older version:

emerge =nvidia-kernel-1.0.6111

but none of that helps. When I run the Nvidia script manually, it installs nvidia-installer for me. So correct me if I'm wrong, but I've done everything you've suggested no?

As for MesaGL, I don't even have Mesa installed.

Thanks for your patience.

Tom
Back to top
View user's profile Send private message
cancech
Apprentice
Apprentice


Joined: 22 Dec 2004
Posts: 171

PostPosted: Sat Feb 05, 2005 4:02 pm    Post subject: Reply with quote

I'm also running X version 6.8.0.
Back to top
View user's profile Send private message
rhumbliner
n00b
n00b


Joined: 15 Nov 2004
Posts: 59
Location: Las Vegas

PostPosted: Sat Feb 05, 2005 4:16 pm    Post subject: SOLVED Reply with quote

There are at least 2 other threads describing this problem: 'Odd Nvidia Kernel Problem" & 'How to Downgrade Nvidia Drivers??'. It seems the latest Nvidia driver is buggy. I know this isn't a real solution, but I just wanted to get my dual head configuration working again.

I followed one suggestion (thanks polle) and downgraded my Nvidia driver to 6111 and everything works now.

Here's what I did:

0) /etc/init.d/xdm stop

1) emerge -C nvidia-kernel nvidia-glx

2) cat <<EOF >>/etc/portage/package.mask
>=media-video/nvidia-kernel-1.0.6629
>=media-video/nvidia-glx-1.0.6629
EOF

3) nvidia-installer --uninstall #cleanup any nvidia scripts

4) rmmod nvidia

5) rm /lib/modules/2.6.9-gentoo-r13/video/nvidia.ko

6) emerge nvidia-glx # this brings in nvidia-kernel, too

7) /etc/init.d/xdm start

I'm a happy camper again. Thanks for all the suggestions.

Tom
Back to top
View user's profile Send private message
cancech
Apprentice
Apprentice


Joined: 22 Dec 2004
Posts: 171

PostPosted: Sat Feb 05, 2005 5:01 pm    Post subject: Reply with quote

Unfortunately this didn't fix my problem. I've still got the same problem - the logo screen won't go away! I tried following your instructions, but that didn't fix anything. It reinstalled the 6629 driver and I'm back to square one.

Quote:
2) cat <<EOF >>/etc/portage/package.mask
>=media-video/nvidia-kernel-1.0.6629
>=media-video/nvidia-glx-1.0.6629
EOF


I'm not sure what you're trying to do here. Are you trying to mask the new driver and force portage to get the old one? By doing a rough scan it would seem that the 6629 driver is the only one availible in portage at the moment.

I've been trying to install 6111 manually, but I keep getting errors. So far I've come across 2 different errors which keep occuring:

1) Unable to load kernel module 'nvidia.ko'

2) /include/linux/kernel.h not found

When I use the --kernel-source-path cmd line option, to point to the location of 'nvidia.ko' then I get error #2, and vice versa.

My kernel is at /usr/src/linux and nvidia.ko is located at /lib/modules/2.6.10-gentoo-r6/video/

Any ideas?
Back to top
View user's profile Send private message
rhumbliner
n00b
n00b


Joined: 15 Nov 2004
Posts: 59
Location: Las Vegas

PostPosted: Sat Feb 05, 2005 5:13 pm    Post subject: [SOLVED] Reply with quote

I create the package.mask file to mask the latest rev of the nvidia driver. By going back to the 6111 driver, I avoid the problems with the new driver. I think if you follow my instructions to the letter you should be okay.

IOW, don't manually run the Nvidia scripts:

> sh NVIDIA-Linux-x86-1.0-6111-pkg1.run

like I did. When I did, I got the same error you reported "unable to load kernel module...". That's why I ran step 3), to clean up any Nvidia stuff left laying around. Step 4) is also important to get the old module out of memory. Use lsmod to be certain it's gone. Ah hell, all the steps are important! :D

Tom
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sat Feb 05, 2005 9:58 pm    Post subject: Reply with quote

cancech wrote:

2) /include/linux/kernel.h not found


That's most likely due to the fact that your current sources haven't been configured and built (ie you ran a mrproper or clean, or you just haven't build the kernel).
Back to top
View user's profile Send private message
cancech
Apprentice
Apprentice


Joined: 22 Dec 2004
Posts: 171

PostPosted: Mon Feb 07, 2005 1:46 pm    Post subject: Reply with quote

After a little tinkering around I managed to get the 6629 version masked, but I couldn't follow you're guide to the letter. The problem was that I didn't have a portage.mask file so the cat <<EOF>>/etc/portage/portage.mask didn't do anything. I had to make this file first and then it worked fine.

Thanks alot for your help.....it's good to see that my graphics card is going to be wasted.
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