您尚未登录。

#1 2013-12-30 17:17:03

skk556
会员
注册时间: 2013-12-30
帖子: 2

[solved]安装nvdia闭源显卡驱动后startx黑屏死机

pc:lenovo y400  显卡:nvidia GT 650m  kernel:linux-3.12.6-1  驱动:nvidia-304 nvidai-331.20 情况都如此


lspci |grep VGA >>01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1)
lsmod |grep nvidia dmsge|grep nvidia >> 加载正常

目前正在使用开源驱动很正常,使用闭源驱动startx便会黑屏然后风扇狂转死机,日志如下:


[    20.632]
X.Org X Server 1.14.5
Release Date: 2013-12-12
[    20.633] X Protocol Version 11, Revision 0
[    20.633] Build Operating System: Linux 3.12.5-1-ARCH x86_64
[    20.634] Current Operating System: Linux skk556 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64
[    20.635] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=3f690a11-9fc3-4d97-b739-36c00962fa80 rw quiet
[    20.636] Build Date: 13 December 2013  03:11:42PM
[    20.636] 
[    20.636] Current version of pixman: 0.32.4
[    20.637]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    20.638] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    20.640] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 30 14:29:44 2013
[    20.670] (==) Using config file: "/etc/X11/xorg.conf"
[    20.671] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    20.697] (==) No Layout section.  Using the first Screen section.
[    20.697] (==) No screen section available. Using defaults.
[    20.697] (**) |-->Screen "Default Screen Section" (0)
[    20.697] (**) |   |-->Monitor "<default monitor>"
[    20.698] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[    20.698] (**) |   |-->Device "Device0"
[    20.698] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    20.698] (==) Automatically adding devices
[    20.698] (==) Automatically enabling devices
[    20.698] (==) Automatically adding GPU devices
[    20.742] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    20.742]     Entry deleted from font path.
[    20.742] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    20.742]     Entry deleted from font path.
[    20.743] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    20.743]     Entry deleted from font path.
[    20.743]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    20.743] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    20.743]     Entry deleted from font path.
[    20.743]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    20.743] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/
[    20.743] (==) ModulePath set to "/usr/lib/xorg/modules"
[    20.743] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[    20.743] (II) Loader magic: 0x7fec20
[    20.743] (II) Module ABI versions:
[    20.743]     X.Org ANSI C Emulation: 0.4
[    20.743]     X.Org Video Driver: 14.1
[    20.743]     X.Org XInput driver : 19.1
[    20.743]     X.Org Server Extension : 7.0
[    20.743] (II) xfree86: Adding drm device (/dev/dri/card0)
[    20.745] (--) PCI:*(0:1:0:0) 10de:0fd1:17aa:3972 rev 161, Mem @ 0xc2000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[    20.746] Initializing built-in extension Generic Event Extension
[    20.757] Initializing built-in extension SHAPE
[    20.767] Initializing built-in extension MIT-SHM
[    20.777] Initializing built-in extension XInputExtension
[    20.786] Initializing built-in extension XTEST
[    20.795] Initializing built-in extension BIG-REQUESTS
[    20.803] Initializing built-in extension SYNC
[    20.811] Initializing built-in extension XKEYBOARD
[    20.819] Initializing built-in extension XC-MISC
[    20.827] Initializing built-in extension SECURITY
[    20.834] Initializing built-in extension XINERAMA
[    20.841] Initializing built-in extension XFIXES
[    20.847] Initializing built-in extension RENDER
[    20.854] Initializing built-in extension RANDR
[    20.860] Initializing built-in extension COMPOSITE
[    20.865] Initializing built-in extension DAMAGE
[    20.870] Initializing built-in extension MIT-SCREEN-SAVER
[    20.875] Initializing built-in extension DOUBLE-BUFFER
[    20.879] Initializing built-in extension RECORD
[    20.883] Initializing built-in extension DPMS
[    20.888] Initializing built-in extension X-Resource
[    20.892] Initializing built-in extension XVideo
[    20.895] Initializing built-in extension XVideo-MotionCompensation
[    20.899] Initializing built-in extension XFree86-VidModeExtension
[    20.902] Initializing built-in extension XFree86-DGA
[    20.905] Initializing built-in extension XFree86-DRI
[    20.908] Initializing built-in extension DRI2
[    20.908] (II) LoadModule: "glx"
[    20.952] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    21.903] (II) Module glx: vendor="NVIDIA Corporation"
[    21.903]     compiled for 4.0.2, module version = 1.0.0
[    21.903]     Module class: X.Org Server Extension
[    21.903] (II) NVIDIA GLX Module  331.20  Wed Oct 30 17:36:48 PDT 2013
[    21.921] Loading extension GLX
[    21.921] (II) LoadModule: "nvidia"
[    21.939] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    22.063] (II) Module nvidia: vendor="NVIDIA Corporation"
[    22.063]     compiled for 4.0.2, module version = 1.0.0
[    22.063]     Module class: X.Org Video Driver
[    22.067] (II) NVIDIA dlloader X Driver  331.20  Wed Oct 30 17:16:53 PDT 2013
[    22.067] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    22.068] (++) using VT number 1

[    22.073] (II) Loading sub module "fb"
[    22.073] (II) LoadModule: "fb"
[    22.077] (II) Loading /usr/lib/xorg/modules/libfb.so
[    22.088] (II) Module fb: vendor="X.Org Foundation"
[    22.088]     compiled for 1.14.5, module version = 1.0.0
[    22.088]     ABI class: X.Org ANSI C Emulation, version 0.4
[    22.088] (WW) Unresolved symbol: fbGetGCPrivateKey
[    22.088] (II) Loading sub module "wfb"
[    22.088] (II) LoadModule: "wfb"
[    22.088] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    22.090] (II) Module wfb: vendor="X.Org Foundation"
[    22.090]     compiled for 1.14.5, module version = 1.0.0
[    22.090]     ABI class: X.Org ANSI C Emulation, version 0.4
[    22.090] (II) Loading sub module "ramdac"
[    22.090] (II) LoadModule: "ramdac"
[    22.090] (II) Module "ramdac" already built-in
[    22.116] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[    22.116] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    22.116] (==) NVIDIA(0): RGB weight 888
[    22.116] (==) NVIDIA(0): Default visual is TrueColor
[    22.116] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    22.117] (**) NVIDIA(0): Enabling 2D acceleration
[    26.350] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[    26.350] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[    26.350] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[    26.350] (EE) NVIDIA(GPU-0):     README for additional information.
[    26.350] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[    26.350] (EE) NVIDIA(0): Failing initialization of X screen 0
[    26.350] (II) UnloadModule: "nvidia"
[    26.350] (II) UnloadSubModule: "wfb"
[    26.350] (II) UnloadSubModule: "fb"
[    26.350] (EE) Screen(s) found, but none have a usable configuration.
[    26.350] (EE)
Fatal server error:
[    26.350] (EE) no screens found(EE)
[    26.350] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[    26.350] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    26.350] (EE)
[    26.369] (EE) Server terminated with error (1). Closing log file.

最近编辑记录 skk556 (2014-01-01 23:07:22)

离线

#2 2013-12-31 18:28:33

skk556
会员
注册时间: 2013-12-30
帖子: 2

Re: [solved]安装nvdia闭源显卡驱动后startx黑屏死机

这个 问题解决如下:


修改/boot/grub/grub.cfg
找到linux /boot/vmlinuz-linux root=UUID=3f690a11-9fc3-4d97-b739-36c00962fa80 rw quiet
在后面添加rcutree.rcu_idle_gp_delay=1


问题得以圆满解决。


这可能是由于nvidia的节能模块需要cpu支持导致的问题,所以没有传入参数的时候CPU疯狂转动。

离线

页脚