https://bugs.freedesktop.org/show_bug.cgi?id=60553
Priority: medium Bug ID: 60553 Assignee: dri-devel@lists.freedesktop.org Summary: [trine2] wrong colors when executed fullscreen Severity: normal Classification: Unclassified OS: All Reporter: lordheavym@gmail.com Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 74499 --> https://bugs.freedesktop.org/attachment.cgi?id=74499&action=edit Trine2 screen with wrong colors
* mesa from git * xf86-video-ati-7.0.0 * radeon HD6870
Trine2 game colors are wrong when running fullscreen, not windowed. Here is the start of an apitrace output (it fail with an error):
[lordh@archMain Trine 2]$ apitrace dump trine2_linux_32bit.trace 6 glXChooseVisual(dpy = 0xcfdcfb8, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, GLX_LEVEL, GLX_GREEN_SIZE, GLX_LEVEL, GLX_BLUE_SIZE, GLX_BUFFER_SIZE, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, GLX_ACCUM_BLUE_SIZE, 0}) = &{visual = 0xcfe8b28, visualid = 557, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} 7 glXCreateContext(dpy = 0xcfdcfb8, vis = &{visual = 0xcfe8b28, visualid = 557, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}, shareList = NULL, direct = True) = 0xcfd3240 8 glXMakeCurrent(dpy = 0xcfdcfb8, drawable = 98566146, ctx = 0xcfd3240) = True 14 glXMakeCurrent(dpy = 0xcfdcfb8, drawable = 0, ctx = NULL) = True 15 glXDestroyContext(dpy = 0xcfdcfb8, ctx = 0xcfd3240) 16 glXChooseVisual(dpy = 0xcfdcfb8, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, GLX_LEVEL, GLX_GREEN_SIZE, GLX_LEVEL, GLX_BLUE_SIZE, GLX_BUFFER_SIZE, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, GLX_ACCUM_BLUE_SIZE, 0}) = &{visual = 0xcfe8b28, visualid = 557, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} 17 glXCreateContext(dpy = 0xcfdcfb8, vis = &{visual = 0xcfe8b28, visualid = 557, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}, shareList = NULL, direct = True) = 0xd025658 18 glXMakeCurrent(dpy = 0xcfdcfb8, drawable = 98566149, ctx = 0xd025658) = True 21 glXMakeCurrent(dpy = 0xcfdcfb8, drawable = 0, ctx = NULL) = True 22 glXDestroyContext(dpy = 0xcfdcfb8, ctx = 0xd025658) 29 glXChooseVisual(dpy = 0xcfdcfb8, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, GLX_RED_SIZE, GLX_GREEN_SIZE, GLX_RED_SIZE, GLX_BLUE_SIZE, GLX_RED_SIZE, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, GLX_RED_SIZE, 0}) = &{visual = 0xcfe8be8, visualid = 563, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} 30 glXCreateContext(dpy = 0xcfdcfb8, vis = &{visual = 0xcfe8be8, visualid = 563, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}, shareList = NULL, direct = True) = 0xd000248 31 glXMakeCurrent(dpy = 0xcfdcfb8, drawable = 98566152, ctx = 0xd000248) = True 37 glXMakeCurrent(dpy = 0xcfdcfb8, drawable = 0, ctx = NULL) = True 38 glXDestroyContext(dpy = 0xcfdcfb8, ctx = 0xd000248) 39 glXChooseVisual(dpy = 0xcfdcfb8, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, GLX_RED_SIZE, GLX_GREEN_SIZE, GLX_RED_SIZE, GLX_BLUE_SIZE, GLX_RED_SIZE, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, GLX_RED_SIZE, 0}) = &{visual = 0xcfe8be8, visualid = 563, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} error: unknown event 4
https://bugs.freedesktop.org/show_bug.cgi?id=60553
Laurent carlier lordheavym@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86-64 (AMD64) OS|All |Linux (All)
https://bugs.freedesktop.org/show_bug.cgi?id=60553
Laurent carlier lordheavym@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74499|text/plain |image/png mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=60553
--- Comment #1 from Laurent carlier lordheavym@gmail.com --- Created attachment 74500 --> https://bugs.freedesktop.org/attachment.cgi?id=74500&action=edit trine2 with correct rendering (windowed)
https://bugs.freedesktop.org/show_bug.cgi?id=60553
Laurent carlier lordheavym@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74499|image/png |image/jpeg mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=60553
--- Comment #2 from Laurent carlier lordheavym@gmail.com --- Tracing the game windows gives a working trace:
6 glXChooseVisual(dpy = 0xc4d0010, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, GLX_LEVEL, GLX_GREEN_SIZE, GLX_LEVEL, GLX_BLUE_SIZE, GLX_BUFFER_SIZE, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, GLX_ACCUM_BLUE_SIZE, 0}) = &{visual = 0xc4dbb80, visualid = 557, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} 7 glXCreateContext(dpy = 0xc4d0010, vis = &{visual = 0xc4dbb80, visualid = 557, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}, shareList = NULL, direct = True) = 0xc4e8bc0 8 glXMakeCurrent(dpy = 0xc4d0010, drawable = 23068674, ctx = 0xc4e8bc0) = True 14 glXMakeCurrent(dpy = 0xc4d0010, drawable = 0, ctx = NULL) = True 15 glXDestroyContext(dpy = 0xc4d0010, ctx = 0xc4e8bc0) 16 glXChooseVisual(dpy = 0xc4d0010, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, GLX_LEVEL, GLX_GREEN_SIZE, GLX_LEVEL, GLX_BLUE_SIZE, GLX_BUFFER_SIZE, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, GLX_ACCUM_BLUE_SIZE, 0}) = &{visual = 0xc4dbb80, visualid = 557, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} 17 glXCreateContext(dpy = 0xc4d0010, vis = &{visual = 0xc4dbb80, visualid = 557, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}, shareList = NULL, direct = True) = 0xc518380 18 glXMakeCurrent(dpy = 0xc4d0010, drawable = 23068677, ctx = 0xc518380) = True 21 glXMakeCurrent(dpy = 0xc4d0010, drawable = 0, ctx = NULL) = True 22 glXDestroyContext(dpy = 0xc4d0010, ctx = 0xc518380) 29 glXChooseVisual(dpy = 0xc4d0010, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, GLX_RED_SIZE, GLX_GREEN_SIZE, GLX_RED_SIZE, GLX_BLUE_SIZE, GLX_RED_SIZE, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, GLX_RED_SIZE, 0}) = &{visual = 0xc4dbc40, visualid = 563, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} 30 glXCreateContext(dpy = 0xc4d0010, vis = &{visual = 0xc4dbc40, visualid = 563, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}, shareList = NULL, direct = True) = 0xc4c6d00 31 glXMakeCurrent(dpy = 0xc4d0010, drawable = 23068680, ctx = 0xc4c6d00) = True 37 glXMakeCurrent(dpy = 0xc4d0010, drawable = 0, ctx = NULL) = True 38 glXDestroyContext(dpy = 0xc4d0010, ctx = 0xc4c6d00) 39 glXChooseVisual(dpy = 0xc4d0010, screen = 0, attribList = {GLX_RGBA, GLX_RED_SIZE, GLX_RED_SIZE, GLX_GREEN_SIZE, GLX_RED_SIZE, GLX_BLUE_SIZE, GLX_RED_SIZE, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, GLX_RED_SIZE, 0}) = &{visual = 0xc4dbc40, visualid = 563, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8} 40 glXCreateContext(dpy = 0xc4d0010, vis = &{visual = 0xc4dbc40, visualid = 563, screen = 0, depth = 24, c_class = 4, red_mask = 16711680, green_mask = 65280, blue_mask = 255, colormap_size = 256, bits_per_rgb = 8}, shareList = NULL, direct = True) = 0xc4fda30 41 glXMakeCurrent(dpy = 0xc4d0010, drawable = 23068683, ctx = 0xc4fda30) = True ........ and so on......
https://bugs.freedesktop.org/show_bug.cgi?id=60553
--- Comment #3 from letharion@gmail.com --- I can confirm I have the same issue. Works in windowed, colors wrong in fullscreen, and some objects fail to render completely during gameplay.
Radeon HD 6550D Mesa 9.1 xf86-video-ati 7.1.0
https://bugs.freedesktop.org/show_bug.cgi?id=60553
Laurent carlier lordheavym@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Laurent carlier lordheavym@gmail.com --- It seem now fixed with: 3.1 (Core Profile) Mesa 9.2.0 (git-c4bea00)
So, closing
https://bugs.freedesktop.org/show_bug.cgi?id=60553
letharion@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #5 from letharion@gmail.com --- Running with mesa as of c4150123aa9c2a71a62fed800d7c4424e9b948f2 I do not see this fixed.
The problems in the main menu, as shows in the screenshots already attached, remain. I'll attach images of gameplay as well, as the effect is shown more clearly there.
https://bugs.freedesktop.org/show_bug.cgi?id=60553
--- Comment #6 from letharion@gmail.com --- Created attachment 78860 --> https://bugs.freedesktop.org/attachment.cgi?id=78860&action=edit Trine 2 in fullscreen, heavy miss rendering.
https://bugs.freedesktop.org/show_bug.cgi?id=60553
letharion@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #78860|0 |1 is obsolete| |
--- Comment #7 from letharion@gmail.com --- Created attachment 78861 --> https://bugs.freedesktop.org/attachment.cgi?id=78861&action=edit Trine 2 in fullscreen, heavy miss rendering.
https://bugs.freedesktop.org/show_bug.cgi?id=60553
--- Comment #8 from letharion@gmail.com --- Created attachment 78862 --> https://bugs.freedesktop.org/attachment.cgi?id=78862&action=edit Trine 2 windowed. Proper rendering.
https://bugs.freedesktop.org/show_bug.cgi?id=60553
--- Comment #9 from Laurent carlier lordheavym@gmail.com --- Is it still an issue?
https://bugs.freedesktop.org/show_bug.cgi?id=60553
letharion@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from letharion@gmail.com --- I tested on the current git version today, and this is no longer an issue. :)
dri-devel@lists.freedesktop.org