Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281698 - x11-base/xorg-server: random blanking patch (also for 1.5)
Summary: x11-base/xorg-server: random blanking patch (also for 1.5)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 281927 (view as bug list)
Depends on: 282290
Blocks:
  Show dependency tree
 
Reported: 2009-08-16 18:06 UTC by Colin Macdonald
Modified: 2009-12-17 10:48 UTC (History)
3 users (show)

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


Attachments
xorg-server-1.6.3-fix_random_blanking.patch (xorg-server-1.6.3-fix_random_blanking.patch,2.21 KB, patch)
2009-08-16 18:10 UTC, Colin Macdonald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Macdonald 2009-08-16 18:06:19 UTC
I was very happy to see this blog post about fixing random blanking in X:

http://blogs.gnome.org/hughsie/2009/08/14/blanking-in-gnome-power-manager-fixed/

I've tested this patch on ~x86 and so far (~ 2 days) I haven't seen any random blanking.

Patch is here (I'll attach it too):
http://cgit.freedesktop.org/xorg/xserver/patch/?id=db568f9eabf3450d8a023597ff007df355b13ea8

(On a side note, this random blanking was very embarrassing when it happened to me in a presentation: pretty high priority IMHO).

# emerge --info
Portage 2.2_rc38 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30.4 i686)
=================================================================
System uname: Linux-2.6.30.4-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 16 Aug 2009 01:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distcc distlocks fixpackages preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/science /usr/local/layman/gnome /usr/local/layman/sunrise /usr/local/layman/gnash-cvs /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 audiofile avahi berkdb blas bluetooth bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl dbus dga dri dts dv dvb dvd dvdr emboss encode esd evo exif expat f77 faad fam fbcon ffmpeg fftw firefox flac fortran gcj gd gdbm gif ginac glut gmp gnome gnome-keyring gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib isdnlog jack java jpeg jpeg2k lapack latex lcms leim libcaca libnotify libsamplerate lirc live mad matroska mikmod mmap mmx mng mono mozilla mp3 mp4 mpeg mudflap mysql nas ncurses networkmanager nls nptl nptlonly offensive ogg openal opengl openmp pam pcmcia pcre pdf perl plotutils png policykit ppds pppd pulseaudio python qhull qt3 qt3support qt4 quicktime radeon raw readline reflection rtc samba scanner sdk sdl session slang sndfile speex spell spl sqlite sse ssl startup-notification svg sysfs tcl tcltk tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vorbis win32codecs wmf wxwindows x264 x86 xcb xft xinerama xml xorg xosd xulrunner xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="realmagic" USERLAND="GNU" VIDEO_CARDS="intel fbdev radeon v4l vesa mach64 r128 radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Colin Macdonald 2009-08-16 18:10:34 UTC
Created attachment 201453 [details, diff]
xorg-server-1.6.3-fix_random_blanking.patch

Forgot to mention, I've tested on intel hardware.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-08-16 19:07:15 UTC
Don't worry, I'll get the patch in...
Comment 3 Mart Raudsepp gentoo-dev 2009-08-17 03:08:06 UTC
Meanwhile this bug is valid to be done ASAP and not LATER...
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-08-17 10:57:33 UTC
It looks like it might need another patch. I'll wait for that to be clarified before pushing it.

Thanks
Comment 5 Tommaso Pasini 2009-08-17 14:00:23 UTC
A new blog post from the developer:

http://blogs.gnome.org/hughsie/2009/08/17/gnome-power-manager-and-blanking-removal-of-bodges/

And, yes, the patches are two. The blog post I linked talks about the second one.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-08-17 15:29:02 UTC
FTR, I read planet gnome _and_ xorg-devel. Please, give me time to actually cook up a patchball.

Thanks
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-08-18 16:44:59 UTC
*** Bug 281927 has been marked as a duplicate of this bug. ***
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-08-26 13:06:03 UTC
I've added xorg-server 1.6.3.901 which contains patches and fixes for this issue. Please don't hesitate to reopen this bug if you can reproduce the issue with the new version.

Thanks
Comment 9 Maciej Piechotka 2009-12-16 20:25:00 UTC
(In reply to comment #8)
> I've added xorg-server 1.6.3.901 which contains patches and fixes for this
> issue. Please don't hesitate to reopen this bug if you can reproduce the issue
> with the new version.
> 
> Thanks
> 

I'm having this problem sometimes on 1.7.3.901. Should I report it upstream or reopen?
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-12-16 22:12:17 UTC
Can you reproduce with other versions of 1.7?
Comment 11 Colin Macdonald 2009-12-17 10:42:46 UTC
It seems fixed, been using 1.7.3 for some time without issue.
Comment 12 Maciej Piechotka 2009-12-17 10:48:24 UTC
(In reply to comment #11)
> It seems fixed, been using 1.7.3 for some time without issue.
> 

I'll try - but please be prepared for long waiting. It does not happen often then once a month.
Comment 13 Maciej Piechotka 2009-12-17 10:48:43 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > It seems fixed, been using 1.7.3 for some time without issue.
> > 
> 
> I'll try - but please be prepared for long waiting. It does not happen often
> then once a month.
> 

Ups. Wrong quote ;)