[Bug 32511] glDrawPixels broken on savage

2011-06-14 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 Tormod Volden changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 32511] glDrawPixels broken on savage

2011-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 Tormod Volden bugzi11.fdo.tor...@xoxy.net changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 32511] glDrawPixels broken on savage

2011-04-05 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #16 from Brian Paul 2011-04-05 07:53:09 PDT --- Another approach to fixing glDrawPixels might be to use the _mesa_meta_DrawPixels() function from meta.c. Just plug it into the driver dispatch table in savageDDInitSpanFuncs()

[Bug 32511] glDrawPixels broken on savage

2011-04-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #15 from Tormod Volden 2011-04-03 14:43:44 PDT --- Created an attachment (id=45201) View: https://bugs.freedesktop.org/attachment.cgi?id=45201 Review: https://bugs.freedesktop.org/review?bug=32511=45201 map only the apertures,

[Bug 32511] glDrawPixels broken on savage

2011-04-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #15 from Tormod Volden bugzi11.fdo.tor...@xoxy.net 2011-04-03 14:43:44 PDT --- Created an attachment (id=45201) View: https://bugs.freedesktop.org/attachment.cgi?id=45201 Review:

[Bug 32511] glDrawPixels broken on savage

2011-02-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #14 from Tormod Volden 2011-02-12 04:13:17 PST --- I have tracked this down to kernel commit 41c2e75e60200a860a74b7c84a6375c105e7437f: ... But also, because userspace isn't capable of passing such offsets, I had to

[Bug 32511] glDrawPixels broken on savage

2011-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #14 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2011-02-12 04:13:17 PST --- I have tracked this down to kernel commit 41c2e75e60200a860a74b7c84a6375c105e7437f: ... But also, because userspace isn't capable of passing such

[Bug 32511] glDrawPixels broken on savage

2011-01-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #13 from Tormod Volden 2011-01-25 11:23:42 PST --- The above resume problem was fixed in the DDX by http://cgit.freedesktop.org/xorg/driver/xf86-video-savage/commit/?id=b018d343e6a6810afdaf1a73091dd9bc8c1c95bd -- Configure

[Bug 32511] glDrawPixels broken on savage

2011-01-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #13 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2011-01-25 11:23:42 PST --- The above resume problem was fixed in the DDX by

[Bug 32511] glDrawPixels broken on savage

2011-01-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #12 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2011-01-17 13:57:23 PST --- While debugging https://bugzilla.kernel.org/show_bug.cgi?id=4607 I noticed the back buffer was wrong after sleep/resume while the front buffer was fine

[Bug 32511] glDrawPixels broken on savage

2011-01-09 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #11 from Tormod Volden 2011-01-09 04:42:31 PST --- For reference a 7 year old thread from when this driver was written: http://www.mail-archive.com/dri-devel at lists.sourceforge.net/msg16255.html -- Configure bugmail:

[Bug 32511] glDrawPixels broken on savage

2011-01-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #11 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2011-01-09 04:42:31 PST --- For reference a 7 year old thread from when this driver was written: http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg16255.html --

[Bug 32511] glDrawPixels broken on savage

2011-01-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #10 from Tormod Volden 2011-01-08 14:40:18 PST --- It seems like offsetting the aperture address fixes this issue. I am not sure what is the proper place to do this, but this patch at least works for me. It fixes drawpix and a lot

[Bug 32511] glDrawPixels broken on savage

2011-01-08 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #9 from Tormod Volden 2011-01-08 04:09:53 PST --- Created an attachment (id=41768) --> (https://bugs.freedesktop.org/attachment.cgi?id=41768) debug dmesg output including drawpix run The kernel drm savage_drv.h lists this

[Bug 32511] glDrawPixels broken on savage

2011-01-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #9 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2011-01-08 04:09:53 PST --- Created an attachment (id=41768) -- (https://bugs.freedesktop.org/attachment.cgi?id=41768) debug dmesg output including drawpix run The kernel drm

[Bug 32511] glDrawPixels broken on savage

2011-01-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #10 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2011-01-08 14:40:18 PST --- It seems like offsetting the aperture address fixes this issue. I am not sure what is the proper place to do this, but this patch at least works for me.

[Bug 32511] glDrawPixels broken on savage

2011-01-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #8 from Tormod Volden 2011-01-06 15:31:26 PST --- Is it possible that the frame buffer address gets wrongly calculated (because of wrong formats or non-initialized stuff) so that it points beyond the linear aperture and reaches

[Bug 32511] glDrawPixels broken on savage

2011-01-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #7 from Tormod Volden 2011-01-06 15:15:01 PST --- I googled up a discussion I had 9 months ago and have totally forgotten about (scary), which points to format reworks causing the regression: (dri-devel-2010-04-15.log) 11:50

[Bug 32511] glDrawPixels broken on savage

2011-01-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #6 from Tormod Volden 2011-01-06 15:01:20 PST --- It seems to me that the frame buffer written to is tiled, and that the functions writing into it are unaware of this. I discussed shortly with Alex on IRC, and he said the savages

[Bug 32511] glDrawPixels broken on savage

2011-01-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #6 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2011-01-06 15:01:20 PST --- It seems to me that the frame buffer written to is tiled, and that the functions writing into it are unaware of this. I discussed shortly with Alex on IRC,

[Bug 32511] glDrawPixels broken on savage

2011-01-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #8 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2011-01-06 15:31:26 PST --- Is it possible that the frame buffer address gets wrongly calculated (because of wrong formats or non-initialized stuff) so that it points beyond the

[Bug 32511] glDrawPixels broken on savage

2010-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #5 from Tormod Volden 2010-12-21 16:39:55 PST --- Created an attachment (id=41353) --> (https://bugs.freedesktop.org/attachment.cgi?id=41353) Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Bug 32511] glDrawPixels broken on savage

2010-12-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #5 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2010-12-21 16:39:55 PST --- Created an attachment (id=41353) -- (https://bugs.freedesktop.org/attachment.cgi?id=41353) Xorg.0.log -- Configure bugmail:

[Bug 32511] glDrawPixels broken on savage

2010-12-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #4 from Tormod Volden 2010-12-20 10:53:44 PST --- Just in case someone looks at it, in the above backtrace I had disabled the fast_draw_rgba_pixels so the drawing is done by savageWriteRGBASpan_565() through the "slow" path.

[Bug 32511] glDrawPixels broken on savage

2010-12-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #3 from Tormod Volden 2010-12-20 10:34:19 PST --- This is tested with latest 2.6.37 kernel, and libdrm 2.4.21. LIBGL_ALWAYS_INDIRECT does not change anything, other than the xserver crashing when drawpix exits. LIBGL_ALWAYS_SOFTWARE

[Bug 32511] glDrawPixels broken on savage

2010-12-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #3 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2010-12-20 10:34:19 PST --- This is tested with latest 2.6.37 kernel, and libdrm 2.4.21. LIBGL_ALWAYS_INDIRECT does not change anything, other than the xserver crashing when drawpix

[Bug 32511] glDrawPixels broken on savage

2010-12-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 Tormod Volden changed: What|Removed |Added Attachment #41267|application/octet-stream|text/plain mime type|

[Bug 32511] glDrawPixels broken on savage

2010-12-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 Tormod Volden changed: What|Removed |Added See Also||https://launchpad.net/bugs/

[Bug 32511] glDrawPixels broken on savage

2010-12-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #2 from Tormod Volden 2010-12-19 13:14:43 PST --- Created an attachment (id=41269) --> (https://bugs.freedesktop.org/attachment.cgi?id=41269) one "line" magnified, with my 1 and 194 markers -- Configure bugmail:

[Bug 32511] glDrawPixels broken on savage

2010-12-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #1 from Tormod Volden 2010-12-19 13:13:45 PST --- Created an attachment (id=41268) --> (https://bugs.freedesktop.org/attachment.cgi?id=41268) several clusters ("lines") of 194 pixels each -- Configure bugmail:

[Bug 32511] glDrawPixels broken on savage

2010-12-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #1 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2010-12-19 13:13:45 PST --- Created an attachment (id=41268) -- (https://bugs.freedesktop.org/attachment.cgi?id=41268) several clusters (lines) of 194 pixels each -- Configure

[Bug 32511] glDrawPixels broken on savage

2010-12-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 --- Comment #2 from Tormod Volden bugzi09.fdo.tor...@xoxy.net 2010-12-19 13:14:43 PST --- Created an attachment (id=41269) -- (https://bugs.freedesktop.org/attachment.cgi?id=41269) one line magnified, with my 1 and 194 markers -- Configure

[Bug 32511] glDrawPixels broken on savage

2010-12-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 Tormod Volden bugzi09.fdo.tor...@xoxy.net changed: What|Removed |Added See Also|

[Bug 32511] glDrawPixels broken on savage

2010-12-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32511 Tormod Volden bugzi09.fdo.tor...@xoxy.net changed: What|Removed |Added Attachment #41267|application/octet-stream|text/plain