Registered Member
|
Hello all
I made a theme in aurorae but if it's set as default for the iso it maxes out the cpu and freezes the system. I heard about kwin not being native friendly for graphics and to switch it to raster instead. Will this solve the issue? If so where do I make this change? Running oxygen is no problem just when running a window decoration made with aurorae. On an installed system there is no issue with aurorae, just running it from a live cd causes this issue. Any help would be greatly appreciated Thanks in advance Sam |
Administrator
|
Are you able to attach a debugger to KWin to see what it is doing? As KWin is usually compositing the desktop, you'll need to do this from another computer, and access the system running the Live CD via SSH or similar.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Would you know how to set up a debugger to KWin to see what's going on or lead me to a place to show me how to do this? Any help would be greatly appreciated. Thank you in advance Sam |
Administrator
|
Debugging KWin is like any other application - except, because it is a window manager, you will need to connect to the machine where you are running KWin from another system using SSH, and run the debugger over that.
GDB can be used for doing this. Please see https://wiki.debian.org/HowToGetABacktrace for more information on generating backtraces.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thank you very much for this information.
I really appreciate it. Sam |
Registered Member
|
This is what I've come up so far:
VirtualBox : Settings : Network ============================================ NAT -> Bridged Network In guest (SolydK live) ============================================ sudo apt-get install openssh-server gdb sudo ufw disable sudo ifconfig (save IP) In host ============================================ ssh solydxk@192.168.1.3 ps -ef | grep kwin (get the pid of /usr/bin/kwin) DISPLAY=:0 gdb kwin 4691 >> it now freezes << bt >> still frozen << Output ============================================ http://pastebin.com/wC41vyjc But I don't see that the output has any relevance. Did I miss something? |
Global Moderator
|
When you attach gdb the application you attached to freezes. To unfreeze it, type "continue".
I'm working on the KDevelop IDE.
|
Registered Member
|
Okay, after the "continue" (gdb showed "Continuing"), the system was responsive again.
When trying to change theme, the system froze again, and gdb did not show any output, and I couldn't type any gdb command. This was the moment I hoped to get some backtrace output. How do I continue? |
Global Moderator
|
Hit Ctrl+C in the gdb shell to make gdb interrupt the application again. Then type "thread apply all bt" to print the backtrace info, and "continue" to continue.
Greetings!
I'm working on the KDevelop IDE.
|
Registered Member
|
Before changing themes, I ran "thread apply all bt":
If anyone's interested, I prepared an ISO for this test: http://downloads.solydxk.com/dev/solydk ... _theme.iso Boot it in Virtualbox, and SSH with: solydxk@[ip], pwd = solydxk |
Global Moderator
|
Ctrl+C in the debugger shell should enable you to enter a command there. Doesn't it?
I'm working on the KDevelop IDE.
|
Registered Member
|
No, Ctrl-C doesn't do a thing in the debugger, as soon as the guest freezes.
|
Global Moderator
|
Never seen that. Maybe that means the graphics driver itself freezes?
I'm working on the KDevelop IDE.
|
Registered Member
|
I was thinking that as well, but it only happens in VirtualBox in a live environment. I was never even able to install the system in VB: it freezes before the installation finishes. Thanks for your help, though. |
Administrator
|
Can you try pinging the frozen virtual machine, to see if the kernel is still functional?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot]