Bug 666523
| Summary: | r600: unmapping 3D windows in wine causes FBO-related glyph/pixmap corruption | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | r6144 <rainy6144> | ||||||||
| Component: | mesa | Assignee: | Jérôme Glisse <jglisse> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | 14 | CC: | ajax, xgl-maint | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-08-16 18:26:19 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
r6144
2010-12-31 11:28:24 UTC
Created attachment 471275 [details]
My /var/log/dmesg. Triggering the bug does not give any extra output in dmesg or /var/log/Xorg.0.log.
Created attachment 471276 [details]
Xorg.0.log. Looks uninteresting.
Created attachment 471277 [details]
xorg.conf
Detailed installation instructions: 1. Download alcostg_web.zip from the website above and decompress it into some directory under the Linux home directory. 2. Run "LANG=ja_JP.UTF-8 wine alcostg_setup.exe" in the appropriate directory to install the game. The installation path can be another directory under the Linux home directory (z:\home\user-name\XXX). Otherwise just click "Next" (the button labeled with N). 3. Run "LANG=ja_JP.UTF-8 wine alcostg.exe" in the appropriate directory. The button on the right starts the game in windowed mode. After some investigation, it turns out that Wine treats an unmapped/minimized windows as one having 32x32 size, and wine's dlls/wined3d/swapchain.c:IWineD3DSwapChainImpl_Present() function then considers the window to have been resized and turns on render_to_fbo (not really necessary in this case). So the corruption of text glyphs all over the desktop is probably an FBO bug in Mesa or the kernel-side DRM driver; indeed, it also occurs when I attempt to use an enlarged window size (e.g. 960x720) in newer Touhou games, which presumably also uses FBO. Such FBO use did not cause any problem in Fedora 12. The corruption of the game graphics after unmapping/minimization is an orthogonal issue: the stock Mesa supports GL_EXT_framebuffer_object but not GL_EXT_framebuffer_blit, but wine attempted to bind GL_DRAW_FRAMEBUFFER anyway. This can be fixed by enabling GL_EXT_framebuffer_blit in the Mesa r600 DRI driver, which had no other ill effect in Fedora 12. In Fedora 14, game graphics is no longer garbled after such a fix, but pixmap and text glyph corruption in the desktop remains. For now a workaround is to set wine's OffscreenRenderingMode to backbuffer so that it avoids using FBOs, which could reduce performance in some cases and fail to implement some effects. This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |