Petr Sumbera wrote:
> I have problem with graphical application under Wine 
> (http://blogs.sun.com/psum/entry/my_favorite_windows_photo_application) which 
> quite often fails with following error:
>
> X Error of failed request:  BadAccess (attempt to access private resource 
> denied)
>   Major opcode of failed request:  147 (MIT-SHM)
>   Minor opcode of failed request:  3 (X_ShmPutImage)
>   Serial number of failed request:  579030
>   Current serial number in output stream:  579031
>
> When I disable MIT-SHM as followed in my xorg.conf, It will run fine:
>
> Section "Extensions"
>         Option "MIT-SHM" "no"
> EndSection
>
> Any idea where is the problem?
>
>   
Run "ipcs -m" to see how many shm segments are already allocated.

Run "echo shminfo_shmmax | mdb -k" to see how big a shm segment can be.
We started seeing a lot of the above errors when we switched the desktop
default from 8 to 24 bit (32 bits/pixel).  The default wasn't enough for
32 bit/pixel images.


Reply via email to