Results 1 to 10 of 20

Thread: Xorg hardlock; latest libdrm, mesa, xf86-video-ati, xorg-server 1.10.2

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Vienna, Austria; Germany; hello world :)
    Posts
    642

    Default Xorg hardlock; latest libdrm, mesa, xf86-video-ati, xorg-server 1.10.2

    Hi guys,

    since several days I'm easily getting hardlocks when having

    compiz-fusion (0.8.4/0.8.6) enabled with emerald and by simply browsing through the web

    e.g. just now I got a hardlock with browsing through kernel source directories on github


    last time it was during app-switching (alt + tab)


    magic sysrq key doesn't work anymore the box seems to be completely dead


    gentoo ~amd64

    Portage 2.2.0_alpha34 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.39.1-zen+ x86_64)
    ================================================== ===============
    System uname: Linux-2.6.39.1-zen+-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.2
    Timestamp of tree: Tue, 14 Jun 2011 20:15:01 +0000
    ccache version 3.1.4 [disabled]
    app-shells/bash: 4.2_p8
    dev-java/java-config: 2.1.11-r3
    dev-lang/python: 2.6.6-r1, 2.7.1-r1, 3.1.3-r1
    dev-util/ccache: 3.1.4
    dev-util/cmake: 2.8.4
    sys-apps/baselayout: 2.0.2
    sys-apps/openrc: 0.8.2-r1
    sys-apps/sandbox: 2.5
    sys-devel/autoconf: 2.13, 2.68
    sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
    sys-devel/binutils: 2.20.1, 2.20.51.0.12, 2.21, 2.21.51.0.1, 2.21.51.0.2, 2.21.51.0.3, 2.21.51.0.4, 2.21.51.0.6
    sys-devel/gcc: 4.3.5, 4.4.4-r1, 4.4.5, 4.5.1-r1, 4.5.2-r1:ortage
    sys-devel/gcc-config: 1.4.1
    sys-devel/libtool: 2.4-r1
    sys-devel/make: 3.81-r2:ortage
    sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
    sys-libs/glibc: 2.13-r2



    live builds of:
    - libdrm
    - mesa
    - xf86-video-ati

    xorg-server 1.10.2 and 1.10.1.902 (also happened with that)





    afaik this started when I had watched a video with flash in fullscreen a few days ago (I wanted to see if things had improved) and everything seemed to be dead by the sound of the video kept on playing (no loop !)

    so:

    - usb keyboard + mouse affected
    - screen output affected (monitor -> black/blank)



    any help would be highly welcome since I need this box working with composite asap

    Many thanks in advance !

  2. #2
    Join Date
    Jan 2009
    Location
    Vienna, Austria; Germany; hello world :)
    Posts
    642

    Default

    ok seems like it works again:

    - compiled the kernel + added newer radeon-ucode (20110531)
    - re-compiled all the mentioned packages
    - freshly re-installed adobe-flash

    and it didn't crash so far with fullscreen flash

    also did some app-switching, etc.

    so:

    [solved]

  3. #3
    Join Date
    Jan 2009
    Location
    Vienna, Austria; Germany; hello world :)
    Posts
    642

    Default

    oh CRAP !

    it's happening again :\

    several hours of stable usage and then suddenly it hardlocked again while surfing with chromium through github

    something's definitely not cool

  4. #4
    Join Date
    Jan 2009
    Location
    Vienna, Austria; Germany; hello world :)
    Posts
    642

    Default

    just had the following softreset if it's useful




    [ 915.061258] radeon 0000:01:00.0: GPU lockup CP stall for more than 747313msec
    [ 915.061262] ------------[ cut here ]------------
    [ 915.061285] WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:246 radeon_fence_wait+0x39e/0x400 [radeon]()
    [ 915.061289] Hardware name: ipower G3710
    [ 915.061292] GPU lockup (waiting for 0x00008CA2 last fence id 0x00008C9D)
    [ 915.061295] Modules linked in: iptable_filter xt_NFQUEUE xt_DSCP xt_owner xt_hashlimit xt_dscp xt_iprange xt_conntrack xt_mark xt_multiport xt_connmark nf_conntrack xt_string ip_tables x_tables it87 hwmon_vid coretemp snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss radeon ttm drm_kms_helper cfbcopyarea cfbimgblt cfbfillrect snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd e1000e wmi i2c_i801 soundcore snd_page_alloc libphy e1000 auth_rpcgss lockd sunrpc scsi_wait_scan sl811_hcd ohci_hcd ssb usb_storage ehci_hcd [last unloaded: nfs_acl]
    [ 915.061350] Pid: 6830, comm: X Not tainted 2.6.39.1-zen+ #2
    [ 915.061353] Call Trace:
    [ 915.061362] [<ffffffff8104f6fb>] ? warn_slowpath_common+0x7b/0xc0
    [ 915.061368] [<ffffffff8104f7f5>] ? warn_slowpath_fmt+0x45/0x50
    [ 915.061385] [<ffffffffa02d2b3e>] ? radeon_fence_wait+0x39e/0x400 [radeon]
    [ 915.061393] [<ffffffff8106b760>] ? wake_up_bit+0x40/0x40
    [ 915.061401] [<ffffffffa0222f4d>] ? ttm_bo_wait+0x10d/0x1c0 [ttm]
    [ 915.061419] [<ffffffffa02ebfef>] ? radeon_gem_wait_idle_ioctl+0x8f/0x110 [radeon]
    [ 915.061425] [<ffffffff8143630c>] ? drm_ioctl+0x3bc/0x480
    [ 915.061432] [<ffffffff8138a3c8>] ? prio_tree_insert+0x148/0x2a0
    [ 915.061450] [<ffffffffa02ebf60>] ? radeon_gem_busy_ioctl+0x140/0x140 [radeon]
    [ 915.061456] [<ffffffff810d0d58>] ? mmap_region+0x1e8/0x540
    [ 915.061463] [<ffffffff810fea06>] ? do_vfs_ioctl+0x96/0x500
    [ 915.061467] [<ffffffff810feeb9>] ? sys_ioctl+0x49/0x80
    [ 915.061475] [<ffffffff816b41fb>] ? system_call_fastpath+0x16/0x1b
    [ 915.061478] ---[ end trace 3b4bbf99fc48bf77 ]---
    [ 915.062673] radeon 0000:01:00.0: GPU softreset
    [ 915.062677] radeon 0000:01:00.0: GRBM_STATUS=0xA0003828
    [ 915.062680] radeon 0000:01:00.0: GRBM_STATUS_SE0=0x00000007
    [ 915.062684] radeon 0000:01:00.0: GRBM_STATUS_SE1=0x00000007
    [ 915.062688] radeon 0000:01:00.0: SRBM_STATUS=0x200000C0
    [ 915.062710] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00007F6B
    [ 915.062816] radeon 0000:01:00.0: GRBM_STATUS=0x00003828
    [ 915.062819] radeon 0000:01:00.0: GRBM_STATUS_SE0=0x00000007
    [ 915.062823] radeon 0000:01:00.0: GRBM_STATUS_SE1=0x00000007
    [ 915.062826] radeon 0000:01:00.0: SRBM_STATUS=0x200000C0
    [ 915.063832] radeon 0000:01:00.0: GPU reset succeed
    [ 915.142044] radeon 0000:01:00.0: WB enabled
    [ 915.158636] [drm] ring test succeeded in 1 usecs
    [ 915.158644] [drm] ib test succeeded in 1 usecs


    the reset doesn't seem to work correctly

    the fan of the PC is spinning faster and louder constantly after the reset


    even though it's set to "low" profile the fan is spinning faster


    so the "fix" so far for this little "issue" was to set it to "mid" and then back to "low"

    echo mid > /sys/class/drm/card0/device/power_profile

    cat /sys/class/drm/card0/device/power_profile

    -> mid

    echo low > /sys/class/drm/card0/device/power_profile

    cat /sys/class/drm/card0/device/power_profile

    -> low
    Last edited by kernelOfTruth; 06-17-2011 at 10:37 AM.

  5. #5
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    I reported something like that three months ago (it hasn't been fixed). Maybe it's the same issue:

    http://bugs.freedesktop.org/show_bug.cgi?id=35697

    For me, disabling page flipping prevents this from happening.

  6. #6
    Join Date
    Dec 2007
    Posts
    2,404

    Default

    If it's pageflipping related, this patch should fix the issue:
    http://git.kernel.org/?p=linux/kerne...e84411ba0ac010

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •