Hi,
I'm trying to find the best possible setup for X but there's a thing
that bothers me.
I first ran X -configure after install and got X working with the intel
device driver.
After some setup, I noticed some odds under X. When playing a movie with
either vlc or mplayer (with or without -cache), when I open firefox the
playback freeze and some sound glithces occur. When I move, say a xterm,
the video playback freeze until I stop.
I tried with i810 device driver, but had a shitty resolution so I tried
915resolution and got X running.
Looking at Xorg.log I noticed some warnings I can't interpret.
Here's my Xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/share/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/OTF"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/ghostscript/"
FontPath "/usr/local/openoffice/share/fonts/truetype/"
FontPath "/usr/local/lib/X11/fonts/Liberation/"
FontPath "/usr/local/lib/X11/fonts/mscorefonts/"
FontPath "/usr/local/lib/X11/fonts/artwiz-aleczapka/"
EndSection
Section "Module"
Load "GLcore"
Load "dbe"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "macintosh"
Option "XkbOptions" "lv3:lwin_switch"
Option "XkbLayout" ...I noticed drm was disabled in the generic kernel, so I gave it a try and built a new one with inteldrm, but still no change, the same error remains. Is this normal? I've been wondering if this could be related to disk I/O as it usually happens when reading from disk. How can I spot the bottleneck?
AFAIK, inteldrm(4) doesn't attach at i945, or at least not at all
revisions. Particulary you have the save chip as mine laptop, as I see.
But you can safely ignore this (EE), X starts good without it.
Don't know about your glitches problem, though. :(
--
Best wishes,
Vadim Zhukov
Well, I don't know if I made a mistake when compiling the new kernel, but the MP conf did not point to the correct conf so I corrected it and know inteldrm is detected by the kernel and X initializes it. Know, glxgears' framerate rose but there is still those glitches. dmesg: vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0x80000000, size 0x10000000 inteldrm0 at vga1 info: [drm] Intel i945GM (unit 0) info: [drm] AGP at 0x80000000 256MB info: [drm] Initialized i915 1.6.0 20080312 Xorg.log: drmOpenDevice: node name is /dev/drm0 drmOpenDevice: open result is 12, (OK) drmAvailable: 1 drmOpenDevice: node name is /dev/drm0 drmOpenDevice: open result is 12, (OK) drmAvailable: 1 drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/drm0 drmOpenDevice: open result is 12, (OK) drmOpenByBusid: drmOpenMinor returns 12 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): [drm] added 1 reserved context for kernel (II) intel(0): X context handle = 0x1 (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression enabled (**) intel(0): Tiling enabled (*snip*) (II) intel(0): [drm] Registers = 0x40000000 (II) intel(0): [drm] ring buffer = 0x4480e000 (II) intel(0): [drm] mapped front buffer at 0x81000000, handle = 0x4482e000 (II) intel(0): [drm] mapped back buffer at 0x85000000, handle = 0x4554e000 (II) intel(0): [drm] mapped depth buffer at 0x86000000, handle = 0x4626e000 (II) intel(0): [drm] mapped classic textures at 0x87000000, handle = 0x46f8e000 (II) intel(0): [drm] Initialized kernel agp heap manager, 33554432 -- ...
