View previous topic :: View next topic |
Author |
Message |
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Mon Jan 03, 2011 5:26 pm Post subject: kde unstable, crashes |
|
|
I reinstalled my Gentoo and now KDE crashes even faster... as last time.
So, i log on, want to edit a panel, look at the menü for longer... then KDE crashes.
heres the kdeerror log:
http://paste.pocoo.org/show/313797
Hope i get KDE working this time..
Cheers |
|
Back to top |
|
|
augury l33t
Joined: 22 May 2004 Posts: 722 Location: philadelphia
|
Posted: Mon Jan 03, 2011 6:04 pm Post subject: |
|
|
It looks like opengl is segfaulting and X is too.
Which opengl and graf-x card do you have? |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Mon Jan 03, 2011 6:32 pm Post subject: |
|
|
i have an HD 4850 with the radeon driver, but by the way i think i forget to switch to opengl while setting up Xorg "eselect opengl list" doesnt work i only got xorg-x11 availbe |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 6:12 am Post subject: |
|
|
noone an idea?? |
|
Back to top |
|
|
Sergey.T n00b
Joined: 27 Aug 2008 Posts: 46
|
Posted: Tue Jan 04, 2011 9:28 am Post subject: |
|
|
You'd better post /var/log/Xorg.0.log
Also, run 'emerge -DNu world' and 'revdep-rebuild'. Then make sure that you have latest mesa, libdrm, xf86-video-ati. |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Tue Jan 04, 2011 10:11 am Post subject: |
|
|
Does turning off 'Desktop Effects' make things better? |
|
Back to top |
|
|
pingufunkybeat l33t
Joined: 01 Dec 2004 Posts: 610
|
Posted: Tue Jan 04, 2011 2:08 pm Post subject: |
|
|
Which kernel do you have? Which KDE?
What does "emerge -pv libdrm mesa xf86-video-ati" return?
glxinfo |grep enGL
/var/log/Xorg.0.log
Give us something to work with |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 2:25 pm Post subject: |
|
|
Ok, first the Xorg.0.log
u can see here: http://paste.pocoo.org/show/314663
System info: Latest Gentoo (2.6.36-getnoo-r6); Amd64 (no-multilib), KDE4.5.4 will try the driver install and then post back..
Cheers |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 2:29 pm Post subject: |
|
|
Ok, when i emerge youre i get 3 packages list, all rebuilds (already installed with the xorg-server i think) |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 3:20 pm Post subject: |
|
|
desktop effects are hard to disable because it crashes in most cases before but it will try later..
And some ideas since having the new data |
|
Back to top |
|
|
BillyBoy Tux's lil' helper
Joined: 26 Nov 2003 Posts: 101 Location: USA
|
Posted: Tue Jan 04, 2011 3:39 pm Post subject: |
|
|
I get these same problems on several machines, all running amd64 with all manner of radeon cards. My current desktop:
An HP p6520 which has 6GB DDR3, an AMD Athlon II X4 635 and a Radeon HD 4200
My home machines are both similar: an Athlon II with a Radeon 1650 and a Phenom II with a 4850
I get similar opengl segfaults whenever KDE is used and I use the kicker. Each uses OpenGL as the eye candy render engine. |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Tue Jan 04, 2011 3:42 pm Post subject: |
|
|
First open
Code: | vim ~/.kde4/share/config/kwinrc |
then set
Code: | [Compositing]
Enabled=false |
|
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 4:07 pm Post subject: |
|
|
Ahh now it works without crashing , thx
So i guess that the problem depends on opengl(driver...)
Short Random Question, i cant change my language in the System Settings |
|
Back to top |
|
|
pingufunkybeat l33t
Joined: 01 Dec 2004 Posts: 610
|
Posted: Tue Jan 04, 2011 6:10 pm Post subject: |
|
|
selberbauer wrote: | Ok, when i emerge youre i get 3 packages list, all rebuilds (already installed with the xorg-server i think) |
Of course they are installed, but which versions and which use flags. Please paste the output of the command.
OpenGL effects in KWin should work perfectly with your configuration, but there were some rough patches along the way a few months ago. You're probably running into some of them, and we must know what exactly you have installed.
On my HD 4350 and 4550, KDE works fine, but there were some issues before.
Disabling effects is one workaround, but it did not solve the problem. You can try setting the compositing backend to XRender and trying again, it should be more stable than OpenGL, but still give you many effects.
Do post the output of "glxinfo |grep enGL" and "emerge -pv libdrm mesa xf86-video-ati". |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 6:21 pm Post subject: |
|
|
hese are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/libdrm-2.4.23 USE="libkms -static-libs" VIDEO_CARDS="radeon -intel -nouveau -vmware" 0 kB
[ebuild R ] media-libs/mesa-7.9-r1 USE="classic gallium nptl -debug -gles -llvm -motif -pic (-selinux)" VIDEO_CARDS="radeon -intel -mach64 -mga -nouveau -r128 -savage -sis -tdfx -via -vmware" 0 kB
[ebuild R ] x11-drivers/xf86-video-ati-6.13.2 0 kB
Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
* IMPORTANT: 4 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
glxinfo seems not to be installed... also found nothing to "emerge -s glx"
regards |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Tue Jan 04, 2011 6:45 pm Post subject: |
|
|
Glxinfo is part of mesa-demos or thing like that. _________________ Paul |
|
Back to top |
|
|
BillyBoy Tux's lil' helper
Joined: 26 Nov 2003 Posts: 101 Location: USA
|
Posted: Tue Jan 04, 2011 6:49 pm Post subject: |
|
|
You need to emerge mesa-progs for glxinfo. |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 7:22 pm Post subject: |
|
|
glxinfo | grep enGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on softpipe
OpenGL version string: 2.1 Mesa 7.9
OpenGL shading language version string: 1.20
OpenGL extensions: |
|
Back to top |
|
|
pingufunkybeat l33t
Joined: 01 Dec 2004 Posts: 610
|
Posted: Tue Jan 04, 2011 7:50 pm Post subject: |
|
|
OK, so you are running the software renderer (softpipe). That explains why no 3d stuff works -- it's too slow.
The versions of the stuff you have installed are OK, your card should be supported. This is the most common type of problem with the free drivers -- dropping to software rendering because drm is not working properly.
BTW, if drm is not working, then NOTHING will be accelerated, no 3d, no Xvideo, no XRender, etc. So it's not just a KDE effects problem, it's something that should be fixed in principle. You're using CPU for all rendering, which is not what you want.
what about "dmesg |grep drm"?
Also, it would be useful to see your kernel config. It's most likely a misconfigured kernel. |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 7:53 pm Post subject: |
|
|
dmesg |grep drm
[ 0.872750] [drm] Initialized drm 1.1.0 20060810
[ 0.872834] [drm] radeon defaulting to userspace modesetting.
[ 0.873518] [drm] Initialized radeon 1.33.0 20080528 for 0000:02:00.0 on minor 0
[ 79.443442] [drm] Setting GART location based on new memory map
[ 79.443702] [drm] Loading RV770 CP Microcode
[ 79.477356] [drm] Resetting GPU
[ 79.477414] [drm] writeback test succeeded in 1 usecs
Kernel is based on pappys config
http://pappy-mcfae.pastebin.com/Jp8BcW6C
i think we could sort this as problem source out |
|
Back to top |
|
|
pingufunkybeat l33t
Joined: 01 Dec 2004 Posts: 610
|
Posted: Tue Jan 04, 2011 8:03 pm Post subject: |
|
|
No, we can't sort it out, since your kernel config is wrong:
Code: | # CONFIG_DRM_RADEON_KMS is not set |
change it to this:
Code: | CONFIG_DRM_RADEON_KMS=y |
Gallium will not work without KMS, period. And classic drivers will be stuck at OpenGL 1.5. You need kernel modesetting enabled.
Also, you need to change this:
Code: | # CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE="" |
to this:
Code: | CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/R700_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" |
and emerge radeon-ucode
Then recompile the kernel, reinstall it to /boot, reboot and try again. |
|
Back to top |
|
|
BillyBoy Tux's lil' helper
Joined: 26 Nov 2003 Posts: 101 Location: USA
|
Posted: Tue Jan 04, 2011 8:12 pm Post subject: |
|
|
And to give you some points on the curve, turning off compositing fixes the problem. I no longer get the segfaults and the dbus error disappears. However, the usability rapidly decreases if you try to turn on compositing without direct rendering (no surprise there). Even XRender gives you some glitz but it still causes fewer segfaults, though not none. (I have XRender turned on right now, and direct rendering is off and haven't seen it fall over yet, but there's still time!). |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5910
|
Posted: Tue Jan 04, 2011 8:42 pm Post subject: |
|
|
try switching to the classic stack instead of gallium _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
selberbauer Apprentice
Joined: 20 Dec 2010 Posts: 276
|
Posted: Tue Jan 04, 2011 8:54 pm Post subject: |
|
|
@pingufunkybeat
Thanks. this solved everything
Unfortunatly there is a new Problem...
I had the same on Ubuntu, the ATi driver uses some overscale funktion (i have an HDMI kabel), so that i get a bad resolution and black sides...
Under ubuntu i could disable this, in the config or CCC but under Gentoo (KDE) there is no CCC, so i have to find 1. the config of the radeon driver, or acces on other ways to it..
Cheers |
|
Back to top |
|
|
pingufunkybeat l33t
Joined: 01 Dec 2004 Posts: 610
|
Posted: Tue Jan 04, 2011 9:09 pm Post subject: |
|
|
xrandr --output <output> --set underscan off
<output> should probably be HDMI-0 or HDMI-1 or similar. Type "xrandr" for a list. |
|
Back to top |
|
|
|