New: Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
https://bugs.freedesktop.org/show_bug.cgi?id=77966
Priority: medium
Bug ID: 77966
Assignee: [email protected]
Summary: Trails / Tracks when rendering OpenGL ES 2 moving
objects (Android-x86 / Mesa 10.0.4/5)
Severity: minor
Classification: Unclassified
OS: other
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: 10.0
Component: Drivers/Gallium/r600
Product: MesaCreated attachment 98023
--> https://bugs.freedesktop.org/attachment.cgi?id=98023&action=edit
logs for "Learn OpenGL ES 2.0" Samples (debug.egl.trace 1)
Hi,
I'm running the latest version of Android-x86 ( Kitkat RC1 ), but replaced bundled Mesa 9.2.1 by 10.0.4 and latter by 10.0.5 (See the procedure on
https://groups.google.com/forum/#!topic/android-x86/lKPmDXtNzjM).
This replacement gives support to my Radeon (7660D IGP). However, some OpenGL ES 2 apps have a problem when rendering a sequence of moving objects. Seems previous frame is not clean, keeping a trail / track of the previous image.
A example of this is "Learn OpenGL ES 2" sample tutorial apps
(http://www.learnopengles.com/). I attached 2 pics showing the problem.
Other apps using OpenGL ES 2 render correctly without problems. I got a picture from an app called "Live Ocean Benchmark", which works perfectly. Also, Play Store games like "Lawless" and "Angry Birds Star Wars" works correctly, except for the very first logos (they also have this redraw problem).
I turned on "debug.egl.trace" and generated logs to compare a working app (Live Ocean Benchmark) with a problematic one (Learn OpenGL ES 2). I attached them.
Could you say if this is a known problem with these versions of OpenGL? Couldn't test 10.1 on Android source tree to compare (Compiling errors).
Here's the full specs of machine/environment I tested:
CPU: AMD A10 5800K
VGA: Radeon 7660D (IGP - Integrated to the processor)
MEM: 8 Gb RAM (Corsair Vengeance 1600)
SO: Android-x86 ("KitKat - RC1" - Kernel 3.10.30 - 32 bits) Mesa versions tested:
- 9.2.1 (Doesn't support my IGP)
- 10.0.4 (problem described above)
- 10.0.5 (same as 10.0.4)
"OpenGL driver version" on Android Settings show this:
GL Vendor: X.org
GL Renderer: Gallium 0.4 on AMD ARUBA
GL Version: OpenGL ES 2.0 Mesa 10.0.4
Note: I created a bootable iso image to test it:
https://drive.google.com/file/d/0BxO6THtB865fanJ3MVdXWUplams/edit?usp=sharing
Thanks in advance
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
https://bugs.freedesktop.org/show_bug.cgi?id=77966
--- Comment #1 from [email protected] ---
Created attachment 98024
--> https://bugs.freedesktop.org/attachment.cgi?id=98024&action=edit
logs for "Live Ocean Benchmark" (which renders correctly)
A working app to compare OpenGL calls
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
--- Comment #2 from [email protected] ---
Created attachment 98025
--> https://bugs.freedesktop.org/attachment.cgi?id=98025&action=edit
Image showing the problem
Note: This sample works properly on other hardware configs
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |low
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
--- Comment #3 from [email protected] ---
Created attachment 98026
--> https://bugs.freedesktop.org/attachment.cgi?id=98026&action=edit
Live Ocean Benchmark screenshot (renders without problems)
Basically use the same OpenGL calls, but renders correctly.
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #98025|0 |1
is obsolete| |
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #98026|0 |1
is obsolete| |
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
--- Comment #4 from [email protected] ---
Created attachment 98029
--> https://bugs.freedesktop.org/attachment.cgi?id=98029&action=edit
Learn OpenGL ES 2 screenshot (redraw problem)
Image showing the problem.
Note: Works properly on other hardware configs (e.g Intel GMA 3150, supported by Mesa Classic Drivers)
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
--- Comment #5 from [email protected] ---
Created attachment 98031
--> https://bugs.freedesktop.org/attachment.cgi?id=98031&action=edit
Live Ocean Benchmark screenshot (renders without problems)
Live Ocean Benchmark screenshot (renders without problems)
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
--- Comment #6 from [email protected] ---
Compiled 10.1.1 today. The same issue. This is the android 4.4 bootable iso I created, in case you have a similar hardware and want to test it by yourselves:
https://drive.google.com/file/d/0BxO6THtB865fMHpKb204ZUVRTGM/edit?usp=sharing
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
--- Comment #7 from Michel Dänzer <[email protected]> --- Looks like bug 72889. I guess src/gallium/state_trackers/egl/android/native_android.cpp needs to be fixed similarly.
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
--- Comment #8 from [email protected] ---
Created attachment 98144
--> https://bugs.freedesktop.org/attachment.cgi?id=98144&action=edit
Patch
Thanks for the info. I did the changes attached on native_android.cpp and they worked for me.
I based this on Martin Andersson patch (bug 72889) and on commit 6349b3235cc07d396325863ece9ca6261daf8e77.
Although it worked for me, don't know if this is the best way of doing this fix.
Some of you guys could check it out please?
Thanks!
pstglia
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
[Bug 77966] Trails / Tracks when rendering OpenGL ES 2 moving objects (Android-x86 / Mesa 10.0.4/5)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=77966
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|[email protected] |[email protected]. |.org |org Component|Drivers/Gallium/r600 |EGL
--- Comment #9 from Michel Dänzer <[email protected]> ---
Might it be better to handle this in android_surface_enqueue_buffer() instead?
Anyway, please submit the patch to the mesa-dev mailing list for review. Preferably using git send-email, but at least using git format-patch.
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