[kde-freebsd] Re: qt4 raster graphics rendering is broken

Oliver Heesakkers kdefreebsd at heesakkers.info
Thu Jan 20 22:16:48 CET 2011


On Thursday 20 January 2011 19:34:53 David Demelier wrote:
> Hello,
> 
> It seems that the Qt4 raster graphic system is broken under FreeBSD. If 
> you have Qt4 installed try :
> 
> qtconfig-qt4 -graphicssystem raster
> 
> This will result in a “blank” window with some errors :
> 
> X Error: BadAccess (attempt to access private resource denied) 10
>    Extension:    139 (MIT-SHM)
>    Minor opcode: 1 (X_ShmAttach)
>    Resource id:  0x14d
> X Error: BadShmSeg (invalid shared segment parameter) 146
>    Extension:    139 (MIT-SHM)
>    Minor opcode: 3 (X_ShmPutImage)
>    Resource id:  0x240000a
> X Error: BadShmSeg (invalid shared segment parameter) 146
>    Extension:    139 (MIT-SHM)
>    Minor opcode: 3 (X_ShmPutImage)
>    Resource id:  0x240000a
> X Error: BadShmSeg (invalid shared segment parameter) 146
>    Extension:    139 (MIT-SHM)
>    Minor opcode: 3 (X_ShmPutImage)
>    Resource id:  0x240000a
> X Error: BadShmSeg (invalid shared segment parameter) 146
>    Extension:    139 (MIT-SHM)
>    Minor opcode: 2 (X_ShmDetach)
>    Resource id:  0x240000a

I have no problem running the command as suggested.

Set 
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
kern.ipc.shm_allow_removed=1

and try again. I tweak these settings on most of my systems for a
variety of reasons.


More information about the kde-freebsd mailing list