Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-07-03 Thread Erich Dollansky
Hi,

On Tuesday, July 03, 2012 02:09:08 AM Nikolay Tychina wrote:
 2012/7/2 Erich Dollansky erichfreebsdl...@ovitrap.com:
  On Monday, July 02, 2012 04:32:41 PM Nikolay Tychina wrote:
   FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #9: Sun Jul  
   1 15:34:52 WIT 2012
 
  Could you please backup ~/.kde4 and start it once again?
  My system seems to be quite the same as yours but KDE behaves differently.
 
  I moved .kde4 out of the way, edited .xinitrc and came to the same result. 
  The only difference was that KDE did some 'migration' and was real slow 
  coming up.
 
  Stupid question. When did you compile the ports the last time? Could it be 
  that your KDE is a bit too old?
 
  My installation is pretty fresh as I just replaced the hard disk.
 
= I compiled fresh CURRENT and fresh ports right after, all this appox.
 the day before I mailed first message.
 BTW, CPU is Intel Celeron G530 and maybe that's relevant. Will do some
 googling about it.


this makes a real difference. The Celeron should not have the GPU integrated. 
You have to find out now where the GPU is and of what type it is. Some are 
supported by KMS, others are not supported.

Still, you said before that the other window managers start properly. So, your 
problem should not be related to hardware.

I also have now no real idea what could be the cause of the problem.

Erich
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-07-02 Thread Nikolay Tychina
 FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #9: Sun Jul  1 
 15:34:52 WIT 2012

 But the sources are one day older.

 And did you start KDE with no previous configuration available?

 No, as I have started KDE before. I should not have had a configuration when 
 I started it for the first time. I am not able to tell you if I started KDE 
 while this machine was on VESA.

 Is Composite enabled in your xorg.conf?

 My xorg.conf:

 Section Files
 ModulePath  /usr/local/lib/xorg/modules
 FontPath/usr/local/lib/X11/fonts/misc/
 FontPath/usr/local/lib/X11/fonts/TTF/
 FontPath/usr/local/lib/X11/fonts/OTF
 FontPath/usr/local/lib/X11/fonts/Type1/
 FontPath/usr/local/lib/X11/fonts/100dpi/
 FontPath/usr/local/lib/X11/fonts/75dpi/
 FontPath/usr/local/lib/X11/fonts/dejavu/
 FontPath/usr/local/lib/X11/fonts/WindowsFonts/
 FontPath/usr/local/lib/X11/fonts/Windows-7-Fonts/
 EndSection

 Section Module
 Load  extmod
 Load  record
 Load  dbe
 Load  glx
 Load  dri
 Load  dri2
 Loadfreetype
 EndSection

 Erich



Could you please backup ~/.kde4 and start it once again?
My system seems to be quite the same as yours but KDE behaves differently.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-07-02 Thread Erich Dollansky
Hi,

On Monday, July 02, 2012 04:32:41 PM Nikolay Tychina wrote:
  FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #9: Sun Jul  1 
  15:34:52 WIT 2012
 
 Could you please backup ~/.kde4 and start it once again?
 My system seems to be quite the same as yours but KDE behaves differently.

I moved .kde4 out of the way, edited .xinitrc and came to the same result. The 
only difference was that KDE did some 'migration' and was real slow coming up.

Stupid question. When did you compile the ports the last time? Could it be that 
your KDE is a bit too old?

My installation is pretty fresh as I just replaced the hard disk.

Erich
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-07-02 Thread Nikolay Tychina
2012/7/2 Erich Dollansky erichfreebsdl...@ovitrap.com:
 Hi,

 On Monday, July 02, 2012 04:32:41 PM Nikolay Tychina wrote:
  FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #9: Sun Jul  1 
  15:34:52 WIT 2012

 Could you please backup ~/.kde4 and start it once again?
 My system seems to be quite the same as yours but KDE behaves differently.

 I moved .kde4 out of the way, edited .xinitrc and came to the same result. 
 The only difference was that KDE did some 'migration' and was real slow 
 coming up.

 Stupid question. When did you compile the ports the last time? Could it be 
 that your KDE is a bit too old?

 My installation is pretty fresh as I just replaced the hard disk.

 Erich

I compiled fresh CURRENT and fresh ports right after, all this appox.
the day before I mailed first message.
BTW, CPU is Intel Celeron G530 and maybe that's relevant. Will do some
googling about it.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-07-02 Thread Matthias Apitz
El día Monday, July 02, 2012 a las 10:09:08PM +0300, Nikolay Tychina escribió:

 I compiled fresh CURRENT and fresh ports right after, all this appox.
 the day before I mailed first message.
 BTW, CPU is Intel Celeron G530 and maybe that's relevant. Will do some
 googling about it.

Maybe it would also help to SSH into the box to see what proc is waiting
for what or doing CPU loop.

HIH

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-07-01 Thread Nikolay Tychina
2012/7/1 Erich Dollansky er...@alogreentechnologies.com:
 Hi,

 On Sunday, July 01, 2012 12:24:57 AM Nikolay Tychina wrote:
   I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
   ready to use it with new Intel driver, but
   after I kldloaded i915kms.ko and started X, KDE just hung up at its
   splash screen after displaying its logo (last icon). Then screen got
   blank with only a movable mouse cursor on it.
   Any ideas?
 
  Do other window managers work? Is anything useful reported on the
  console (in case you use startx and log the output of startkde4
  somewhere)?
 
  KDE started one time for me without problems.
 
  Did you upgrade to the latest 10 sources?
 
  As I do not use KDE, I did not test it any further.
 
  One side note, X does not start always successfully with Intel KMS. My 
  X220 freezes then but I cannot check with a second machine then.
 
  I would suggest the same as Nikolay that you start testing with a very 
  simple window manager like blackbox or whatever you like.

 I just started KDE for you and it worked. Here are the details:

 KDE 4.8.3

 Starting X is done by a script:

 sudo kldload i915kms
 sudo kldload acpi_call
 sudo chmod 666 /dev/acpi
 startx

 .xinitrc looks like this (after deleting the comments):

 xset m 10 3
 xmodmap .xmodmaprc
 exec /usr/local/bin/startkde

 I only started konqueror to open FreeBSD.org. It worked as expected.

 Erich

Hi Erich!

Thank you for taking the time for this non-momentary action. Are you
running CURRENT?
And did you start KDE with no previous configuration available?
Is Composite enabled in your xorg.conf?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-07-01 Thread Erich Dollansky
Hi,

On Sunday, July 01, 2012 11:03:41 PM Nikolay Tychina wrote:
 2012/7/1 Erich Dollansky er...@alogreentechnologies.com:
  I just started KDE for you and it worked. Here are the details:
 
  KDE 4.8.3
 
  Starting X is done by a script:
 
  sudo kldload i915kms
  sudo kldload acpi_call
  sudo chmod 666 /dev/acpi
  startx
 
  .xinitrc looks like this (after deleting the comments):
 
  xset m 10 3
  xmodmap .xmodmaprc
  exec /usr/local/bin/startkde
 
  I only started konqueror to open FreeBSD.org. It worked as expected.
 
 
 Thank you for taking the time for this non-momentary action. Are you
 running CURRENT?

Yes:

FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #9: Sun Jul  1 
15:34:52 WIT 2012

But the sources are one day older.

 And did you start KDE with no previous configuration available?

No, as I have started KDE before. I should not have had a configuration when I 
started it for the first time. I am not able to tell you if I started KDE while 
this machine was on VESA.

 Is Composite enabled in your xorg.conf?

My xorg.conf:

Section Files
ModulePath  /usr/local/lib/xorg/modules
FontPath/usr/local/lib/X11/fonts/misc/
FontPath/usr/local/lib/X11/fonts/TTF/ 
FontPath/usr/local/lib/X11/fonts/OTF  
FontPath/usr/local/lib/X11/fonts/Type1/
FontPath/usr/local/lib/X11/fonts/100dpi/
FontPath/usr/local/lib/X11/fonts/75dpi/ 
FontPath/usr/local/lib/X11/fonts/dejavu/
FontPath/usr/local/lib/X11/fonts/WindowsFonts/
FontPath/usr/local/lib/X11/fonts/Windows-7-Fonts/
EndSection

Section Module
Load  extmod
Load  record
Load  dbe
Load  glx
Load  dri
Load  dri2
Loadfreetype
EndSection

Erich
 
 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-30 Thread Nikolay Tychina
  I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
  ready to use it with new Intel driver, but
  after I kldloaded i915kms.ko and started X, KDE just hung up at its
  splash screen after displaying its logo (last icon). Then screen got
  blank with only a movable mouse cursor on it.
  Any ideas?

 Do other window managers work? Is anything useful reported on the
 console (in case you use startx and log the output of startkde4
 somewhere)?

 KDE started one time for me without problems.

 Did you upgrade to the latest 10 sources?

 As I do not use KDE, I did not test it any further.

 One side note, X does not start always successfully with Intel KMS. My X220 
 freezes then but I cannot check with a second machine then.

 I would suggest the same as Nikolay that you start testing with a very simple 
 window manager like blackbox or whatever you like.

 Erich

Window Maker works fine without any modifications to default
xorg.conf, and twm also works.
I didn't notice anything useful when I logged output with `script' command.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-30 Thread Erich Dollansky
Hi,

On Sunday, July 01, 2012 12:24:57 AM Nikolay Tychina wrote:
   I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
   ready to use it with new Intel driver, but
   after I kldloaded i915kms.ko and started X, KDE just hung up at its
   splash screen after displaying its logo (last icon). Then screen got
   blank with only a movable mouse cursor on it.
   Any ideas?
 
  Do other window managers work? Is anything useful reported on the
  console (in case you use startx and log the output of startkde4
  somewhere)?
 
  KDE started one time for me without problems.
 
  Did you upgrade to the latest 10 sources?
 
  As I do not use KDE, I did not test it any further.
 
  One side note, X does not start always successfully with Intel KMS. My X220 
  freezes then but I cannot check with a second machine then.
 
  I would suggest the same as Nikolay that you start testing with a very 
  simple window manager like blackbox or whatever you like.

I just started KDE for you and it worked. Here are the details:

KDE 4.8.3

Starting X is done by a script:

sudo kldload i915kms
sudo kldload acpi_call
sudo chmod 666 /dev/acpi
startx

.xinitrc looks like this (after deleting the comments):

xset m 10 3
xmodmap .xmodmaprc
exec /usr/local/bin/startkde

I only started konqueror to open FreeBSD.org. It worked as expected.

Erich
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-29 Thread Nikolay Tychina
Hi!

I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
ready to use it with new Intel driver, but
after I kldloaded i915kms.ko and started X, KDE just hung up at its
splash screen after displaying its logo (last icon). Then screen got
blank with only a movable mouse cursor on it.
Any ideas?

Nikolay
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-29 Thread Raphael Kubo da Costa
Nikolay Tychina niktych...@gmail.com writes:

 I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
 ready to use it with new Intel driver, but
 after I kldloaded i915kms.ko and started X, KDE just hung up at its
 splash screen after displaying its logo (last icon). Then screen got
 blank with only a movable mouse cursor on it.
 Any ideas?

Do other window managers work? Is anything useful reported on the
console (in case you use startx and log the output of startkde4
somewhere)?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-29 Thread Nikolay Tychina
I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
ready to use it with new Intel driver, but
after I kldloaded i915kms.ko and started X, KDE just hung up at its
splash screen after displaying its logo (last icon). Then screen got
blank with only a movable mouse cursor on it.

I disabled Composite extension in xorg.conf and KDE started fine. No
effects though.
Is there an issue with Intel driver or X or anything else?
Everything seems to work quite well, but I'm just curious.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-29 Thread Kevin Oberman
On Fri, Jun 29, 2012 at 6:15 AM, Nikolay Tychina niktych...@gmail.com wrote:
I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
ready to use it with new Intel driver, but
after I kldloaded i915kms.ko and started X, KDE just hung up at its
splash screen after displaying its logo (last icon). Then screen got
blank with only a movable mouse cursor on it.

 I disabled Composite extension in xorg.conf and KDE started fine. No
 effects though.
 Is there an issue with Intel driver or X or anything else?
 Everything seems to work quite well, but I'm just curious.

While this may or may not be the issue, you should not EVER kldload
i915kms.ko! This WILL result in a hung system. You should start X
normally (startx or via ?dm) and Xorg will load all of the required
modules. I believe that this is in the wiki.

Oh, and on't EVER kldunload it, either.It is definitely documented
that this will panic the system.

Several people have posted this problem on two or three different
lists.(I am was almost one of them.)
--
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-29 Thread Raphael Kubo da Costa
Nikolay Tychina niktych...@gmail.com writes:

I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
ready to use it with new Intel driver, but
after I kldloaded i915kms.ko and started X, KDE just hung up at its
splash screen after displaying its logo (last icon). Then screen got
blank with only a movable mouse cursor on it.

 I disabled Composite extension in xorg.conf and KDE started fine. No
 effects though.
 Is there an issue with Intel driver or X or anything else?
 Everything seems to work quite well, but I'm just curious.

Hmm, I'm not even using a xorg.conf right now, and things seem to be
working fine with 9-STABLE and KMS.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-29 Thread Nikolay Tychina
Interesting, last time I checked FreeBSD Wiki on Intel_GPU, it was
saying 'kldload i915kms  startx'.
Anyway, the system never hung up after I many times followed the instruction,
it's just KDE isn't able to finish its startup.

2012/6/29 Kevin Oberman kob6...@gmail.com:
 On Fri, Jun 29, 2012 at 6:15 AM, Nikolay Tychina niktych...@gmail.com wrote:
I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
ready to use it with new Intel driver, but
after I kldloaded i915kms.ko and started X, KDE just hung up at its
splash screen after displaying its logo (last icon). Then screen got
blank with only a movable mouse cursor on it.

 I disabled Composite extension in xorg.conf and KDE started fine. No
 effects though.
 Is there an issue with Intel driver or X or anything else?
 Everything seems to work quite well, but I'm just curious.

 While this may or may not be the issue, you should not EVER kldload
 i915kms.ko! This WILL result in a hung system. You should start X
 normally (startx or via ?dm) and Xorg will load all of the required
 modules. I believe that this is in the wiki.

 Oh, and on't EVER kldunload it, either.It is definitely documented
 that this will panic the system.

 Several people have posted this problem on two or three different
 lists.(I am was almost one of them.)
 --
 R. Kevin Oberman, Network Engineer
 E-mail: kob6...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-29 Thread Kevin Oberman
On Fri, Jun 29, 2012 at 2:02 PM, Nikolay Tychina niktych...@gmail.com wrote:
 Interesting, last time I checked FreeBSD Wiki on Intel_GPU, it was
 saying 'kldload i915kms  startx'.
 Anyway, the system never hung up after I many times followed the instruction,
 it's just KDE isn't able to finish its startup.

 2012/6/29 Kevin Oberman kob6...@gmail.com:
 On Fri, Jun 29, 2012 at 6:15 AM, Nikolay Tychina niktych...@gmail.com 
 wrote:
I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
ready to use it with new Intel driver, but
after I kldloaded i915kms.ko and started X, KDE just hung up at its
splash screen after displaying its logo (last icon). Then screen got
blank with only a movable mouse cursor on it.

 I disabled Composite extension in xorg.conf and KDE started fine. No
 effects though.
 Is there an issue with Intel driver or X or anything else?
 Everything seems to work quite well, but I'm just curious.

 While this may or may not be the issue, you should not EVER kldload
 i915kms.ko! This WILL result in a hung system. You should start X
 normally (startx or via ?dm) and Xorg will load all of the required
 modules. I believe that this is in the wiki.

 Oh, and on't EVER kldunload it, either.It is definitely documented
 that this will panic the system.

 Several people have posted this problem on two or three different
 lists.(I am was almost one of them.)
 --
 R. Kevin Oberman, Network Engineer
 E-mail: kob6...@gmail.com

From hte Intel_GPU wiki:
Use startx to let ddx driver load the right kernel module. Set sysctl
hw.dri.debug=0 to reduce verbosity of the driver at runtime.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: KDE 4 hangs at splash screen when using KMS enabled 10-CURRENT

2012-06-29 Thread Erich Dollansky
Hi,

On Friday, June 29, 2012 07:47:59 PM Raphael Kubo da Costa wrote:
 Nikolay Tychina niktych...@gmail.com writes:
 
  I freshly built x11/xorg and x11/kde4 on FreeBSD 10-CURRENT and was
  ready to use it with new Intel driver, but
  after I kldloaded i915kms.ko and started X, KDE just hung up at its
  splash screen after displaying its logo (last icon). Then screen got
  blank with only a movable mouse cursor on it.
  Any ideas?
 
 Do other window managers work? Is anything useful reported on the
 console (in case you use startx and log the output of startkde4
 somewhere)?

KDE started one time for me without problems.

Did you upgrade to the latest 10 sources?

As I do not use KDE, I did not test it any further.

One side note, X does not start always successfully with Intel KMS. My X220 
freezes then but I cannot check with a second machine then.

I would suggest the same as Nikolay that you start testing with a very simple 
window manager like blackbox or whatever you like.

Erich
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


kipi plugins for kde 4

2011-02-06 Thread ajtiM
I tried to update kipi-plugin for kde4  1.8.0,1 but I got after 100% success 
of built that I need firs deinstall kdegraphics4 and than reinstall portt.
What is the problem with this version, please? Do I need to deinstall 
kdegraphics4 and install kipi-plugin? Or is smothing wron with plugin?

Thanks in advance.



Mitja

http://jpgmag.com/people/lumiwa
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Minor fix for KDE 4 monitor screen saver/power save nit

2009-02-06 Thread Lawrence Stewart

Hi All,

KDE 4.1.4 (and I believe KDE 4.2.0) has an issue with krunner that stops
the monitor from dropping into power save mode if the screen saver kicks
in before the power save timeout. This bugged me sufficiently to find a 
fix, so thought I'd share this in case this issue is bugging anyone else.


The relevant KDE bug report is here:
http://bugs.kde.org/show_bug.cgi?id=165265

I've backported the fix from the 4.2 tree for KDE 4.1.4. Stick the 
attached patch in /usr/ports/x11/kdebase4-workspace/files and 
rebuild/reinstall the port.


For KDE 4.2.0, the patch obtained by running:
svn diff -c916964 svn://anonsvn.kde.org/home/kde/branches/KDE/4.2/kdebase

should work with some minor tweaks to the patch meta data. Same 
procedure applies as for 4.1.4.


I've confirmed the attached patch resolves the issue for 4.1.4.

Cheers,
Lawrence
Index: ../krunner/lock/lockprocess.cc
===
--- ../krunner/lock/lockprocess.cc.orig (revision 916963)
+++ ../krunner/lock/lockprocess.cc  (revision 916964)
@@ -1104,7 +1104,6 @@
 return; // no resuming with dialog visible or when not visible
 if( mSuspended  mHackProc.state() == QProcess::Running )
 {
-XForceScreenSaver(QX11Info::display(), ScreenSaverReset );
 QPainter p( this );
 p.drawPixmap( 0, 0, mSavedScreen );
 p.end();
Index: ../krunner/xautolock.cpp
===
--- ../krunner/xautolock.cpp.orig   2008-08-28 18:07:00.0 +1000
+++ ../krunner/xautolock.cpp2009-02-06 17:05:19.0 +1100
@@ -83,8 +83,10 @@
 mActive = false;
 
 mTimerId = startTimer( CHECK_INTERVAL );
+// This is an internal clock timer (in seconds), used instead of querying 
system time.
+// It is incremented manually, preventing from problems with clock jumps.
+// In other words, this is the 'now' time and the reference point for 
other times here.
 mElapsed = 0;
-
 }
 
 //---
@@ -126,8 +128,6 @@
 {
 mActive = true;
 resetTrigger();
-XSetScreenSaver(QX11Info::display(), mTimeout + 10, 100, PreferBlanking, 
DontAllowExposures); // We'll handle blanking
-kDebug()  XSetScreenSaver  mTimeout + 10;
 }
 
 //---
@@ -138,8 +138,6 @@
 {
 mActive = false;
 resetTrigger();
-XSetScreenSaver(QX11Info::display(), 0, 100, PreferBlanking, 
DontAllowExposures); // No blanking at all
-kDebug()  XSetScreenSaver 0;
 }
 
 //---
@@ -148,12 +146,15 @@
 //
 void XAutoLock::resetTrigger()
 {
+// Time of the last user activity (used only when the internal XScreensaver
+// idle counter is not available).
 mLastReset = mElapsed;
+// Time when screensaver should be activated.
 mTrigger = mElapsed + mTimeout;
 #ifdef HAVE_XSCREENSAVER
 xautolock_lastIdleTime = 0;
 #endif
-XForceScreenSaver( QX11Info::display(), ScreenSaverReset );
+// Do not reset the internal X screensaver here (no XForceScreenSaver())
 }
 
 //---
@@ -205,12 +206,11 @@
 
 bool activate = false;
 
-// kDebug()  now  mTrigger;
+// This is the test whether to activate screensaver. If we have reached 
the time
+// and for the whole timeout period there was no activity (which would 
change mTrigger
+// again), activate.
 if (mElapsed = mTrigger)
-{
-resetTrigger();
 activate = true;
-}
 
 #ifdef HAVE_DPMS
 BOOL on;
@@ -222,6 +222,8 @@
 // that is always smaller than DPMS timeout (X bug I guess). So if DPMS
 // saving is active, simply always activate our saving too, otherwise
 // this could prevent locking from working.
+// X.Org 7.4: With this version activating DPMS resets the screensaver 
idle timer,
+// so keep this. It probably makes sense to always do this anyway.
 if(state == DPMSModeStandby || state == DPMSModeSuspend || state == 
DPMSModeOff)
 activate = true;
 if(!on  mDPMS) {
Index: ../krunner/saverengine.cpp
===
--- ../krunner/saverengine.cpp.orig (revision 916963)
+++ ../krunner/saverengine.cpp  (revision 916964)
@@ -46,7 +46,11 @@
 // Save X screensaver parameters
 XGetScreenSaver(QX11Info::display(), mXTimeout, mXInterval,
 mXBlanking, mXExposures);
-// ... and disable it
+// And disable it. The internal X screensaver is not used at all, but we 
use its
+// internal idle timer (and it is also used by DPMS support in X). This 
timer must not
+// be altered by this code, since e.g. resetting the counter after 
activating our
+// screensaver would prevent DPMS from activating. We use the timer merely 

Re: Minor fix for KDE 4 monitor screen saver/power save nit

2009-02-06 Thread Max Brazhnikov
On Sat, 07 Feb 2009 16:55:31 +1100, Lawrence Stewart wrote:
 Hi All,

 KDE 4.1.4 (and I believe KDE 4.2.0) has an issue with krunner that stops
 the monitor from dropping into power save mode if the screen saver kicks
 in before the power save timeout. This bugged me sufficiently to find a
 fix, so thought I'd share this in case this issue is bugging anyone else.

 The relevant KDE bug report is here:
 http://bugs.kde.org/show_bug.cgi?id=165265

 I've backported the fix from the 4.2 tree for KDE 4.1.4. Stick the
 attached patch in /usr/ports/x11/kdebase4-workspace/files and
 rebuild/reinstall the port.

 For KDE 4.2.0, the patch obtained by running:
 svn diff -c916964 svn://anonsvn.kde.org/home/kde/branches/KDE/4.2/kdebase

 should work with some minor tweaks to the patch meta data. Same
 procedure applies as for 4.1.4.

 I've confirmed the attached patch resolves the issue for 4.1.4.

 Cheers,
 Lawrence

Thanks for report! KDE4 ports will be updated to 4.2.0 soon, so I've added 
patches to our local repo.

Max
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


KDE 4

2008-03-21 Thread Da Rock
Just a quick question: is there anything on the horizon with porting KDE
4?

Cheers

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE 4

2008-03-21 Thread Xin LI

Da Rock wrote:

Just a quick question: is there anything on the horizon with porting KDE
4?


I think it was being tested/refining.  More information can be found at 
http://freebsd.kde.org/ .


--
Xin LI [EMAIL PROTECTED]http://www.delphij.net/
FreeBSD - The Power to Serve!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE 4

2008-03-21 Thread Da Rock

On Fri, 2008-03-21 at 18:10 -0700, Xin LI wrote:
 Da Rock wrote:
  Just a quick question: is there anything on the horizon with porting KDE
  4?
 
 I think it was being tested/refining.  More information can be found at 
 http://freebsd.kde.org/ .
 

Thanks for that.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]