Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472106 - media-libs/mesa[video_cards_r600,xorg] text color corruption if 2DAccel is enabled
Summary: media-libs/mesa[video_cards_r600,xorg] text color corruption if 2DAccel is en...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: MIPS Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: http://www.arcangeli.org/ati-7.1.0-2d...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-02 13:38 UTC by Bruno d'Arcangeli
Modified: 2017-01-30 03:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My Xorg log (Xorg.0.log,24.79 KB, text/plain)
2013-06-02 14:17 UTC, Bruno d'Arcangeli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno d'Arcangeli 2013-06-02 13:38:59 UTC
Since xf86-video-ati-7.1.0, only the r600g driver work (radeon before).
On my Lemote 8133 Laptop with Loongson3a and RadeonHD 3200, text color (and some other like scrollbar background) is corrupted. As you can see in the picture only when 2DAccel is activated.
The wm (i3) and gtk apps appear with red/yellow text (which change sometime when scrolling). Text in urxvt and imagemagick "display" are ok.


Reproducible: Always




Portage 2.1.12.2 (default/linux/mips/13.0/mipsel/multilib/n32, gcc-4.7.3, glibc-2.17, 3.6.11-libertin+ mips64)
=================================================================
System uname: Linux-3.6.11-libertin+-mips64-ICT_Loongson-3A_V0.5_FPU_V0.1-with-gentoo-2.2
KiB Mem:     4073712 total,     41376 free
KiB Swap:    4194288 total,   4194288 free
Timestamp of tree: Sun, 02 Jun 2013 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 mips64el-unknown-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.4, 3.2.5
dev-util/cmake:           2.8.10.2-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo jbrout 4nykey x-bruno
ACCEPT_KEYWORDS="mips ~mips"
ACCEPT_LICENSE="*"
CBUILD="mips64el-unknown-linux-gnu"
CFLAGS="-O2 -march=loongson3a -mtune=loongson3a -mplt -pipe"
CHOST="mips64el-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=loongson3a -mtune=loongson3a -mplt -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build y --quiet-fail y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=300"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/jbrout /usr/local/portage/4nykey-read-only /usr/local/portage/bruno"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus dri dts dvd encode exif extras firefox flac fontconfig gdbm gimp gpm gtk gtk3 gzip iconv icu imlib ipv6 java6 jpeg jpeg2k lame lcms libav lm_sensors lzma matroska mime mips mng modules mp3 mp4 mplayer mudflap multilib ncurses nls nptl ogg opengl openrc pam pcre pdf pmu png policykit qt3support raw readline session smp spell ssl svg tcpd theora threads tiff truetype unicode usb vdpau xft xinerama xmp zlib zsh-completion" ALSA_CARDS="au1x00" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

My /etc/X11/xorg.conf.d/20-radeon.conf:
Section "Device"
	Identifier 	"Radeon"
	Driver		"r600g"
	Option  "2DAccel"		"True"
	Option	"MigrationHeuristic"	"greedy"
EndSection
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-06-02 13:54:03 UTC
>	Option	"MigrationHeuristic"	"greedy"
What if you drop that option? Which version of pixman are you using? Does it happen with both exa and glamor?
Comment 2 Bruno d'Arcangeli 2013-06-02 14:16:59 UTC
Pixman 0.30.0
Same problem witout MigrationHeuristic...
But i can only try with EXA because glamor doesn't work.
See my Xorg.0.log. There si an undefined symbol (fbCreatePixmap) in glamoregl.
Comment 3 Bruno d'Arcangeli 2013-06-02 14:17:43 UTC
Created attachment 349908 [details]
My Xorg log
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-06-02 14:45:38 UTC
Ah, I only now noticed that you use not xf86-video-ati but the r600g driver. That is the xorg state tracker from mesa, which is unsupported and known to cause rendering issues.

Unfortunately neither Gentoo x11 team can nor upstream will help you with problems on r600g.
Comment 5 Bruno d'Arcangeli 2013-06-02 15:12:07 UTC
Since the 7.1.0 upgade ox xf86-video-ati, i can't use radeon driver. X can't find screen with radeon.
X -configure give only r600g.
I've not changed anything, just upgraded to 7.1.0. X can't start with radeon in xf86-video-ati-7.1.0 but can in xf86-video-ati-7.0.0.
I'll try to remove mesa[video_cards_r600]...
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-06-02 15:15:06 UTC
Please open a separate bug for xf86-video-ati problems.
Comment 7 Matt Turner gentoo-dev 2017-01-30 03:45:57 UTC
Some big endian fixes have gone into Mesa since this was filed. Try a newer version. If that doesn't work, file a bug upstream.