[vox-tech] Xwindows problem

Eric Nelson vox-tech@lists.lugod.org
Sun, 20 Jan 2002 22:09:30 -0800


On Sunday 20 January 2002 08:06 pm, you wrote:
> On Sun, Jan 20, 2002 at 07:46:54PM -0800, Eric Nelson wrote:
> > On Sunday 20 January 2002 04:01 pm, you wrote:
> > > Keywords: X, XFree86, XF86Config, XConfigurator, ct69000, embedded
> > > system
> >
> > Thanks for the reply.
> >
> > Since the last posting, I upgraded to 4.1.0.  Now, X won't even come up. 
> > I have the correct values for my terminal.  It looks like the system
> > thinks there is only 256K on the card, and it can't find a mode, even not
> > enough ram for 320x200, so it fails.
> >
> > It could be a bios problem, this is a custom system, built for a specific
> > project, and an early version of the bios.  I started to think that I
> > could by a new cpu board and have something that works for all the hours
> > I'm putting in.  So I don't want to waste peoples time, until I have a
> > problem that is real, at least.  :~).
>
> Okay, but you might as well try explicitly declaring the amount of video
> RAM in the configuration file. Example from my /etx/X11/XF86Config-4:
>
> 	Section "Device"
> 		Identifier  "Generic Video Card"
> 		Driver      "glint"
> 		VideoRam 8192
> 	EndSection

I did.

from XF86Config:

----------------snip-----------------
# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#     BusID      "PCI:0:3:0"

     VideoRam	2048

#    Clocks	25.2 28.3

EndSection
--------------------snip------------------

from /var/log/XFree86.0.log
------------snip-----------------
	[16] 0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[17] 0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) VGA(0): Depth 16, (--) framebuffer bpp 16
(==) VGA(0): RGB weight 565
(==) VGA(0): Default visual is TrueColor
(==) VGA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) VGA(0): videoRam: 2048 kBytes (using 256 kBytes).
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
	compiled for 4.1.0, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.4
(--) VGA(0): Pixel clocks available:
(--) VGA(0): pixel clocks:  28.320  28.322  28.320  28.320
(II) VGA(0): v95: Using hsync range of 30.00-95.00 kHz
(II) VGA(0): v95: Using vrefresh range of 50.00-160.00 Hz
(II) VGA(0): Not using default mode "640x350" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x400" (insufficient memory for mode)
(II) VGA(0): Not using default mode "720x400" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x480" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x480" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x480" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x480" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1152x864" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1280x960" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1280x960" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1280x1024" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1280x1024" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1280x1024" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1400x1050" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1400x1050" (insufficient memory for mode)
(WW) VGA(0): Mode pool is empty
(==) VGA(0): Virtual size is 320x200 (pitch 320)
(**) VGA(0): Built-in mode "Generic 320x200 default mode": 12.6 MHz (scaled 
from 25.2 MHz), 31.5 kHz, 70.2 Hz (VScan)
(II) VGA(0): Modeline "Generic 320x200 default mode"   12.59  320 336 384 400 
 200 206 207 224 vscan 2 -hsync +vsync
(==) VGA(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.1.0, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.1
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0xfd000000 - 0xfdffffff (0x1000000) MS[B]
	[1] -1	0xffe00000 - 0xffffffff (0x200000) MX[B](B)
	[2] -1	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[3] -1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[4] -1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[5] -1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[6] -1	0xfe000000 - 0xfe01ffff (0x20000) MX[B]
	[7] -1	0xfe020000 - 0xfe020fff (0x1000) MX[B]
	[8] -1	0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
	[9] 0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[10] 0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
	[11] 0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
	[12] -1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[13] -1	0x00000000 - 0x000000ff (0x100) IX[B]
	[14] -1	0x00001080 - 0x000010bf (0x40) IX[B]
	[15] -1	0x00001060 - 0x0000107f (0x20) IX[B]
	[16] -1	0x000010c0 - 0x000010cf (0x10) IX[B]
	[17] 0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[18] 0	0x000003c0 - 0x000003df (0x20) IS[B]
(WW) System lacks support for changing MTRRs

Fatal server error:
AddScreen/ScreenInit failed for driver 0


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.
-------------------snip-------------------------
I tried over and over, but it would always change the 2048K to 256K.  It does 
recognize the board in /proc/pci.

I'm just frustrated.  If there is a solution, great.  But this X stuff gets 
pretty hairy.   :~(