Bug 24595

Summary: [nv15] screen corruption (color) with latest git
Product: xorg Reporter: Johannes Obermayr <johannesobermayr>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
dmesg.txt
none
ums_lut.patch none

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.