Re: [kde-freebsd] KDE freezes while shutting down

2012-03-09 Thread Jerry
On Fri, 9 Mar 2012 00:58:03 +0100
Alberto Villa articulated:

 MPlayer doesn't use Phonon. What does it happen if you go to Phonon 
 configuration and test playback?

Could you be a little more specific as to exactly what you want me to
do? :)

Thanks!

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__



signature.asc
Description: PGP signature
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE freezes while shutting down

2012-03-09 Thread Mel Flynn
On 3/9/2012 12:15, Jerry wrote:
 On Fri, 9 Mar 2012 00:58:03 +0100
 Alberto Villa articulated:
 
 MPlayer doesn't use Phonon. What does it happen if you go to Phonon 
 configuration and test playback?
 
 Could you be a little more specific as to exactly what you want me to
 do? :)

KDE Menu = System Settings = Multimedia
On the left bar: Phonon
On Device Preference, 2nd column: Audio Playback = Notifications
[ ] Check if an Audio Playback Device Preference is listed
[ ] Select the device and check if clicking the Test button plays a
sound
On Backend tab, make sure Gstreamer is available and highest ranking
(aka default).
-- 
Mel
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/KDE/deskutils

2012-03-09 Thread Max Brazhnikov
SVN commit 8076 by makc:

Increase PORTREVISION

 M  +1 -0  kdepim44-runtime/Makefile  
 M  +1 -1  kdepim44/Makefile  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/KDE/misc

2012-03-09 Thread Max Brazhnikov
SVN commit 8077 by makc:

IGNORE l10ns not included in KDE SC 4.8.1. In principle we can build
old version, but since switching to xz compressed distfiles, it
would require some workarounds which break uniformity of l10n ports.


 M  +3 -1  kde4-l10n-eo/Makefile  
 M  +1 -1  kde4-l10n-fy/Makefile  
 M  +1 -1  kde4-l10n-ml/Makefile  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE freezes while shutting down

2012-03-09 Thread Jerry
On Fri, 09 Mar 2012 12:29:57 +0100
Mel Flynn articulated:

 On 3/9/2012 12:15, Jerry wrote:
  On Fri, 9 Mar 2012 00:58:03 +0100
  Alberto Villa articulated:
  
  MPlayer doesn't use Phonon. What does it happen if you go to
  Phonon configuration and test playback?
  
  Could you be a little more specific as to exactly what you want me
  to do? :)
 
 KDE Menu = System Settings = Multimedia
 On the left bar: Phonon
 On Device Preference, 2nd column: Audio Playback = Notifications
 [ ] Check if an Audio Playback Device Preference is listed
 [ ] Select the device and check if clicking the Test button plays a
 sound
 On Backend tab, make sure Gstreamer is available and highest
 ranking (aka default).

OK, I have seven devices listed -- /dev/dsp0 to /dev/dsp6. I tested
each possibility and they all failed.

Quality sound reproduction has always been a problem with FreeBSD, but
this phenomenon of it suddenly failing to work is becoming a real PIA.
Obviously, the speakers and sound card are OK since mPlayer can play
music through them.

Unless you have any other ideas, I will just have to live with this BS
until FreeBSD-9.1 is released. I never mess with a version x.0 of
anything -- almost anyway.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
Good news.  Ten weeks from Friday will be a pretty good day.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE freezes while shutting down

2012-03-09 Thread Mel Flynn
On 3/9/2012 13:28, Jerry wrote:
 On Fri, 09 Mar 2012 12:29:57 +0100
 Mel Flynn articulated:
 
 On 3/9/2012 12:15, Jerry wrote:
 On Fri, 9 Mar 2012 00:58:03 +0100
 Alberto Villa articulated:

 MPlayer doesn't use Phonon. What does it happen if you go to
 Phonon configuration and test playback?

 Could you be a little more specific as to exactly what you want me
 to do? :)

 KDE Menu = System Settings = Multimedia
 On the left bar: Phonon
 On Device Preference, 2nd column: Audio Playback = Notifications
 [ ] Check if an Audio Playback Device Preference is listed
 [ ] Select the device and check if clicking the Test button plays a
 sound
 On Backend tab, make sure Gstreamer is available and highest
 ranking (aka default).
 
 OK, I have seven devices listed -- /dev/dsp0 to /dev/dsp6. I tested
 each possibility and they all failed.

Is that really dsp0 through 6 or dsp0.0 through dsp0.6?
Do these devices exist in /dev/?
Output of /dev/sndstat?
-- 
Mel
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Thu, Feb 16, 2012 at 10:10 PM, Axel Gonzalez l...@e-shell.net wrote:
 This little patches fix the problems in kde-games without tweaking the sysctl
 kern.ipc.shm_allow_removed

No, it doesn't. :(

It might fix Qt 4.7 maybe, but Qt 4.8 switched to raster graphics
system by default, and thus relies heavily on shared memory. With or
without the patches (I even tried forcing deletion of memory segments)
the size of used shared memory ries quickly (with one KDE activity i
have ~70 segments used, with two they are ~130), and the problem is
back again. Even with kern.ipc.shm_allow_removed=1 and some kern.ipc
limits increased.

I then tried to export QT_GRAPHICSSYSTEM=native (via ~/.kde4/env/),
and things started working again. Unfortunately, there are two
problems with this:
1. we can make KDE set that variable in the environment, but Qt
applications running outside of KDE Workspace will be just broken;
2. apparently, they made native graphics systems slower (probably to
enhance the raster one), so the system is now a bit sluggish (while
raster, until it worked, looked fast).

Then: we *must* fix raster graphics system. LooX, did you get any
interesting result with your sysctl tweaking (I remember you said on
IRC you have the same problem)? Can you paste the output of `ipcs -m`
and `sysctl kern.ipc` after being logged in for a while?
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Fri, Mar 9, 2012 at 1:57 PM, Alberto Villa avi...@freebsd.org wrote:
 It might fix Qt 4.7 maybe, but Qt 4.8 switched to raster graphics
 system by default, and thus relies heavily on shared memory. With or
 without the patches (I even tried forcing deletion of memory segments)
 the size of used shared memory ries quickly (with one KDE activity i
 have ~70 segments used, with two they are ~130), and the problem is
 back again. Even with kern.ipc.shm_allow_removed=1 and some kern.ipc
 limits increased.

By the way, I started Marble a while ago, and closed it almost
immediately. Its memory segments are still alive. Is this really
expected?
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] KDE freezes while shutting down

2012-03-09 Thread Jerry
On Fri, 09 Mar 2012 13:45:17 +0100
Mel Flynn articulated:

 On 3/9/2012 13:28, Jerry wrote:
  On Fri, 09 Mar 2012 12:29:57 +0100
  Mel Flynn articulated:
  
  On 3/9/2012 12:15, Jerry wrote:
  On Fri, 9 Mar 2012 00:58:03 +0100
  Alberto Villa articulated:
 
  MPlayer doesn't use Phonon. What does it happen if you go to
  Phonon configuration and test playback?
 
  Could you be a little more specific as to exactly what you want me
  to do? :)
 
  KDE Menu = System Settings = Multimedia
  On the left bar: Phonon
  On Device Preference, 2nd column: Audio Playback = Notifications
  [ ] Check if an Audio Playback Device Preference is listed
  [ ] Select the device and check if clicking the Test button plays a
  sound
  On Backend tab, make sure Gstreamer is available and highest
  ranking (aka default).
  
  OK, I have seven devices listed -- /dev/dsp0 to /dev/dsp6. I tested
  each possibility and they all failed.
 
 Is that really dsp0 through 6 or dsp0.0 through dsp0.6?
 Do these devices exist in /dev/?
 Output of /dev/sndstat?

more /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: HDA NVidia GT220 HDMI PCM #0 DisplayPort (play)
pcm1: HDA NVidia GT220 HDMI PCM #0 DisplayPort (play)
pcm2: HDA NVidia GT220 HDMI PCM #0 DisplayPort (play)
pcm3: HDA NVidia GT220 HDMI PCM #0 DisplayPort (play)
pcm4: HDA Realtek ALC883 PCM #0 Analog (play/rec) default
pcm5: HDA Realtek ALC883 PCM #1 Analog (play/rec)
pcm6: HDA Realtek ALC883 PCM #2 Digital (play)

The ports are listed exactly as I stated, i.e /dev/dsp0, etcetera in
the settings menu. The actual listing in the /dev folder is:

crw-rw-rw-   1 rootwheel   0, 135 2012-03-09 05:45:52 EST dsp0.0


crw-rw-rw-   1 rootwheel   0, 140 2012-03-09 08:27:29 EST dsp0.1


crw-rw-rw-   1 rootwheel   0, 146 2012-03-09 05:45:43 EST dsp1.1
crw-rw-rw-   1 rootwheel   0, 136 2012-03-09 07:15:34 EST dsp2.0
crw-rw-rw-   1 rootwheel   0, 150 2012-03-09 05:45:43 EST dsp3.1
crw-rw-rw-   1 rootwheel   0, 145 2012-03-09 08:19:29 EST dsp4.0
crw-rw-rw-   1 rootwheel   0, 138 2012-03-09 07:16:35 EST dsp5.0
crw-rw-rw-   1 rootwheel   0, 137 2012-03-09 07:15:52 EST dsp6.0

I created an .xsession-errors file. It is located at this URL:
http://seibercom.net/logs/.xsession-errors. I hope you can make
something out of it. This is becoming extremely annoying.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/KDE/deskutils

2012-03-09 Thread Max Brazhnikov
SVN commit 8078 by makc:

kdepim-runtime is not required to build kdepim, move it to RUN_DEPENDS 
Adjust conflicts

 M  +1 -2  kdepim4-runtime/Makefile  
 M  +3 -5  kdepim4/Makefile  
 M  +1 -1  kdepim44-runtime/Makefile  
 M  +3 -4  kdepim44/Makefile  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/KDE/deskutils/kdepim4

2012-03-09 Thread Max Brazhnikov
SVN commit 8079 by makc:

Fix plist

 M  +4 -0  pkg-plist  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Fri, Mar 9, 2012 at 1:57 PM, Alberto Villa avi...@freebsd.org wrote:
 Then: we *must* fix raster graphics system. LooX, did you get any
 interesting result with your sysctl tweaking (I remember you said on
 IRC you have the same problem)? Can you paste the output of `ipcs -m`
 and `sysctl kern.ipc` after being logged in for a while?

OK, I played with kern.ipc.shm* with a bit more wisdom and I think I
see the solution.

First thing first: I don't get why Marble and KDE-Games were not
working with Qt 4.7. Can anyone with Qt 4.7 please...

# sysctl kern.ipc.shm_allow_removed=0
$ marble 
$ kajongg 
$ ipcs -am  $logfile
$ killall marble
$ killall kajongg
$ ipcs -am  $logfile
$ ipcs -M  $logfile

... and attach $logfile? Should you want to repeat it with
kern.ipc.shm_allow_removed=1, it would be nice.

Now, the problem is not with shmmax or shmall (which set a size limit
to shared memory) - or, at least, it's not for me, as if you are short
of memory those tunables might be a bit low (I have 4 GB of RAM and
they're set to 500 MB). Anyway, setting those to low values should not
be a problem, apart for reduced performance. I'll test it.

The problem is with the limit to shared memory segments: shmmni, which
is the maximum allowed number of memory identifiers (i.e., segments on
the system), and shmseg, which is the same thing, but per-process.
These were set to about 1xx (I don't remember), but Plasma alone needs
~130 after 15 minutes of system usage with two KDE activities. Now add
all other programs: with Amarok, Konsole and Rekonq I'm using 173 of
them, and each instance of Dragon Player playing a movie requires 60
more (but Marble, for example, only needs 4, that's why I don't
understand why it was failing on Qt 4.7). The system knows the memory
limit is far away (shmall), tries to allocate a new identifier, and
fails. I wonder why it doesn't behave more smartly.
To conclude, I've set 256 for both those tunables, but it's not enough
yet (with the two Dragon Players i got over 250, and one of them
stopped working): shmmni probably can't be less than 512, while smhseg
at 256 looks quite safe.

For those of you thinking Do I really want to have so high limits?,
my current shared memory usage, with 173 segments, is of 27 MB, so
it's not insane at all. And don't remember you're still limited by
shmall and shmmax, which won't let shared memory go over shmall * 4 kB
(while shmmax is the limit to segment size).

All of this is with kern.ipc.shm_allow_removed=0, and raster graphics
system is running smoothly.
So, just add kern.ipc.shmmni=512 and kern.ipc.shmseg=256 to
/boot/loader.conf, and experiment with those if you have problems
(remember to report your results).

Now, I've written my experience to help anyone testing Qt 4.8, but we
need to get in touch with some src/ people to ask for confirmation of
my analysis, and for resonable values.
This is surely something PC-BSD is interested in, and probably these
tunables should be added to sane desktop defaults along with
kern.sched.preempt_thresh=224. I'll forward the mail to desktop@.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Fri, Mar 9, 2012 at 4:20 PM, Alberto Villa avi...@freebsd.org wrote:
 All of this is with kern.ipc.shm_allow_removed=0, and raster graphics
 system is running smoothly.

Oh, and without LooX's patches.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Mel Flynn
On 3/9/2012 16:20, Alberto Villa wrote:

 The problem is with the limit to shared memory segments: shmmni, which
 is the maximum allowed number of memory identifiers (i.e., segments on
 the system), and shmseg, which is the same thing, but per-process.
 These were set to about 1xx (I don't remember), but Plasma alone needs
 ~130 after 15 minutes of system usage with two KDE activities. Now add
 all other programs: with Amarok, Konsole and Rekonq I'm using 173 of
 them, and each instance of Dragon Player playing a movie requires 60
 more (but Marble, for example, only needs 4, that's why I don't
 understand why it was failing on Qt 4.7). The system knows the memory
 limit is far away (shmall), tries to allocate a new identifier, and
 fails. I wonder why it doesn't behave more smartly.

I'm wondering two different things:
1) Why are we using semaphore locks?
Traced this down to missing POSIX_THREAD_PROCESS_SHARED support
(basically, the pthread_mutexattr_setpshared POSIX function).

2) Could missing support of anonymous semaphores be the root cause? In
other words, has anyone looked into:
https://git.reviewboard.kde.org/r/102147/

It makes sense to me that if we're unable to use KSDC that each program
creates it's own segments and we're consuming more then we should be.
-- 
Mel
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Fri, Mar 9, 2012 at 5:55 PM, Mel Flynn rfl...@acsalaska.net wrote:
 I'm wondering two different things:
 1) Why are we using semaphore locks?
 Traced this down to missing POSIX_THREAD_PROCESS_SHARED support
 (basically, the pthread_mutexattr_setpshared POSIX function).

 2) Could missing support of anonymous semaphores be the root cause? In
 other words, has anyone looked into:
 https://git.reviewboard.kde.org/r/102147/

 It makes sense to me that if we're unable to use KSDC that each program
 creates it's own segments and we're consuming more then we should be.

If you're talking only about KSDC, yes, it was me who implemented
semaphore support a couple of years ago (it has changed quite a bit
since then). As far as I remember, starting from FreeBSD 9.X KSDC
works fine with anonymous semaphores. I had an idea to write an
implementation with named semaphores for 8.X, but never started. Also,
I think that pshared locks were added to FreeBSD, but sysconf feature
line wasn't updated. I'll search my archives.

Anyway, this cannot be the cause of the problems as 9.X and 10.X have
a fully working KSDC.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] [SVN Commit] area51/KDE/x11/kde4-workspace/files

2012-03-09 Thread Raphael Kubo da Costa
SVN commit 8080 by rakuco:

kde4-workspace: Update the genkdmconf.c patch.

I finally upstreamed the right fix, adjust the patch to my git commit
upstream.

This won't be needed anymore when 4.8.2 is released.



 M  +30 -25patch-kdm-kfrontend-genkdmconf.c  


___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Mel Flynn
On 3/9/2012 20:32, Alberto Villa wrote:
 On Fri, Mar 9, 2012 at 5:55 PM, Mel Flynn rfl...@acsalaska.net wrote:
 I'm wondering two different things:
 1) Why are we using semaphore locks?
 Traced this down to missing POSIX_THREAD_PROCESS_SHARED support
 (basically, the pthread_mutexattr_setpshared POSIX function).

 2) Could missing support of anonymous semaphores be the root cause? In
 other words, has anyone looked into:
 https://git.reviewboard.kde.org/r/102147/

 It makes sense to me that if we're unable to use KSDC that each program
 creates it's own segments and we're consuming more then we should be.
 
 If you're talking only about KSDC, yes, it was me who implemented
 semaphore support a couple of years ago (it has changed quite a bit
 since then). As far as I remember, starting from FreeBSD 9.X KSDC
 works fine with anonymous semaphores. I had an idea to write an
 implementation with named semaphores for 8.X, but never started. Also,
 I think that pshared locks were added to FreeBSD, but sysconf feature
 line wasn't updated. I'll search my archives.
 
 Anyway, this cannot be the cause of the problems as 9.X and 10.X have
 a fully working KSDC.

Yet, in the log at http://seibercom.net/logs/.xsession-errors the lock
not supported message appears and he's supposedly on 9.0, so I wonder if
that is the cause of his phonon problems or that semaphore locks still
don't work on 9.0. Either way I'm going to make the apple patch FreeBSD
specific and see how my 8.2+kdelibs-4.7.4 is going to hold up.

-- 
Mel
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Fri, Mar 9, 2012 at 9:17 PM, Mel Flynn rfl...@acsalaska.net wrote:
 Yet, in the log at http://seibercom.net/logs/.xsession-errors the lock
 not supported message appears and he's supposedly on 9.0, so I wonder if
 that is the cause of his phonon problems or that semaphore locks still
 don't work on 9.0. Either way I'm going to make the apple patch FreeBSD
 specific and see how my 8.2+kdelibs-4.7.4 is going to hold up.

KDE has been working fine even without KSDC. That cannot be the real
problem, not the Phonon one at least (KSDC is used only for pixmaps as
far as I remember). But it's better if we don't mix threads. :)
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Fri, Mar 9, 2012 at 9:17 PM, Mel Flynn rfl...@acsalaska.net wrote:
 Yet, in the log at http://seibercom.net/logs/.xsession-errors the lock
 not supported message appears and he's supposedly on 9.0, so I wonder if
 that is the cause of his phonon problems or that semaphore locks still
 don't work on 9.0.

By the way, he's using 8.2.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Mel Flynn
On 3/9/2012 16:20, Alberto Villa wrote:
 On Fri, Mar 9, 2012 at 1:57 PM, Alberto Villa avi...@freebsd.org wrote:
 Then: we *must* fix raster graphics system. LooX, did you get any
 interesting result with your sysctl tweaking (I remember you said on
 IRC you have the same problem)? Can you paste the output of `ipcs -m`
 and `sysctl kern.ipc` after being logged in for a while?
 
 OK, I played with kern.ipc.shm* with a bit more wisdom and I think I
 see the solution.
 
 First thing first: I don't get why Marble and KDE-Games were not
 working with Qt 4.7. Can anyone with Qt 4.7 please...
 
 # sysctl kern.ipc.shm_allow_removed=0
 $ marble 
 $ kajongg 
 $ ipcs -am  $logfile
 $ killall marble
 $ killall kajongg
 $ ipcs -am  $logfile
 $ ipcs -M  $logfile
 
 ... and attach $logfile? Should you want to repeat it with
 kern.ipc.shm_allow_removed=1, it would be nice.

Attached, though I think the more interesting part is what you get on
stderr (see marble.{dis,}allowed.txt).
-- 
Mel
Shared Memory:
T   ID  KEY MODEOWNERGROUPCREATOR  CGROUP   
  NATTCHSEGSZ CPID LPID ATIMEDTIMECTIME   
m   7208960 --rwarwarwa root wheelroot wheel
   2   7864327551861747  9:38:57 12:42:15  9:38:57
m   6553610 --rwarwarwa root wheelroot wheel
   2 40967551861747  9:38:57 12:42:15  9:38:57
m   6553620 --rwarwarwa root wheelroot wheel
   2 81927551861747  9:38:57 12:42:15  9:38:57
m   6553630 --rwarwarwa root wheelroot wheel
   2122887551861747  9:38:57 12:42:15  9:38:57
m   6553640 --rwarwarwa root wheelroot wheel
   2163847551861747  9:38:57 12:42:15  9:38:57
m   6553650 --rwarwarwa root wheelroot wheel
   2204807551861747  9:38:57 12:42:15  9:38:57
m   6553660 --rwarwarwa root wheelroot wheel
   2245767551861747  9:38:57 12:42:15  9:38:57
m   6553670 --rwarwarwa root wheelroot wheel
   2286727551861747  9:38:57 12:42:15  9:38:57
m   6553680 --rwarwarwa root wheelroot wheel
   2327687551861747  9:38:57 12:42:15  9:38:57
m   6553690 --rwarwarwa root wheelroot wheel
   2368647551861747  9:38:57 12:42:15  9:38:57
m   6553700 --rwarwarwa root wheelroot wheel
   2409607551861747  9:38:57 12:42:15  9:38:57
m   6553710 --rwarwarwa root wheelroot wheel
   2450567551861747  9:38:57 12:42:15  9:38:57
m   6553720 --rwarwarwa root wheelroot wheel
   2491527551861747  9:38:57 12:42:15  9:38:57
m   6553730 --rwarwarwa root wheelroot wheel
   2532487551861747  9:38:57 12:42:15  9:38:57
m   6553740 --rwarwarwa root wheelroot wheel
   2573447551861747  9:38:57 12:42:15  9:38:57
m   6553750 --rwarwarwa root wheelroot wheel
   2614407551861747  9:38:57 12:42:15  9:38:57
m   6553760 --rwarwarwa root wheelroot wheel
   2655367551861747  9:38:57 12:42:15  9:38:57
m   6553770 --rwarwarwa root wheelroot wheel
   2696327551861747  9:38:57 12:42:15  9:38:57
m   6553780 --rwarwarwa root wheelroot wheel
   2737287551861747  9:38:57 12:42:15  9:38:57
m   6553790 --rwarwarwa root wheelroot wheel
   2778247551861747  9:38:57 12:42:15  9:38:57
m   6553800 --rwarwarwa root wheelroot wheel
   2819207551861747  9:38:57 12:42:15  9:38:57
m   6553810 --rwarwarwa root wheelroot wheel
   2860167551861747  9:38:57 12:42:15  9:38:57
m   6553820 --rwarwarwa root wheelroot wheel
   2901127551861747  9:38:57 12:42:15  9:38:57
m   6553830 --rwarwarwa root wheelroot wheel
   2942087551861747  9:38:57 12:42:15  9:38:57
m   6553840 --rwarwarwa root wheelroot wheel
   2   

Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Fri, Mar 9, 2012 at 9:54 PM, Mel Flynn rfl...@acsalaska.net wrote:
 Attached, though I think the more interesting part is what you get on
 stderr (see marble.{dis,}allowed.txt).

You're on 8.2, right? Then that is expected.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


Re: [kde-freebsd] [CFT] kde-games fix for (invalid shared segment parameter)

2012-03-09 Thread Alberto Villa
On Fri, Mar 9, 2012 at 5:09 PM, Oliver Heesakkers
oli...@heesakkers.info wrote:
 Starting marble was OK, , just a few errors but after starting kmahjongg the
 terminal got spammed continuously with similar kind of errors:
 X Error: BadShmSeg (invalid shared segment parameter) 159
  Extension:    142 (MIT-SHM)
  Minor opcode: 3 (X_ShmPutImage)
  Resource id:  0x5600015

 Should you want to repeat it with
 kern.ipc.shm_allow_removed=1, it would be nice.


 No such errors

Thanks. I think that LooX's patch is part of the solution, but we also
need to increase those two limits.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information