[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#308610: xserver-xfree86: Monitor rolls with resolution > VGA (640x480)



Package: xserver-xfree86
Version: 4.3.0.dfsg.1-14
Followup-For: Bug #308610


Package: xserver-xfree86
Version: 4.3.0.1 (Debian 4.3.0.dfsg.1-14 20050601051219
Subject: XFree86 version 4 hardware bug

I understand that my bug report may look overwhelming, but please read it.
It points out exactly what is wrong where in the code.  I would try to do 
this myself but your note about Debian having heavily modified X and not to
report bugs to upstream maintainer is why I am first going to you.  If there
is a way for me to patch & compile a single module (like ati) I am sure 
I can find the problem for you.  Unfortunately I don't think I 
have the resources to compile the whole X server.

On Sunday 14 August 2005 00:01:28, Siward de Groot wrote:
> Your modelines look wrong.
> Normally, a modeline allows 20% of time needed for displaying a line or
> frame
>   for flyback ;
>   most of yours only allow 5% vertical flyback,
>   and it could well be that this is insufficient,
>   so that it would cause monitor to be unable to synchronize to video
> signal.
> Please try with more normal modelines, and report results.

It is the "correct" modelines which are automatically supplied by the X 
server which caused my problem, as described below in 'original bug report.'
The "incorrect" modelines in my config file are precisely those which DO WORK!
This is precisely why this is a bug.  I have included a copy of the original
XFree86-4 file which was created by the configuration tools, but I'm sure
it's not going to be very useful, as it had no modelines.  Also included is
a copy of the XFree86-4 file after I added some standard modelines. 
(They're commented out, but I tried them all).  Neither of these XFree86-4
config files worked, all producing the rolling monitor symptoms.

> Are you sure what you are experiencing is like what is reported in #308610 ?
No, I am not sure, but it looks very similar.
My monitor rolls like a TV that doesn't have a V-HOLD properly adjusted,
which is of course due to a problem with the Vertical refresh rate.
It sounds to me that "Can't Vertical Sync" described in bug #308610 is a
problem with the Vertical refresh rate.  In both the video card is signaling
too low a Vertical refresh rate.

Details from original bug report:
I cannot start X using the "ati" driver for my Mach64 Chrontel 8398
RAMDAC. The monitor goes VESA power off, and if I try to switch video
modes, my monitor display just rolls out of control.

If I use the "vga" driver or the "ati" driver with a color depth of 4,
causing it to use the VGA CRT controller, I am able to get a 640x480
display, and a very flickery 800x600 display.

My hardware: ViewSonic 17GS monitor, ATI Mach64 video card detected as
ATI 88800GX-D graphics controller, Pentium-120 with PCI and ISA slots.
My monitor reports the Display frequency being sent to it, which
assisted the below diagnosis.
My software: Linux kernel 2.2.19 / 2.4.31, xfree86 4.3.0.1 (Debian sarge)

Below is my original XF86-Config-4 file:

*** /etc/X11/XF86Config-4.original-made-by-debconf
# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

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/CID"
	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	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"xtt"
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/psaux"
	Option		"Protocol"		"PS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection
Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"ATI Mach64 with CH8398 RAMDAC"
	Driver		"ati"
	BusID		"PCI:0:15:0"
EndSection

Section "Monitor"
	Identifier	"ViewSonic 17GS"
	HorizSync	30-69
	VertRefresh	50-160
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Mach64 with CH8398 RAMDAC"
	Monitor		"ViewSonic 17GS"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"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


*** /etc/X11/XF86Config-4.original-with-modelines
# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

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/CID"
	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	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"xtt"
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/psaux"
	Option		"Protocol"		"PS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection
Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"ATI Mach64 with CH8398 RAMDAC"
	Driver		"ati"
	BusID		"PCI:0:15:0"
	Ramdac		"ch8398"
	ClockChip	"ch8398"
EndSection

Section "Monitor"
	Identifier	"ViewSonic 17GS"
#	HorizSync	30-69
#	VertRefresh	50-160
	Option		"DPMS"
## VESA Standard 1024x786@75Hz:
#   Modeline  "1024x768"  78.75 1024 1040 1136 1312 768 769 772 800 -hsync -vsync
## My hack:
##   Modeline  "1024x768"  79.50 1024 1044 1076 1318 768 772 778 802 -hsync -vsync
#   Modeline  "800x600"   69.65 800 844 908 1068 600 604 610 636 -hsync -vsync
#   Modeline  "640x480"   45.80 640 684 780 844 480 492 498 526 -hsync -vsync
## VESA Standard 800x600@75Hz:
##   Modeline  "800x600"   49.5 800 816 896 1056 600 601 604 625
## VESA Standard 640x480@75Hz:
##   Modeline  "640x480"   31.50 640 656 720 840 480 481 484 500 +hsync +vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Mach64 with CH8398 RAMDAC"
	Monitor		"ViewSonic 17GS"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"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


-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.4.31
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xserver-xfree86 depends on:
ii  debconf [debconf-2.0]    1.4.30.13       Debian configuration management sy
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgcc1                  1:3.4.3-13      GCC support library
ii  xfree86-common           4.3.0.dfsg.1-14 X Window System (XFree86) infrastr
ii  xserver-common           4.3.0.dfsg.1-14 files and utilities common to all 
ii  zlib1g                   1:1.2.2-4       compression library - runtime




Reply to: