LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-18-2005, 03:25 PM   #1
SLaCk_KiD
Member
 
Registered: Jan 2003
Location: Philly, PA
Distribution: Slackware 10.2
Posts: 97

Rep: Reputation: 15
Question i810 FrameBuffer,Bootsplash, X


Hi Everyone,

I recently purchased a Sony Vaio PCG-R505TSK. I have heard that it is not the friendliest linux laptop, but so far everything is working except for some issues with the i810 Frame Buffer. I have been trying to get X to work with acceleration correctly for about a week and a half. As of now, I can start it up, and it loads ok. But the problem is that menu's and windows do not refresh correctly.
There are some area's of the screen that are missing buttons in KDE, the area where the button should be is transparent, and I can just see the background. if someone could tell me where to I could post a screenshot then I gladly will.

Here is the relevant portion of my Xorg.0.log...
Code:
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G
(II) Primary Device is: PCI 00:02:0
(--) Assigning device section with no busID to primary device
(--) Chipset i815 found
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xf4100000 - 0xf4100fff (0x1000) MX[B]
        [6] -1  0       0xf4104000 - 0xf4107fff (0x4000) MX[B]
        [7] -1  0       0xf4101000 - 0xf41017ff (0x800) MX[B]
        [8] -1  0       0xf4000000 - 0xf407ffff (0x80000) MX[B](B)
        [9] -1  0       0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
        [10] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [11] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [12] -1 0       0x00003000 - 0x0000303f (0x40) IX[B]
        [13] -1 0       0x00001880 - 0x000018ff (0x80) IX[B]
        [14] -1 0       0x00002000 - 0x000020ff (0x100) IX[B]
        [15] -1 0       0x00001840 - 0x0000187f (0x40) IX[B]
        [16] -1 0       0x00001c00 - 0x00001cff (0x100) IX[B]
        [17] -1 0       0x00002400 - 0x0000241f (0x20) IX[B]
        [18] -1 0       0x00001810 - 0x0000181f (0x10) IX[B]
        [19] -1 0       0x00001820 - 0x0000183f (0x20) IX[B]
        [20] -1 0       0x00001800 - 0x0000180f (0x10) IX[B]
(II) resource ranges after probing:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xf4100000 - 0xf4100fff (0x1000) MX[B]
        [6] -1  0       0xf4104000 - 0xf4107fff (0x4000) MX[B]
        [7] -1  0       0xf4101000 - 0xf41017ff (0x800) MX[B]
        [8] -1  0       0xf4000000 - 0xf407ffff (0x80000) MX[B](B)
        [9] -1  0       0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
        [10] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [11] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [12] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [13] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [14] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [15] -1 0       0x00003000 - 0x0000303f (0x40) IX[B]
        [16] -1 0       0x00001880 - 0x000018ff (0x80) IX[B]
        [17] -1 0       0x00002000 - 0x000020ff (0x100) IX[B]
        [18] -1 0       0x00001840 - 0x0000187f (0x40) IX[B]
        [19] -1 0       0x00001c00 - 0x00001cff (0x100) IX[B]
        [20] -1 0       0x00002400 - 0x0000241f (0x20) IX[B]
        [21] -1 0       0x00001810 - 0x0000181f (0x10) IX[B]
        [22] -1 0       0x00001820 - 0x0000183f (0x20) IX[B]
        [23] -1 0       0x00001800 - 0x0000180f (0x10) IX[B]
        [24] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [25] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.7
(**) I810(0): Depth 16, (--) framebuffer bpp 16
(==) I810(0): RGB weight 565
(==) I810(0): Default visual is TrueColor
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 1.2.0
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 1.1.0
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(II) I810(0): initializing int10
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 1024 kB
(II) I810(0): VESA VBE OEM: Intel815M(TM) Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: i815M Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(II) I810(0): VESA VBE DDC supported
(II) I810(0): VESA VBE DDC Level none
(II) I810(0): VESA VBE DDC transfer in appr. 0 sec.
(II) I810(0): VESA VBE DDC read failed
(--) I810(0): Chipset: "i815"
(--) I810(0): Linear framebuffer at 0xF8000000
(--) I810(0): IO registers at addr 0xF4000000
(II) I810(0): I810CheckAvailableMemory: 294840k available
(==) I810(0): Will alloc AGP framebuffer: 8192 kByte
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): Sony LCD: Using hsync range of 31.50-82.00 kHz
(II) I810(0): Sony LCD: Using vrefresh value of 60.00 Hz
(II) I810(0): Clock range:   9.50 to 163.00 MHz
(--) I810(0): Virtual size is 1024x768 (pitch 1024)
(**) I810(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) I810(0): Modeline "1024x768"   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync
(**) I810(0):  Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(II) I810(0): Modeline "800x600"   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync
(**) I810(0):  Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) I810(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
(==) I810(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 0.1.0
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/X11R6/lib/modules/libshadowfb.a
(II) Module shadowfb: vendor="X.Org Foundation"
        compiled for 6.8.1, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.2
(**) I810(0): page flipping disabled
(II) I810(0): XvMC is Disabled: use XvMCSurfaces config option to enable.
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0   0       0xf4000000 - 0xf407ffff (0x80000) MS[B]
        [1] 0   0       0xf8000000 - 0xfbffffff (0x4000000) MS[B]
        [2] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [3] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [4] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [5] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [6] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [7] -1  0       0xf4100000 - 0xf4100fff (0x1000) MX[B]
        [8] -1  0       0xf4104000 - 0xf4107fff (0x4000) MX[B]
        [9] -1  0       0xf4101000 - 0xf41017ff (0x800) MX[B]
        [10] -1 0       0xf4000000 - 0xf407ffff (0x80000) MX[B](B)
        [11] -1 0       0xf8000000 - 0xfbffffff (0x4000000) MX[B](B)
        [12] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
        [13] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
        [14] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
        [15] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [16] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [17] -1 0       0x00003000 - 0x0000303f (0x40) IX[B]
        [18] -1 0       0x00001880 - 0x000018ff (0x80) IX[B]
        [19] -1 0       0x00002000 - 0x000020ff (0x100) IX[B]
        [20] -1 0       0x00001840 - 0x0000187f (0x40) IX[B]
        [21] -1 0       0x00001c00 - 0x00001cff (0x100) IX[B]
        [22] -1 0       0x00002400 - 0x0000241f (0x20) IX[B]
        [23] -1 0       0x00001810 - 0x0000181f (0x10) IX[B]
        [24] -1 0       0x00001820 - 0x0000183f (0x20) IX[B]
        [25] -1 0       0x00001800 - 0x0000180f (0x10) IX[B]
        [26] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [27] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) I810(0): Write-combining range (0xf8000000,0x4000000)
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) I810(0): Setting dot clock to 65.0 MHz [ 0x3f 0xa 0x30 ] [ 65 12 3 ]
(II) I810(0): chose watermark 0x2210e000: (tab.freq 65.0)
(II) I810(0): xf86BindGARTMemory: bind key 2 at 0x00000000 (pgoffset 0)
(II) I810(0): xf86BindGARTMemory: bind key 3 at 0x00800000 (pgoffset 2048)
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x00c00000 (pgoffset 3072)
(II) I810(0): Allocated of 4096 bytes for HW cursor
(II) I810(0): xf86BindGARTMemory: bind key 5 at 0x00c01000 (pgoffset 3073)
(II) I810(0): Allocated of 16384 bytes for ARGB HW cursor
(II) I810(0): Adding 768 scanlines for pixmap caching
(II) I810(0): Allocated Scratch Memory
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Horizontal and Vertical Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                24 128x128 slots
                6 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(==) I810(0): Direct rendering disabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "PS/2"
(**) Mouse1: Device: "/dev/psaux"
(**) Mouse1: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse1: Buttons: 3
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc104"
(**) Keyboard1: XkbModel: "pc104"
(**) Option "XkbLayout" "en_US"
(**) Keyboard1: XkbLayout: "en_US"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/local/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
(II) I810(0): xf86UnbindGARTMemory: unbind key 2
(II) I810(0): xf86UnbindGARTMemory: unbind key 3
(II) I810(0): xf86UnbindGARTMemory: unbind key 4
(II) I810(0): xf86UnbindGARTMemory: unbind key 5
Here is what my dmesg gives me...

Code:
testing michael_mic across pages
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Lid Switch [LID]
ACPI: Power Button (CM) [PWRB]
ACPI: Processor [CPU0] (supports C1 C2, 8 throttling states)
ACPI: Thermal Zone [ATF0] (49 C)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
lp: driver loaded but no devices found
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
hw_random hardware driver 1.0.0 loaded
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i815 Chipset.
agpgart: Maximum main memory to use for agp memory: 320M
agpgart: detected 4MB dedicated video ram.
agpgart: AGP aperture is 64M @ 0xf8000000
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 9 (level, low) -> IRQ 9
[drm] Initialized i810 1.4.0 20030605 on minor 0: Intel Corp. 82815 CGC [Chipset Graphics Controller]
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 9 (level, low) -> IRQ 9
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
lp0: using parport0 (interrupt-driven).
Using anticipatory io scheduler
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
ACPI: PCI interrupt 0000:01:08.0[A] -> GSI 9 (level, low) -> IRQ 9
eth0: 0000:01:08.0, 08:00:46:16:D5:49, IRQ 9.
  Board assembly 000000-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x04f4518b).
orinoco 0.13e (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin <proski@gnu.org>, et al)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 180k freed
Adding 524656k swap on /dev/hda2.  Priority:-1 extents:1
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 9 (level, low) -> IRQ 9
Console: switching to colour frame buffer device 80x30
I810FB: fb0         : Intel(R) 815 (Internal Graphics with AGP) Framebuffer Device v0.9.0
I810FB: Video RAM   : 4096K
I810FB: Monitor     : H: 29-30 KHz V: 60-60 Hz
I810FB: Mode        : 640x480-8bpp@60Hz
sonypi: Sony Programmable I/O Controller Driver v1.23.
sonypi: detected type2 model, verbose = 0, fnkeyinit = off, camera = off, compat = off, mask = 0xffffffff, useinput = on, acpi = on
sonypi: enabled at irq=11, port1=0x1080, port2=0x1084
sonypi: device allocated minor is 63
Sony VAIO Jog Dial installed.
so it is detecting the framebufer correctly. However, when I boot up I tried adding...

Code:
append="video=i810fb:vram=2:xres=1024:bpp=16:hsync1=30:hsync2=55:vsync1=50:vsync2=85:accel:mtrr"
as per the i810fb.sourceforge.net/howto/x83.html says. But the framebuffer does not start up immediately following the lilo prompt. Instead it starts later in the boot process where I have specified in /etc/rc.d/rc.modules that it should start (only because i cannot get lilo to boot directly to thte FB). Now i have thought that maybe i needed an initrd that included the module for the framebuffer because it is not statically built into the kernel. If this is the case, could someone please point me in the right direction for some information on how to do that. That would probably get me halfway solved on the bootsplash problem. I followed the directions to a T on the bootsplash.de site, but I am sure it has to do with the framebuffer, and if I can solve this problem then I am competent enough to figure out the bootsplash stuff.


I understand that this is a long drawn out post, but any help that anyone could offer is much appreciated. I know that this has to be a framebuffer problem that is why I am posting in hardware. But on second thought maybe framebuffers are software? I am not sure in any case, but please move this post to an appropiate section where someone can possibly help me. Thanks in advance!!

Geoff
 
Old 01-20-2005, 08:10 AM   #2
SLaCk_KiD
Member
 
Registered: Jan 2003
Location: Philly, PA
Distribution: Slackware 10.2
Posts: 97

Original Poster
Rep: Reputation: 15
Well I found out how to get my framebufer to work at boot time, just compiled it into the kernel, not as a module. The X problem witht eh refresh rate is actually a bug in the x11-6.8.1 for some reason i810 support doesnt work correctly with acceleration in the new version of X11, so i am downgrading back to 6.7.0
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to setup framebuffer/bootsplash slinky2004 Linux - General 9 10-13-2005 05:50 PM
Bootsplash, framebuffer help! shashir Slackware 1 08-17-2005 09:03 PM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 03:21 PM
problems with bootsplash/ framebuffer superandrzej Slackware 14 08-22-2004 11:34 PM
2.4.26 No framebuffer or bootsplash jong357 Linux - General 3 07-06-2004 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration