l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 10: LUGOD Installfests coming again soon
Page last updated:
2002 Sep 05 22:41

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Re: vox-tech digest, Vol 1 #417 - 1 msg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Re: vox-tech digest, Vol 1 #417 - 1 msg



> On Fri, Aug 30, 2002 at 12:51:36PM -0700, Robin Snyder wrote:
> > >
> > > begin Robin Snyder <resnyder@ucdavis.edu>
> > > > I've run into the usual infinite regress of problems.  Woody has now
> > > > become "stable" in the Debian hierarchy, so the other day, I upgraded=
>  my
> > > > work machine from potato to woody.  (My previous message concerned my=
>  home
> > > > machine.)  In the process, X broke.  After much futzing, it's still
> > > > broken.
> > >
> > > > I think I may just have it, although it keeps asking for the mga_hal
> > > > module, which I've never needed before.
> > >
> > > the first step should've been to use google to find out what mga_hal is.
> > > if you google for it, you'd probably have a better idea about whether
> > > it's relevent to your system or not.
> > >
> > > i did a quick google, and it appears to be related to the matrox g400
> > > series of cards.
> > >
> > > do you have one of those (or a compatible video chipset)?
> >=20
> > No.  I have an ATI XPERT 128 AGP.  When running dpkg-reconfigure
> > xserver-xfree86, I chose ati over mga_hal.  It may be asking for the
> > mga because someone who was trying to help me earlier chose mga.  I
> > don't think I've successfully made my way through dpkg-reconfigure
> > yet.
>
> I just looked on packages.debian.org and read with interest that
> dpkg-reconfigure now makes use of three packages that I had not previously
> heard of to help in detecting video hardware. These are:
>
> 	discover
>       hardware identification system
> 	mdetect
>       mouse device autodetection tool
> 	read-edid
> 		hardware information-gathering tool for VESA PnP monitors
>
> You might try installing these, if they are not there already. These are
> 'suggested' packages, not dependancies, so apt-get will not normally fetch
> them when installing the X server package.
>
> Based on the X log you posted, it is clear that the harware detection (by
> dpkg-reconfigure) failed, setting up a config for a Matrox card not and ATI,
> and so the X server was looking for hardware that wasn't there. Hence the
> error 'no screens found'.
>
> I suggest you try dpkg-reconfigure again with the packages above installed,
> then post both the X server log and the genetrated config file if X still
> does not work.
>
> --=20
> Henry House

A friend pointed out that scanpci and lspci say that I *do* have an mga
chipset and not an ATI card, no matter what the company that assembled the
machine told me.  He was able to get an XF86Config-4 file going that sort
of works for me.  However, for curiosity's sake, I installed discover (I
had the other two already) and reran dpkg-reconfigure xserver-xfree86,
choosing the mga module for the graphics card.  The resulting
configuration file didn't work at all--startx couldn't run (config file
and startx error messages below, for those who care).  As I said, X is
sort of running now; however, there is an annoying high frequency flicker
to the screen.  I assume this is some sort of refresh rate problem?
Gnome-terminal also crashes as soon as I try to start one.  Has anyone
else had this problem under X4?  The error message is uninformative
(floating point exception).

			- robin.

------ startx output after running dpkg-reconfigure with discover
installed ---------------------------------------------------------------

Script started on Tue Sep  3 15:10:00 2002
munin:/home/robin# startx

warning: process set to nice value 0 instead of -10 as requested

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.17 i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Sep  3 15:10:01 2002
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Miserable Monitor"
(**) |   |-->Device "MGA"
(**) |-->Input Device "Generic Keyboard"
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc104"
(**) XKB: layout: "us"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Generic Mouse"
(WW) `fonts.dir' not found (or not valid) in "/usr/lib/X11/fonts/cyrillic".
	Entry deleted from font path.
	(Run 'mkfontdir' on "/usr/lib/X11/fonts/cyrillic").
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 0.1.0
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(--) PCI:*(1:5:0) Matrox MGA G400 AGP rev 4, Mem @ 0xf4000000/25, 0xf3000000/14, 0xf2800000/23, BIOS @ 0xf3ff0000/16
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.1.9
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libpex5.a
(II) Module pex5: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.13.0
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
(II) Module xie: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.1
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
	mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400
(--) Assigning device section with no busID to primary device
(--) Chipset mgag400 found
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 0.1.0
(**) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(WW) Warning, couldn't open module mga_hal
(EE) MGA: Failed to load module "mga_hal" (module does not exist, 0)
(II) MGA(0): Matrox HAL module not found - using builtin mode setup instead
(--) MGA(0): Chipset: "mgag400"
(==) MGA(0): Using AGP 1x mode
(--) MGA(0): Linear framebuffer at 0xF4000000
(--) MGA(0): MMIO registers at 0xF3000000
(--) MGA(0): Pseudo-DMA transfer window at 0xF2800000
(--) MGA(0): BIOS at 0xF3FF0000
(--) MGA(0): Video BIOS info block at offset 0x07B20
(WW) MGA(0): Video BIOS info block not detected!
(==) MGA(0): Write-combining range (0xf4000000,0x2000000)
(--) MGA(0): VideoRAM: 16384 kByte
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.2.0
(==) MGA(0): Write-combining range (0xf4000000,0x1000000)
(II) MGA(0): I2C bus "DDC" initialized.
(II) MGA(0): I2C device "DDC:ddc2" registered.
(II) MGA(0): I2C device "DDC:ddc2" removed.
(II) MGA(0): I2C Monitor info: (nil)
(II) MGA(0): end of I2C Monitor info

(--) MGA(0): No DDC signal
(II) MGA(0): DDC Monitor info: (nil)
(II) MGA(0): end of DDC Monitor info

(==) MGA(0): Using gamma correction (1.0, 1.0, 1.0)
(==) MGA(0): Min pixel clock is 12 MHz
(==) MGA(0): Max pixel clock is 300 MHz
(II) MGA(0): Miserable Monitor: Using hsync range of 30.00-84.00 kHz
(II) MGA(0): Miserable Monitor: Using vrefresh range of 50.00-75.00 Hz
(II) MGA(0): Clock range:  12.00 to 300.00 MHz
(II) MGA(0): Not using default mode "640x350" (vrefresh out of range)
(II) MGA(0): Not using default mode "640x400" (vrefresh out of range)
(II) MGA(0): Not using default mode "720x400" (vrefresh out of range)
(II) MGA(0): Not using default mode "640x480" (vrefresh out of range)
(II) MGA(0): Not using default mode "800x600" (vrefresh out of range)
(II) MGA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) MGA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) MGA(0): Not using default mode "1280x960" (hsync out of range)
(II) MGA(0): Not using default mode "1280x1024" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "1792x1344" (hsync out of range)
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
(--) MGA(0): Virtual size is 1792x1344 (pitch 1792)
(**) MGA(0): Default mode "1792x1344": 204.8 MHz, 83.7 kHz, 60.0 Hz
(**) MGA(0): Default mode "1600x1200": 175.5 MHz, 81.2 kHz, 65.0 Hz
(**) MGA(0): Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(**) MGA(0): Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(**) MGA(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(**) MGA(0): Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(**) MGA(0): Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(**) MGA(0): Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(++) MGA(0): DPI set to (100, 100)
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 0.1.0
(--) Depth 24 pixmap format is 32 bpp
(==) MGA(0): Write-combining range (0xf4000000,0x1000000)
(--) MGA(0): 16 DWORD fifo
(==) MGA(0): Default visual is TrueColor
(EE) MGA(0): Static buffer allocation failed, not initializing the DRI
(EE) MGA(0): Need at least 28224 kB video memory at this resolution, bit depth
(II) MGA(0): Using 996 lines for offscreen memory.
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	Solid filled trapezoids
	8x8 mono pattern filled rectangles
	8x8 mono pattern filled trapezoids
	Indirect CPU to Screen color expansion
	Screen to Screen color expansion
	Solid Lines
	Dashed Lines
	Scanline Image Writes
	Offscreen Pixmaps
	Driver provided FillMono8x8PatternRects replacement
	Setting up tile and stipple cache:
		32 128x128 slots
		16 256x256 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(**) MGA(0): DPMS enabled
(II) MGA(0): Using overlay video
(--) MGA(0): Direct rendering disabled
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Configured Mouse: Protocol: "microsoft"
(**) Configured Mouse: Core Pointer
(==) Configured Mouse: Buttons: 3
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Configured Mouse: BaudRate: 1200
(**) Generic Mouse: Protocol: "microsoft"
(**) Generic Mouse: always reports core events
(==) Generic Mouse: Buttons: 3
(**) Generic Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Generic Mouse: BaudRate: 1200
(II) XINPUT: Adding extended input device "Generic Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
SetKbdSettings - type: 2 rate: 30 delay: 500 snumlk: 0
SetKbdSettings - Succeeded
xinit:  connection to X server lost.
munin:/home/robin#
Script done on Tue Sep  3 15:10:22 2002

---------- XF86Config-4 for the above -----------------------------------
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"pex5"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"xie"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/mouse"
	Option		"Protocol"		"microsoft"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/mouse"
	Option		"Protocol"		"microsoft"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"MGA"
	Driver		"mga"
EndSection

Section "Monitor"
	Identifier	"Miserable Monitor"
	HorizSync	30-84
	VertRefresh	50-75
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"MGA"
	Monitor		"Miserable Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

### END DEBCONF SECTION

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.