The latest NVidia driver, apparently, caches the tile pixmap (set by XSetTile()) at the first invocation of a filling primitive so all subsequent XFill* calls render using the original pixmap even though it might be overwritten by that time. Reproducible: Always Steps to Reproduce: 1. Compile Fillrect.c attached. 2. Run ./Fillrect Actual Results: See wrong_rendering.png attached. Expected Results: See correct_rendering.png attached.
Created attachment 190286 [details] Samle code demonstrating the bug
Hmm, cannot attach screenshots. I get : Internal Error Bugzilla has suffered an internal error. Please save this page and send it to bugzilla@gentoo.org with details of what you were doing at the time this message appeared. URL: http://bugs.gentoo.org/attachment.cgi undef error - Undefined subroutine Fh::slice at data/template/template/en/custom/global/hidden-fields.html.tmpl line 58
Created attachment 190288 [details] Screenshot running Fillrect on NVidia hardware
Created attachment 190289 [details] Screenshot running Fillrect on another hardware
what video card are you using? This is vitual as new options are avaliable to control the caching.
(In reply to comment #5) $ cat /proc/driver/nvidia/cards/0 Model: GeForce GTX 260 IRQ: 16 Video BIOS: 62.00.0e.00.00 Card Type: PCI-E DMA Size: 40 bits DMA Mask: 0xffffffffff Bus Location: 01.00.0
NVIDIA only provides their X11 drivers in a binary fashion, as such there is not much debugging or troubleshooting Gentoo can do with issues reported about them. You can use nvidia-bug-report.sh to generate some information to e-mail over to NVIDIA @ linux-bugs@nvidia.com and you may also wish to consider exploring NVIDIA's Linux driver forum @ http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14 To further assist in debugging the issue and to have more information to provide NVIDIA (and have a better chance that your issue will get fixed in the future), you can attempt to debug your X server. To debug your server properly, please follow the documentation outline here, http://www.x.org/wiki/Development/Documentation/ServerDebugging The above link does not contain references to how to perform this properly on Gentoo. In a nutshell, you must rebuild X and it's libraries with USE=debug, add -ggdb to your CFLAGS, and add splitdebug to FEATURES. More information about this can be found at http://www.gentoo.org/proj/en/qa/backtraces.xml Since this bug is with nvidia-drivers, which is a package that Gentoo has minimal control over, this bug will be marked as UPSTREAM. However, in the event that you debug your X server and can produce a backtrace, please feel free to post it here and if it is unrelated to nvidia-drivers you or a Gentoo developer can re-open this bug and address the issue where it truly lies.