[Spice-devel] lots of what looks like "memory issues" to me but I don't know enough to understand the messages...

Graeme V graeme.freedesktop at vetterlein.com
Fri Oct 9 07:37:47 PDT 2015


OK, I created an Xorg.conf , by doing:


Xorg -configure

I edited the file and placed it in /etc/X11/xorg.conf. The edited 
section was:


Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
         ### <percent>: "<f>%"
         ### [arg]: arg optional
         #Option     "EnableImageCache"       # [<bool>]
         #Option     "EnableFallbackCache"     # [<bool>]
         #Option     "EnableSurfaces"         # [<bool>]
         Option      "EnableSurfaces"            "False"   # On seems to 
cause lots of O-O-M issues
         #Option     "DebugRenderFallbacks"     # [<bool>]
         #Option     "NumHeads"               # <i>
         #Option     "SpiceDeferredFPS"       # <i>
     Identifier  "Card0"
     Driver      "qxl"
     BusID       "PCI:0:2:0"
EndSection

And indeed this seems to remove the errors from the log:

Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)

Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:48:48 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)
Oct  9 13:49:06 HDSjessie gdm-Xorg-:0[546]: qxl_surface_create: Bad bpp: 
1 (1)

These messages are now gone from syslog, In Xorg.o.log I see:

[     1.096] (II) [KMS] drm report modesetting isn't supported.
[     1.096] (==) qxl(0): Depth 24, (--) framebuffer bpp 32
[     1.096] (==) qxl(0): RGB weight 888
[     1.096] (==) qxl(0): Default visual is TrueColor
[     1.096] (==) qxl(0): Using gamma correction (1.0, 1.0, 1.0)
[     1.096] (**) qxl(0): Option "EnableSurfaces" "False"
[     1.096] (II) qxl(0): Deferred Frames: Disabled
[     1.096] (II) qxl(0): Offscreen Surfaces: Disabled
[     1.096] (II) qxl(0): Image Cache: Enabled
[     1.096] (II) qxl(0): Fallback Cache: Enabled
[     1.097] (II) qxl(0): framebuffer at 0x7f1f65d84000 (16384 KB)
[     1.097] (II) qxl(0): command ram at 0x7f1f66d84000 (49144 KB)
[     1.097] (II) qxl(0): vram at 0x7f1f61d84000 (65536 KB)
[     1.097] (II) qxl(0): rom at 0x7f1f6ff74000
[     1.097] resizing surface0 to 16777216
[     1.097] memory space from 0x7f1f66d84000 to 0x7f1f69d81000
[     1.097] memory space from 0x7f1f61d84000 to 0x7f1f65d84000
[     1.097] (II) qxl(0): Device version 0.0
[     1.097] (II) qxl(0): Compression level 0, log level 0
[     1.097] (II) qxl(0): 12286 io pages at 0x7f1f65d84000
[     1.097] (II) qxl(0): RAM header offset: 0x3ffe000
[     1.097] (II) qxl(0): Correct RAM signature 41525851
[     1.097] (II) qxl(0): 49140 KB of video RAM
[     1.097] (II) qxl(0): 1024 surfaces
[     1.097] (II) qxl(0): Output qxl-0 using monitor section Monitor0
[     1.097] (II) qxl(0): Output qxl-1 has no monitor section
[     1.097] (II) qxl(0): Output qxl-2 has no monitor section
[     1.097] (II) qxl(0): Output qxl-3 has no monitor section

I guess my question is:

1: This was the default setup created by jessie "virtual-manager" ...it 
had no Xorg.conf (the norm nowadays)
2: The SPICE / VNC / QXL display  is limited to 65Mb
3: The QXL display driver (in the default setup) seems to use more than 65Mb


Just seems that some default is wrong here? If the limit of 65mb is set 
then why do the options use more than 65Mb
(I assume it's the QXL driver default?)


--

Graeme









More information about the Spice-devel mailing list