由 louie » 週三 12月 25, 2002 11:13 pm
請教一下, octapult 兄, 照你的方法, 果然可以開另一個X server, 可是我沒你說的問題, 我的有 title bar, 但是發現了另一個問題, 就是去檢視 log, 發現原來在 display 0 的那個 X server, drm 有啟動, 但是 display 1 那個的 drm 就無法動了, 這樣子會不會影響遊戲的速度啊
display 0 的 log
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) MGA(0): [drm] created "mga" driver at busid "PCI:1:0:0"
(II) MGA(0): [drm] added 8192 byte SAREA at 0xd88e6000
(II) MGA(0): [drm] mapped SAREA 0xd88e6000 to 0x41191000
(II) MGA(0): [drm] framebuffer handle = 0xec000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x07000201 [AGP 0x1106/0x0598; Card 0x102b/0x0521]
(II) MGA(0): [drm] Disabling AGP 2x PLL encoding
(II) MGA(0): [agp] 12288 kB allocated with handle 0xd90ea000
(II) MGA(0): [agp] WARP microcode handle = 0xe0000000
(II) MGA(0): [agp] WARP microcode mapped at 0x41193000
(II) MGA(0): [agp] Primary DMA handle = 0xe0008000
(II) MGA(0): [agp] Primary DMA mapped at 0x4119b000
(II) MGA(0): [agp] DMA buffers handle = 0xe0108000
(II) MGA(0): [agp] DMA buffers mapped at 0x4129b000
(II) MGA(0): [drm] Added 128 65536 byte DMA buffers
(II) MGA(0): [drm] Registers handle = 0xe8000000
(II) MGA(0): [drm] Status handle = 0xd90f3000
(II) MGA(0): [agp] Status page mapped at 0x41a9b000
(II) MGA(0): [dri] visual configs initialized
(II) MGA(0): Memory manager initialized to (0,0) (1024,1535)
(II) MGA(0): Largest offscreen area available: 1024 x 767
(II) MGA(0): Reserved back buffer at offset 0x300000
(II) MGA(0): Reserved depth buffer at offset 0x480000
(II) MGA(0): Reserved 2048 kb for textures at offset 0x600000
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
8x8 mono pattern filled rectangles
8x8 mono pattern filled trapezoids
Indirect CPU to Screen color expansion
Screen to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
20 128x128 slots
5 256x256 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
(II) MGA(0): X context handle = 0x00000001
(II) MGA(0): [drm] installed DRM signal handler
(II) MGA(0): [DRI] installation complete
(II) MGA(0): [drm] Mapped 128 DMA buffers
(==) MGA(0): Direct rendering enabled
display 1 的 log
(II) MGA(0): [drm] bpp: 16 depth: 16
(II) MGA(0): [drm] Sarea 2200+664: 2864
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned 'PCI:1:0:0'
drmOpenDevice: minor is 1
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 2
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 3
.
.
.drmOpenByBusid: busid is PCI:1:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
(II) MGA(0): [drm] drmSetBusid failed (6, PCI:1:0:0), Device or resource busy
(EE) MGA(0): [drm] DRIScreenInit failed. Disabling DRI.
(II) MGA(0): Using 6072 lines for offscreen memory.
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
8x8 mono pattern filled rectangles
8x8 mono pattern filled trapezoids
Indirect CPU to Screen color expansion
Screen to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
18 256x256 slots
7 512x512 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
(==) MGA(0): Direct rendering disabled
竟然說 Device or resource busy, 真奇怪。