[Bug 106790] [SKL] Some graphical effects don't appear when using Intel HD Graphics 520 in The Ruins of the Lost Kingdom CHRONICLE

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 11 13:32:22 UTC 2018


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

asimiklit <andrey.simiklit at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrey.simiklit at gmail.com

--- Comment #8 from asimiklit <andrey.simiklit at gmail.com> ---
Actually it is an expected behavior here because the game calls draw functions
when buffer is mapped and according to spec it is an incorrect behavior:

Section 6.3.2 of the GL 4.5 spec says: 

"Any GL command which attempts to read from, write to, or change the state of a
buffer object may generate an INVALID_OPERATION error if all or part of the
buffer object is mapped ... However, only commands which explicitly describe
this error are required to do so. If an error is not generated, such commands
will have undefined results and may result in GL interruption or termination."

But actually the Mesa already has an feature/ability to allow such behavior:

Commit  e401cfa28a6e32d7081f9de998e731965ce966fb:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=e401cfa28a6e32d7081f9de998e731965ce966fb

>i965: Allow mapped VBOs during drawing in non-debug contexts.


This option will be enabled automatically only for non-debug contexts.
But unfortunately Game creates context with flag
GLX_CONTEXT_FLAGS_ARB=GLX_CONTEXT_DEBUG_BIT_ARB and the Game is unable to use
this feature/ability and as far as I researched the mesa source code there is
no way to force Mesa to enable it.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180711/74cb8a7d/attachment.html>


More information about the intel-3d-bugs mailing list