All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 73619] New: XServer frequently freezes for a few seconds
@ 2014-01-14 17:38 bugzilla-daemon
  2014-01-14 18:41 ` [Bug 73619] " bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-01-14 17:38 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2151 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73619

          Priority: medium
            Bug ID: 73619
          Assignee: dri-devel@lists.freedesktop.org
           Summary: XServer frequently freezes for a few seconds
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: arichardson.kde@gmail.com
          Hardware: Other
            Status: NEW
           Version: 10.0
         Component: Drivers/DRI/R600
           Product: Mesa

The XServer randomly freezes for a few seconds or sometimes even 1-2 minutes. I
cannot move the mouse, and the screen does not update.

I have a HD4850 card running on a 
3.12.6-1.g080d0df-desktop SMP PREEMPT x86_64 kernel with Mesa 10.0.1 (both from
openSuSE packages). These freezes also happen with the default 3.11 kernel, I
upgraded in the hope of it being fixed, but the issue is still present.

These issues started after the upgrade to openSuSE 13.1 which has a 3.11 kernel
instead of the previous 3.7 kernel. The Mesa version did not change, I was
always running the latest released version. My guess is it has something to do
with the r600 kernel changes in 3.8+.

During these freeze periods I can ssh into my system and top shows no CPU
usage, so the XServer seems to be sleeping instead of being in a busy loop.
dmesg gives me no messages and /var/log/XOrg.0.log is also empty.

I don't know how to get any more detailed logging output. If you provide me
with the necessary environment variables/kernel parameters I will give you
these logs.

Not sure if this helps, but most of the time the freeze happens when I open a
new tab in firefox or switch to a different one. However it also happens at
random intervals using other programs.
It can sometimes take quite a long time until this freeze happens, however once
it has occured once, it usually happens again after a short timespan (1-2
minutes or even less).

Is it possible to debug the XServer just like a normal program using gdb? If
yes I will try to provide a useful backtrace once the next longer freeze
happens

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3451 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 73619] XServer frequently freezes for a few seconds
  2014-01-14 17:38 [Bug 73619] New: XServer frequently freezes for a few seconds bugzilla-daemon
@ 2014-01-14 18:41 ` bugzilla-daemon
  2014-01-14 21:06 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-01-14 18:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 259 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73619

--- Comment #1 from Alex Deucher <agd5f@yahoo.com> ---
Please attach your xorg log and dmesg output.  Any chance you could bisect?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1018 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 73619] XServer frequently freezes for a few seconds
  2014-01-14 17:38 [Bug 73619] New: XServer frequently freezes for a few seconds bugzilla-daemon
  2014-01-14 18:41 ` [Bug 73619] " bugzilla-daemon
@ 2014-01-14 21:06 ` bugzilla-daemon
  2014-01-20 13:05 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-01-14 21:06 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 790 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73619

--- Comment #2 from Alexander Richardson <arichardson.kde@gmail.com> ---
Created attachment 92092
  --> https://bugs.freedesktop.org/attachment.cgi?id=92092&action=edit
logs

Bisecting is quite tricky, I have so far only used the binary kernel packages. 
I can try, however it will probably take a long time until I find something
useful if at all. I am not sure when I can call a version good because
sometimes the system can run fine for multiple hours and only then start having
these freezes.
I currently don't have the time to bisect, so I was hoping there would be some
kernel parameters to increase verbosity.

Would running a debug kernel be of any use?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1666 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 73619] XServer frequently freezes for a few seconds
  2014-01-14 17:38 [Bug 73619] New: XServer frequently freezes for a few seconds bugzilla-daemon
  2014-01-14 18:41 ` [Bug 73619] " bugzilla-daemon
  2014-01-14 21:06 ` bugzilla-daemon
@ 2014-01-20 13:05 ` bugzilla-daemon
  2014-01-20 14:51 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-01-20 13:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 432 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73619

--- Comment #3 from Alexander Richardson <arichardson.kde@gmail.com> ---
I have now upgraded to Mesa 10.0.2 and it is MUCH better. Freeze only happens
very rarely now. Maybe some unrelated change made a race condition that causes
this very unlikely. Sadly still don't have the time to bisect the kernel.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1209 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 73619] XServer frequently freezes for a few seconds
  2014-01-14 17:38 [Bug 73619] New: XServer frequently freezes for a few seconds bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-01-20 13:05 ` bugzilla-daemon
@ 2014-01-20 14:51 ` bugzilla-daemon
  2014-03-18 11:53 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-01-20 14:51 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 371 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73619

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/DRI/R600            |Drivers/Gallium/r600

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1051 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 73619] XServer frequently freezes for a few seconds
  2014-01-14 17:38 [Bug 73619] New: XServer frequently freezes for a few seconds bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-01-20 14:51 ` bugzilla-daemon
@ 2014-03-18 11:53 ` bugzilla-daemon
  2014-03-19 20:27 ` bugzilla-daemon
  2019-09-18 19:12 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-03-18 11:53 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 7948 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73619

--- Comment #4 from Alexander Richardson <arichardson.kde@gmail.com> ---
I recently had another freeze and was able to attach gdb via ssh, this is the
backtrace I got:

Thread 2 (Thread 0x7fca267f1980 (LWP 868)):
#0  0x00007fca247161e7 in ioctl () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007fca257e1da4 in drmIoctl (fd=10, request=request@entry=3223348317,
arg=arg@entry=0x7fff56fbe6b0) at xf86drm.c:167
        ret = <optimized out>
#2  0x00007fca257e414f in drmCommandWriteRead (fd=<optimized out>,
drmCommandIndex=drmCommandIndex@entry=29, data=data@entry=0x7fff56fbe6b0,
size=size@entry=32) at xf86drm.c:2451
        request = 3223348317
#3  0x00007fca1ff12463 in bo_open (bom=0x1ba44e0, handle=0, size=121397248,
alignment=512, domains=4, flags=0) at radeon_bo_gem.c:108
        args = {
          size = 121397248, 
          alignment = 512, 
          handle = 1737, 
          initial_domain = 4, 
          flags = 0
        }
        bo = 0x2a4f140
        r = <optimized out>
#4  0x00007fca20169e08 in radeon_alloc_pixmap_bo (pScrn=pScrn@entry=0x1b9aca0,
width=width@entry=3648, height=height@entry=8172, depth=depth@entry=32,
usage_hint=usage_hint@entry=0, bitsPerPixel=bitsPerPixel@entry=32,
new_pitch=new_pitch@entry=0x7fff56fbf55c,
new_surface=new_surface@entry=0x2ae6600, new_tiling=new_tiling@entry=0x2ae65f8)
at radeon_bo_helper.c:179
        info = 0x1b9b3d0
        pitch = 14848
        base_align = <optimized out>
        size = <optimized out>
        heighta = <optimized out>
        cpp = 4
        tiling = 0
        surface = {
          npix_x = 3648, 
          npix_y = 8176, 
          npix_z = 1, 
          blk_w = 1, 
          blk_h = 1, 
          blk_d = 1, 
          array_size = 1, 
          last_level = 0, 
          bpe = 4, 
          nsamples = 1, 
          flags = 1114113, 
          bo_size = 121397248, 
          bo_alignment = 512, 
          bankw = 0, 
          bankh = 0, 
          mtilea = 0, 
          tile_split = 0, 
          stencil_tile_split = 0, 
          stencil_offset = 0, 
          level = {{
              offset = 0, 
              slice_size = 121397248, 
              npix_x = 3648, 
              npix_y = 8176, 
              npix_z = 1, 
              nblk_x = 3712, 
              nblk_y = 8176, 
              nblk_z = 1, 
              pitch_bytes = 14848, 
              mode = 0
            }, {
              offset = 0, 
              slice_size = 0, 
              npix_x = 0, 
              npix_y = 0, 
              npix_z = 0, 
              nblk_x = 0, 
              nblk_y = 0, 
              nblk_z = 0, 
              pitch_bytes = 0, 
              mode = 0
            } <repeats 31 times>}, 
          stencil_level = {{
              offset = 0, 
              slice_size = 0, 
              npix_x = 0, 
              npix_y = 0, 
              npix_z = 0, 
              nblk_x = 0, 
              nblk_y = 0, 
              nblk_z = 0, 
              pitch_bytes = 0, 
              mode = 0
            } <repeats 32 times>}, 
          tiling_index = {0 <repeats 32 times>}, 
          stencil_tiling_index = {0 <repeats 32 times>}
        }
        bo = <optimized out>
        domain = 4
#5  0x00007fca2013c527 in RADEONEXACreatePixmap2 (pScreen=<optimized out>,
width=3648, height=8172, depth=32, usage_hint=0, bitsPerPixel=32,
new_pitch=0x7fff56fbf55c) at radeon_exa.c:289
        pScrn = 0x1b9aca0
        info = <optimized out>
        new_priv = 0x2ae65f0
#6  0x00007fca1fd00068 in exaCreateDriverPixmap_mixed (pPixmap=0x2da61c0) at
exa_migration_mixed.c:61
        new_pitch = 0
        pScreen = 0x1ba3b20
        w = <optimized out>
        h = 8172
        depth = <optimized out>
        bpp = <optimized out>
        usage_hint = 0
        paddedWidth = 14592
#7  0x00007fca1fd002b0 in exaDoMigration_mixed (pixmaps=0x7fff56fbf660,
npixmaps=-1071618979, can_accel=535884672) at exa_migration_mixed.c:104
        pPixmap = 0x2da61c0
#8  0x00007fca1fd00dd4 in exaDoPutImage (depth=32, src_stride=14592,
bits=0x36b7dc8 "", format=2, h=17, w=3648, y=0, x=0, pGC=0x20cc090,
pDrawable=0x2da61c0) at exa_accel.c:179
        pixmaps = {{
            as_dst = 1, 
            as_src = 0, 
            pPix = 0x2da61c0, 
            pReg = 0x58
          }}
        nbox = <optimized out>
        pPix = <optimized out>
        xoff = 0
        ret = 1
        pClip = <optimized out>
        pbox = <optimized out>
        yoff = 1
        bpp = 32
#9  exaPutImage (pDrawable=0x2da61c0, pGC=0x20cc090, depth=32, x=0, y=0,
w=3648, h=17, leftPad=0, format=2, bits=0x36b7dc8 "") at exa_accel.c:233
No locals.
#10 0x0000000000519819 in damagePutImage (pDrawable=0x2da61c0, pGC=0x20cc090,
depth=32, x=0, y=0, w=<optimized out>, h=17, leftPad=0, format=2,
pImage=0x36b7dc8 "") at damage.c:736
        oldFuncs = 0x8162c0 <damageGCFuncs>
#11 0x000000000043a189 in ProcPutImage (client=0x2a4d3f0) at dispatch.c:1968
        pGC = 0x20cc090
        pDraw = 0x2da61c0
        length = <optimized out>
        lengthProto = <optimized out>
        tmpImage = 0x36b7dc8 ""
        stuff = 0x36b7db0
#12 0x000000000043d23e in Dispatch () at dispatch.c:433
        clientReady = 0x1f600c0
        result = <optimized out>
        client = 0x2a4d3f0
        nready = 0
        icheck = 0x820590 <checkForInput>
        start_tick = 178795
#13 0x000000000044106a in dix_main (argc=8, argv=0x7fff56fbf948,
envp=<optimized out>) at main.c:294
        i = <optimized out>
        alwaysCheckForInput = {0, 1}
#14 0x00007fca24657be5 in __libc_start_main (main=0x42c5d0 <main>, argc=8,
argv=0x7fff56fbf948, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff56fbf938) at libc-start.c:269
        result = <optimized out>
        unwind_buf = {
          cancel_jmp_buf = {{
              jmp_buf = {0, -524547331697071748, 4376024, 140734652741952, 0,
0, 524320866477091196, 516830052716587388}, 
              mask_was_saved = 0
            }}, 
          priv = {
            pad = {0x0, 0x0, 0x59b9b0 <__libc_csu_init>, 0x7fff56fbf948}, 
            data = {
              prev = 0x0, 
              cleanup = 0x0, 
              canceltype = 5880240
            }
          }
        }
        not_first_call = <optimized out>
#15 0x000000000042c601 in _start () at ../sysdeps/x86_64/start.S:122
No locals.

Thread 1 (Thread 0x7fca19dfe700 (LWP 883)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007fca1f515ec3 in ?? () from /usr/lib64/dri/r600_dri.so
No symbol table info available.
#2  0x00007fca1f515807 in ?? () from /usr/lib64/dri/r600_dri.so
No symbol table info available.
#3  0x00007fca259f20db in start_thread (arg=0x7fca19dfe700) at
pthread_create.c:309
        __res = <optimized out>
        pd = 0x7fca19dfe700
        now = <optimized out>
        unwind_buf = {
          cancel_jmp_buf = {{
              jmp_buf = {140505994225408, -524547331697071748, 0,
140506206253056, 140506085630131, 140505994225408, 516890606489905532,
516829586942404988}, 
              mask_was_saved = 0
            }}, 
          priv = {
            pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {
              prev = 0x0, 
              cleanup = 0x0, 
              canceltype = 0
            }
          }
        }
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007fca2471d90d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.



Looks like it is somehow freezing when calling the DRM_RADEON_GEM_CREATE ioctl,
but maybe gdb attaching causes the freeze to end and this is just afterwards.
Hope it is of some use.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 9085 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 73619] XServer frequently freezes for a few seconds
  2014-01-14 17:38 [Bug 73619] New: XServer frequently freezes for a few seconds bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-03-18 11:53 ` bugzilla-daemon
@ 2014-03-19 20:27 ` bugzilla-daemon
  2019-09-18 19:12 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2014-03-19 20:27 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 504 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73619

Benjamin Bellec <b.bellec@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b.bellec@gmail.com

--- Comment #5 from Benjamin Bellec <b.bellec@gmail.com> ---
Does the freeze happens also with the stock openSUSE mesa (9.2.2)?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1801 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 73619] XServer frequently freezes for a few seconds
  2014-01-14 17:38 [Bug 73619] New: XServer frequently freezes for a few seconds bugzilla-daemon
                   ` (5 preceding siblings ...)
  2014-03-19 20:27 ` bugzilla-daemon
@ 2019-09-18 19:12 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:12 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 840 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=73619

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #6 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/484.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2423 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-09-18 19:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 17:38 [Bug 73619] New: XServer frequently freezes for a few seconds bugzilla-daemon
2014-01-14 18:41 ` [Bug 73619] " bugzilla-daemon
2014-01-14 21:06 ` bugzilla-daemon
2014-01-20 13:05 ` bugzilla-daemon
2014-01-20 14:51 ` bugzilla-daemon
2014-03-18 11:53 ` bugzilla-daemon
2014-03-19 20:27 ` bugzilla-daemon
2019-09-18 19:12 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.