From: Jan Kiszka <jan.kiszka@web.de>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Igor Mitsyanko <i.mitsyanko@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation
Date: Wed, 10 Apr 2013 10:31:34 +0200 [thread overview]
Message-ID: <51652366.5000404@web.de> (raw)
In-Reply-To: <515C1774.3020709@redhat.com>
[-- Attachment #1.1: Type: text/plain, Size: 767 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: Xorg.0.log --]
[-- Type: text/x-log; name="Xorg.0.log", Size: 8889 bytes --]
[ 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
next prev parent reply other threads:[~2013-04-10 8:31 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 10:32 [Qemu-devel] [PATCH 00/18] console: data structures overhaul Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 01/18] console: fix displaychangelisteners interface Gerd Hoffmann
2013-03-18 17:49 ` Niel van der Westhuizen
2013-03-18 18:00 ` Peter Maydell
2013-03-12 10:32 ` [Qemu-devel] [PATCH 02/18] console: kill DisplayState->opaque Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 03/18] spice: zap sdpy global Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 04/18] qxl: zap qxl0 global Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 05/18] qxl: better vga init in enter_vga_mode Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 06/18] sdl: drop dead code Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 07/18] console: rework DisplaySurface handling [vga emu side] Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 08/18] console: rework DisplaySurface handling [dcl/ui side] Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 09/18] console: add surface_*() getters Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 10/18] gtk: stop using DisplayState Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 11/18] vnc: " Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 12/18] sdl: " Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 13/18] spice: " Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 14/18] cocoa: " Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 15/18] console: zap displaystate from dcl callbacks Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation Gerd Hoffmann
2013-03-25 7:50 ` Jan Kiszka
2013-03-25 7:55 ` Gerd Hoffmann
2013-03-25 7:59 ` Jan Kiszka
2013-03-25 8:21 ` Gerd Hoffmann
2013-03-25 8:28 ` Jan Kiszka
2013-03-25 8:39 ` Gerd Hoffmann
2013-03-25 8:40 ` Jan Kiszka
2013-03-25 9:10 ` Gerd Hoffmann
2013-03-25 9:32 ` Jan Kiszka
2013-03-25 9:48 ` Gerd Hoffmann
2013-03-25 9:55 ` Jan Kiszka
2013-03-25 10:00 ` Jan Kiszka
2013-03-25 10:37 ` Gerd Hoffmann
[not found] ` <5150572D.6090201@gmail.com>
2013-03-25 13:56 ` Igor Mitsyanko
2013-03-25 20:30 ` Gerd Hoffmann
2013-03-26 0:02 ` BALATON Zoltan
2013-03-26 8:26 ` Jan Kiszka
2013-04-03 11:50 ` Gerd Hoffmann
2013-04-10 8:31 ` Jan Kiszka [this message]
2013-04-16 7:42 ` Gerd Hoffmann
2013-04-20 14:04 ` Jan Kiszka
2013-03-12 10:32 ` [Qemu-devel] [PATCH 17/18] console: zap color_table Gerd Hoffmann
2013-03-12 10:32 ` [Qemu-devel] [PATCH 18/18] console: remove ds_get_* helper functions Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51652366.5000404@web.de \
--to=jan.kiszka@web.de \
--cc=i.mitsyanko@gmail.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).