Bug#785474: xserver-xorg-video-nouveau: Wrong colors in X
On 2015-05-16 22:04 +0200, Sven Joachim wrote:
> Control: reassign -1 xserver-xorg-core 2:1.17.1-2
> Control: affects -1 xserver-xorg-video-nouveau
>
> On 2015-05-16 20:40 +0200, Vladimir Berezenko wrote:
>
>> Package: xserver-xorg-video-nouveau
>> Version: 1:1.0.11-1+b1
>> Severity: important
>>
>> Dear Maintainer,
>> After upgrade to latest testing nouveau driver colors in X became ugly. Also
>> all cursor graphics became garbaged.
>> KDE's jumping icons upon start of application became garbage.
>
> The nouveau driver has not seen any source changes, this seems to be an
> endianness bug in the new X server (or its headers).
>
> Possibly related: https://bugzilla.redhat.com/show_bug.cgi?id=1206060,
Here is the patch that's in Fedora 22. I don't know if this one should
be applied or if we should rather cherry-pick the upstream commit.
>From 1f679da30a33f3ddad14bc6b2be0795160ae12b8 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Thu, 9 Apr 2015 10:19:13 -0400
Subject: [PATCH] include: Fix endianness setup
Need to make sure X_{BIG,LITTLE}_ENDIAN actually get defined
Signed-off-by: Adam Jackson <ajax@redhat.com>
---
include/dix-config.h.in | 1 +
include/xorg-server.h.in | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 1aa77a5..5e53c00 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -499,6 +499,7 @@
/* byte order */
#undef X_BYTE_ORDER
+#include <X11/Xarch.h>
/* Listen on TCP socket */
#undef LISTEN_TCP
diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
index 4cb9487..de6462a 100644
--- a/include/xorg-server.h.in
+++ b/include/xorg-server.h.in
@@ -233,5 +233,6 @@
/* byte order */
#undef X_BYTE_ORDER
+#include <X11/Xarch.h>
#endif /* _XORG_SERVER_H_ */
--
2.1.0
> upstream fix for that bug is in commit
> 1af15aaf278edcf6f6de94774350e34a80883c24[1]. I don't know if it helps
> for your problem as well, though.
>
> 1. http://cgit.freedesktop.org/xorg/xserver/commit/?id=1af15aaf278edcf6f6de94774350e34a80883c24
Cheers,
Sven
Reply to: