Skip to contentSkip to conversation

New: Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

Bug 83616 [email protected] 1 participant 18 messages Sep 8, 2014 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

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

          Priority: medium
            Bug ID: 83616
          Assignee: [email protected]
           Summary: Sydtem crashes in xonotic with kernel 3.17-rc since
                    linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: git
         Component: Drivers/Gallium/r600
           Product: Mesa

linux git 86302eeadebfab94530b00f5e53a23f911ff41e4 is the first bad commit

launching xonotic hangs and resets the gpu, game video output looks corrupted, then eventually reboots the system, or can only sysrq out

mesa git current
xorg server 1.16

[   414.741] (--) RADEON(0): Chipset: "ATI RV730XT [Radeon HD 4670]" 
                 (ChipID = 0x9490)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author Tested-by Michel Dänzer
#1 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

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

--- Comment #1 from Bug <[email protected]> --- commit 86302eeadebfab94530b00f5e53a23f911ff41e4

Author: Christian König <[email protected]>
Date:   Mon Aug 18 16:30:12 2014 +0200

drm/radeon: Sync ME and PFP after CP semaphore waits v4

Fixes lockups due to CP read GPUVM faults when running piglit on Cape Verde.

v2 (chk): apply the fix to R600+ as well, on CIK only the GFX CP has
a PFP, add more comments to R600 code, enable flushing again
v3: (agd5f): only apply to 7xx+. r6xx does not have the packet.
v4: (agd5f): split flush change into a separate patch, fix formatting

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Product|Mesa                        |DRI
            Version|git                         |unspecified
          Component|Drivers/Gallium/r600        |DRM/Radeon
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #2 from Bug <[email protected]> --- not fixed in rc4 it wasnt

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #3 from Alex Deucher <[email protected]> --- Created attachment 105904
--> https://bugs.freedesktop.org/attachment.cgi?id=105904&action=edit
only enable me/pfp sync evergreen+

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #4 from Bug <[email protected]> --- it didnt solve the bug with my RV730 chip,
but when I commented out the whole if block it did work so maybe my chip is from before chedar

thanks

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #5 from Alex Deucher <[email protected]> --- (In reply to comment #4)

Quoted 3 lines

it didnt solve the bug with my RV730 chip,
but when I commented out the whole if block it did work so maybe my chip is from before chedar

Your chip is before cedar so the patch prevents that block from executing on your chip, the same as commenting out the entire block. Are you sure you tested the right kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #6 from Bug <[email protected]> ---
I made a mistake, I tested it again with your patch on a clean 3.17-rc4 and it works now, thanks

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

Dieter Nützel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Dieter Nützel <[email protected]> --- This fixes ONE of the bugs Christian and me are hunting for some days, now. Making my RV730 AGP (!!!) working with 3.17-rcX/drm-next-3.18-wip, again.

Crashed with mplayer -vo vdpau XXX immediatly.

But 'allow UVD to use a second 256MB segment' gave no speedup, at least for me.

Maybe it is the 'second' bug (regression) introduced with the switch from 3.16 to 3.17 (drm-next).

[   11.218269] [drm] radeon kernel modesetting enabled.
[   11.218416] checking generic (c0000000 5b0000) vs hw (c0000000 10000000)
[   11.218420] fb: switching to radeondrmfb from VESA VGA
[   11.218475] Console: switching to colour dummy device 80x25
[   11.229222] [drm] initializing kernel modesetting (RV730 0x1002:0x9495
0x174B:0x0028).
[   11.229262] [drm] register mmio base: 0xDFDF0000
[   11.229265] [drm] register mmio size: 65536
[   11.229954] ATOM BIOS: 113
[   11.234817] [drm] AGP mode requested: 8
[   11.234836] agpgart-via 0000:00:00.0: AGP 3.5 bridge
[   11.234866] agpgart-via 0000:00:00.0: putting AGP V3 device into 8x mode
[   11.234946] radeon 0000:01:00.0: putting AGP V3 device into 8x mode
[   11.234951] radeon 0000:01:00.0: GTT: 256M 0xE0000000 - 0xEFFFFFFF
[   11.234959] radeon 0000:01:00.0: VRAM: 1024M 0xA0000000 - 0xDFFFFFFF (1024M
used)
[   11.234964] [drm] Detected VRAM RAM=1024M, BAR=256M
[   11.234966] [drm] RAM width 128bits DDR
[   11.238704] [TTM] Zone  kernel: Available graphics memory: 441678 kiB
[   11.238712] [TTM] Zone highmem: Available graphics memory: 1033522 kiB
[   11.238715] [TTM] Initializing pool allocator
[   11.238783] [drm] radeon: 1024M of VRAM memory ready
[   11.238787] [drm] radeon: 256M of GTT memory ready.
[   11.238828] [drm] Loading RV730 Microcode
[   11.239204] [drm] Internal thermal controller with fan control
[   11.261230] [drm] radeon: dpm initialized
[   11.262463] [drm] GART: num cpu pages 65536, num gpu pages 65536
[   11.316570] radeon 0000:01:00.0: (-1) pin WB bo failed
[   11.316582] radeon 0000:01:00.0: f2fb0c00 unpin not necessary
[   11.316601] radeon 0000:01:00.0: disabling GPU acceleration
[   11.369220] radeon 0000:01:00.0: f6064000 unpin not necessary
[   11.433188] [TTM] Finalizing pool allocator
[   11.433309] [TTM] Zone  kernel: Used memory at exit: 0 kiB
[   11.433317] [TTM] Zone highmem: Used memory at exit: 0 kiB
[   11.433320] [drm] radeon: ttm finalized
[   11.433325] [drm] Forcing AGP to PCIE mode
[   11.436109] ATOM BIOS: 113
[   11.436236] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 -
0x000000003FFFFFFF (1024M used)
[   11.436241] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 -
0x000000007FFFFFFF
[   11.436245] [drm] Detected VRAM RAM=1024M, BAR=256M
[   11.436248] [drm] RAM width 128bits DDR
[   11.439116] [TTM] Zone  kernel: Available graphics memory: 441678 kiB
[   11.439124] [TTM] Zone highmem: Available graphics memory: 1033522 kiB
[   11.439126] [TTM] Initializing pool allocator
[   11.439204] [drm] radeon: 1024M of VRAM memory ready
[   11.439207] [drm] radeon: 1024M of GTT memory ready.
[   11.439229] [drm] Internal thermal controller with fan control
[   11.446639] [drm] radeon: dpm initialized
[   11.451486] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   11.478175] [drm] PCIE GART of 1024M enabled (table at 0x000000000025E000).
[   11.478272] radeon 0000:01:00.0: WB enabled
[   11.478280] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000040000c00 and cpu addr 0xf2fc0c00
[   11.478285] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000040000c0c and cpu addr 0xf2fc0c0c
[   11.522522] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x000000000005c598 and cpu addr 0xf929c598
[   11.522536] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   11.522538] [drm] Driver supports precise vblank timestamp query.
[   11.522611] [drm] radeon: irq initialized.
[   11.603504] [drm] ring test on 0 succeeded in 1 usecs
[   11.603574] [drm] ring test on 3 succeeded in 1 usecs
[   11.794270] [drm] ring test on 5 succeeded in 1 usecs
[   11.794284] [drm] UVD initialized successfully.
[   11.794561] [drm] ib test on ring 0 succeeded in 0 usecs
[   11.794595] [drm] ib test on ring 3 succeeded in 0 usecs
[   12.445034] [drm] ib test on ring 5 succeeded
[   12.448099] [drm] Radeon Display Connectors
[   12.448111] [drm] Connector 0:
[   12.448113] [drm]   DVI-I-1
[   12.448115] [drm]   HPD2
[   12.448119] [drm]   DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 0x7f1c
0x7f1c
[   12.448121] [drm]   Encoders:
[   12.448124] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[   12.448126] [drm]     DFP2: INTERNAL_UNIPHY1
[   12.448128] [drm] Connector 1:
[   12.448130] [drm]   DVI-I-2
[   12.448132] [drm]   HPD1
[   12.448135] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c
0x7e2c
[   12.448137] [drm]   Encoders:
[   12.448138] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[   12.448140] [drm]     DFP1: INTERNAL_UNIPHY
[   12.448142] [drm] Connector 2:
[   12.448143] [drm]   DIN-1
[   12.448145] [drm]   Encoders:
[   12.448147] [drm]     TV1: INTERNAL_KLDSCP_DAC2
[   12.548120] [drm] fb mappable at 0xC045F000
[   12.548129] [drm] vram apper at 0xC0000000
[   12.548131] [drm] size 8294400
[   12.548133] [drm] fb depth is 24
[   12.548135] [drm]    pitch is 7680
[   12.548539] fbcon: radeondrmfb (fb0) is primary device
[   12.549685] Console: switching to colour frame buffer device 240x67
[   12.600307] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[   12.600311] radeon 0000:01:00.0: registered panic notifier
[   12.603112] [drm] Initialized radeon 2.40.0 20080528 for 0000:01:00.0 on

minor 0

Tried after bisection with reverting:
drm-radeon-fix-display-handling-in-radeon_gpu_reset.patch

Any ideas, Alex/Christian?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #8 from Dieter Nützel <[email protected]> --- Created attachment 105922
--> https://bugs.freedesktop.org/attachment.cgi?id=105922&action=edit
dmesg-drm-next-3.18-wip.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #9 from Dieter Nützel <[email protected]> --- Created attachment 105923
--> https://bugs.freedesktop.org/attachment.cgi?id=105923&action=edit
Xorg.0.log-drm-next-3.18-wip

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #10 from Alex Deucher <[email protected]> --- (In reply to comment #7)

Quoted 11 lines

This fixes ONE of the bugs Christian and me are hunting for some days, now. Making my RV730 AGP (!!!) working with 3.17-rcX/drm-next-3.18-wip, again.

Crashed with mplayer -vo vdpau XXX immediatly.

But 'allow UVD to use a second 256MB segment' gave no speedup, at least for me.

Maybe it is the 'second' bug (regression) introduced with the switch from 3.16 to 3.17 (drm-next).

[snip]

Quoted 5 lines

Tried after bisection with reverting:
drm-radeon-fix-display-handling-in-radeon_gpu_reset.patch

Any ideas, Alex/Christian?

I'm not sure what you are asking. What issue are you having?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #11 from Dieter Nützel <[email protected]> --- (In reply to comment #10)

Quoted 12 lines

(In reply to comment #7)

Quoted 11 lines

This fixes ONE of the bugs Christian and me are hunting for some days, now. Making my RV730 AGP (!!!) working with 3.17-rcX/drm-next-3.18-wip, again.

Crashed with mplayer -vo vdpau XXX immediatly.

But 'allow UVD to use a second 256MB segment' gave no speedup, at least for me.

Maybe it is the 'second' bug (regression) introduced with the switch from 3.16 to 3.17 (drm-next).

Quoted 8 lines

[snip]

Quoted 5 lines

Tried after bisection with reverting:
drm-radeon-fix-display-handling-in-radeon_gpu_reset.patch

Any ideas, Alex/Christian?

I'm not sure what you are asking. What issue are you having?

Sorry Alex, but is this intended (it is in the logs since 3.16+, too)?

[   11.316570] radeon 0000:01:00.0: (-1) pin WB bo failed
[   11.316582] radeon 0000:01:00.0: f2fb0c00 unpin not necessary
[   11.316601] radeon 0000:01:00.0: disabling GPU acceleration
[   11.369220] radeon 0000:01:00.0: f6064000 unpin not necessary
[   11.433188] [TTM] Finalizing pool allocator
[   11.433309] [TTM] Zone  kernel: Used memory at exit: 0 kiB
[   11.433317] [TTM] Zone highmem: Used memory at exit: 0 kiB
[   11.433320] [drm] radeon: ttm finalized
[   11.433325] [drm] Forcing AGP to PCIE mode

So, maybe GTT/GART grows to big?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 83616] Sydtem crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

--- Comment #12 from Alex Deucher <[email protected]> --- (In reply to comment #11)

Quoted 8 lines

Sorry Alex, but is this intended (it is in the logs since 3.16+, too)?

[   11.316570] radeon 0000:01:00.0: (-1) pin WB bo failed
[   11.316582] radeon 0000:01:00.0: f2fb0c00 unpin not necessary
[   11.316601] radeon 0000:01:00.0: disabling GPU acceleration
[   11.369220] radeon 0000:01:00.0: f6064000 unpin not necessary
Quoted 8 lines
[   11.433188] [TTM] Finalizing pool allocator
[   11.433309] [TTM] Zone  kernel: Used memory at exit: 0 kiB
[   11.433317] [TTM] Zone highmem: Used memory at exit: 0 kiB
[   11.433320] [drm] radeon: ttm finalized
[   11.433325] [drm] Forcing AGP to PCIE mode

So, maybe GTT/GART grows to big?

AGP should work. You'll have to bisect. Anyway, this is not related to this bug. Please open a new one.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 83616] System crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

Alexandre Demers <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Sydtem crashes in xonotic   |System crashes in xonotic
                   |with kernel 3.17-rc since   |with kernel 3.17-rc since
                   |linux commit                |linux commit
                   |86302eeadebfab94530b00f5e53 |86302eeadebfab94530b00f5e53
                   |a23f911ff41e4               |a23f911ff41e4
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw

[Bug 83616] System crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

Dieter Nützel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #105922|0                           |1

is obsolete| |

--- Comment #13 from Dieter Nützel <[email protected]> --- Comment on attachment 105922
--> https://bugs.freedesktop.org/attachment.cgi?id=105922
dmesg-drm-next-3.18-wip.log

My second bug is fixed with:

3840a65 drm/radeon: fix AGP userptr handling

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw

[Bug 83616] System crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

Dieter Nützel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #105923|0                           |1

is obsolete| |

--- Comment #14 from Dieter Nützel <[email protected]> --- Comment on attachment 105923
--> https://bugs.freedesktop.org/attachment.cgi?id=105923
Xorg.0.log-drm-next-3.18-wip

My second bug is fixed with:

3840a65 drm/radeon: fix AGP userptr handling

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw

[Bug 83616] System crashes in xonotic with kernel 3.17-rc since linux commit 86302eeadebfab94530b00f5e53a23f911ff41e4

In reply to [email protected]

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #15 from Martin Peres <[email protected]> --- -- 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/drm/amd/issues/523.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel