Wine and XShm support

Reece Dunn msclrhd at
Mon Aug 10 16:39:13 CDT 2009

2009/8/10 Roderick Colenbrander <thunderbird2k at>:
> On Mon, Aug 10, 2009 at 10:24 AM, Henri Verbeet<hverbeet at> wrote:
>> 2009/8/9 Roderick Colenbrander <thunderbird2k at>:
>>> I would perhaps suggest that we should perhaps drop XShm support (or
>>> at least add a registry key for it and disable it perhaps on 'modern
>>> drivers'). What do you guys think?
>> Could you do some benchmarking? You can disable XShm support by
>> passing "--without-xshm" to configure.
> It would be useful if some people using Nvidia, intel or EXA based
> drivers could compare the results of the test app attached to this
> mail with and without XShm. A test on ATI fglrx is not useful at this
> point because it doesn't use an EXA-like architecture yet and they
> don't accelerate XRender in hardware yet.

$ uname -a
Linux rowan 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC
2009 i686 GNU/Linux

$ lsb_release -i -r -s

$ cpuid | grep brand
Extended brand string: "Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz"

$ lspci | grep nVidia
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GS (rev a1)

$ nvidia-settings -q all | grep Driver
  Attribute 'NvidiaDriverVersion' (rowan:0.0): 180.44

$ gcc --version
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3

$ ossinfo
Version info: OSS 4.1 (b 1052/200903240610) (0x00040100)
Platform: Linux/i686 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30
19:49:51 UTC 2009 (rowan)

NOTE: Not using pulseaudio!

$ ./wine --version

$ ./configure --without-xshm && make && ./wine
stretchblt 1.0xStretch counts/blit=57
stretchblt 2xStretch counts/blit=596
stretchblt 1.0xStretch counts/blit=61
stretchblt 2xStretch counts/blit=633

$ ./configure --with-xshm && make && ./wine
stretchblt 1.0xStretch counts/blit=57
stretchblt 2xStretch counts/blit=589
stretchblt 1.0xStretch counts/blit=63
stretchblt 2xStretch counts/blit=632

Anything else you want me to try?

More information about the wine-devel mailing list