Summary: | (xorg-server 1.11.2-2, xf86-video-ati 6.14.3-1 or git, qt 4.7.4) black pixels instead of transparency from PNGs | ||
---|---|---|---|
Product: | Mesa | Reporter: | Iwan Gabovitch <qubodup> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | qubodup |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | The black backgrounds of the letters should be transparent. |
Description
Iwan Gabovitch
2011-12-16 04:25:49 UTC
Please attach your xorg log, dmesg output, and the output of glxinfo. Also what chip are you using? AFAICT from looking at it in apitrace, the game itself seems at least partly to blame: * It doesn't pass GLX_ALPHA_SIZE with a non-0 value to glXChooseFBConfig, so it can't rely on the FBConfig having an alpha channel. * It passes GLX_BIND_TO_TEXTURE_RGB_EXT (instead of GLX_BIND_TO_TEXTURE_RGBA_EXT) to glXChooseFBConfig and passes GLX_TEXTURE_FORMAT_RGB_EXT (instead of GLX_TEXTURE_FORMAT_RGBA_EXT) for GLX_TEXTURE_FORMAT_EXT to glXCreatePixmap, so it can't rely on that the FBConfig can be bound to a texture with an alpha channel. That said, I tried overriding these values in gdb, but the problem was still there, so there could be a Mesa issue as well. Anyway, it doesn't seem to happen with LIBGL_ALWAYS_INDIRECT=1 but does happen with llvmpipe, so reassigning to Mesa core for now. What the.. I can not reproduce the display bug any more after replacing catalyst with xf86-video-ati again. Here are some logs though: http://qubodup.net/hw/catalyst_Xorg.0.log http://qubodup.net/hw/catalyst_dmesg.txt http://qubodup.net/hw/catalyst_glxinfo.txt http://qubodup.net/hw/catalyst_lspci.txt http://qubodup.net/hw/radeon_Xorg.0.log http://qubodup.net/hw/radeon_dmesg.txt http://qubodup.net/hw/radeon_glxinfo.txt http://qubodup.net/hw/radeon_lspci.txt 01:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700 Series/6750] (In reply to comment #3) > What the.. I can not reproduce the display bug any more after replacing > catalyst with xf86-video-ati again. According to glxinfo you're not using hardware acceleration anymore but the llvmpipe software rasterizer. Though I was seeing the problem with that as well. Anyway, as described before, the problem basically looks like the game creates the GLXPixmaps for the characters without an alpha channel, and then tries to use them as textures with alpha blending. This can't work. Feel free to reopen this report if the problem persists after the above issue has been addressed in the game. This seems to be a Qt bug. It works correctly for me with Qt 4.8. |
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.