Bug#420720: xserver-xorg-video-mga: X does not start

2007-04-24 Thread Wilfred de Bondt
Package: xserver-xorg-video-mga
Version: 1:1.4.6.1.dfsg.1-2
Severity: grave
Justification: renders package unusable

With the last version of xserver X does not start anymore. Either with 
my own xorg.conf file which worked or after I used dpkg-reconfigure to 
write a new one. 
The last error message is:
(EE) MGA(0): FBIOPUT_VSCREENINFO succeeded but modified mode

Kind regards,

Wilfred de Bondt


-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/etc/X11/X target unchanged from checksum in /var/lib/x11/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 13 2006-04-13 13:15 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1703596 2007-04-21 16:09 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400/G450 (rev 04)

/etc/X11/xorg.conf unchanged from checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 3149 2007-04-24 11:43 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath"/usr/share/fonts/X11/misc"
FontPath"/usr/X11R6/lib/X11/fonts/misc"
FontPath"/usr/share/fonts/X11/cyrillic"
FontPath"/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath"/usr/share/fonts/X11/100dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/share/fonts/X11/75dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/share/fonts/X11/Type1"
FontPath"/usr/X11R6/lib/X11/fonts/Type1"
FontPath"/usr/share/fonts/X11/100dpi"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi"
FontPath"/usr/share/fonts/X11/75dpi"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"v4l"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
EndSection

Section "Device"
Identifier  "Matrox Graphics, Inc. MGA G400/G450"
Driver  "mga"
BusID   "PCI:1:0:0"
Option  "UseFBDev"  "true"
EndSection

Section "Monitor"
Identifier  "Generieke beeldscherm"
Option  "DPMS"
HorizSync   30-68
VertRefresh 50-120
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "Matrox Graphics, Inc. MGA G400/G450"
Monitor "Generieke beeldscherm"
DefaultDepth16
SubSection "Display"
Depth   1
Modes   "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
  

Bug#420720: xserver-xorg-video-mga: X does not start

2007-04-24 Thread Michel Dänzer
On Tue, 2007-04-24 at 12:16 +0200, Wilfred de Bondt wrote:
> Package: xserver-xorg-video-mga
> Version: 1:1.4.6.1.dfsg.1-2
> Severity: grave
> Justification: renders package unusable
> 
> With the last version of xserver X does not start anymore. Either with 
> my own xorg.conf file which worked or after I used dpkg-reconfigure to 
> write a new one. 
> The last error message is:
> (EE) MGA(0): FBIOPUT_VSCREENINFO succeeded but modified mode

[...]

> (WW) MGA(0): Mode pool is empty
> (--) MGA(0): Virtual size is 640x480 (pitch 640)
> (**) MGA(0):  Built-in mode "current": 25.2 MHz, 31.5 kHz, 59.9 Hz
> (II) MGA(0): Modeline "current"   25.18  640 664 760 800  480 491 493 525 
> -hsync -vsync -csync

[...]

> (EE) MGA(0): FBIOPUT_VSCREENINFO succeeded but modified mode

This looks like  a matroxfb issue: the mga driver gets the current mode
from matroxfb, but then matroxfb doesn't accept that as is.

Do you really need Option "UseFBDev"?


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Bug#420720: xserver-xorg-video-mga: X does not start

2007-04-24 Thread Wilfred de Bondt
Hi all,

On Tue, Apr 24, 2007 at 12:30:31PM +0200, Michel Dänzer wrote:
> On Tue, 2007-04-24 at 12:16 +0200, Wilfred de Bondt wrote:
> > Package: xserver-xorg-video-mga
> > Version: 1:1.4.6.1.dfsg.1-2
> > Severity: grave
> > Justification: renders package unusable
> > 
> > With the last version of xserver X does not start anymore. Either with 
> > my own xorg.conf file which worked or after I used dpkg-reconfigure to 
> > write a new one. 
> > The last error message is:
> > (EE) MGA(0): FBIOPUT_VSCREENINFO succeeded but modified mode
> 
> [...]
> 
> > (WW) MGA(0): Mode pool is empty
> > (--) MGA(0): Virtual size is 640x480 (pitch 640)
> > (**) MGA(0):  Built-in mode "current": 25.2 MHz, 31.5 kHz, 59.9 Hz
> > (II) MGA(0): Modeline "current"   25.18  640 664 760 800  480 491 493 525 
> > -hsync -vsync -csync
> 
> [...]
> 
> > (EE) MGA(0): FBIOPUT_VSCREENINFO succeeded but modified mode
> 
> This looks like  a matroxfb issue: the mga driver gets the current mode
> from matroxfb, but then matroxfb doesn't accept that as is.
> 
> Do you really need Option "UseFBDev"?

No, turning it off was the trick to make it work, Thanks!
I still don't understand why it would work one day, and not the next, but 
as far as I'm concerned this bug can be closed.

Thanks for the quick response.

Kind regards,

Wilfred de Bondt