New: r300g: OpenVG demos fail to render properly
https://bugs.freedesktop.org/show_bug.cgi?id=30684
Summary: r300g: OpenVG demos fail to render properly
Product: Mesa
Version: git
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
lion_x11: all i see is counterclockwise rotating black figure which stops if i move the window and then start rotating again. it disappears if i maximize window to fullscreen.sp_x11: just a black figure on white background.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] r300g: OpenVG demos fail to render properly
https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #1 from Sergey Kondakov <[email protected]> 2010-10-07 10:45:18 PDT --- Created an attachment (id=39259)
--> (https://bugs.freedesktop.org/attachment.cgi?id=39259)
lion_x11.jpg
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] r300g: OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #2 from Sergey Kondakov <[email protected]> 2010-10-07 10:45:42 PDT --- Created an attachment (id=39260)
--> (https://bugs.freedesktop.org/attachment.cgi?id=39260)
sp_x11.jpg
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] r300g: OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #3 from Ivan Sukin <[email protected]> 2010-10-11 10:27:12 PDT --- (In reply to comment #0)
Quoted 4 lines
lion_x11: all i see is counterclockwise rotating black figure which stops if i move the window and then start rotating again. it disappears if i maximize window to fullscreen.sp_x11: just a black figure on white background.
I also have this bug.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
Ivan Sukin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|r300g: OpenVG demos fail to |[r300g][OpenVG] OpenVG
|render properly |demos fail to render
| |properlySignature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #4 from Sergey Kondakov <[email protected]> 2010-12-01 06:50:06 PST --- Created an attachment (id=40701)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40701)
openvg 1.1 lion on r300g.jpg
this is how it looks after recent changes
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #5 from Sergey Kondakov <[email protected]> 2010-12-01 06:51:05 PST --- Created an attachment (id=40702)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40702)
openvg 1.1 sp on r300g.jpg
heh, you can even see something here
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #6 from Sergey Kondakov <[email protected]> 2010-12-01 06:52:12 PST --- Created an attachment (id=40703)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40703)
openvg 1.1 text on r300g.jpg
it also says:
"EGL_VERSION = 1.4 (Gallium)
using OpenVG text support
r300: Unknown TGSI/RC opcode: CLAMP
r300 FP: Compiler Error:r500_fragprog_emit.c::translate_rgb_op(): translate_rgb_op: unknown opcode ILLEGAL OPCODE
Using a dummy shader instead.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0"
after 179008 requests (179008 known processed) with 0 events remaining."
in console
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #7 from Marek Olšák <[email protected]> 2010-12-01 08:04:18 PST --- Created an attachment (id=40706)
View: https://bugs.freedesktop.org/attachment.cgi?id=40706
Review: https://bugs.freedesktop.org/review?bug=30684&attachment=40706
possible fix
Could you possibly try this patch?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #8 from Sergey Kondakov <[email protected]> 2010-12-01 09:11:11 PST --- Created an attachment (id=40710)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40710)
openvg 1.1 lion with patch.jpg
holy bytes! now i can see an actual picture. but still it suspiciously rotating.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #9 from Sergey Kondakov <[email protected]> 2010-12-01 09:11:53 PST --- Created an attachment (id=40711)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40711)
openvg 1.1 sp with patch.jpg
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #10 from Sergey Kondakov <[email protected]> 2010-12-01 09:14:46 PST --- Created an attachment (id=40712)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40712)
openvg 1.1 text with patch.jpg
still looks ugly but there is no error message anymore.
and it flashing black when i resizing its window, text itself is not resizing but it's there. probably just redrawing itself that ugly.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #11 from Marek Olšák <[email protected]> 2010-12-01 09:39:34 PST --- OpenVG is still being actively developed. I can't say if this bug should be attributed to us (r300g) or the state tracker (st/vega). I need some clue as to what is wrong there. Have you tried the softpipe driver?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #12 from Marek Olšák <[email protected]> 2010-12-01 10:28:11 PST --- I've just had a look at st/vega source code and found a shader which can't run on DX9-class hardware, like r500 and nv40. The shader in question is "convolution_asm" in asm_filters.h. The presence of ARL makes it require DX10-class hardware but the loop and break instructions are not nice either (not supported in shader model 2.0).
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #13 from Sergey Kondakov <[email protected]> 2010-12-01 10:57:52 PST --- i don't know how it should look either :) i just know that before this patch and recent big changes it was just ugly black stuff in ugly white box.
we should probably ask someone who wrote those demos.
is it possible to use different gallium driver on-the-fly without X restart, library rename, etc. ?
if it should look like it looks on recent screenshots then this is, probably, _fixed_.
on r600g (R770) those demos were outright segfaulting before openvg 1.1 bump and now they look indistinguishable from those last r300g screenshots with 2 exceptions though:
1) lion rotating much slower and much more sluggish than on r300g machine and looks more colourful.
maybe it uses software rendering for openvg for some reason and this is how it supposed to look ? i will provide a picture
2) no text in "text" demo and it says:
"EE r600_shader.c/tgsi_unsupported:868 - 25 tgsi opcode unsupported EE r600_shader.c/r600_pipe_shader_create:339 - translation from TGSI failed !"
but this is probably not in your department and topic of another bug report which should be filled.
anyway, i'm happy that openvg can actually draw something coherent on real gallium drivers. maybe it will finally be a reason for those cairo guys to fix their drm/kms & gallium & openvg & xcb "support", for 2D GUI/DE/vector graphic editor people to utilize it and such.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #14 from Sergey Kondakov <[email protected]> 2010-12-01 11:14:58 PST --- Created an attachment (id=40713)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40713)
slow lion from r770 with r600g and mesa-git right after r300g-opcode-patch.jpg
there is a memory leak :(
this demo, on both r300g and r600g, eats up memory very fast (and ~5 times faster on r300g where it also rotates faster).
it also uses ~70-80% CPU time _on both_ machines.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #15 from Sergey Kondakov <[email protected]> 2010-12-01 11:23:48 PST --- hm. now then i look at it as two screenshots one-to-one and not two monitors side-by-side, they look identical. must have been LCD differences :( everything else stands though.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
--- Comment #16 from Marek Olšák <[email protected]> 2010-12-01 18:26:37 PST --- (In reply to comment #14)
Quoted 4 lines
there is a memory leak :(
this demo, on both r300g and r600g, eats up memory very fast (and ~5 times faster on r300g where it also rotates faster).
it also uses ~70-80% CPU time_onboth_machines.
Since r300g doesn't leak any memory when used as an OpenGL driver, I guess it's just st/vega that causes this.
I think r600g rotates the lion slower because it's slower than r300g. The speed of the animation seems to depedent on framerate.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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
[Bug 30684] [r300g][OpenVG] OpenVG demos fail to render properly
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30684
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #17 from Marek Olšák <[email protected]> 2010-12-01 18:30:14 PST --- Since there isn't any other r300g-specific issue with st/vega, I am closing this bug. Feel free to file a new one if you encounter any other issues. The memory leak bug should probably be filed against Mesa core.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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