Oops, I forgot to CC qemu-devel.
On Wed, 13 Sept 2023 at 15:06, Stefan Hajnoczi <stefa...@gmail.com> wrote:
>
> I can't start a qemu.git build with a GTK UI but -display vnc=:0 works:
>
> $ ./configure --target-list=x86_64-softmmu
> $ build/qemu-system-x86_64
> qemu-system-x86_64: ../ui/console.c:818: dpy_get_ui_info: Assertion
> `dpy_ui_info_supported(con)' failed.
>
> Here is the configure output:
> Build environment
> Build directory : /home/stefanha/qemu/build
> Source path : /home/stefanha/qemu
> Download dependencies : YES
>
> Directories
> Build directory : /home/stefanha/qemu/build
> Source path : /home/stefanha/qemu
> Download dependencies : YES
> Install prefix : /usr/local
> BIOS directory : share/qemu
> firmware path : share/qemu-firmware
> binary directory : /usr/local/bin
> library directory : /usr/local/lib64
> module directory : lib64/qemu
> libexec directory : /usr/local/libexec
> include directory : /usr/local/include
> config directory : /usr/local/etc
> local state directory : /var/local
> Manual directory : /usr/local/share/man
> Doc directory : /usr/local/share/doc
>
> Host binaries
> python :
> /home/stefanha/qemu/build/pyvenv/bin/python3 (version: 3.11)
> sphinx-build :
> /home/stefanha/qemu/build/pyvenv/bin/sphinx-build
> gdb : /usr/bin/gdb
> iasl : NO
> genisoimage : /usr/bin/genisoimage
> smbd : /usr/sbin/smbd
>
> Configurable features
> Documentation : YES
> system-mode emulation : YES
> user-mode emulation : NO
> block layer : YES
> Install blobs : YES
> module support : NO
> fuzzing support : NO
> Audio drivers : pa oss
> Trace backends : log
> D-Bus display : YES
> QOM debugging : YES
> vhost-kernel support : YES
> vhost-net support : YES
> vhost-user support : YES
> vhost-user-crypto support : YES
> vhost-user-blk server support : YES
> vhost-vdpa support : YES
> build guest agent : YES
>
> Compilation
> host CPU : x86_64
> host endianness : little
> C compiler : cc -m64 -mcx16
> Host C compiler : cc -m64 -mcx16
> C++ compiler : NO
> CFLAGS : -g -O2
> QEMU_CFLAGS : -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing
> -fno-common -fwrapv -fstack-protector-strong -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=2
> QEMU_LDFLAGS :
> -fstack-protector-strong -Wl,-z,relro -Wl,-z,now -Wl,--warn-common
> link-time optimization (LTO) : NO
> PIE : YES
> static build : NO
> malloc trim support : YES
> membarrier : NO
> debug graph lock : NO
> debug stack usage : NO
> mutex debugging : NO
> memory allocator : system
> avx2 optimization : YES
> avx512bw optimization : YES
> avx512f optimization : NO
> gprof : NO
> gcov : NO
> thread sanitizer : NO
> CFI support : NO
> strip binaries : NO
> sparse : NO
> mingw32 support : NO
>
> Cross compilers
> x86_64 : cc
>
> Targets and accelerators
> KVM support : YES
> HVF support : NO
> WHPX support : NO
> NVMM support : NO
> Xen support : NO
> Xen emulation : YES
> TCG support : YES
> TCG backend : native (x86_64)
> TCG plugins : YES
> TCG debug enabled : NO
> target list : x86_64-softmmu
> default devices : YES
> out of process emulation : YES
> vfio-user server : NO
>
> Block layer support
> coroutine backend : ucontext
> coroutine pool : YES
> Block whitelist (rw) :
> Block whitelist (ro) :
> Use block whitelist in tools : NO
> VirtFS (9P) support : YES
> VirtFS (9P) Proxy Helper support (deprecated): YES
> Live block migration : YES
> replication support : YES
> bochs support : YES
> cloop support : YES
> dmg support : YES
> qcow v1 support : YES
> vdi support : YES
> vhdx support : YES
> vmdk support : YES
> vpc support : YES
> vvfat support : YES
> qed support : YES
> parallels support : YES
> FUSE exports : YES 3.14.1
> VDUSE block exports : YES
>
> Crypto
> TLS priority : NORMAL
> GNUTLS support : YES 3.8.1
> GNUTLS crypto : YES
> libgcrypt : NO
> nettle : NO
> AF_ALG support : NO
> rng-none : NO
> Linux keyring : YES
>
> User interface
> SDL support : YES 2.26.3
> SDL image support : YES 2.6.3
> GTK support : YES
> pixman : YES 0.42.2
> VTE support : YES 0.72.2
> PNG support : YES 1.6.37
> VNC support : YES
> VNC SASL support : YES
> VNC JPEG support : YES 2.1.4
> spice protocol support : YES 0.14.4
> spice server support : YES 0.15.1
> curses support : YES
> brlapi support : YES
>
> Audio backends
> OSS support : YES
> sndio support : NO
> ALSA support : YES 1.2.10
> PulseAudio support : YES 16.1
> PipeWire support : YES 0.3.79
> JACK support : YES 1.9.17
>
> Network backends
> slirp support : YES 4.7.0
> vde support : NO
> netmap support : NO
> l2tpv3 support : YES
>
> Dependencies
> libtasn1 : YES 4.19.0
> PAM : YES
> iconv support : YES
> virgl support : YES 0.10.4
> blkio support : YES 1.2.2
> curl support : YES 8.0.1
> Multipath support : YES
> Linux AIO support : YES
> Linux io_uring support : YES 2.4
> ATTR/XATTR support : YES
> RDMA support : NO
> PVRDMA support : NO
> fdt support : system
> libcap-ng support : YES
> bpf support : YES 1.1.0
> rbd support : NO
> smartcard support : YES 2.8.1
> U2F support : NO
> libusb : YES 1.0.26
> usb net redir : YES 0.13.0
> OpenGL support (epoxy) : YES 1.5.10
> GBM : YES 23.1.6
> libiscsi support : YES 1.19.0
> libnfs support : YES 4.0.0
> seccomp support : YES 2.5.3
> GlusterFS support : YES 7.11.0
> TPM support : YES
> libssh support : YES 0.10.5
> lzo support : YES
> snappy support : YES
> bzip2 support : YES
> lzfse support : NO
> zstd support : YES 1.5.5
> NUMA host support : NO
> capstone : YES 4.0.2
> libpmem support : NO
> libdaxctl support : YES 78
> libudev : YES 253
> FUSE lseek : YES
> selinux : YES 3.5
> libdw : YES 0.189
>
> Subprojects
> berkeley-softfloat-3 : YES
> berkeley-testfloat-3 : YES
> keycodemapdb : YES
> libvduse : YES
> libvhost-user : YES
>
> User defined options
> Native files : config-meson.cross
> prefix : /usr/local
> werror : true
> docs : enabled
> plugins : true
>
> Stefan