Summary: | Half Life 2 in Wine is broken since 4e549ddb | ||
---|---|---|---|
Product: | Mesa | Reporter: | Stefan Dösinger <stefandoesinger> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | alexandre.f.demers, b.bellec |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
l4d2_with_msaa_bad
l4d2_without_mass_good |
Description
Stefan Dösinger
2014-01-15 17:45:29 UTC
Created attachment 92174 [details]
l4d2_with_msaa_bad
Created attachment 92175 [details]
l4d2_without_mass_good
I confirm the bug, with the native version of: - HL² - HL² Episode Two - Left 4 Dead 2 - Counter Strike: Source Note that the corrupted screenshot is not really like what we see in reality. On the screen all is red but we can see the HUD and the teamplayers nickname tag. Yeah, it looks pretty much the same way in Wine. Seeing the same here with native versions too. Just for info, what GPU are you using? HD6950 (Cayman) over here. Are you using the R600 LLVM backend? (In reply to comment #7) > Are you using the R600 LLVM backend? In my case, tested with and without R600 LLVM backend: the result is the same. This may be unrelated, but I also get a similar red screen in the games Dragon Age: Origins and Torchlight 2 (both via wine) when antialiasing is enabled. This is using Radeon HD 7770 with recent git versions of mesa and llvm. I just tested with nouveau on a GeForce 210 (NVA8) card (nv50 driver) and there is the same problem. But instead of a red weird screen (in Left 4 Dead 2) there is a completely black screen instead (the HUD is still visible like on r600g). I also performed other test (on r600g) within Left 4 Dead 2: with MSAA disabled => no problem with MSAAx2 enabled => textures are visible but game lags, screen is blinking and shaking, teamplayer models are disappearing sometimes and there is some other weird graphical bug with MSAAx4 enabled => red weird screen with HUD visible with MSAAx6 enabled => ditto with MSAAx8 enabled => ditto @Alexandre I'm using a RV770 (Radeon HD4850) @Marek Without LLVM. My compil conf is: ./autogen.sh --with-gallium-drivers=r600,nouveau --with-dri-drivers= --enable-texture-float --disable-dri3 --disable-r600-llvm-compiler --disable-gallium-llvm --enable-32-bit CFLAGS="-O2 -m32" CXXFLAGS="-O2 -m32" --libdir=/usr/lib (In reply to comment #10) > I just tested with nouveau on a GeForce 210 (NVA8) card (nv50 driver) and > there is the same problem. But instead of a red weird screen (in Left 4 Dead > 2) there is a completely black screen instead (the HUD is still visible like > on r600g). Was the mesa that you tested nouveau with between commits 95bf222603b and dd687fb8d09? If so, that could explain the black screen. If not, the bug may be helped with an apitrace demonstrating the issue. I compiled mesa 2 or 3 hours ago, this is mesa master. Is there any free wine test or game that I can use to reproduce this bug? (In reply to comment #13) > Is there any free wine test or game that I can use to reproduce this bug? I tested several free or open-source games but none of them are impacted (Xonotic, 0AD, Ryzom, Yo Frankie!, TA Spring). So it looks like this mostly hits the games using the Valve's Source engine. I'm currently downloading Team Fortress 2 (which is free to play) given that it is based on the Source engine. (In reply to comment #13) > Is there any free wine test or game that I can use to reproduce this bug? Confirmed with Team Forteress 2. (In reply to comment #15) > (In reply to comment #13) > > Is there any free wine test or game that I can use to reproduce this bug? > > Confirmed with Team Forteress 2. TF2 for Windows or TF2 for Linux? (In reply to comment #16) > (In reply to comment #15) > > (In reply to comment #13) > > > Is there any free wine test or game that I can use to reproduce this bug? > > > > Confirmed with Team Forteress 2. > > TF2 for Windows or TF2 for Linux? Linux. Confirmed with TF2 (Linux edition). Same behavior with MSAAx2 and MSAAx4-6-8. I sent the fix to mesa-dev. It's called "gallium/util: util_format_srgb should not return FORMAT_NONE for sRGB formats". (In reply to comment #19) > I sent the fix to mesa-dev. It's called "gallium/util: util_format_srgb > should not return FORMAT_NONE for sRGB formats". It was tested correctly on TF2 MSAA 2X, 4X, 6X, 8X Tested-by: Alexandre Demers I confirm that the patch works. Fixed by d40532f260c15d56e5fa836147e02c031a999682. Closing. |
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.