Bug 24595 - [nv15] screen corruption (color) with latest git
Summary: [nv15] screen corruption (color) with latest git
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-17 15:09 UTC by Johannes Obermayr
Modified: 2009-10-18 09:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (47.32 KB, text/plain)
2009-10-18 02:05 UTC, Johannes Obermayr
no flags Details
dmesg.txt (35.72 KB, text/plain)
2009-10-18 02:06 UTC, Johannes Obermayr
no flags Details
ums_lut.patch (3.32 KB, patch)
2009-10-18 08:08 UTC, Francisco Jerez
no flags Details | Splinter Review

Description Johannes Obermayr 2009-10-17 15:09:18 UTC
Hardware: Geforce 2 GTS
Installed software: Mesa, nouveau driver and kernel driver -> all git (20091016)


I think two pictures are worth a thousands words...

nv-driver (good):
http://www.freeimagehosting.net/uploads/2665af90b8.jpg


nouveau-driver (bad):
http://www.freeimagehosting.net/uploads/9cc2e6a842.jpg
Comment 1 Ben Skeggs 2009-10-17 17:37:31 UTC
Pictures are useful, logs are even better! :)  Can you attach /var/log/Xorg.0.log and the output of the dmesg command when the corruption is present.
Comment 2 Johannes Obermayr 2009-10-18 02:05:19 UTC
Created attachment 30515 [details]
Xorg.0.log
Comment 3 Johannes Obermayr 2009-10-18 02:06:03 UTC
Created attachment 30516 [details]
dmesg.txt
Comment 4 Francisco Jerez 2009-10-18 08:08:19 UTC
Created attachment 30526 [details] [review]
ums_lut.patch

The attached patch should do the trick. However you should already be using KMS, userspace modesetting is more or less abandoned.
Comment 5 Johannes Obermayr 2009-10-18 08:45:25 UTC
I applied the patch and I see the right colors again...

But I do not understand what you mean with "you should already be using KMS". What must I do? Set another configure/compiler flag?

Btw. is it possible that I disable 3D acceleration (Gallium) and use 2D acceleration if it is already compiled into Mesa via "--enable-gallium-nouveau"?

Maybe you directly answer to my email address.

Thanks for your work...

I am closing the bug now...
Comment 6 Pekka Paalanen 2009-10-18 09:29:34 UTC
(In reply to comment #5)
> But I do not understand what you mean with "you should already be using KMS".
> What must I do? Set another configure/compiler flag?

http://nouveau.freedesktop.org/wiki/KernelModeSetting

> Btw. is it possible that I disable 3D acceleration (Gallium) and use 2D
> acceleration if it is already compiled into Mesa via
> "--enable-gallium-nouveau"?

Just do not install gallium-enabled Mesa system-wide.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.