Re: how to enable shared memory?

2011-07-24 Thread Ekkard Gerlach
shared memory is indeed enabled with  net start cygserver !
Starting "kuickshow" graphics viewer in a little bit newer 
version 0.8.13 instead of 0.8.6 works! 
The uncommented arguments enable shared memory, in WinXP 
"Services" there ist a cygserver serice started with 
net start cygserver. When I stop it in WinXP Services 
the kuickshow picture become black again, thats the proof. 
Unfortunately kuickshow in version 0.8.6 (Suse 9.2) 
doesn't work with cygwin share memory, maybe the older
X-System of Suse 9.2 (xorg-6.8.1 ) ist the fault, I don't understand
much of that.

Perhaps somebody here has a further idea.

Thx to all for all who participated, thx for help!

Ekkard

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: how to enable shared memory?

2011-07-24 Thread Christopher Faylor
On Sat, Jul 23, 2011 at 10:42:48PM -0400, Eliot Moss wrote:
>On 7/23/2011 6:25 PM, Ekkard Gerlach wrote:
>> I found some stuff on my own:
>>
>> searching "missing cygrunsrv" with google leaded me to a
>> not installed package cygrunsrv. I started setup.exe again,
>> selected the Admin ->  cygrunsrv and installed the package.
>>
>> Now cygserver-config runs, asked me whether to start cygserver
>> as service. I don't know why, I want to enabel shared memory only.
>
>While I am not knowledgeable in the details, I can (I hope)
>clear up that point: cygwin shm support requires a background
>server to help in the implementation.

Also, cygrunsrv != cygserver.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: how to enable shared memory?

2011-07-23 Thread Eliot Moss

On 7/23/2011 6:25 PM, Ekkard Gerlach wrote:

I found some stuff on my own:

searching "missing cygrunsrv" with google leaded me to a
not installed package cygrunsrv. I started setup.exe again,
selected the Admin ->  cygrunsrv and installed the package.

Now cygserver-config runs, asked me whether to start cygserver
as service. I don't know why, I want to enabel shared memory only.


While I am not knowledgeable in the details, I can (I hope)
clear up that point: cygwin shm support requires a background
server to help in the implementation.

Regard -- Eliot Moss


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: how to enable shared memory?

2011-07-23 Thread Ekkard Gerlach
I found some stuff on my own:

searching "missing cygrunsrv" with google leaded me to a 
not installed package cygrunsrv. I started setup.exe again, 
selected the Admin -> cygrunsrv and installed the package. 

Now cygserver-config runs, asked me whether to start cygserver
as service. I don't know why, I want to enabel shared memory only. 
The skript telled me to have generated /etc/cygserver.conf. 
I lookes at it: lots of options concerning shared mem. But 
I don't understand .. 

I uncommented some shared and shm stuff:

kern.srv.sharedmem yes

kern.ipc.shmmaxpgs 8192
kern.ipc.shmmni 192
kern.ipc.shmseg 128

After I stared cygwin again with startx -- -multiwindow  , 
I typed "xhost +" so that kuickshow from a linux-Server
can be displayed. But kuickshow png and jpg rest black. 

The script cygserver-config  proposed me to start cygserver
as service. The cygserver within den cygserver as service??
I don't understand. But I did so: 

net start cygserver
or
cygrunsrv -S cygserver

was proposed, I took net start cygserver  within a cygwin terminal. 
I got success messages. What is now better than before?

I started kuickshow from linux server again. But png and jpg
are still displayed black.

Is shared memory enabled now? How can I detect settings?
What have I to do to enabled shared memory?


thx!
Ekkard



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/