2011-06-15

Slitaz -- intel / i915




Ref: http://alanyih.blogspot.com/2011/03/slitaz-make-xconfig-qt4-support.html

1.
tux@slitaz:~$ tazpkg info linux-slitaz

Tazpkg information
================================================================================
Package    : linux-slitaz
Version    : 2.6.37
Category   : base-system
Short desc : Customized Linux Kernel
Maintainer : 
Depends    : depmod
Web site   : http://www.kernel.org
================================================================================

tux@slitaz:~$ tazpkg info xorg-xf86-video-intel

Tazpkg information
================================================================================
Package    : xorg-xf86-video-intel
Version    : 2.15.0
Category   : x-window
Short desc : Xorg server Intel driver.
Maintainer : pankso@slitaz.org
Depends    : xorg-server xorg-libXvMC mesa-dri-intel xcb-util
Build deps : xorg-server-dev xorg-libXvMC-dev xcb-util-dev
Web site   : http://www.x.org/
================================================================================

2.
tux@slitaz:~$ zcat /proc/config.gz | grep ACPI
# Power management and ACPI options
# CONFIG_ACPI is not set
# CONFIG_PNPACPI is not set

tux@slitaz:~$ zcat /proc/config.gz | grep -i i915
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y

tux@slitaz:~$ zcat /proc/config.gz | grep [34]86
# Linux/i386 2.6.37 Kernel Configuration
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_M386=y
# CONFIG_M486 is not set
CONFIG_LP486E=m

3.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #5 SMP Wed Jun 15 00:06:36 UTC 2011 i686 GNU/Linux

4.
tux@slitaz:~$ lsmod | tail -8
i915                  249930  2 
drm_kms_helper         18798  1 i915
drm                   111976  3 i915,drm_kms_helper
i2c_algo_bit            3479  1 i915
i2c_core               12176  4 i915,drm_kms_helper,drm,i2c_algo_bit
intel_agp               7908  1 i915
intel_gtt               9214  3 i915,intel_agp
agpgart                18221  3 drm,intel_agp,intel_gtt

tux@slitaz:~$ modinfo i915
filename:       /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz
description:    Intel Graphics
author:         Tungsten Graphics, Inc.
license:        GPL and additional rights
license:        GPL and additional rights
vermagic:       2.6.37-slitaz SMP mod_unload 386 

tux@slitaz:~$ ls -lh  /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz
-rw-r--r--    1 root     root      104.2K Jun 15 05:49 /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz

5.
tux@slitaz:~$ lspci -v | head -18
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
        Subsystem: NEC Corporation Device 88f7
        Flags: bus master, fast devsel, latency 0
        Capabilities: 
        Kernel driver in use: agpgart-intel
        Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: NEC Corporation Device 88f4
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fe400000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at ec00 [size=8]
        Expansion ROM at  [disabled]
        Capabilities: 
        Kernel driver in use: i915
        Kernel modules: i915

6.
tux@slitaz:~$ cat /proc/cmdline 
root=/dev/null autologin enable_mtrr_cleanup mtrr_spare_reg_nr=1

7.
tux@slitaz:~$ dmesg | tail -28 | head -13
Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel G45/G43 Chipset
agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
agpgart-intel 0000:00:00.0: detected 32768K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
Console: switching to colour frame buffer device 210x65
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

8.
tux@slitaz:~$ tazpkg list-files xorg-xf86-video-intel

Installed files with: xorg-xf86-video-intel
================================================================================
/usr/lib/libI810XvMC.so
/usr/lib/libI810XvMC.so.1
/usr/lib/libI810XvMC.so.1.0.0
/usr/lib/libIntelXvMC.so
/usr/lib/libIntelXvMC.so.1
/usr/lib/libIntelXvMC.so.1.0.0
/usr/lib/X11/modules/drivers/intel_drv.so
================================================================================
7 files installed with xorg-xf86-video-intel.

tux@slitaz:~$ cat /var/log/Xorg.0.log | head -126 | tail -13
[  1482.367] (II) LoadModule: "intel"
[  1482.367] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
[  1482.367] (II) Module intel: vendor="X.Org Foundation"
[  1482.367]    compiled for 1.9.4, module version = 2.15.0
[  1482.367]    Module class: X.Org Video Driver
[  1482.367]    ABI class: X.Org Video Driver, version 8.0
[  1482.367] (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

9.
tux@slitaz:~$ cat /etc/X11/xorg.conf.d/60-Device.conf | grep Driver  
        ### Available Driver options are:-
        Driver      "intel"

tux@slitaz:~$ cat /etc/X11/xorg.conf.d/70-Screen.conf 
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1280x1024" "1024x768" 
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes   "1280x1024" "1024x768" 
        EndSubSection
EndSection

10.
tux@slitaz:~$ cat /var/log/tazpkg.log | cut -d ' ' -f 6-7
linux-slitaz (2.6.37)
xorg-server (1.9.5)
xorg-libXv (1.0.6)
xorg-libXvMC (1.0.6)
mesa (7.10.2)
mesa-dri (7.10.2)
libdrm-intel (2.4.25)
mesa-dri-intel (7.10.2)
xorg-xf86-video-intel (2.15.0)
libglu-mesa (7.10.2) 
glew (1.5.8) 
mesa-demos (8.0.1) 

11.
tux@slitaz:~$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) G45/G43