https://bugs.freedesktop.org/show_bug.cgi?id=32855 Summary: Incorrect image stretching with Render in RepeatPad mode, NV50 Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: zackw at panix.com QAContact: xorg-team at lists.x.org Created an attachment (id=41683) --> (https://bugs.freedesktop.org/attachment.cgi?id=41683) test program Attached is a test program which attempts to stretch a two-pixel image horizontally using Cairo. It generates four files: r-image-24.png should be pixel-identical to r-xlib-24.png and r-image-32.png should be pixel-identical to r-xlib-32.png. On my system (I don't remember the exact marketing name of the card, but the driver identifies it as "NVIDIA NV94" and as "a NV50 generation card"), even with the very latest version of the Nouveau driver (xf86-video-nouveau git dc89dac734167bcbc667b39ca6ee2043871a60bf), the -xlib- files are not identical to their respective -image- files. (I will also attach the test results as produced by my system.) With the 24bpp image, the problem appears to be simply that Cairo's EXTEND_PAD (Render's RepeatPad) is not doing its job, despite that I do see code in the driver to implement that mode. The upscale is happening as if there were black pixels around the edges of the single-pixel source image, instead of green and white pixels as EXTEND_PAD specifies. With the 32bpp image, in addition to that problem, there are also garbage pixels at intervals. I am happy to provide more information as necessary and/or to test patches. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.