Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350326 - KDE hangs after becoming pink
Summary: KDE hangs after becoming pink
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-01 22:55 UTC by Laurent G.
Modified: 2011-01-08 23:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent G. 2011-01-01 22:55:05 UTC
Hi
At Kde startup, screen from blue turns to pink and then, with a variable delay, the computer turns irresponsive.
Looking at /var/log/messages and Xorg.0.log, it seems the irresponsiveness comes from the 3 last lines (second block) of the traces below been repeated at high frequency.
I tried launching Kde in a second X via Xephyr, it works OK.
But I had to had -nodri to Xephyr launching, because of bug http://bugs.gentoo.org/show_bug.cgi?id=349323 
so this success is only ... relative.
Regards

Reproducible: Always




Backtrace:
[   302.925] 0: /usr/bin/X (xorg_backtrace+0x58) [0x100ac134]
[   302.925] 1: /usr/bin/X (0x10000000+0x657c0) [0x100657c0]
[   302.925] 2: (vdso) (__kernel_sigtramp_rt32+0x0) [0x100350]
[   302.925] 3: /usr/lib/dri/r200_dri.so (0xf204000+0x60ad4) [0xf264ad4]
[   302.925] 4: /usr/lib/dri/r200_dri.so (0xf204000+0x658e4) [0xf2698e4]
[   302.925] 5: /usr/lib/libdrm_radeon.so.1 (radeon_cs_emit+0x20) [0xf66c9e8]
[   302.925] 6: /usr/lib/dri/r200_dri.so (0xf204000+0x6321c) [0xf26721c]
[   302.925] 7: /usr/lib/dri/r200_dri.so (0xf204000+0x632f8) [0xf2672f8]
[   302.925] 8: /usr/lib/dri/r200_dri.so (0xf204000+0x63528) [0xf267528]
[   302.925] 9: /usr/lib/dri/r200_dri.so (0xf204000+0x64b5c) [0xf268b5c]
[   302.925] 10: /usr/lib/dri/r200_dri.so (0xf204000+0x10a294) [0xf30e294]
[   302.925] 11: /usr/lib/xorg/modules/extensions/libglx.so (0xf860000+0xd0c8) [0xf86d0c8]
[   302.925] 12: /usr/lib/xorg/modules/extensions/libglx.so (0xf860000+0x46ac8) [0xf8a6ac8]
[   302.925] 13: /usr/lib/xorg/modules/extensions/libglx.so (0xf860000+0x4c570) [0xf8ac570]
[   302.925] 14: /usr/bin/X (0x10000000+0x289d0) [0x100289d0]
[   302.925] 15: /usr/bin/X (0x10000000+0x1bed8) [0x1001bed8]
[   302.926] 16: /lib/libc.so.6 (0xfb09000+0x1f89c) [0xfb2889c]
[   302.926] 17: /lib/libc.so.6 (0xfb09000+0x1fa34) [0xfb28a34]
[   302.926] Segmentation fault at address 0x14
[   302.926] 
Fatal server error:
[   302.926] Caught signal 11 (Segmentation fault). Server aborting
[   302.926] 
[   302.926] 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   302.926] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   302.940] 
[   302.941] (II) HID 046a:0023: Close
[   302.941] (II) UnloadModule: "evdev"
[   302.942] (II) HID 046a:0023: Close
[   302.942] (II) UnloadModule: "evdev"
[   302.943] (II) Logitech USB Trackball: Close
[   302.943] (II) UnloadModule: "evdev"
[   302.943] (II) PMU: Close
[   302.943] (II) UnloadModule: "evdev"
[   302.944] (II) AIGLX: Suspending AIGLX clients for VT switch
[   302.944] (EE) RADEON(0): RADEONWaitForIdleCP: CP idle -22
[   302.944] (EE) RADEON(0): Idle timed out, resetting engine...
[   302.944] (EE) RADEON(0): RADEONWaitForIdleCP: CP reset -22
[   302.944] (EE) RADEON(0): RADEONWaitForIdleCP: CP start -22

Jan  1 21:41:59 poire2 kernel: [drm:radeon_cp_start] *ERROR* radeon_cp_start called without lock held, held  -2147483648 owner ef0620c0 ef0622a0
Jan  1 21:41:59 poire2 kernel: [drm:radeon_cp_idle] *ERROR* radeon_cp_idle called without lock held, held  -2147483648 owner ef0620c0 ef0622a0
Jan  1 21:41:59 poire2 kernel: [drm:radeon_cp_reset] *ERROR* radeon_cp_reset called without lock held, held  -2147483648 owner ef0620c0 ef0622a0

emerge --info
Portage 2.2.0_alpha10 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, 2.6.33-gentoo-r1-l0 ppc)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-l0-ppc-7447A,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Sat, 01 Jan 2011 21:00:01 +0000
distcc 3.1 powerpc-unknown-linux-gnu [disabled]
ccache version 3.1.3 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.68
sys-devel/automake:  1.6.3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.2.4-r1, 4.3.5, 4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo java-overlay kde-sunset local
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="* -@EULA IBM-J1.5 IBM-J1.6"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"
DISTDIR="/in_n_outs/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ "
LANG="fr_FR.UTF8"
LC_ALL="fr_FR.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/in_n_outs/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/kde-sunset /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl alsa altivec apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cscope cups cxx dba dbus dri dts dvd dvdr emboss encode exif fam fbcon filter flac flash fortran gb gcj gd gdbm gdu gif gnome gpm gtk gtk2 hal iconv ipv6 java jikes jpeg kde kdehiddenvisibility kpathsea lcms ldap libnotify mad mikmod mng modules mozdevelop mozsvg mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl openmp pam pango pch pcre pdf pdflib perl png policykit povray ppc ppds pppd private-headers python qt qt3support qt4 readline samba sasl scanner sdl session speex spell ssl startup-notification svg sysfs tcpd tetex theora threads tiff tk truetype udev unicode usb vorbis wmf xcb xine xinerama xml xml2 xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="snd-aoa" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-01 23:14:37 UTC
Does this happen with compositing disabled too? Can you attach dmesg output?
Comment 2 Laurent G. 2011-01-01 23:25:17 UTC
After digging emerge.log, I think it started after upgrade of Qt to 4.7.0-r1.
Gonna try without the line to load "dri" in xorg.conf
Comment 3 Laurent G. 2011-01-02 00:22:38 UTC
After searching how to disable compositing, I got Kde running OK.
Option "AIGLX" "false"
Option "Composite" "Disable"

dmesg gives :
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to userspace modesetting.
[drm] Initialized radeon 1.32.0 20080528 for 0000:00:10.0 on minor 0
agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 4x mode
radeonfb 0000:00:10.0: putting AGP V2 device into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R200 Microcode
platform radeon_cp.0: firmware: requesting radeon/R200_cp.bin
[drm] writeback test succeeded in 1 usecs
eth0: no IPv6 routers present
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 4x mode
radeonfb 0000:00:10.0: putting AGP V2 device into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R200 Microcode
platform radeon_cp.0: firmware: requesting radeon/R200_cp.bin
[drm] writeback test succeeded in 1 usecs
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 4x mode
radeonfb 0000:00:10.0: putting AGP V2 device into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R200 Microcode
platform radeon_cp.0: firmware: requesting radeon/R200_cp.bin
[drm] writeback test succeeded in 1 usecs
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
radeonfb 0000:00:10.0: Invalid ROM contents
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-02 00:24:14 UTC
You are using radeonfb. This does not work with modern X. Disable radeonfb in your kernel.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-03 23:24:02 UTC
Marking as INVALID. Please reopen if the issue persist after disabling radeonfb.
Comment 6 Laurent G. 2011-01-08 23:09:57 UTC
(In reply to comment #5)
> Marking as INVALID. Please reopen if the issue persist after disabling
> radeonfb.
> 

Hi, sorry to make difficults ... but when I just remove radeon fb from the kernel config, I get frozen computer while booting.
The (I believe) good news is that when just adding video=vesafb or video=radeonfb:off, it seems to work.