首页 > Linux > Linux安装nVidia显卡驱动后导致MPlayer出错的解决方法

Linux安装nVidia显卡驱动后导致MPlayer出错的解决方法

2009年4月3日

新安装的Scientific Linux 5.3在未安装nvidia显卡驱动前用mplayer播放视频一切正常,昨天突发奇想,想安装一个Linux下的nVidia显卡驱动,说装就装,安装驱动一切都很顺利,且系统能正常使用并加载了nVidia驱动。

今天想看新下载的720P的美剧<迷失>,双击视频后,mplayer出错,如下图:

screenshot

无奈,只能祭出google大法,通过如下方法解决问题:

修改/etc/X11/xorg.conf文档,将

Section “Module”
Load           “glx”
EndSection

修改为:

Section “Module”
Load           “extmod”
Load           “glx”
EndSection

重新启动系统后,就能正常mplayer播放视频了

shelley Linux , , ,

  1. gfy
    2010年1月21日17:52 | #1

    [求助]高手们,安装显卡驱动时出现
    nvidia-installer log file ‘/var/log/nvidia-installer.log’
    creation time: Thu Jan 21 17:39:19 2010
    installer version: 1.0.7

    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    no X server check : false
    no cc version check : false
    force tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : /usr/scr/kernels/2.6.31.12-174.2.3.fc12.i686
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)

    Using: nvidia-installer ncurses user interface
    -> Tagging shared libraries with chcon -t textrel_shlib_t.
    -> License accepted.
    -> Installing NVIDIA driver version 180.44.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
    -> No precompiled kernel interface was found to match your kernel; this means
    that the installer will need to compile a new kernel interface.
    -> Performing CC sanity check with CC=”cc”.
    -> Performing CC version check with CC=”cc”.
    -> Using the kernel source path ‘/usr/scr/kernels/2.6.31.12-174.2.3.fc12.i686′
    as specified by the ‘–kernel-source-path’ commandline option.
    ERROR: The kernel source path ‘/usr/scr/kernels/2.6.31.12-174.2.3.fc12.i686′
    does not exist. Please make sure you have installed the kernel source
    files for your kernel and that they are properly configured; on Red Hat
    Linux systems, for example, be sure you have the ‘kernel-source’ or
    ‘kernel-devel’ RPM installed. If you know the correct kernel source
    files are installed, you may specify the kernel source path with the
    ‘–kernel-source-path’ command line option.
    ERROR: Installation has failed. Please see the file
    ‘/var/log/nvidia-installer.log’ for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at http://www.nvidia.com.

    帮我查查错误在哪,怎么操作才能解决,请发之我邮箱:gfyxyz2008@163.com,谢谢!!!

  2. shelley
    2010年1月24日15:33 | #2

    @gfy
    ERROR: The kernel source path ‘/usr/scr/kernels/2.6.31.12-174.2.3.fc12.i686′
    does not exist.
    这不是告诉你错误在什么地方了吗?

  1. 目前还没有任何 trackbacks 和 pingbacks.