[Spice-devel] Out of surface in Xorg.0.log
Frédéric Grelot
fredericg_99 at yahoo.fr
Sun Jul 3 05:17:50 PDT 2011
Hi all,
I've been using spice for quite a long time, but I hit a problem quite recently.
My setup is as follow :
host : Fedora15+virt-preview
guest : Fedora15+virt-preview, qxl drivers installed with standard yum, Gnome3 "in standard fallback mode"
client : Fedora15+virt-preview, with vinagre
everything up-to-date
qemu command line :
/usr/bin/qemu-kvm -S -M pc-0.14 -enable-kvm -m 4096 -smp 2,sockets=2,cores=1,threads=1 -name spice-f15 -uuid /**/ -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/spice-f15.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -boot order=c,menu=off -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/dev/raid/vm_spice_f15,if=none,id=drive-virtio-disk0,boot=on,format=raw,cache=writeback -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0 -netdev tap,fd=23,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=/***/,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -usb -device usb-tablet,id=input0 -spice port=5935,addr=0.0.0.0,disable-ticketing -vga qxl -global qxl-vga.vram_size=67108864 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7
I noticed that after some use time, UI becomes suddently very slow. I was using Firefox in the guest, but closing it didn't change anything. I finally found that the Xorg.0.log shows lots "Out of surface" (in the worst case, more than 10/seconds).
A long time ago in the log, I found this (by searching for the first occurence of "Out of Surface") :
[ 658.897] - 1th attempt
[ 658.897] - OOM at 1846 46 24
[ 658.897] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 658.907] - 2th attempt
[ 658.907] - OOM at 1846 46 24
[ 658.907] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 658.918] - 3th attempt
[ 658.918] - OOM at 1846 46 24
[ 658.918] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 658.930] Out of video memory: Could not allocate 347048 bytes
[ 662.915] - 0th attempt
[ 662.915] - OOM at 1846 46 24
[ 662.915] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 662.926] - 1th attempt
[ 662.926] - OOM at 1846 46 24
[ 662.926] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 662.936] - 2th attempt
[ 662.936] - OOM at 1846 46 24
[ 662.936] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 662.948] - 3th attempt
[ 662.948] - OOM at 1846 46 24
[ 662.949] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 662.961] - 4th attempt
[ 662.961] - OOM at 1846 46 24
[ 662.961] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 662.973] Out of video memory: Could not allocate 347048 bytes
[ 662.997] - 0th attempt
[ 662.997] - OOM at 1846 46 24
[ 662.997] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 663.009] - 1th attempt
[ 663.009] - OOM at 1846 46 24
[ 663.009] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 663.021] - 2th attempt
[ 663.021] - OOM at 1846 46 24
[ 663.021] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 663.033] Out of video memory: Could not allocate 347048 bytes
[ 664.525] - 0th attempt
[ 664.525] - OOM at 1846 46 24
[ 664.525] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 664.536] - 1th attempt
[ 664.536] - OOM at 1846 46 24
[ 664.536] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 664.548] - 2th attempt
[ 664.548] - OOM at 1846 46 24
[ 664.548] Cache contents: null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null 836 828 864 874 847 895 1016 890 857 893 878 896 858 866 835 1014 921 843 total: 18
[ 664.560] Out of video memory: Could not allocate 347048 bytes
[ 664.762] Out of surfaces
[ 664.802] Out of surfaces
And then, the Out of surfaces messages repeats almost endlessly.
Is that a known bug, or should I fill in a report?
Frederic.
More information about the Spice-devel
mailing list