Subject: terminal garbled after exitting X on acer tm 233lc
To: None <netbsd-users@netbsd.org>
From: Lubos Vrbka <shnek@tiscali.cz>
List: netbsd-users
Date: 02/17/2004 19:14:03
hi guys,

i experience problems with the terminal output after exitting from xwindows on
my acer travelmate 233lc notebook. after exitting x windows it goes back to
terminal ttyE*, but
1) the size of the font is changed (it is much bigger than usually)
2) only first ~ 10 characters on each line are displayed, the rest of the screen
remains blank

where could be the problem? i suspect it lies somewhere in Xwindows - i have
some other problems with them too. resolution is ok, but i cannot get it to work
with more than 8 bits.

is it possible to somehow "reset" the graphics card to get back the correct
output? i can "repair" it by reboot, but you know...

i was thinking about building my own x from src, since the binary version
xfree86 has on their ftp is older than this one i'm currently using now. the
binary version has also some problem with shared libraries, so it's not usable.
is building my own x likely to solve these problems?

thanks very much for any advices...

... and sorry for my previous big post.

my system is current 1.6ZK
complete X log is available on request, just probably important excerpts:

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System:NetBSD/i386 1.6ZI - The NetBSD Foundation, Inc.
Build Date: 07 February 2004
...
(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.2
	XFree86 Video Driver: 0.6
	XFree86 XInput driver : 0.4
	XFree86 Server Extension : 0.2
	XFree86 Font Renderer : 0.4
...
(II) Loader running on netbsd
(II) Setting vga for screen 0.
...
(==) I810(0): Depth 8, (==) framebuffer bpp 8
(==) I810(0): RGB weight 888
(==) I810(0): Default visual is PseudoColor
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/libint10.a
(II) I810(0): initializing int10
(WW) I810(0): remove MTRR a0000 - c0000
(WW) I810(0): remove MTRR c0000 - 100000
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(WW) I810(0): remove MTRR 0 - 1000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 832 kB
(II) I810(0): VESA VBE OEM: Brookdale-G 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: Brookdale-G Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 845G
(--) I810(0): Chipset: "845G"
(--) I810(0): Linear framebuffer at 0xD8000000
(--) I810(0): IO registers at addr 0xD0000000
(WW) I810(0): remove MTRR d0000000 - d0080000
(II) I810(0): detected 892 kB stolen memory.
(II) I810(0): I830CheckAvailableMemory: 450560 kB available
(II) I810(0): Will attempt to tell the BIOS that there is 8128 kB VideoRAM
(WW) I810(0): Extended BIOS function 0x5f11 not supported.
(II) I810(0): Before: SWF1 is 0x00000001
(II) I810(0): After: SWF1 is 0x00000008
(WW) I810(0): remove MTRR 0 - 1000
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/libint10.a
(II) I810(0): initializing int10
(WW) I810(0): remove MTRR a0000 - c0000
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(WW) I810(0): remove MTRR 0 - 1000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 832 kB
(II) I810(0): VESA VBE OEM: Brookdale-G 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: Brookdale-G Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): BIOS now sees 832 kB VideoRAM
(--) I810(0): Pre-allocated VideoRAM: 892 kByte
(==) I810(0): VideoRAM: 8192 kByte
(==) I810(0): video overlay key set to 0x101fe
(--) I810(0): Maximum frambuffer space: 8040 kByte
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): 1 display pipe available.
(II) I810(0): Display Info: CRT: attached: FALSE, present: FALSE, size: (0,0)
(II) I810(0): Display Info: TV: attached: FALSE, present: FALSE, size: (0,0)
(II) I810(0): Display Info: DFP (digital flat panel): attached: FALSE, present:
FALSE, size: (0,0)
(II) I810(0): Display Info: LFP (local flat panel): attached: FALSE, present:
FALSE, size: (0,0)
(II) I810(0): Display Info: TV2 (second TV): attached: FALSE, present: FALSE,
size: (0,0)
(II) I810(0): Display Info: DFP2 (second digital flat panel): attached: FALSE,
present: FALSE, size: (0,0)
(II) I810(0): Currently active displays on Pipe A:
(II) I810(0): 	LFP (local flat panel)
(II) I810(0): No display size information available for pipe A.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
	compiled for 4.3.0.1, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.6
(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): A non-CRT device is attached to pipe A.
	No refresh rate overrides will be attempted.
(--) I810(0): Maximum space available for video modes: 832 kByte

(WW) I810(0): Monitor0: Using default hsync range of 28.00-33.00kHz
(WW) I810(0): Monitor0: using default vrefresh range of 43.00-72.00Hz
(--) I810(0): Virtual size is 1024x768 (pitch 1024)
(**) I810(0): *Built-in mode "1024x768"
(**) I810(0):  Built-in mode "800x600"
(**) I810(0):  Built-in mode "640x480"
(==) 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="The XFree86 Project"
	compiled for 4.3.0.1, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
	compiled for 4.3.0.1, module version = 1.1.0
	ABI class: XFree86 Video Driver, version 0.6
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
	compiled for 4.3.0.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.6
(WW) I810(0): remove MTRR 0 - 1000
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
...
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/libint10.a
(II) I810(0): initializing int10
(WW) I810(0): remove MTRR a0000 - c0000
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(WW) I810(0): remove MTRR 0 - 1000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 832 kB
(II) I810(0): VESA VBE OEM: Brookdale-G 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: Brookdale-G Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(WW) I810(0): remove MTRR d0000000 - d0080000
(II) I810(0): Before: SWF1 is 0x00000001
(II) I810(0): After: SWF1 is 0x00000008
(==) I810(0): Default visual is PseudoColor
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 768 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 1536 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0x7fff000
(II) I810(0): Allocated 4 kB for Overlay registers at 0x7ffe000 (0x01b3c000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fee000
(II) I810(0): Updated framebuffer allocation size from 1536 to 2048 kByte
(II) I810(0): Updated pixmap cache from 768 scanlines to 1280 scanlines
(II) I810(0): 0x86750f0: Memory at offset 0x00020000, size 2048 kBytes
(II) I810(0): 0x8675110: Memory at offset 0x07fff000, size 4 kBytes
(II) I810(0): 0x8675134: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x8675164: Memory at offset 0x07fee000, size 64 kBytes
(II) I810(0): 0x8675184: Memory at offset 0x07ffe000, size 4 kBytes
(WW) I810(0): remove MTRR d0000000 - d0080000
(WW) I810(0): set MTRR d8000000 - e0000000
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(WW) I810(0): remove MTRR a0000 - b0000
(II) I810(0): xf86BindGARTMemory: bind key 27 at 0x000df000 (pgoffset 223)
(II) I810(0): xf86BindGARTMemory: bind key 24 at 0x07fff000 (pgoffset 32767)
(II) I810(0): xf86BindGARTMemory: bind key 26 at 0x07fee000 (pgoffset 32750)
(II) I810(0): xf86BindGARTMemory: bind key 25 at 0x07ffe000 (pgoffset 32766)
(WW) I810(0): PGTBL_ER is 0x00000049
(II) I810(0): Before: SWF1 is 0x00000008
(II) I810(0): After: SWF1 is 0x00000008
(II) I810(0): Display plane A is enabled.
(II) I810(0): Display plane B is disabled.
(II) I810(0): PIPEACONF is 0x80000000
(II) I810(0): Mode bandwidth is 47 Mpixel/s
(II) I810(0): maxBandwidth is 1152 Mbyte/s, pipe bandwidths are 63 Mbyte/s, 0
Mbyte/s
(WW) I810(0): Extended BIOS function 0x5f61 not supported.
(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:
		32 128x128 slots
		12 256x256 slots
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(II) I810(0): Initializing HW Cursor
(II) I810(0): direct rendering: Not available
(==) 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 XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(**) Option "Protocol" "wsmouse"
(**) Mouse0: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/wsmouse"
(**) Option "Buttons" "5"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 5
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)

-- 
Lubos
_@_"