|
我用的是intel 845gl的主板,以前的linux就可以打开direct rendering,昨天也想把arch给打开,结果没有成功.执行glxinfo时出现
- [huting@Archlinux ~]$ glxinfo
- name of display: :0.0
- ERROR! sizeof(I830DRIRec) does not match passed size from device driver
- libGL warning: 3D driver returned no fbconfigs.
- libGL error: InitDriver failed
- libGL error: reverting to (slow) indirect rendering
- display: :0 screen: 0
- direct rendering: No
- server glx vendor string: SGI
- server glx version string: 1.2
复制代码
在网上找,有类似的问题,但是没有找到解决方法,不知道这是怎么一回事
另外lsmod的结果是这样的
- Module Size Used by
- i915 17024 1
- nls_cp437 5760 1
- vfat 11008 1
- fat 48540 1 vfat
- fuse 35856 2
- ehci_hcd 29960 0
- uhci_hcd 29712 0
- usb_storage 78656 0
- usbcore 116256 4 ehci_hcd,uhci_hcd,usb_storage
- sd_mod 14976 0
- drm 64532 2 i915
- intel_agp 21532 1
- agpgart 27108 3 drm,intel_agp
- snd_intel8x0 29340 1
- snd_ac97_codec 94624 1 snd_intel8x0
- snd_ac97_bus 2176 1 snd_ac97_codec
- snd_pcm_oss 38176 0
- snd_mixer_oss 16384 1 snd_pcm_oss
- snd_pcm 78084 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
- snd_timer 20100 1 snd_pcm
- snd 46432 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
- soundcore 7776 1 snd
- snd_page_alloc 8200 2 snd_intel8x0,snd_pcm
- tulip 48672 0
- xfs 593004 0
- reiserfs 256880 2
- jfs 187004 0
- ext3 127880 1
- jbd 56212 1 ext3
- ide_floppy 16000 0
- ide_cd 37792 0
- cdrom 36144 1 ide_cd
- ide_disk 14336 6
- piix 9476 0 [permanent]
- generic 4356 0 [permanent]
- ide_core 116940 6 usb_storage,ide_floppy,ide_cd,ide_disk,piix,generic
复制代码
其中的i915是我后来加载的,也没有出现效果.
最后附上,xorg.log,里面也没有出现EE,真是好怪呀,哪位能我点提示吗?
还有奇怪的一点,我用的是i810的驱动,为什么hwd -s显示
Video : Intel Corp.|82845 CGC [Chipset Graphics Controller] server: Xorg (vesa)
- [huting@Archlinux ~]$ cat /var/log/Xorg.0.log |grep EE
- Current Operating System: Linux Archlinux 2.6.16-ARCH #1 SMP PREEMPT Thu May 11 07:20:39 CEST 2006 i686
- (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
- (II) Loading extension MIT-SCREEN-SAVER
- [huting@Archlinux ~]$
- [huting@Archlinux ~]$ cat /var/log/Xorg.0.log |grep drm
- (II) Loading sub module "drm"
- (II) LoadModule: "drm"
- (II) Loading /usr/lib/xorg/modules/linux/libdrm.so
- (II) Module drm: vendor="X.Org Foundation"
- drmOpenDevice: node name is /dev/dri/card0
- drmOpenDevice: open result is -1, (No such device)
- drmOpenDevice: open result is -1, (No such device)
- drmOpenDevice: Open failed
- drmOpenDevice: node name is /dev/dri/card0
- drmOpenDevice: open result is -1, (No such device)
- drmOpenDevice: open result is -1, (No such device)
- drmOpenDevice: Open failed
- drmOpenByBusid: Searching for BusID pci:0000:00:02.0
- drmOpenDevice: node name is /dev/dri/card0
- drmOpenDevice: open result is 8, (OK)
- drmOpenByBusid: drmOpenMinor returns 8
- drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
- (II) I810(0): [drm] loaded kernel module for "i915" driver
- (II) I810(0): [drm] DRM interface version 1.2
- (II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
- (II) I810(0): [drm] added 8192 byte SAREA at 0xe0d0b000
- (II) I810(0): [drm] mapped SAREA 0xe0d0b000 to 0xb78b5000
- (II) I810(0): [drm] framebuffer handle = 0xe0020000
- (II) I810(0): [drm] added 1 reserved context for kernel
- (II) I810(0): [drm] Registers = 0xec100000
- (II) I810(0): [drm] ring buffer = 0xe0000000
- (II) I810(0): [drm] init sarea width,height = 1024 x 768 (pitch 1024)
- (II) I810(0): [drm] Mapping front buffer
- (II) I810(0): [drm] Front Buffer = 0xe0020000
- (II) I810(0): [drm] Back Buffer = 0xe7c00000
- (II) I810(0): [drm] Depth Buffer = 0xe7a00000
- (II) I810(0): [drm] textures = 0xe03a0000
- (II) I810(0): [drm] Initialized kernel agp heap manager, 26476544
- (II) I810(0): [drm] dma control initialized, using IRQ 17
- (II) I810(0): [drm] installed DRM signal handler
- [huting@Archlinux ~]$
- [huting@Archlinux ~]$ cat /var/log/Xorg.0.log |grep agp
- (II) I810(0): [drm] Initialized kernel agp heap manager, 26476544
- [huting@Archlinux ~]$
复制代码 |
|