Announcement

Collapse
No announcement yet.

OpenGL game freezes with 3.18.3, but not with 3.17.8

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OpenGL game freezes with 3.18.3, but not with 3.17.8

    Hi,

    I've noticed that WoW is freezing occasionally with Linux 3.18.3 (x86_64). The kernel itself has no issue, and I can kill the WoW process easily. However, I see these errors from Wine:
    Code:
    err:ntdll:RtlpWaitForCriticalSection section 0x3600a8 "heap.c: HEAP.critSection" wait timed out in thread 0024, blocked by 003b, retrying (60 sec)
    err:ntdll:RtlpWaitForCriticalSection section 0x3600a8 "heap.c: HEAP.critSection" wait timed out in thread 0026, blocked by 003b, retrying (60 sec)
    This seems to imply that WoW is deadlocking somewhere with the heap management. Reverting to the 3.17.8 kernel with the exact same version of Mesa 10.5-devel seems to fix the issue.

    Has anyone else noticed anything like this, please?

    My dmesg section for drm/radeon is:
    Code:
    [    2.015806] [drm] Initialized drm 1.1.0 20060810
    [    2.093766] [drm] radeon kernel modesetting enabled.
    [    2.094151] [drm] initializing kernel modesetting (RV770 0x1002:0x9460 0x1787:0x2281).
    [    2.094156] [drm] register mmio base: 0xFBCE0000
    [    2.094156] [drm] register mmio size: 65536
    [    2.094371] ATOM BIOS: RV790
    [    2.094411] radeon 0000:02:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
    [    2.094412] radeon 0000:02:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
    [    2.094413] [drm] Detected VRAM RAM=1024M, BAR=256M
    [    2.094414] [drm] RAM width 256bits DDR
    [    2.094476] [TTM] Zone  kernel: Available graphics memory: 3053390 kiB
    [    2.094477] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
    [    2.094477] [TTM] Initializing pool allocator
    [    2.094481] [TTM] Initializing DMA pool allocator
    [    2.094496] [drm] radeon: 1024M of VRAM memory ready
    [    2.094496] [drm] radeon: 1024M of GTT memory ready.
    [    2.094505] [drm] Loading RV770 Microcode
    [    2.094548] [drm] Internal thermal controller with fan control
    [    2.098323] [drm] radeon: dpm initialized
    [    2.098362] [drm] GART: num cpu pages 262144, num gpu pages 262144
    [    2.099092] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
    [    2.111357] [drm] PCIE GART of 1024M enabled (table at 0x0000000000258000).
    [    2.111403] radeon 0000:02:00.0: WB enabled
    [    2.111405] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8800358cbc00
    [    2.111406] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8800358cbc0c
    [    2.111875] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr 0x0000000000056230 and cpu addr 0xffffc90010816230
    [    2.111876] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.111876] [drm] Driver supports precise vblank timestamp query.
    [    2.111877] radeon 0000:02:00.0: radeon: MSI limited to 32-bit
    [    2.111935] radeon 0000:02:00.0: irq 29 for MSI/MSI-X
    [    2.111944] radeon 0000:02:00.0: radeon: using MSI.
    [    2.111963] [drm] radeon: irq initialized.
    [    2.158821] [drm] ring test on 0 succeeded in 1 usecs
    [    2.158826] [drm] ring test on 3 succeeded in 2 usecs
    [    2.335067] [drm] ring test on 5 succeeded in 1 usecs
    [    2.335071] [drm] UVD initialized successfully.
    [    2.335300] [drm] ib test on ring 0 succeeded in 0 usecs
    [    2.335320] [drm] ib test on ring 3 succeeded in 0 usecs
    [    2.985526] [drm] ib test on ring 5 succeeded
    [    2.988686] [drm] hw_i2c forced on, you may experience display detection problems!
    [    2.995634] [drm] Radeon Display Connectors
    [    3.018832] [drm] Connector 0:
    [    3.020668] [drm]   DVI-I-1
    [    3.022244] [drm]   HPD2
    [    3.023560] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
    [    3.029728] [drm]   Encoders:
    [    3.031475] [drm]     DFP1: INTERNAL_UNIPHY
    [    3.034438] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
    [    3.037834] [drm] Connector 1:
    [    3.039677] [drm]   DIN-1
    [    3.046475] [drm]   Encoders:
    [    3.048234] [drm]     TV1: INTERNAL_KLDSCP_DAC2
    [    3.051545] [drm] Connector 2:
    [    3.053378] [drm]   DVI-I-2
    [    3.054959] [drm]   HPD1
    [    3.056274] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
    [    3.062449] [drm]   Encoders:
    [    3.064192] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
    [    3.067590] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
    [    3.172045] [drm] fb mappable at 0xD0459000
    [    3.172045] [drm] vram apper at 0xD0000000
    [    3.172046] [drm] size 7299072
    [    3.172046] [drm] fb depth is 24
    [    3.172047] [drm]    pitch is 6912
    [    3.355465] radeon 0000:02:00.0: fb0: radeondrmfb frame buffer device
    [    3.360652] radeon 0000:02:00.0: registered panic notifier
    [    3.369403] [drm] Initialized radeon 2.40.0 20080528 for 0000:02:00.0 on minor 0
    [   61.075712] [drm:rv770_dpm_set_power_state] *ERROR* rv770_restrict_performance_levels_before_switch failed

  • #2
    Best bet is to bisect.

    Comment


    • #3
      Temporary kernel regress. Try with 3.18.1

      Comment


      • #4
        Originally posted by chrisr View Post
        Hi,

        I've noticed that WoW is freezing occasionally with Linux 3.18.3 (x86_64). The kernel itself has no issue, and I can kill the WoW process easily. However, I see these errors from Wine:
        Code:
        err:ntdll:RtlpWaitForCriticalSection section 0x3600a8 "heap.c: HEAP.critSection" wait timed out in thread 0024, blocked by 003b, retrying (60 sec)
        err:ntdll:RtlpWaitForCriticalSection section 0x3600a8 "heap.c: HEAP.critSection" wait timed out in thread 0026, blocked by 003b, retrying (60 sec)
        This seems to imply that WoW is deadlocking somewhere with the heap management. Reverting to the 3.17.8 kernel with the exact same version of Mesa 10.5-devel seems to fix the issue.

        Has anyone else noticed anything like this, please?

        My dmesg section for drm/radeon is:
        Code:
        [    2.015806] [drm] Initialized drm 1.1.0 20060810
        [    2.093766] [drm] radeon kernel modesetting enabled.
        [    2.094151] [drm] initializing kernel modesetting (RV770 0x1002:0x9460 0x1787:0x2281).
        [    2.094156] [drm] register mmio base: 0xFBCE0000
        [    2.094156] [drm] register mmio size: 65536
        [    2.094371] ATOM BIOS: RV790
        [    2.094411] radeon 0000:02:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
        [    2.094412] radeon 0000:02:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
        [    2.094413] [drm] Detected VRAM RAM=1024M, BAR=256M
        [    2.094414] [drm] RAM width 256bits DDR
        [    2.094476] [TTM] Zone  kernel: Available graphics memory: 3053390 kiB
        [    2.094477] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
        [    2.094477] [TTM] Initializing pool allocator
        [    2.094481] [TTM] Initializing DMA pool allocator
        [    2.094496] [drm] radeon: 1024M of VRAM memory ready
        [    2.094496] [drm] radeon: 1024M of GTT memory ready.
        [    2.094505] [drm] Loading RV770 Microcode
        [    2.094548] [drm] Internal thermal controller with fan control
        [    2.098323] [drm] radeon: dpm initialized
        [    2.098362] [drm] GART: num cpu pages 262144, num gpu pages 262144
        [    2.099092] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
        [    2.111357] [drm] PCIE GART of 1024M enabled (table at 0x0000000000258000).
        [    2.111403] radeon 0000:02:00.0: WB enabled
        [    2.111405] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8800358cbc00
        [    2.111406] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8800358cbc0c
        [    2.111875] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr 0x0000000000056230 and cpu addr 0xffffc90010816230
        [    2.111876] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
        [    2.111876] [drm] Driver supports precise vblank timestamp query.
        [    2.111877] radeon 0000:02:00.0: radeon: MSI limited to 32-bit
        [    2.111935] radeon 0000:02:00.0: irq 29 for MSI/MSI-X
        [    2.111944] radeon 0000:02:00.0: radeon: using MSI.
        [    2.111963] [drm] radeon: irq initialized.
        [    2.158821] [drm] ring test on 0 succeeded in 1 usecs
        [    2.158826] [drm] ring test on 3 succeeded in 2 usecs
        [    2.335067] [drm] ring test on 5 succeeded in 1 usecs
        [    2.335071] [drm] UVD initialized successfully.
        [    2.335300] [drm] ib test on ring 0 succeeded in 0 usecs
        [    2.335320] [drm] ib test on ring 3 succeeded in 0 usecs
        [    2.985526] [drm] ib test on ring 5 succeeded
        [    2.988686] [drm] hw_i2c forced on, you may experience display detection problems!
        [    2.995634] [drm] Radeon Display Connectors
        [    3.018832] [drm] Connector 0:
        [    3.020668] [drm]   DVI-I-1
        [    3.022244] [drm]   HPD2
        [    3.023560] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
        [    3.029728] [drm]   Encoders:
        [    3.031475] [drm]     DFP1: INTERNAL_UNIPHY
        [    3.034438] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
        [    3.037834] [drm] Connector 1:
        [    3.039677] [drm]   DIN-1
        [    3.046475] [drm]   Encoders:
        [    3.048234] [drm]     TV1: INTERNAL_KLDSCP_DAC2
        [    3.051545] [drm] Connector 2:
        [    3.053378] [drm]   DVI-I-2
        [    3.054959] [drm]   HPD1
        [    3.056274] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
        [    3.062449] [drm]   Encoders:
        [    3.064192] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
        [    3.067590] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
        [    3.172045] [drm] fb mappable at 0xD0459000
        [    3.172045] [drm] vram apper at 0xD0000000
        [    3.172046] [drm] size 7299072
        [    3.172046] [drm] fb depth is 24
        [    3.172047] [drm]    pitch is 6912
        [    3.355465] radeon 0000:02:00.0: fb0: radeondrmfb frame buffer device
        [    3.360652] radeon 0000:02:00.0: registered panic notifier
        [    3.369403] [drm] Initialized radeon 2.40.0 20080528 for 0000:02:00.0 on minor 0
        [   61.075712] [drm:rv770_dpm_set_power_state] *ERROR* rv770_restrict_performance_levels_before_switch failed
        Retry with kernel bugzilla? Freenode/#Radeon also makes more sense for this than Phoronix
        Last edited by nanonyme; 26 January 2015, 06:07 AM.

        Comment


        • #5
          I have the same problem in every games. Look this: http://openbenchmarking.org/result/1...LI-RADEONHD673.

          Tested with 3.19 rc5 too, this is not fixed. Play with Linux 3.18 is not possible, I need to use Linux 3.17...

          Comment


          • #6
            Some people have problem since Linux 3.17, like this.
            And it seems there is a similar proble here.

            Comment

            Working...
            X