Created attachment 365722 [details, diff] patch against linux-3.10.7-gentoo For old fogies that still like to use the non-kms FB (for various reasons), this patch makes screen drawing coherent. As of linux-3.10.7-gentoo (and probably still in upstream), after updating fb_var_screeninfo.xres (via ioctl FBIOPUT_VSCREENINFO), the fb_fix_screeninfo.line_length is not updated accordingly. This patch corrects it. Please also see attached before / after screenshots.
Created attachment 365724 [details] before.red.png
Created attachment 365726 [details] after.red.jpg
Created attachment 365728 [details] before.gradient.jpg
Created attachment 365730 [details] after.gradient.jpg
Created attachment 365732 [details] before.diag.jpg
Created attachment 365734 [details] after.diag.jpg
This really should be submitted and accepted upstream. Would you consider doing that?
(In reply to Mike Pagano from comment #7) > This really should be submitted and accepted upstream. Would you consider > doing that? Yep - I'll fire off a patch this weekend.
Well, I did fire off a patch to the LKML and Dave Airlie, the maintainer. However, I haven't yet had any replies and have followed up numerous times. After a couple of weeks, I thought maybe this was due to a merge window. Not entirely clear yet. http://lists.openwall.net/linux-kernel/2014/02/01/81
I see some changes in this file, do you still experience this issue?
Should be upstream now. Shall I close / mark resolved? [snip] drm/vmwgfx: correct fb_fix_screeninfo.line_length to the linux-3.8.y-queue branch of the 3.8.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.8.y-queue This patch is scheduled to be released in version 3.8.13.22. [/snip]
Excellent, looks like it will be in 3.15. We can leave this open until then. git tag --contains aa6de142c901cd2d90ef08db30ae87da214bedcc v3.15-rc1 v3.15-rc2 v3.15-rc3
@ Christopher: Did you also submit the patch for the 3.10.x kernel? I don't see it in 3.10.38 and http://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/tree/queue-3.10
In 3.15. Btw, also in 3.10.41