Bug 7041

Summary: xf86-video-vga has blank screen on my VIA VT8623
Product: xorg Reporter: Jeremy C. Reed <reed>
Component: Driver/VGAAssignee: Luc Verhaegen <libv>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: NetBSD   
Whiteboard:
i915 platform: i915 features:

Description Jeremy C. Reed 2006-05-26 16:23:22 UTC
"via" driver works.

But using xf86-video-vga, the screen goes blank (black) with no mouse.
It is running as ps shows my X clients start up.

My hardware:

pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x1106 device 0xb091
 VIA Technologies, Inc. VT8623 [Apollo Pro266 AGP]

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1106 device 0x3122
 VIA Technologies, Inc. VT8623 [Apollo CLE226] integrated CastleRock graphics

The log has:

_XSERVTransSocketCreateListener(81b8000,0x1)
_XSERVTransjeremy: namelen is 28
_XSERVTransjeremy: sizeof is 4
_XSERVTransSocketCreateListener(81b8040,0x3)
_XSERVTransjeremy: namelen is 16
_XSERVTransjeremy: sizeof is 4
_XSERVTransjeremy2 d namelen 19
_XSERVTransjeremy2 a namelen 19
_XSERVTransSocketCreateListener(81b8080,0x4)
_XSERVTransjeremy: namelen is 19
_XSERVTransjeremy: sizeof is 4

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System: NetBSD 3.99.18 i386

Current Operating System: NetBSD glacier.reedmedia.net 3.99.18 NetBSD 3.99.18
(JCR20060427) #0: Thu Apr 27 23:01:10 PDT 2006 
reed@glacier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR20060427 i386
Build Date: 25 May 2006
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/usr/local/var/log/Xorg.0.log", Time: Thu May 25 22:46:51 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(WW) The directory "/usr/local/lib/X11/fonts/misc/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/TTF/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/Type1/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/CID/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/75dpi/" does not exist.
	Entry deleted from font path.
(**) FontPath set to:
	/usr/pkg/lib/X11/fonts/misc/
(**) RgbPath set to "/usr/local/share/X11/rgb"
(**) ModulePath set to "/usr/local/lib/xorg/modules"
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 1.0
	X.Org XInput driver : 0.6
	X.Org Server Extension : 0.3
	X.Org Font Renderer : 0.5
(II) Loader running on netbsd
(II) LoadModule: "bitmap"
(II) Loading /usr/local/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/local/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.0
(--) Using wscons driver
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3123 card 1019,b320 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b091 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:10:0: chip 1106,3038 card 1019,b320 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:1: chip 1106,3038 card 1019,b320 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:3: chip 1106,3104 card 1019,b320 rev 82 class 0c,03,20 hdr 00
(II) PCI: 00:11:0: chip 1106,3177 card 1019,b320 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:5: chip 1106,3059 card 1019,b320 rev 50 class 04,01,00 hdr 00
(II) PCI: 00:11:6: chip 1106,3068 card 1019,b320 rev 80 class 07,80,00 hdr 00
(II) PCI: 00:12:0: chip 1106,3065 card 1019,b320 rev 74 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 1106,3122 card 1019,b320 rev 03 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xdde00000 - 0xdfefffff (0x2100000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xd5d00000 - 0xddcfffff (0x8000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) unknown vendor (0x1106) unknown chipset (0x3122) rev 3, Mem @
0xd8000000/26, 0xde000000/24, BIOS @ 0xdfef0000/16
(II) Addressable bus resource ranges are
	[0] -1	0	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xe0000000 from 0xffffffff to 0xdfffffff
(II) Active PCI resource ranges:
	[0] -1	0	0xdffffe00 - 0xdfffffff (0x200) MX[B]E
	[1] -1	0	0xdfffff00 - 0xdfffffff (0x100) MX[B]E
	[2] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[3] -1	0	0xdfef0000 - 0xdfefffff (0x10000) MX[B](B)
	[4] -1	0	0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
	[5] -1	0	0xd8000000 - 0xdbffffff (0x4000000) MX[B](B)
	[6] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]E
	[7] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[B]E
	[8] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[9] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[B]E
	[10] -1	0	0x0000ec00 - 0x0000ecff (0x100) IX[B]E
	[11] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
(II) PCI Memory resource overlap reduced 0xdffffe00 from 0xdfffffff to 0xdffffeff
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0xdffffe00 - 0xdffffeff (0x100) MX[B]E
	[1] -1	0	0xdfffff00 - 0xdfffffff (0x100) MX[B]E
	[2] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[3] -1	0	0xdfef0000 - 0xdfefffff (0x10000) MX[B](B)
	[4] -1	0	0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
	[5] -1	0	0xd8000000 - 0xdbffffff (0x4000000) MX[B](B)
	[6] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]E
	[7] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[B]E
	[8] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[9] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[B]E
	[10] -1	0	0x0000ec00 - 0x0000ecff (0x100) IX[B]E
	[11] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0xdffffe00 - 0xdffffeff (0x100) MX[B]E
	[5] -1	0	0xdfffff00 - 0xdfffffff (0x100) MX[B]E
	[6] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[7] -1	0	0xdfef0000 - 0xdfefffff (0x10000) MX[B](B)
	[8] -1	0	0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
	[9] -1	0	0xd8000000 - 0xdbffffff (0x4000000) MX[B](B)
	[10] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[11] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[12] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]E
	[13] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[B]E
	[14] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[15] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[B]E
	[16] -1	0	0x0000ec00 - 0x0000ecff (0x100) IX[B]E
	[17] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "record"
(II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "xtrap"
(II) Loading /usr/local/lib/xorg/modules/extensions/libxtrap.so
(II) Module xtrap: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DEC-XTRAP
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/local/lib/xorg/modules/netbsd/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "freetype"
(II) Loading /usr/local/lib/xorg/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 7.0.0, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "type1"
(II) Loading /usr/local/lib/xorg/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.2
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Type1
(II) LoadModule: "shadow"
(II) Loading /usr/local/lib/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.1.0
	ABI class: X.Org ANSI C Emulation, version 0.3
(II) LoadModule: "vga"
(II) Loading /usr/local/lib/xorg/modules/drivers/vga_drv.so
(II) Module vga: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 4.1.0
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.1.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.6
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.1.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.6
(II) VGA: Generic VGA driver (version 4.1) for chipsets: generic
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset generic found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0xdffffe00 - 0xdffffeff (0x100) MX[B]E
	[5] -1	0	0xdfffff00 - 0xdfffffff (0x100) MX[B]E
	[6] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[7] -1	0	0xdfef0000 - 0xdfefffff (0x10000) MX[B](B)
	[8] -1	0	0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
	[9] -1	0	0xd8000000 - 0xdbffffff (0x4000000) MX[B](B)
	[10] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[11] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[12] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]E
	[13] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[B]E
	[14] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[15] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[B]E
	[16] -1	0	0x0000ec00 - 0x0000ecff (0x100) IX[B]E
	[17] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
(II) resource ranges after probing:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0xdffffe00 - 0xdffffeff (0x100) MX[B]E
	[5] -1	0	0xdfffff00 - 0xdfffffff (0x100) MX[B]E
	[6] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[7] -1	0	0xdfef0000 - 0xdfefffff (0x10000) MX[B](B)
	[8] -1	0	0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
	[9] -1	0	0xd8000000 - 0xdbffffff (0x4000000) MX[B](B)
	[10] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[11] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[12] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[13] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[14] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[15] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]E
	[16] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[B]E
	[17] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[18] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[B]E
	[19] -1	0	0x0000ec00 - 0x0000ecff (0x100) IX[B]E
	[20] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
	[21] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[22] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/local/lib/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.0
(II) VGA(0): initializing int10.
(WW) VGA(0): remove MTRR a0000 - c0000
(WW) VGA(0): remove MTRR c0000 - 100000
(WW) VGA(0): Bad V_BIOS checksum
(II) VGA(0): Primary V_BIOS segment is: 0xc000
(WW) VGA(0): remove MTRR 0 - 1000
(WW) VGA(0): remove MTRR 0 - 1000
(==) VGA(0): Depth 4, (==) framebuffer bpp 4
(==) VGA(0): RGB weight 666
(==) VGA(0): Default visual is StaticColor
(==) VGA(0): Using gamma correction (1.0, 1.0, 1.0)
(==) VGA(0): videoRam: 256 kBytes.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/local/lib/xorg/modules/libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 0.1.0
	ABI class: X.Org Video Driver, version 1.0
(II) VGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) VGA(0): Monitor0: Using default hsync range of 28.00-33.00 kHz
(II) VGA(0): Monitor0: Using default vrefresh range of 43.00-72.00 Hz
(II) VGA(0): Clock range:  23.17 to  30.32 MHz
(II) VGA(0): Not using default mode "640x350" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "640x400" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "720x400" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "400x300" (hsync out of range)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "400x300" (hsync out of range)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "400x300" (hsync out of range)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1152x864" (insufficient memory for mode)
(II) VGA(0): Not using default mode "576x432" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1280x960" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1280x960" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x480" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1280x1024" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1280x1024" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1280x1024" (insufficient memory for mode)
(II) VGA(0): Not using default mode "640x512" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1600x1200" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x600" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) VGA(0): Not using default mode "896x672" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) VGA(0): Not using default mode "896x672" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) VGA(0): Not using default mode "928x696" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) VGA(0): Not using default mode "928x696" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) VGA(0): Not using default mode "960x720" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) VGA(0): Not using default mode "960x720" (insufficient memory for mode)
(II) VGA(0): Not using default mode "832x624" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "416x312" (hsync out of range)
(II) VGA(0): Not using default mode "1152x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "576x384" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1400x1050" (insufficient memory for mode)
(II) VGA(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1400x1050" (insufficient memory for mode)
(II) VGA(0): Not using default mode "700x525" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1600x1024" (insufficient memory for mode)
(II) VGA(0): Not using default mode "800x512" (bad mode clock/interlace/doublescan)
(II) VGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) VGA(0): Not using default mode "960x720" (insufficient memory for mode)
(II) VGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) VGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) VGA(0): Not using default mode "1024x768" (insufficient memory for mode)
(--) VGA(0): Virtual size is 640x480 (pitch 640)
(**) VGA(0): *Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) VGA(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync
-vsync
(==) VGA(0): DPI set to (75, 75)
(II) Loading sub module "xf4bpp"
(II) LoadModule: "xf4bpp"
(II) Loading /usr/local/lib/xorg/modules/libxf4bpp.so
(II) Module xf4bpp: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "xf1bpp"
(II) LoadModule: "xf1bpp"
(II) Loading /usr/local/lib/xorg/modules/libxf1bpp.so
(II) Module xf1bpp: vendor="X.Org Foundation"
	compiled for 7.0.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.3
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0	0xde000000 - 0xdeffffff (0x1000000) MS[B]
	[1] 0	0	0xd8000000 - 0xdbffffff (0x4000000) MS[B]
	[2] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[3] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[4] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[5] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[6] -1	0	0xdffffe00 - 0xdffffeff (0x100) MX[B]E
	[7] -1	0	0xdfffff00 - 0xdfffffff (0x100) MX[B]E
	[8] -1	0	0xe0000000 - 0xdfffffff (0x0) MX[B]EO
	[9] -1	0	0xdfef0000 - 0xdfefffff (0x10000) MX[B](B)
	[10] -1	0	0xde000000 - 0xdeffffff (0x1000000) MX[B](B)
	[11] -1	0	0xd8000000 - 0xdbffffff (0x4000000) MX[B](B)
	[12] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[13] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
	[14] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
	[15] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[16] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[17] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]E
	[18] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[B]E
	[19] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]E
	[20] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[B]E
	[21] -1	0	0x0000ec00 - 0x0000ecff (0x100) IX[B]E
	[22] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[B]E
	[23] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[24] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(WW) VGA(0): remove MTRR a0000 - b0000
(==) RandR enabled
(II) Setting vga for screen 0.
(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 XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "wsmouse"
(**) Mouse0: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/wsmouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
FreeFontPath: FPE "/usr/pkg/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.


(If you want my working via log output, let me know.)
Comment 1 Luc Verhaegen 2006-05-26 22:55:21 UTC
Since i just removed static dotclocks from the vga driver (for a range that is
the two possible dotclocks plus a margin) this probably belongs to me.

This graphics device is a VT3122 btw, as described on unichrome.sf.net, which is
the _only_ naming scheme that is useful and sane.

For starters: VGA compatibility is a fable, you should not be using it under any
circumstances. IBM defined H/VSync and H/VBlank in such a way that they can not
be expanded without breaking, and they are expanded on almost all hardware
available today. This means that the chances of you getting a working mode with
VGA are extremely small and that you should use the proper modesetting driver
for your graphics device.

I of course have a VT3122, and will verify this, but i do seem to recall that
only 320x240 (doublescan) was an accepted mode for the vga driver. But if it is
non-functional, then that's just what it is and chances of it getting fixed are
extremely small.
Comment 2 Luc Verhaegen 2006-05-26 22:56:32 UTC
Ah. I just scrolled over your pci listing: ECS G320. Of course you won't get a
working mode. What were you expecting?
Comment 3 Jeremy C. Reed 2006-05-27 01:35:51 UTC
> Ah. I just scrolled over your pci listing: ECS G320. Of course you won't get a
> working mode. What were you expecting?

I am expecting that the documentation, preferably the manual page, to have some
details about this.

It is a little confusing to me, since my NetBSD system also has a vga(4) which
is not X related which is in current usage. I assumed my system has a generic
VGA-compatible video card.

The xf86-video-vga vga(4) manual page says: "The vga driver supports most
VGA-compatible  video  cards.   There  are some known exceptions, and those
should be listed here."

Is my situation something that should be listed in the manual page?

Should the Xorg server using "vga" be allowed to run and just have a blank/black
screen while clients are running (but unusable)? This seems like a bug to me and
this bug report should not be resolved.

I'd expect at least some indication that X is not working -- such as Xorg
closing with a clear error message.

I am reopening this bug. I believe the fix should be either in documentation or
having xf86-video-vga cleanly exit when unusable.
Comment 4 Luc Verhaegen 2006-05-27 02:44:26 UTC
IMHO VGA is fundamentally broken on all recent hardware. Not everyone agrees.
People insist on using it as a final fallback. My VT3122 gets 320x200@8bpp (mode
13h) on the CRT np, but i know that this is by sheer luck only.

Also, VGA has no idea about output devices, the IBM PS/2 came with its own
dedicated monitor. It has no idea about how to deal with your unichrome when set
up to use the panel (scaler, some combination of primary/secondary/shadow,
backlight, etc).

If this driver is meant to be the final fallback, then you do not want to limit
its use. I personally never want to dump users into this driver at all, but I am
pretty much alone in that. As a VBE and BIOS hater, i currently would even
prefer to write a basic (non VBE) int10 driver than to keep on using VGA as the
final fallback. With a halfdecent VGA BIOS (which isn't a given), you would've
enjoyed 320x200@8bpp on your panel.

Should the manpage state the following then:
"VGA was introduced in 1987 and wasn't designed with extensibility in mind. You
can try this, but you might not get a mode at all, and there is no way for us to
tell wether or not you have a useful image. You have been warned."
Comment 5 Daniel Stone 2007-02-27 01:32:13 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.