[Nouveau] [Bug 68402] Some elements are only rendered in top-left area

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 22 17:16:42 PDT 2013


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

--- Comment #4 from Emil Velikov <emil.l.velikov at gmail.com> ---
You're a star Ján

Just had a word with our main dev and he suggested that
viewport transformation is optional, whereas viewport clip rectangle must be
set before and after 3d_blit().

With that said, here is what can be done to double-check/fix this - note a
quick piglit [1] test before and after each one, plus testing of other games/gl
apps is essential.

* nuke the viewport clip rectangle (despite all odds)
* change the viewport clip rectangle - traceback and use the original values
(the ones saved at the begingin on 3d_blit() and restored at the end)
* nuke the viewport transformation
* add the conditional NV50_TIC_5_LAST_LEVEL__MASK on tic[5] in
nvc0_create_texture_view (compare vs nv50_create_texture_view)

I'm hoping that one of the last two will do the job, although chances are that
it may be one of the first two. Either way a piglit and further testing will
prove which solution is the most appropriate.

Feel free to give it a shot yourself, as it will take a some time until I get
to it(apart from the lack of HW).

Note: depending on your luck(and other unknown to me factors) piglit may lockup
X and your system. Normally a s2r cycle is sufficient to get it back into
shape, otherwise a reboot is needed.

Cheers,
Emil

[1] http://cgit.freedesktop.org/piglit/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130823/2eebe6df/attachment-0001.html>


More information about the Nouveau mailing list