LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: guozhiming

显卡驱动问题....

[复制链接]
发表于 2011-5-26 21:52:08 | 显示全部楼层
其實,我覺得在裝正式的X Server(如gnome等)之前,
最好先保證Xorg-server配置是正確的。
可以先

# emerge  twm  xterm

# startx

看有什麼出錯信息?
正常之後就可以考慮進行下一步了。
回复 支持 反对

使用道具 举报

发表于 2011-5-26 22:32:29 | 显示全部楼层
Post by RichardGv;2140643

  • Xorg完全不应该调用vesa/fbdev的module,难以理解...



是不是之前在make.conf里设置VIDEO_CARDS="intel fbdev vesa",后来改为VIDEO_CARDS="intel 以后并没有重新编译 xorg-server ?

建议重新 emerge xorg-server和mesa,
然后 emerge -av `qlist -I -C x11-drivers`
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-27 18:01:30 | 显示全部楼层
多谢各位回复....
kernel已经按照要求编译
然后:emerge xorg-server和mesa,
然后 emerge -av `qlist -I -C x11-drivers`

启动的时候错误依旧:
日志如下:
[  1577.081]
X.Org X Server 1.9.5
Release Date: 2011-03-17
[  1577.082] X Protocol Version 11, Revision 0
[  1577.082] Build Operating System: Linux 2.6.37-gentoo-r4 i686 Gentoo
[  1577.082] Current Operating System: Linux localhost 2.6.37-gentoo-r4 #1 SMP Thu May 26 13:41:11 Local time zone must be set--see zic  i686
[  1577.082] Kernel command line: root=/dev/ram0 real_root=/dev/sda10
[  1577.082] Build Date: 27 May 2011  05:40:19PM
[  1577.082]  
[  1577.084] Current version of pixman: 0.20.2
[  1577.084]         Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1577.084] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1577.085] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 27 17:56:13 2011
[  1577.096] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1577.097] (==) No Layout section.  Using the first Screen section.
[  1577.097] (==) No screen section available. Using defaults.
[  1577.097] (**) |-->Screen "Default Screen Section" (0)
[  1577.097] (**) |   |-->Monitor "<default monitor>"
[  1577.097] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  1577.097] (==) Automatically adding devices
[  1577.097] (==) Automatically enabling devices
[  1577.113] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[  1577.113]         Entry deleted from font path.
[  1577.113]         (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[  1577.130] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1577.130]         Entry deleted from font path.
[  1577.130] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1577.130]         Entry deleted from font path.
[  1577.138] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1577.138]         Entry deleted from font path.
[  1577.138]         (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1577.138] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1577.138]         Entry deleted from font path.
[  1577.138]         (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1577.138] (==) FontPath set to:
        /usr/share/fonts/TTF/
[  1577.138] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1577.138] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1577.138] (II) Loader magic: 0x81f4de0
[  1577.138] (II) Module ABI versions:
[  1577.138]         X.Org ANSI C Emulation: 0.4
[  1577.138]         X.Org Video Driver: 8.0
[  1577.138]         X.Org XInput driver : 11.0
[  1577.138]         X.Org Server Extension : 4.0
[  1577.140] (--) PCI:*(0:0:2:0) 8086:2a02:1025:011d rev 3, Mem @ 0xf0000000/1048576, 0xd0000000/268435456, I/O @ 0x00001800/8
[  1577.140] (--) PCI: (0:0:2:1) 8086:2a03:1025:011d rev 3, Mem @ 0xf0100000/1048576
[  1577.140] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1577.140] (II) LoadModule: "extmod"
[  1577.141] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  1577.141] (II) Module extmod: vendor="X.Org Foundation"
[  1577.141]         compiled for 1.9.5, module version = 1.0.0
[  1577.141]         Module class: X.Org Server Extension
[  1577.141]         ABI class: X.Org Server Extension, version 4.0
[  1577.141] (II) Loading extension MIT-SCREEN-SAVER
[  1577.141] (II) Loading extension XFree86-VidModeExtension
[  1577.141] (II) Loading extension XFree86-DGA
[  1577.141] (II) Loading extension DPMS
[  1577.141] (II) Loading extension XVideo
[  1577.141] (II) Loading extension XVideo-MotionCompensation
[  1577.141] (II) Loading extension X-Resource
[  1577.141] (II) LoadModule: "dbe"
[  1577.141] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  1577.141] (II) Module dbe: vendor="X.Org Foundation"
[  1577.141]         compiled for 1.9.5, module version = 1.0.0
[  1577.141]         Module class: X.Org Server Extension
[  1577.141]         ABI class: X.Org Server Extension, version 4.0
[  1577.141] (II) Loading extension DOUBLE-BUFFER
[  1577.141] (II) LoadModule: "glx"
[  1577.141] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1577.142] (II) Module glx: vendor="X.Org Foundation"
[  1577.142]         compiled for 1.9.5, module version = 1.0.0
[  1577.142]         ABI class: X.Org Server Extension, version 4.0
[  1577.142] (==) AIGLX enabled
[  1577.142] (II) Loading extension GLX
[  1577.142] (II) LoadModule: "record"
[  1577.142] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  1577.142] (II) Module record: vendor="X.Org Foundation"
[  1577.142]         compiled for 1.9.5, module version = 1.13.0
[  1577.142]         Module class: X.Org Server Extension
[  1577.142]         ABI class: X.Org Server Extension, version 4.0
[  1577.142] (II) Loading extension RECORD
[  1577.142] (II) LoadModule: "dri"
[  1577.142] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  1577.143] (II) Module dri: vendor="X.Org Foundation"
[  1577.143]         compiled for 1.9.5, module version = 1.0.0
[  1577.143]         ABI class: X.Org Server Extension, version 4.0
[  1577.143] (II) Loading extension XFree86-DRI
[  1577.143] (II) LoadModule: "dri2"
[  1577.143] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  1577.143] (II) Module dri2: vendor="X.Org Foundation"
[  1577.143]         compiled for 1.9.5, module version = 1.2.0
[  1577.143]         ABI class: X.Org Server Extension, version 4.0
[  1577.143] (II) Loading extension DRI2
[  1577.143] (==) Matched intel as autoconfigured driver 0
[  1577.143] (==) Matched vesa as autoconfigured driver 1
[  1577.143] (==) Matched fbdev as autoconfigured driver 2
[  1577.143] (==) Assigned the driver to the xf86ConfigLayout
[  1577.143] (II) LoadModule: "intel"
[  1577.143] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  1577.143] (II) Module intel: vendor="X.Org Foundation"
[  1577.143]         compiled for 1.9.5, module version = 2.14.0
[  1577.143]         Module class: X.Org Video Driver
[  1577.143]         ABI class: X.Org Video Driver, version 8.0
[  1577.143] (II) LoadModule: "vesa"
[  1577.144] (WW) Warning, couldn't open module vesa
[  1577.144] (II) UnloadModule: "vesa"
[  1577.144] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1577.144] (II) LoadModule: "fbdev"
[  1577.144] (WW) Warning, couldn't open module fbdev
[  1577.144] (II) UnloadModule: "fbdev"
[  1577.144] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1577.145] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
        Sandybridge, Sandybridge
[  1577.145] (--) using VT number 7

[  1577.324] (EE) No devices detected.
[  1577.324]
Fatal server error:
[  1577.324] no screens found
[  1577.324]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.
[  1577.324] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1577.325]

X -configure

说没有这个命令, 需要按照什么包.....
多谢各位...
回复 支持 反对

使用道具 举报

发表于 2011-5-27 18:23:40 | 显示全部楼层
Post by guozhiming;2140785

[ 1577.324] (EE) No devices detected.
[  1577.324] Fatal server error:
[  1577.324] no screens found
[  1577.324]

说没有这个命令, 需要按照什么包.....
多谢各位...

在內核選項上選擇:

Device Drivers --->
     Display device support --->
         <*> Display panel/monitor support
                 *** Display hardware drivers ***

另外,X -configure應改為Xorg -configure。
回复 支持 反对

使用道具 举报

发表于 2011-5-27 19:47:31 | 显示全部楼层

  • 最令人头疼的一类错误就是没有错误信息的错误... (我突然想起《笑傲江湖》中风清扬关于无招胜有招的一段话...)很抱歉这个主题变成了持久战... 再次建议您在Gentoo forums上发贴询问。
  • 我个人的猜想是,从Xorg.0.log中PCI的两行看,Xorg可能没有正确识别你的显卡型号。使用一个xorg.conf可能有帮助。可以运行X -configure来生成一个xorg.conf。
  • 您运行X -configure时使用root用户了吗?如果出现问题,请把具体的输出贴出来。
  • X是到Xorg的symlink,如果X -configure无法运行,Xorg -configure也不会。
  • 您的timezone设置不正确:
    1. cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
    复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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