nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Starting X always switches nvidia driver to vesa (http://www.nvnews.net/vbulletin/showthread.php?t=154898)

ocgltd 09-08-10 04:48 PM

Starting X always switches nvidia driver to vesa
 
2 Attachment(s)
I have a GeForce 8600 GT in my Fedora 12 system. Everything worked great for a year, and I then I upgraded the motherboard, now the system will not use the Nvidia driver! This is a really strange one.

I have the latest nvidia drivers installed (NVIDIA-Linux-x86-256.53.run), nouveau blacklisted, etc. And modinfo shows the nvidia driver is installed. (See below)

Strangely, whenever I start X (telinit 5), the vesa driver loads! As well, all of the instances of 'Driver "nvidia"' gets switched to 'Driver "vesa"' in the xorg.conf !!! Why/what is changing this line automatically?

I tried removing my xorg.conf and using a simple one created by the nvidia installer, but it made no difference. That one too has the 'Driver "nvidia"' line switched to 'Driver "vesa"' during X start.

I've messed with this for hours. Can anyone help? Why won't the nvidia driver run!!! my xorg.conf is below, and so is the Xorg.0.log.

Thanks



MODINFO NVIDIA:
Code:

filename:      /lib/modules/2.6.32.21-166.fc12.i686/kernel/drivers/video/nvidia.ko
alias:          char-major-195-*
supported:      external
license:        NVIDIA
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        i2c-core
vermagic:      2.6.32.21-166.fc12.i686 SMP mod_unload 686
parm:          NVreg_EnableVia4x:int
parm:          NVreg_EnableALiAGP:int
parm:          NVreg_ReqAGPRate:int
parm:          NVreg_EnableAGPSBA:int
parm:          NVreg_EnableAGPFW:int
parm:          NVreg_Mobile:int
parm:          NVreg_ResmanDebugLevel:int
parm:          NVreg_RmLogonRC:int
parm:          NVreg_ModifyDeviceFiles:int
parm:          NVreg_DeviceFileUID:int
parm:          NVreg_DeviceFileGID:int
parm:          NVreg_DeviceFileMode:int
parm:          NVreg_RemapLimit:int
parm:          NVreg_UpdateMemoryTypes:int
parm:          NVreg_UseVBios:int
parm:          NVreg_RMEdgeIntrCheck:int
parm:          NVreg_UsePageAttributeTable:int
parm:          NVreg_EnableMSI:int
parm:          NVreg_MapRegistersEarly:int
parm:          NVreg_RegisterForACPIEvents:int
parm:          NVreg_RegistryDwords:charp
parm:          NVreg_NvAGP:int

XORG.CONF
Code:

Section "ServerLayout"
        Identifier    "dual head configuration"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" 0 0
        InputDevice    "EETI" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        Option      "Xinerama" "0"
EndSection

Section "Files"
        ModulePath  "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
        Option      "AIGLX" "on"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/keyboard"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbLayout" "us"
        Option      "XkbModel" "pc105"
EndSection

Section "InputDevice"

    # generated from default
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
#    Option        "Device" "/dev/input/mice"
        Option      "Device" "/dev/input/mouse1"
        Option      "Emulate3Buttons" "no"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier  "EETI"
        Driver      "egalax"
        Option      "Device" "usbauto"
        Option      "Parameters" "/var/lib/eeti.param"
        Option      "ScreenNo" "0"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "SilverstoneTek"
        ModelName    "Chassis"
        HorizSync    28.0 - 55.0
        HorizSync    28.0 - 110.0
        VertRefresh  43.0 - 72.0
        VertRefresh  43.0 - 150.0
        ModeLine    "800x480_60" 29.6 800 832 944 976 480 490 495 505
        ModeLine    "1280x720_60" 73.8 1280 1312 1592 1624 720 735 742 757
        Option      "DPMS"
EndSection

Section "Monitor"

#    HorizSync      31.5 - 57.0
#    VertRefresh    50.0 - 75.0
        Identifier  "Monitor1"
        VendorName  "Sony"
        ModelName    "VPL-HS51"
        HorizSync    15.0 - 600.0
        VertRefresh  15.0 - 600.0
        Option      "dpms"
    # Generic - below
#    ModeLine "1280x720_75" 74.25 1280 1720 1760 1980 720 725 730 750 +HSync +VSync
#    Modeline "1280x720_75" 74.250 1280 1360 1488 1664 720 723 728 748 -hsync +vsync
#    Modeline "1280x720_75" 74.48 1280 1336 1472 1664 720 721 724 746 +hsync
#    Modeline "1280x720_60" 60.46 1280 1328 1456 1632 720 721 724 741 +hsync
        Option      "UseEDIDFreqs" "FALSE"
        Option      "NoBandWidthTest" "TRUE"
EndSection

Section "Device"

    # do not use the frequencies provided by the monitor edid
        Identifier  "Device1"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
        BoardName  "GeForce 8600 GT"
EndSection

Section "Device"
        Identifier  "Device0"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
        BoardName  "GeForce 8600 GT"
        Option      "ConnectedMonitor" "CRT-0, TV-0"
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Device1"
        Monitor    "Monitor1"
        DefaultDepth    24
        Option      "TVStandard" "HD720p"
        Option      "AddARGBGLXVisuals" "True"
#    Option        "metamodes" "CRT: 1280x720_60 +0+0, TV: 1280x720_60 +0+0"
        Option      "metamodes" "CRT: 1280x720_60 +0+0, TV: 1280x720_60 +0+0"
        SubSection "Display"
                Depth    24
                Modes    "1280x720_75" "1280x720_60" "1280x720" "1280x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Device0"
        Monitor    "Monitor0"
        DefaultDepth    24
        Option      "TVStandard" "HD720p"
        Option      "TwinView" "1"
        Option      "TwinViewXineramaInfoOrder" "CRT-0"
        Option      "metamodes" "CRT: 1280x720_60 +0+0, TV: 1280x720 +0+0"
        SubSection "Display"
                Depth    24
                Modes    "1280x720_60" "800x480_60" "1280x720_75" "1280x768" "1280x720"
        EndSubSection
EndSection

Section "Extensions"
        Option      "Composite" "Enable"
EndSection


Licaon 09-08-10 07:27 PM

Re: Starting X always switches nvidia driver to vesa
 
Quote:

Originally Posted by ocgltd (Post 2315059)
I have a GeForce 8600 GT in my Fedora 12 system. Everything worked great for a year, and I then I upgraded the motherboard, now the system will not use the Nvidia driver!

check your distro info, there is some sort of automatic X configurator running

see http://www.my-guides.net/en/content/view/174/26/2/13/ too

ocgltd 09-08-10 07:58 PM

Re: Starting X always switches nvidia driver to vesa
 
I've been through my system a few times, and removed everything Xorg-* that Didn't looks critical. Problem still exists.

Can you be more specific about which program would be messing with the xorg.conf file? (Think link didn't show me much)

ocgltd 09-08-10 08:42 PM

Re: Starting X always switches nvidia driver to vesa
 
Ok...I managed to get and keep the nvidia driver in place! Now I see the error below:

I don't see any warnings in the system message log, and modinfo shows the driver loaded. Can anyone point me in the right direction?


Code:

(**) 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): Option "ConnectedMonitor" "CRT-0, TV-0"
(**) NVIDIA(0): Option "TVStandard" "HD720p"
(**) NVIDIA(0): Option "TwinView" "1"
(**) NVIDIA(0): Option "MetaModes" "CRT: 1280x720_60 +0+0, TV: 1280x720 +0+0"
(**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "CRT-0"
(**) Sep 08 21:39:20 NVIDIA(0): Enabling RENDER acceleration
(**) Sep 08 21:39:20 NVIDIA(0): TV Standard string: "HD720p"
(**) Sep 08 21:39:20 NVIDIA(0): ConnectedMonitor string: "CRT-0, TV-0"
(II) Sep 08 21:39:20 NVIDIA(0): Support for GLX with the Damage and Composite X
(II) Sep 08 21:39:20 NVIDIA(0):    enabled.
(EE) Sep 08 21:39:20 NVIDIA(0): Failed to initialize the NVIDIA graphics device
(EE) Sep 08 21:39:20 NVIDIA(0):    Please check your system's kernel log for a
(EE) Sep 08 21:39:20 NVIDIA(0):    messages and refer to Chapter 8: Common Pro
(EE) Sep 08 21:39:20 NVIDIA(0):    README for additional information.
(EE) Sep 08 21:39:20 NVIDIA(0): Failed to initialize the NVIDIA graphics device
(II) UnloadModule: "nvidia"
(II) UnloadModule: "wfb"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.


conky 09-08-10 09:22 PM

Re: Starting X always switches nvidia driver to vesa
 
Since you're running a 32-bit kernel, and there are a bunch of RmInitAdapter failed messages in your kernel log, you're probably running out of kernel virtual address space. Take a look at this section in the README for an explanation on how to bump up vmalloc: ftp://download.nvidia.com/XFree86/Li...kva_exhaustion

ocgltd 09-08-10 09:59 PM

Re: Starting X always switches nvidia driver to vesa
 
Woohoo! I added an vmalloc=256MB to the kernel line and now the nvidia driver is running great. Thanks!


All times are GMT -5. The time now is 01:59 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.