https://bugs.freedesktop.org/show_bug.cgi?id=32312
Summary: openvg "lion" demo freezes the system & lockup GPU with r600g Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: virtuousfox@gmail.com
in time of bug #30684 r600g were giving poor performance with "lion" demo (about ~30 fps on my system) but not long ago i've noticed big, x10 time speedup (up to ~350 fps). however, it was not for long: with 783e7caadf945f176cb297b8791769e2855fc9ef revision launching "lion" demo on my system results in 1) video system freeze 2) 100% CPU time usage on all cores and total system freeze up if i not act quickly and not kill demo process via ssh fast
if killed in time - all goes back to normal, in exception of launching gles1gears demo right after which results in same behaviour. however, repeated launch of gles1gears results in working demo but with some artefacts. third launch is all ok.
i'm pretty sure that regression was introduced in r600g in last 48 ~hours (same revision but with r300g work ok) but i haven't done bisect.
https://bugs.freedesktop.org/show_bug.cgi?id=32312
--- Comment #1 from Sergey Kondakov virtuousfox@gmail.com 2010-12-10 20:45:37 PST --- Created an attachment (id=41000) --> (https://bugs.freedesktop.org/attachment.cgi?id=41000) dmesg lockup info
all lockup info from dmesg.
there is also drm initialization info: [ 0.319258] [drm] Initialized drm 1.1.0 20060810 [ 0.319366] [drm] radeon defaulting to kernel modesetting. [ 0.319422] [drm] radeon kernel modesetting enabled. [ 0.322089] [drm] initializing kernel modesetting (RV770 0x1002:0x944E). [ 0.322209] [drm] register mmio base: 0xFDFE0000 [ 0.322263] [drm] register mmio size: 65536 [ 0.323107] [drm] Detected VRAM RAM=512M, BAR=256M [ 0.323170] [drm] RAM width 128bits DDR [ 0.323424] [drm] radeon: 512M of VRAM memory ready [ 0.323479] [drm] radeon: 512M of GTT memory ready. [ 0.323658] [drm] radeon: irq initialized. [ 0.323713] [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 0.325293] [drm] Loading RV770 Microcode [ 0.373514] [drm] ring test succeeded in 1 usecs [ 0.373681] [drm] radeon: ib pool ready. [ 0.373759] [drm] ib test succeeded in 0 usecs [ 0.373816] [drm] Enabling audio support [ 0.374567] [drm] Radeon Display Connectors [ 0.374623] [drm] Connector 0: [ 0.374676] [drm] DVI-I [ 0.374730] [drm] HPD2 [ 0.374784] [drm] DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c [ 0.374843] [drm] Encoders: [ 0.375863] [drm] DFP1: INTERNAL_UNIPHY [ 0.375918] [drm] CRT2: INTERNAL_KLDSCP_DAC2 [ 0.375972] [drm] Connector 1: [ 0.376032] [drm] DIN [ 0.376085] [drm] Encoders: [ 0.376138] [drm] TV1: INTERNAL_KLDSCP_DAC2 [ 0.376192] [drm] Connector 2: [ 0.376246] [drm] DVI-I [ 0.376298] [drm] HPD1 [ 0.376352] [drm] DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c [ 0.376411] [drm] Encoders: [ 0.376464] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [ 0.376518] [drm] DFP2: INTERNAL_KLDSCP_LVTMA [ 0.432622] [drm] Internal thermal controller without fan control [ 0.432755] [drm] radeon: power management initialized [ 0.517044] [drm] fb mappable at 0xD0142000 [ 0.517099] [drm] vram apper at 0xD0000000 [ 0.517153] [drm] size 8294400 [ 0.517207] [drm] fb depth is 24 [ 0.517260] [drm] pitch is 7680 [ 0.517405] fbcon: radeondrmfb (fb0) is primary device [ 0.931659] fb0: radeondrmfb frame buffer device [ 0.931690] drm: registered panic notifier [ 0.931721] [drm] Initialized radeon 2.7.0 20080528 for 0000:01:00.0 on minor 0
and, by the way, color tiling is enabled and forced-on in X but i doubt is has anything to do with it.
https://bugs.freedesktop.org/show_bug.cgi?id=32312
--- Comment #2 from Sergey Kondakov virtuousfox@gmail.com 2010-12-20 02:36:04 PST --- with commit c451aade889c3c0733fabab691f2a33643e8a054 it doesn't freeze but rendering is broken
https://bugs.freedesktop.org/show_bug.cgi?id=32312
--- Comment #3 from Sergey Kondakov virtuousfox@gmail.com 2010-12-20 02:42:19 PST --- Created an attachment (id=41283) --> (https://bugs.freedesktop.org/attachment.cgi?id=41283) broken lion.jpg
https://bugs.freedesktop.org/show_bug.cgi?id=32312
--- Comment #4 from Sergey Kondakov virtuousfox@gmail.com 2010-12-20 02:42:42 PST --- Created an attachment (id=41284) --> (https://bugs.freedesktop.org/attachment.cgi?id=41284) broken sp.jpg
https://bugs.freedesktop.org/show_bug.cgi?id=32312
--- Comment #5 from Sergey Kondakov virtuousfox@gmail.com 2010-12-20 02:44:02 PST --- Created an attachment (id=41285) --> (https://bugs.freedesktop.org/attachment.cgi?id=41285) broken "Te$t" text.jpg
https://bugs.freedesktop.org/show_bug.cgi?id=32312
Sergey Kondakov virtuousfox@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|openvg "lion" demo freezes |openvg rendering is broken |the system & lockup GPU |on r600g |with r600g |
https://bugs.freedesktop.org/show_bug.cgi?id=32312
--- Comment #6 from Sergey Kondakov virtuousfox@gmail.com 2011-02-02 16:29:02 PST --- now lion and sp are ok but in text demo there is no text and window just blank grey
https://bugs.freedesktop.org/show_bug.cgi?id=32312
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|openvg rendering is broken |[RADEON:KMS:R600G] openvg |on r600g |rendering is broken
--- Comment #7 from Jerome Glisse glisse@freedesktop.org 2011-03-07 11:09:50 PST --- Still issue with lastest mesa ?
https://bugs.freedesktop.org/show_bug.cgi?id=32312
--- Comment #8 from Sergey Kondakov virtuousfox@gmail.com 2011-03-10 12:25:14 PST --- yes, still no text in "text" demo. and it's that way for both r600g & r300g even if i execute with LIBGL_ALWAYS_SOFTWARE=1.
https://bugs.freedesktop.org/show_bug.cgi?id=32312
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX
--- Comment #9 from Marek Olšák maraeo@gmail.com --- OpenVG has been removed from Mesa.
dri-devel@lists.freedesktop.org