On 2013-04-03 13:50, Gerd Hoffmann wrote:
>   Hi,
> 
>>> No, it is not, and yes, this is where the inconsistency comes 
>>> from.  We read wred+wgreen+wblue directly from the surface 
>>> whereas depth is cached in the vmware vga state struct.  Patch 
>>> attached.  Not fully tested yet.
>>
>> Unfortunately, this doesn't change the picture (except for the 
>> expected "vmsvga_value_read: Bad register 1c"). The 0x315 
>> workaround does indeed work.
> 
> Hmm, the patch fixes it for me (boot vesafb with 800x600 or 1024x768 @
> 16bpp, Xorg starts successfully) ...
> 
> Can I get a full X server log?

Here is the one without the patch (it no longer applies). If you want me
to rerun with that patch, please provide an update.

Thanks,
Jan

[   100.253] 
X.Org X Server 1.9.3
Release Date: 2010-12-13
[   100.254] X Protocol Version 11, Revision 0
[   100.255] Build Operating System: openSUSE SUSE LINUX
[   100.255] Current Operating System: Linux linux-zp8b 3.9.0-rc5-dbg+ #44 SMP Sun Apr 7 16:04:39 CEST 2013 x86_64
[   100.256] Kernel command line: root=/dev/sda2 resume=/dev/sda1 splash=silent quiet vga=0x314 memmap=65M$0x3bf00000
[   100.257] Build Date: 07 February 2012  04:30:59PM
[   100.258]  
[   100.258] Current version of pixman: 0.20.0
[   100.259] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   100.260] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   100.262] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 10 10:30:10 2013
[   100.263] (==) Using config file: "/etc/X11/xorg.conf"
[   100.264] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   100.265] (==) ServerLayout "Layout"
[   100.266] (**) |-->Screen "screen[0]" (0)
[   100.266] (**) |   |-->Monitor "monitor"
[   100.266] (**) |   |-->Device "cirrus"
[   100.266] (**) |-->Screen "screen[1]" (1)
[   100.266] (**) |   |-->Monitor "<default monitor>"
[   100.266] (**) |   |-->Device "vmware"
[   100.266] (==) No monitor specified for screen "screen[1]".
	Using a default monitor configuration.
[   100.266] (==) Automatically adding devices
[   100.266] (==) Automatically enabling devices
[   100.266] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   100.266] 	Entry deleted from font path.
[   100.266] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   100.266] 	Entry deleted from font path.
[   100.266] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
[   100.266] 	Entry deleted from font path.
[   100.266] (==) FontPath set to:
	/usr/share/fonts/misc:unscaled,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi:unscaled,
	/usr/share/fonts/75dpi:unscaled,
	/usr/share/fonts/URW/,
	/usr/share/fonts/cyrillic:unscaled,
	/usr/share/fonts/truetype/
[   100.266] (==) ModulePath set to "/usr/lib64/xorg/modules/updates,/usr/lib64/xorg/modules"
[   100.266] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   100.266] (II) Loader magic: 0x7dc800
[   100.266] (II) Module ABI versions:
[   100.266] 	X.Org ANSI C Emulation: 0.4
[   100.266] 	X.Org Video Driver: 8.0
[   100.266] 	X.Org XInput driver : 11.0
[   100.266] 	X.Org Server Extension : 4.0
[   100.278] (--) PCI:*(0:0:2:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xfd000000/16777216, 0xfe000000/65536, I/O @ 0x0000c050/16, BIOS @ 0x????????/65536
[   100.279] (II) Open ACPI successful (/var/run/acpid.socket)
[   100.279] (II) LoadModule: "extmod"
[   100.279] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[   100.280] (II) Module extmod: vendor="X.Org Foundation"
[   100.280] 	compiled for 1.9.3, module version = 1.0.0
[   100.280] 	Module class: X.Org Server Extension
[   100.280] 	ABI class: X.Org Server Extension, version 4.0
[   100.280] (II) Loading extension MIT-SCREEN-SAVER
[   100.280] (II) Loading extension XFree86-VidModeExtension
[   100.280] (II) Loading extension XFree86-DGA
[   100.280] (II) Loading extension DPMS
[   100.280] (II) Loading extension XVideo
[   100.280] (II) Loading extension XVideo-MotionCompensation
[   100.280] (II) Loading extension X-Resource
[   100.280] (II) LoadModule: "dbe"
[   100.280] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[   100.281] (II) Module dbe: vendor="X.Org Foundation"
[   100.281] 	compiled for 1.9.3, module version = 1.0.0
[   100.281] 	Module class: X.Org Server Extension
[   100.281] 	ABI class: X.Org Server Extension, version 4.0
[   100.281] (II) Loading extension DOUBLE-BUFFER
[   100.281] (II) LoadModule: "glx"
[   100.281] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   100.281] (II) Module glx: vendor="X.Org Foundation"
[   100.281] 	compiled for 1.9.3, module version = 1.0.0
[   100.281] 	ABI class: X.Org Server Extension, version 4.0
[   100.281] (==) AIGLX enabled
[   100.281] (II) Loading extension GLX
[   100.282] (II) LoadModule: "record"
[   100.282] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[   100.282] (II) Module record: vendor="X.Org Foundation"
[   100.282] 	compiled for 1.9.3, module version = 1.13.0
[   100.282] 	Module class: X.Org Server Extension
[   100.282] 	ABI class: X.Org Server Extension, version 4.0
[   100.282] (II) Loading extension RECORD
[   100.282] (II) LoadModule: "dri"
[   100.283] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[   100.283] (II) Module dri: vendor="X.Org Foundation"
[   100.283] 	compiled for 1.9.3, module version = 1.0.0
[   100.283] 	ABI class: X.Org Server Extension, version 4.0
[   100.283] (II) Loading extension XFree86-DRI
[   100.283] (II) LoadModule: "dri2"
[   100.284] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[   100.284] (II) Module dri2: vendor="X.Org Foundation"
[   100.284] 	compiled for 1.9.3, module version = 1.2.0
[   100.284] 	ABI class: X.Org Server Extension, version 4.0
[   100.284] (II) Loading extension DRI2
[   100.284] (II) LoadModule: "cirrus"
[   100.286] (II) Loading /usr/lib64/xorg/modules/drivers/cirrus_drv.so
[   100.286] (II) Module cirrus: vendor="X.Org Foundation"
[   100.286] 	compiled for 1.9.3, module version = 1.3.2
[   100.286] 	Module class: X.Org Video Driver
[   100.286] 	ABI class: X.Org Video Driver, version 8.0
[   100.286] (II) LoadModule: "vmware"
[   100.287] (II) Loading /usr/lib64/xorg/modules/drivers/vmware_drv.so
[   100.287] (II) Module vmware: vendor="X.Org Foundation"
[   100.287] 	compiled for 1.9.3, module version = 11.0.3
[   100.288] 	Module class: X.Org Video Driver
[   100.288] 	ABI class: X.Org Video Driver, version 8.0
[   100.288] (II) LoadModule: "vmwgfx"
[   100.290] (WW) Warning, couldn't open module vmwgfx
[   100.290] (II) UnloadModule: "vmwgfx"
[   100.290] (EE) Failed to load module "vmwgfx" (module does not exist, 0)
[   100.291] (EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
[   100.292] (II) vmware: Using vmwlegacy driver everything is fine.
[   100.292] (II) LoadModule: "vmwlegacy"
[   100.294] (II) Loading /usr/lib64/xorg/modules/drivers/vmwlegacy_drv.so
[   100.294] (II) Module vmwlegacy: vendor="X.Org Foundation"
[   100.294] 	compiled for 1.9.3, module version = 11.0.3
[   100.294] 	Module class: X.Org Video Driver
[   100.294] 	ABI class: X.Org Video Driver, version 8.0
[   100.294] (II) CIRRUS: driver for Cirrus chipsets: CLGD5430, CLGD5434-4, CLGD5434-8,
	CLGD5436, CLGD5446, CLGD5480, CL-GD5462, CL-GD5464, CL-GD5464BD,
	CL-GD5465, CL-GD7548
[   100.294] (II) vmwlegacy: driver for VMware SVGA: vmware0405, vmware0710
[   100.294] (--) using VT number 7

[   100.296] (WW) Falling back to old probe method for cirrus
[   100.296] (--) vmwlegacy(0): VMware SVGA regs at (0xc050, 0xc051)
[   100.296] (II) Loading sub module "vgahw"
[   100.296] (II) LoadModule: "vgahw"
[   100.297] (II) Loading /usr/lib64/xorg/modules/libvgahw.so
[   100.297] (II) Module vgahw: vendor="X.Org Foundation"
[   100.297] 	compiled for 1.9.3, module version = 0.1.0
[   100.297] 	ABI class: X.Org Video Driver, version 8.0
[   100.970] (--) vmwlegacy(0): caps:  0x00000003
[   100.970] (--) vmwlegacy(0): depth: 32
[   100.970] (--) vmwlegacy(0): bpp:   32
[   100.970] (--) vmwlegacy(0): vram:  16777216
[   100.970] (--) vmwlegacy(0): pbase: 0xfd000000
[   100.970] (--) vmwlegacy(0): mwidt: 2360
[   100.970] (--) vmwlegacy(0): mheig: 1770
[   100.970] (--) vmwlegacy(0): depth: 24
[   100.970] (--) vmwlegacy(0): bpp:   32
[   100.970] (--) vmwlegacy(0): w.red: 5
[   100.970] (--) vmwlegacy(0): w.grn: 6
[   100.970] (--) vmwlegacy(0): w.blu: 5
[   100.970] (--) vmwlegacy(0): vis:   4
[   100.970] (**) vmwlegacy(0): Depth 24, (--) framebuffer bpp 32
[   100.971] (==) vmwlegacy(0): RGB weight 565
[   100.971] (EE) vmwlegacy(0): Weight given (565) is inconsistent with the depth (24)
[   100.971] (II) UnloadModule: "vmwlegacy"
[   100.971] (II) UnloadModule: "vgahw"
[   100.971] (II) Unloading /usr/lib64/xorg/modules/libvgahw.so
[   100.971] (EE) Screen(s) found, but none have a usable configuration.
[   100.971] 
Fatal server error:
[   100.971] no screens found
[   100.971] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   100.971] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   100.971] 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to