Registered Member
|
Hi!
I have a fresh Gentoo and KDE4 installation (on arm device ODROID-X2). So the problem: when I login to user session desktop appears then when I try to run any app (from shortcut or Alt+F2 menu) there is small cursor app icon appears then no window opened and full session is stuck. The only way to run apps is to do "kdesu", so windows open correctly. Here is .xsession-errors:
Here is xorg.log:
Please help. |
|
Start a terminal (xterm, in doubt "kdesu konsole" and in konsole "su my_user" to run as regular user)
Then try to start an application from there (eg. kwrite) and watch the output. |
Registered Member
|
Hi!
Then Kwrite is opened and works flawless. Seems like something wrong with permissions. Maybe DBUS or ConsoleKit etc... I try to get it for three days but no luck. Maybe I can provide some more diagnostic info? Which you need? Processes and ConsoleKit sessions (currently started KDE with startx but with KDM I have the same sympthoms):
In the state aboveI tried to run Dolphin from shortcut and got desktop freeze as usual. |
Registered Member
|
Some interesting update:
I tried to run Dolhpin form Alt+F2 menu: strace dolphin > /home/zinuru and it opened successfully! I did it for two times without problems. Then I tried simply dolphin and got freeze again. So when app runs through Plasma I get freeze. |
|
From your working shell, dump the environment of the disfuntional krunner
Kill krunner and restart it from that shell, does starting applications from the Alt+F2 runner work afterwards?
If yes, dump the environment
and diff the two files. |
Registered Member
|
Hi!
I tried to do that. So after krunner is killed and reopened session is still frozen. I had to re-run it from ssh shell with: DISPLAY=:0 krunner & So here is only krunner dump before freeze:
|
Registered Member
|
Something wrong with OpenGL acceleration. When I change it to Xrender then windows open without problem but work slow. Need to dig more...
|
|
Ah, misunderstanding on my side: I thought the processes would not start off from krunner etc.
The "problem" will likely be the startup effect (bouncing cursor) which is implemeted as shader in OpenGL compositing. => "kcmshell5 kwineffects", disable the effect. Also post the ouput of "qdbus org.kde.KWin /KWin supportInformation" (with OpenGL compositing enabled!) |
Registered Member
|
No, problem is not with bouncing cursor. I disabled it but got freeze anyway. I also tried to compile kdelibs package without opengl support overriding default dependencies but nothing changed. Freezing...
I also tried to use kwin window manager in XFCE4 DE and got no problems. So that's not kwin problem... Now I recompiled kdelibs with default settings again.Then disabled bouncing cursor and did tests. Here is kwin info below.
|
|
BLAST! I completely missed the "this is on an odroid" part of your OP - sorry
Disable the blur effect, regardless of anything else, FBO reading isn't trustworthy on the chip. Please see https://git.reviewboard.kde.org/r/125446/ Suspending the compositor in total (SHIFT+Alt+F12) should resolve it? |
Registered Member
|
Thanks! It seems like we have found the reason. DIsabling compositing at all worked for me. Disabling only blur didn't.
It there a beautiful workaround exists to have compositing work (maybe not full)? I tried to set variable from the link you posted but nothing changed. I see there is a patch created for it but I didn't find specific shader self test code in scene_opengl.cpp. Maybe because I use KDE 4? |
|
The patch isn't applied and it would only circumvent the failing selftest (to allow compositing)
What I meant to say is that there's certainly problems with on mali chip. Try to disable *all* effect plugins and ensure to set the scaling method to smooth (notably not accurate) - if that works, enable effects one-by-one. |
Registered Member
|
Even with all effects disabled I get freezes... Works well only when compositing is turned off.
Is it planned to test KDE on Mali devices and update its code? For now looks like full functional usage is not possible. |
|
KWin 4 isn't actively developed anymore, so you'd first have to try KWin 5.
There're few users, let alone developers, using a Mali chipset (and if, rather focusing on the wayland backend), so we rely on feedback to fix (though it sounds more like "workaround") issues with the device. It's interesting (read: "weird") though, that you've apparently no issues to start applications from xterm or as root (or any other?) user. Can you start applications from "pinned" taskbar entries? |
Registered Member
|
No I can't. The usual way I tested was that pinned entries (but tried shortcuts too). I don't think root (permissions) matters cause I can run apps with "kdesu" and with "strace" which doesn't change permissions. Thanks for your help. I guess would be better to setup XFCE desktop with Kwin windows manager for me. Sadly because KDE is better in my opinion. But in XFCE there is no such problems on the ODROID device. Can you tell please which files or packages I need to setup Kwin window styles (change default oxygen)? So I will be able to remove unnecessary KDE packages. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]