Skip to contentSkip to conversation

New: Wine breackage since 504903b827604f1a630a335d14231f88c2cf36be (st/mesa: don't call st_validate_state in BlitFramebuffer)

Bug 92072 [email protected] 1 participant 4 messages Sep 22, 2015 – Sep 24, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=92072

Bug ID: 92072
Summary: Wine breackage since
504903b827604f1a630a335d14231f88c2cf36be (st/mesa:
don't call st_validate_state in BlitFramebuffer)
Product: Mesa
Version: git
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: randrik-JGs/[email protected]
QA Contact: [email protected]

Created attachment 118396
--> https://bugs.freedesktop.org/attachment.cgi?id=118396&action=edit
X log

Hello.

Recently I tried to play win32 version of UnrealTournament (first version) via wine. It worked before, but now failed. Updating wine to latest git (wine-1.7.51-201-g60d1d6f) not helped. I've bisected this down to mesa commit in summary (bisect was done on 10.6 branch, while bug was also present on master, what I usually use).

Bug manifested itself as static desktop image instead of fullscreen or even windowed game (in windowed mode it was not wine's desktop, yet not anything from game). I also suspect llvmpipe can be affected - because I tried with LIBGL_ALWAYS_SOFTWARE=1 and saw similar effect.

Hopefully below you can find apitrace from successfull game startup:
https://cloud.mail.ru/public/Hre5/bqVCYrwod

(3.2 Mb)

git bisect log below:
----------------
git bisect start
# good: [0b8e73a6ae2a77d0e9a7810cca5b181ba5f0893e] r600g,radeonsi: add driver queries for GPU temperature and shader+memory clocks
git bisect good 0b8e73a6ae2a77d0e9a7810cca5b181ba5f0893e
# bad: [02387926addc62198c9b684f4f51f7cbe06b3e25] docs: add sha256 checksums for 10.6.8
git bisect bad 02387926addc62198c9b684f4f51f7cbe06b3e25
# good: [65d4a20f1c1923498220637f9474d2ae399df52d] main: Refactor invalidate_framebuffer_storage.
git bisect good 65d4a20f1c1923498220637f9474d2ae399df52d
# good: [1f3ec929761d9aee986362ef90a4a150f4481496] mesa: Turn need_rgb_to_luminance_conversion() in to a global function
git bisect good 1f3ec929761d9aee986362ef90a4a150f4481496
# bad: [1f6798a70a6d7e6db636decc6af752f9a7714906] egl: Add eglQuerySurface surface type check for EGL_LARGEST_PBUFFER attrib
git bisect bad 1f6798a70a6d7e6db636decc6af752f9a7714906
# bad: [1f6798a70a6d7e6db636decc6af752f9a7714906] egl: Add eglQuerySurface surface type check for EGL_LARGEST_PBUFFER attrib
git bisect bad 1f6798a70a6d7e6db636decc6af752f9a7714906
# good: [4c3a4ac6da7820226ecad5fd654899ae727e11e0] nvc0: turn sample counts off during blit
git bisect good 4c3a4ac6da7820226ecad5fd654899ae727e11e0
# good: [ddc976368fef367e464472ebcc2ac4fd89eb9fd8] Add release notes for 10.6.3 git bisect good ddc976368fef367e464472ebcc2ac4fd89eb9fd8
# bad: [ba10c9ff5088b99591c13cad0b70929b49e6319c] nvc0: fix geometry program revalidation of clipping params
git bisect bad ba10c9ff5088b99591c13cad0b70929b49e6319c
# bad: [fbc464803a777bea4f9b7b11eeba192122adf8cb] mesa: Turn get_readpixels_transfer_ops() in to a global function
git bisect bad fbc464803a777bea4f9b7b11eeba192122adf8cb
# bad: [504903b827604f1a630a335d14231f88c2cf36be] st/mesa: don't call st_validate_state in BlitFramebuffer
git bisect bad 504903b827604f1a630a335d14231f88c2cf36be
# good: [c33ca1696a0a967091937805fa198ffc3317a03f] configure.ac: do not set HAVE_DRI(23) when libdrm is missing
git bisect good c33ca1696a0a967091937805fa198ffc3317a03f

---------------

Hw:
05:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 8800 GS] (rev a2) (prog-if 00 [VGA controller])

Note: I use older (patched) X server from 1.12 branch - but as far as I can see it doesn't expose anything new (sRGB fbconfigs, etc), and just changing nouveau_dri.so alone enough to make bug visible.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 92072] Wine breackage since 504903b827604f1a630a335d14231f88c2cf36be (st/mesa: don't call st_validate_state in BlitFramebuffer)

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=92072

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Drivers/DRI/nouveau         |Mesa core
           Assignee|[email protected] |mesa-dev-PD4FTy7X32lNgt0PjOBp9/[email protected]
                   |rg                          |org
         QA Contact|[email protected] |mesa-dev-PD4FTy7X32lNgt0PjOBp9/[email protected]
                   |rg                          |org

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- This appears to affect all gallium drivers -- Glenn confirmed this was also showing black on r600. i965 is unaffected.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 92072] Wine breakage since d082c5324 (st/mesa: don't call st_validate_state in BlitFramebuffer)

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=92072

Andrew Randrianasulu <randrik-JGs/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Mesa core                   |Drivers/DRI/nouveau
           Assignee|mesa-dev-PD4FTy7X32lNgt0PjOBp9/[email protected] |[email protected]
                   |org                         |rg
         QA Contact|mesa-dev-PD4FTy7X32lNgt0PjOBp9/[email protected] |[email protected]
                   |org                         |rg

--- Comment #5 from Andrew Randrianasulu <randrik-JGs/[email protected]> --- (In reply to Ilia Mirkin from comment #4)

Quoted 3 lines

FYI Marek has a fix: http://patchwork.freedesktop.org/patch/60146/

I tested it with this trace, and it seems to fix it.

Yes, just tested it - works fine for both UT and 3Dmark2000! Thanks, Marek!

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 92072] Wine breakage since d082c5324 (st/mesa: don't call st_validate_state in BlitFramebuffer)

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=92072

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Marek Olšák <[email protected]> --- Fixed by f3a081953393c7d40bd8df9ec22a2551d01098f5. Closing.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau