LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 384|回复: 3

nvidia xorg.conf 错误

[复制链接]
发表于 2012-2-4 12:37:53 | 显示全部楼层 |阅读模式

  1. wp@wp-PC /etc/X11 $ grep -e EE -e WW /var/log/Xorg.0.log
  2.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  3. [    49.150] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
  4. [    49.150] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
  5. [    49.150] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
  6. [    49.150] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
  7. [    49.151] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
  8. [    49.151] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
  9. [    49.151] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
  10. [    49.151] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
  11. [    49.151] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
  12. [    49.151] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
  13. [    49.151] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
  14. [    49.151] (WW) Disabling Mouse0
  15. [    49.151] (WW) Disabling Keyboard0
  16. [    49.152] (II) Loading extension MIT-SCREEN-SAVER
  17. [    49.152] (WW) Warning, couldn't open module dri2
  18. [    49.152] (EE) Failed to load module "dri2" (module does not exist, 0)
  19. [    49.179] (WW) Warning, couldn't open module dri
  20. [    49.179] (EE) Failed to load module "dri" (module does not exist, 0)
  21. [    50.451] (WW) NVIDIA(0): The EDID for PTW FH980-J1 (CRT-1) contradicts itself: mode
  22. [    50.451] (WW) NVIDIA(0):     "800x600" is specified in the EDID; however, the EDID's
  23. [    50.451] (WW) NVIDIA(0):     valid VertRefresh range (60.000-75.000 Hz) would exclude
  24. [    50.451] (WW) NVIDIA(0):     this mode's VertRefresh (56.2 Hz); ignoring VertRefresh
  25. [    50.451] (WW) NVIDIA(0):     check for mode "800x600".
  26. [    50.545] (WW) NVIDIA(0): Option "TwinViewXineramaInfoOrder" requested "DFP", but no
  27. [    50.545] (WW) NVIDIA(0):     such display device could be found, or all display devices
  28. [    50.545] (WW) NVIDIA(0):     by that name are currently unavailable.
  29. [    50.545] (WW) NVIDIA(0): Option "TwinViewXineramaInfoOrder" requested "TV", but no such
  30. [    50.545] (WW) NVIDIA(0):     display device could be found, or all display devices by
  31. [    50.545] (WW) NVIDIA(0):     that name are currently unavailable.
  32. [    50.545] (WW) Warning, couldn't open module dri2
  33. [    50.545] (EE) NVIDIA: Failed to load module "dri2" (module does not exist, 0)
复制代码


  1. wp@wp-PC /etc/X11 $ emerge --info
  2. Portage 2.1.10.44 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.1.10-gentoo-r1 i686)
  3. =================================================================
  4. System uname: Linux-3.1.10-gentoo-r1-i686-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-gentoo-2.0.3
  5. Timestamp of tree: Fri, 03 Feb 2012 05:30:01 +0000
  6. app-shells/bash:          4.1_p9
  7. dev-lang/python:          2.7.2-r3, 3.1.4-r3
  8. dev-util/cmake:           2.8.6-r4
  9. dev-util/pkgconfig:       0.26
  10. sys-apps/baselayout:      2.0.3
  11. sys-apps/openrc:          0.9.4
  12. sys-apps/sandbox:         2.5
  13. sys-devel/autoconf:       2.13, 2.68
  14. sys-devel/automake:       1.11.1
  15. sys-devel/binutils:       2.21.1-r1
  16. sys-devel/gcc:            4.5.3-r1
  17. sys-devel/gcc-config:     1.4.1-r1
  18. sys-devel/libtool:        2.4-r1
  19. sys-devel/make:           3.82-r1
  20. sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
  21. sys-libs/glibc:           2.13-r4
  22. Repositories: gentoo
  23. ACCEPT_KEYWORDS="x86"
  24. ACCEPT_LICENSE="* -@EULA"
  25. CBUILD="i686-pc-linux-gnu"
  26. CFLAGS="-O2 -march=core2 -pipe"
  27. CHOST="i686-pc-linux-gnu"
  28. CONFIG_PROTECT="/etc"
  29. CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
  30. CXXFLAGS="-O2 -march=core2 -pipe"
  31. DISTDIR="/usr/portage/distfiles"
  32. FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
  33. FFLAGS=""
  34. GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
  35. LDFLAGS="-Wl,-O1 -Wl,--as-needed"
  36. LINGUAS="zh zh_CN"
  37. MAKEOPTS="-j3"
  38. PKGDIR="/usr/portage/packages"
  39. PORTAGE_CONFIGROOT="/"
  40. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
  41. PORTAGE_TMPDIR="/var/tmp"
  42. PORTDIR="/usr/portage"
  43. PORTDIR_OVERLAY=""
  44. SYNC="rsync://rsync.gentoo.org/gentoo-portage"
  45. USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd readline sdl session spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh zh_CN" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
  46. Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

复制代码



make.conf

  1. # nvidia-settings: X configuration file generated by nvidia-settings
  2. # nvidia-settings:  version 290.10  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Wed Nov 16 20:31:58 PST 2011

  3. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  4. # nvidia-xconfig:  version 290.10  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Wed Nov 16 20:32:22 PST 2011

  5. Section "ServerLayout"
  6.     Identifier     "X.org Configured"
  7.     Screen      0  "Screen0" 0 0
  8.     InputDevice    "Mouse0" "CorePointer"
  9.     InputDevice    "Keyboard0" "CoreKeyboard"
  10.     Option         "Xinerama" "0"
  11. EndSection

  12. Section "Files"
  13.     ModulePath      "/usr/lib/xorg/modules"
  14.     FontPath        "/usr/share/fonts/misc/"
  15.     FontPath        "/usr/share/fonts/TTF/"
  16.     FontPath        "/usr/share/fonts/OTF/"
  17.     FontPath        "/usr/share/fonts/Type1/"
  18.     FontPath        "/usr/share/fonts/100dpi/"
  19.     FontPath        "/usr/share/fonts/75dpi/"
  20. EndSection

  21. Section "Module"
  22.     Load           "dbe"
  23.     Load           "record"
  24.     Load           "extmod"
  25.     Load           "dri2"
  26.     Load           "glx"
  27. EndSection

  28. Section "InputDevice"
  29.     Identifier     "Keyboard0"
  30.     Driver         "kbd"
  31. EndSection

  32. Section "InputDevice"
  33.     Identifier     "Mouse0"
  34.     Driver         "mouse"
  35.     Option         "Protocol" "auto"
  36.     Option         "Device" "/dev/input/mice"
  37.     Option         "ZAxisMapping" "4 5 6 7"
  38. EndSection

  39. Section "Monitor"
  40.     Identifier     "Monitor0"
  41.     VendorName     "Unknown"
  42.     ModelName      "PTW FH980-J1"
  43.     HorizSync       30.0 - 80.0
  44.     VertRefresh     60.0 - 75.0
  45. EndSection

  46. Section "Device"
  47.     Identifier     "Card0"
  48.     Driver         "nvidia"
  49. EndSection

  50. Section "Device"
  51.     Identifier     "Device0"
  52.     Driver         "nvidia"
  53.     VendorName     "NVIDIA Corporation"
  54.     BoardName      "GeForce G210"
  55. EndSection

  56. Section "Screen"
  57.     Identifier     "Screen0"
  58.     Device         "Device0"
  59.     Monitor        "Monitor0"
  60.     DefaultDepth    24
  61.     Option         "TwinView" "0"
  62.     Option         "metamodes" "1440x900_75 +0+0; nvidia-auto-select +0+0"
  63.     SubSection     "Display"
  64.         Depth       24
  65.     EndSubSection
  66. EndSection

复制代码



那个dri2 和 dri不能加载,这个xorg.conf是用nvidia-xconfig创建的,有什么地方需要修改吗。 gnome3 不能正确打开。
发表于 2012-2-4 13:58:29 | 显示全部楼层
gnome3不能打开,那换个其他的桌面环境能打开吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-2-4 14:06:45 | 显示全部楼层
openbox  twm   dou  neng ......
shu ru   fa  hai mei  an  zhuang
回复 支持 反对

使用道具 举报

发表于 2012-2-5 00:15:37 | 显示全部楼层
启动gnome3不来的时候,去用户目录看看日志: ~/.xsession-errors
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表