Upper half of the screen is scrambled with nvidia driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-331 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The driver nvidia-331 produces a scrambled screen on MacBook Air 3,2 (NVIDIA GeForce 320M) running a Trusty live system. It looks like the attached image.
I have figured out in what way the display is scrambled. In a numerical representation of the pixels that increments row-by-row (but where the rows are 16*92=1472 pixels wide, although the screen is only 1440 pixels wide), bits 4..10 become bits 9..15 and bits 11..15 become bits 4..8. More precisely, this is the code I used to reproduce the scrambling:
---
int main()
{
cimg_
cimg_
for(int X=0; X<1440; X++)
for(int Y=0; Y<900; Y++)
{
int i = 896 + 92*Y + X/16;
if(i/4096 < 9) i = i/32%128 + i%32*128 + i/4096*4096;
int x = X%16 + (i-896)%92*16;
int y = (i-896)/92;
for(int c=0; c<3; c++)
}
img2.
return 0;
}
---
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nvidia-331 331.38-0ubuntu7
ProcVersionSign
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CasperVersion: 1.340
CurrentDesktop: Unity
Date: Wed Sep 10 11:23:43 2014
LiveMediaBuild: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)