Bug 32312 - [RADEON:KMS:R600G] openvg rendering is broken
Summary: [RADEON:KMS:R600G] openvg rendering is broken
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 20:39 UTC by Sergey Kondakov
Modified: 2015-08-02 10:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg lockup info (10.73 KB, text/plain)
2010-12-10 20:45 UTC, Sergey Kondakov
Details
broken lion.jpg (25.68 KB, image/jpeg)
2010-12-20 02:42 UTC, Sergey Kondakov
Details
broken sp.jpg (12.08 KB, image/jpeg)
2010-12-20 02:42 UTC, Sergey Kondakov
Details
broken "Te$t" text.jpg (7.74 KB, image/jpeg)
2010-12-20 02:44 UTC, Sergey Kondakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Kondakov 2010-12-10 20:39:14 UTC
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.
Comment 1 Sergey Kondakov 2010-12-10 20:45:37 UTC
Created attachment 41000 [details]
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.
Comment 2 Sergey Kondakov 2010-12-20 02:36:04 UTC
with commit c451aade889c3c0733fabab691f2a33643e8a054 it doesn't freeze but rendering is broken
Comment 3 Sergey Kondakov 2010-12-20 02:42:19 UTC
Created attachment 41283 [details]
broken lion.jpg
Comment 4 Sergey Kondakov 2010-12-20 02:42:42 UTC
Created attachment 41284 [details]
broken sp.jpg
Comment 5 Sergey Kondakov 2010-12-20 02:44:02 UTC
Created attachment 41285 [details]
broken "Te$t" text.jpg
Comment 6 Sergey Kondakov 2011-02-02 16:29:02 UTC
now lion and sp are ok but in text demo there is no text and window just blank grey
Comment 7 Jerome Glisse 2011-03-07 11:09:50 UTC
Still issue with lastest mesa ?
Comment 8 Sergey Kondakov 2011-03-10 12:25:14 UTC
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.
Comment 9 Marek Olšák 2015-08-02 10:29:01 UTC
OpenVG has been removed from Mesa.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.