Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 528100 - sys-kernel/gentoo-sources x11-drivers/xf86-video-nouveau-1.0.11 (GeForce GT 620) - kernel: nouveau E[ PFIFO][0000:01:00.0] read fault at 0x00014a2000 [PAGE_NOT_PRESENT] from PGRAPH/GPC0/TEX on channel 0x003fb74000 [gnome-shell[27277]]
Summary: sys-kernel/gentoo-sources x11-drivers/xf86-video-nouveau-1.0.11 (GeForce GT 6...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 10:33 UTC by Juergen Rose
Modified: 2014-12-17 19:53 UTC (History)
2 users (show)

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


Attachments
The output of 'journalctl --no-pager -b /usr/bin/Xorg' (Xorg.log,107.95 KB, text/plain)
2014-11-03 10:40 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2014-11-03 10:33:56 UTC
Almost once a day X11 hangs.  I changed already the graphic card from a three years old NVIDIA card now to NVIDIA GF108 [GeForce GT 620] (rev a1).

root@impala:/root(15)# lspci -v | grep -A16 VGA.*controller
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 620] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 8418
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=128M]
        Memory at de000000 (64-bit, prefetchable) [size=32M]
        I/O ports at af00 [size=128]
        [virtual] Expansion ROM at fc000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nouveau


 Today after such a hanging 'dmesg' says:
[175947.652266] nouveau E[   PFIFO][0000:01:00.0] read fault at 0x00014a2000 [PAGE_NOT_PRESENT] from PGRAPH/GPC0/TEX on channel 0x003fb74000 [gnome-shell[27277]]
[175947.652281] nouveau E[   PFIFO][0000:01:00.0] PGRAPH engine fault on channel 5, recovering...
[175947.652315] nouveau E[  PGRAPH][0000:01:00.0] TRAP ch 5 [0x003fb74000 gnome-shell[27277]]
[175947.652331] nouveau E[  PGRAPH][0000:01:00.0] GPC0/TPC0/TEX: 0x80000049
[175947.652340] nouveau E[  PGRAPH][0000:01:00.0] GPC0/TPC1/TEX: 0x80000049
[176136.543763] nouveau E[Xorg[26420]] failed to idle channel 0xcccc0000 [Xorg[26420]]
[176151.552203] nouveau E[Xorg[26420]] failed to idle channel 0xcccc0000 [Xorg[26420]]
[176151.552337] nouveau E[   PFIFO][0000:01:00.0] read fault at 0x000001b000 [PAGE_NOT_PRESENT] from PFIFO/BAR_READ on channel 0x003fc60000 [unknown]
[176153.985794] nouveau E[     DRM] GPU lockup - switching to software fbcon
[176295.437077] nouveau E[gnome-shell[27277]] failed to idle channel 0xcccc0000 [gnome-shell[27277]]
[176310.445522] nouveau E[gnome-shell[27277]] failed to idle channel 0xcccc0000 [gnome-shell[27277]]
[176332.270798] nouveau E[Xorg[27136]] failed to idle channel 0xcccc0002 [Xorg[27136]]
...
[176542.395925] nouveau E[Xorg[27136]] failed to idle channel 0xcccc0000 [Xorg[27136]]
[176726.300309] nouveau E[gnome-session-c[27538]] failed to idle channel 0xcccc0000 [gnome-session-c[27538]]
...
[176801.342504] nouveau E[gnome-session-c[27538]] failed to idle channel 0xcccc0000 [gnome-session-c[27538]] 


And 'journalctl -xb | grep -A 6 "NVIDIA\|NOUVEAU\|nouveau E"' says:
root@impala:/root(21)# journalctl -xb | grep -A 6 "NVIDIA\|NOUVEAU\|nouveau E"
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU driver
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU driver for NVIDIA chipset families :
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: RIVA TNT        (NV04)
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: RIVA TNT2       (NV05)
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: GeForce 256     (NV10)
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: GeForce 2       (NV11, NV15)
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: GeForce 4MX     (NV17, NV18)
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: GeForce 3       (NV20)
--
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (--) NOUVEAU(0): Chipset: "NVIDIA NVC1"
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Creating default Display subsection in Screen section
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: "Default Screen Section" for depth/fbbpp 24/32
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (==) NOUVEAU(0): RGB weight 888
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (==) NOUVEAU(0): Default visual is TrueColor
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (==) NOUVEAU(0): Using HW cursor
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (==) NOUVEAU(0): GLX sync to VBlank enabled.
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (==) NOUVEAU(0): Page flipping enabled
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (==) NOUVEAU(0): Page flipping synced to vblank by kernel.
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Initializing outputs ...
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Output DVI-I-1 has no monitor section
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Output HDMI-1 has no monitor section
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Output VGA-1 has no monitor section
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): 3 crtcs needed for screen.
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Allocated crtc nr. 0 to this screen.
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Allocated crtc nr. 1 to this screen.
Nov 01 08:32:51 impala polkitd[26437]: Loading rules from directory /etc/polkit-1/rules.d
Nov 01 08:32:51 impala polkitd[26437]: Loading rules from directory /usr/share/polkit-1/rules.d
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): EDID for output DVI-I-1
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Manufacturer: GSM  Model: 75ea  Serial#: 426317
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Year: 2011  Week: 3
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): EDID Version: 1.3
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Digital Display Input
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 64  vert.: 40
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Gamma: 2.20
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): DPMS capabilities: Off
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): First detailed timing not preferred mode in violation of standard!
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): redX: 0.678 redY: 0.309   greenX: 0.198 greenY: 0.698
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): blueX: 0.146 blueY: 0.060   whiteX: 0.313 whiteY: 0.329
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Manufacturer's mask: 0
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Supported detailed timing:
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): clock: 71.0 MHz   Image Size:  641 x 401 mm
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): h_active: 1280  h_sync: 1328  h_sync_end 1360 h_blank_end 1440 h_border: 0
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): v_active: 800  v_sync: 803  v_sync_end 809 v_blanking: 823 v_border: 0
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Supported detailed timing:
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): clock: 268.0 MHz   Image Size:  641 x 401 mm
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): v_active: 1600  v_sync: 1603  v_sync_end 1609 v_blanking: 1646 v_border: 0
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Monitor name: W3000H
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Monitor name:
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): EDID (in hex):
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0):         00ffffffffffff001e6dea754d810600
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0):         0315010380402878288f95ad4f32b225
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0):         0f505400000001010101010101010101
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0):         010101010101bc1b00a0502017303020
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0):         360081912100001ab06800a0a0402e60
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0):         3020360081912100001a000000fc0057
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0):         33303030480a202020202020000000fc
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0):         000a2020202020202020202020000030
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Printing probed modes for output DVI-I-1
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Modeline "2560x1600"x59.9  268.00  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.5 kHz e)
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): EDID for output HDMI-1
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): EDID for output VGA-1
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Output DVI-I-1 connected
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Output HDMI-1 disconnected
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Output VGA-1 disconnected
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Using exact sizes for initial modes
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Output DVI-I-1 using initial mode 2560x1600
Nov 01 08:32:51 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
Nov 01 08:32:51 impala polkitd[26437]: Finished loading, compiling and executing 4 rules
Nov 01 08:32:51 impala dbus[3564]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Nov 01 08:32:51 impala polkitd[26437]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
...
Nov 02 23:54:39 impala kernel: nouveau E[   PFIFO][0000:01:00.0] read fault at 0x00014a2000 [PAGE_NOT_PRESENT] from PGRAPH/GPC0/TEX on channel 0x003fb74000 [gnome-shell[27277]]
Nov 02 23:54:39 impala kernel: nouveau E[   PFIFO][0000:01:00.0] PGRAPH engine fault on channel 5, recovering...
Nov 02 23:54:39 impala kernel: nouveau E[  PGRAPH][0000:01:00.0] TRAP ch 5 [0x003fb74000 gnome-shell[27277]]
Nov 02 23:54:39 impala kernel: nouveau E[  PGRAPH][0000:01:00.0] GPC0/TPC0/TEX: 0x80000049
Nov 02 23:54:39 impala kernel: nouveau E[  PGRAPH][0000:01:00.0] GPC0/TPC1/TEX: 0x80000049
Nov 02 23:55:01 impala cron[26950]: (root) CMD (/root/scripts/system_state.sh >> /var/log/system_state.log)
Nov 02 23:55:34 impala automount[3574]: st_expire: state 1 path /misc
--
Nov 02 23:57:32 impala gdm-Xorg-:0[26420]: (EE)
Nov 02 23:57:32 impala gdm-Xorg-:0[26420]: (II) AIGLX: Suspending AIGLX clients for VT switch
Nov 02 23:57:32 impala gdm-Xorg-:0[26420]: (II) NOUVEAU(0): NVLeaveVT is called.
Nov 02 23:57:32 impala gdm-Xorg-:0[26420]: (EE) Server terminated with error (1). Closing log file.
Nov 02 23:57:47 impala kernel: nouveau E[Xorg[26420]] failed to idle channel 0xcccc0000 [Xorg[26420]]
Nov 02 23:58:02 impala kernel: nouveau E[Xorg[26420]] failed to idle channel 0xcccc0000 [Xorg[26420]]
Nov 02 23:58:02 impala kernel: nouveau E[   PFIFO][0000:01:00.0] read fault at 0x000001b000 [PAGE_NOT_PRESENT] from PFIFO/BAR_READ on channel 0x003fc60000 [unknown]
Nov 02 23:58:02 impala RootLogin.desktop[27542]: xterm: fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) or KillClient on X server ":0"
Nov 02 23:58:06 impala kernel: nouveau E[     DRM] GPU lockup - switching to software fbcon
...
Comment 1 Juergen Rose 2014-11-03 10:35:05 UTC
root@impala:/root(28)# emerge --info =x11-drivers/xf86-video-nouveau-1.0.11
Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.17.1-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.1-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     8164216 total,   1059696 free
KiB Swap:   50331640 total,  50304732 free
Timestamp of tree: Mon, 03 Nov 2014 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p30
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo science sunrise sage-on-gentoo x11 x-portage g-cpan g-octave
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage_impala"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/sage-on-gentoo /var/lib/layman/x11 /usr/local/portage /var/lib/cpan /var/lib/g-octave"
USE="3dnow 3dnowext 64bit R X Xaw3d a52 aac accessibility acl acpi admin afs alsa amd64 ao apache2 apng applet archive armadillo arpack asf aspell atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boost bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli cmake cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx fuse g3dvl gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glib glpk gml gmp gnome gnome-keyring gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 ithreads jabber jadetex java java6 jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libkms libnotify libsamplerate live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy nvidia obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 sse4 sse4a ssl stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tcl tcpd tex tex4ht texmacs theora thesaurus threads thunderbird tidy tiff tk tools truetype udev udisks unicode usb utempter v4l vaapi vala valgrind vdpau video virt-network virtualbox visio vorbis vpx vtk wav webdav webdav-serf webkit wmf wxwidgets x264 xa xattr xcb xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="caps lvm mdraid 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

x11-drivers/xf86-video-nouveau-1.0.11 was built with the following:
USE="-glamor" ABI_X86="64"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"
Comment 2 Juergen Rose 2014-11-03 10:40:41 UTC
Created attachment 388402 [details]
The output of 'journalctl --no-pager -b /usr/bin/Xorg'
Comment 3 Juergen Rose 2014-11-03 14:36:53 UTC
BTW., hanging means in this case, that I can see the gdm login screen with very low contrast. But I neither can login, nor can switch to the console with ATL-CTL-F1.
Only login with ssh is possible. I can stop and restart gdm via ssh, but nothing changes at monitor. Only reboot seems to help.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-11-04 13:37:54 UTC
> [176151.552337] nouveau E[   PFIFO][0000:01:00.0] read fault at 0x000001b000 [PAGE_NOT_PRESENT] from PFIFO/BAR_READ on channel 0x003fc60000 [unknown]
> [176153.985794] nouveau E[     DRM] GPU lockup - switching to software fbcon

Looks to me like a kernel problem and not userspace. Maybe check if it happens with older kernels too.
Comment 5 Juergen Rose 2014-11-10 06:41:55 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #4)
> > [176151.552337] nouveau E[   PFIFO][0000:01:00.0] read fault at 0x000001b000 [PAGE_NOT_PRESENT] from PFIFO/BAR_READ on channel 0x003fc60000 [unknown]
> > [176153.985794] nouveau E[     DRM] GPU lockup - switching to software fbcon
> 
> Looks to me like a kernel problem and not userspace. Maybe check if it
> happens with older kernels too.

I checked the issue some days ago with linux 3.16.3-gentoo. After an uptime of 31 hours the desktop was again not usable. 'journalctl -xb' shows:

...
Nov 07 11:00:35 impala automount[22982]: st_ready: st_ready(): state = 2 path /net
Nov 07 11:00:59 impala kernel: nouveau E[   PFIFO][0000:01:00.0] read fault at 0x0003160000 [PAGE_NOT_PRESENT] from PGRAPH/GPC0/TEX on channel 0x003faa2000 [gnome-shell[26520]]
Nov 07 11:00:59 impala kernel: nouveau E[   PFIFO][0000:01:00.0] PGRAPH engine fault on channel 5, recovering...
Nov 07 11:00:59 impala kernel: nouveau E[  PGRAPH][0000:01:00.0] TRAP ch 5 [0x003faa2000 gnome-shell[26520]]
Nov 07 11:00:59 impala kernel: nouveau E[  PGRAPH][0000:01:00.0] GPC0/TPC0/TEX: 0x80000049
Nov 07 11:00:59 impala kernel: nouveau E[  PGRAPH][0000:01:00.0] GPC0/TPC1/TEX: 0x80000049
Nov 07 11:01:32 impala automount[22982]: st_expire: state 1 path /misc
...
Nov 07 11:06:50 impala automount[22982]: st_ready: st_ready(): state = 2 path /net
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: nouveau_exa_upload_to_screen:380 - falling back to memcpy ignores tiling
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: nouveau_exa_download_from_screen:295 - falling back to memcpy ignores tiling
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE)
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) Backtrace:
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x42) [0x5906a2]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 1: /usr/bin/Xorg (0x400000+0x194849) [0x594849]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 2: /lib64/libc.so.6 (0x7fbb194b9000+0x35930) [0x7fbb194ee930]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 3: /lib64/libc.so.6 (0x7fbb194b9000+0x93210) [0x7fbb1954c210]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 4: /usr/lib64/xorg/modules/libexa.so (0x7fbb151d8000+0x560e) [0x7fbb151dd60e]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 5: /usr/lib64/xorg/modules/libexa.so (0x7fbb151d8000+0x5acb) [0x7fbb151ddacb]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 6: /usr/lib64/xorg/modules/libexa.so (0x7fbb151d8000+0x8212) [0x7fbb151e0212]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 7: /usr/lib64/xorg/modules/libexa.so (0x7fbb151d8000+0x1080f) [0x7fbb151e880f]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 8: /usr/lib64/xorg/modules/libexa.so (0x7fbb151d8000+0x88a0) [0x7fbb151e08a0]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 9: /usr/bin/Xorg (0x400000+0x11b4ee) [0x51b4ee]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 10: /usr/bin/Xorg (0x400000+0xd708e) [0x4d708e]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 11: /usr/bin/Xorg (0x400000+0xd8458) [0x4d8458]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 12: /usr/bin/Xorg (0x400000+0x36a3e) [0x436a3e]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 13: /usr/bin/Xorg (0x400000+0x3a9ed) [0x43a9ed]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 14: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7fbb194daa75]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) 15: /usr/bin/Xorg (0x400000+0x25a8e) [0x425a8e]
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE)
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) Segmentation fault at address 0x0
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE)
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: Fatal server error:
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE)
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE)
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: Please consult the The X.Org Foundation support
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: at http://wiki.x.org
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: for help.
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) Please also check the log file at "/dev/null" for additional information.
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE)
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (II) AIGLX: Suspending AIGLX clients for VT switch
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (II) NOUVEAU(0): NVLeaveVT is called.
Nov 07 11:07:24 impala gdm-Xorg-:0[26102]: (EE) Server terminated with error (1). Closing log file.
Nov 07 11:07:39 impala kernel: nouveau E[Xorg[26102]] failed to idle channel 0xcccc0000 [Xorg[26102]]
Nov 07 11:07:47 impala automount[22982]: st_expire: state 1 path /misc
Nov 07 11:07:47 impala automount[22982]: expire_proc: exp_proc = 140100706338560 path /misc
Nov 07 11:07:47 impala automount[22982]: expire_cleanup: got thid 140100706338560 path /misc stat 0
Nov 07 11:07:47 impala automount[22982]: expire_cleanup: sigchld: exp 140100706338560 finished, switching from 2 to 1
Nov 07 11:07:47 impala automount[22982]: st_ready: st_ready(): state = 2 path /misc
Nov 07 11:07:54 impala kernel: nouveau E[Xorg[26102]] failed to idle channel 0xcccc0000 [Xorg[26102]]
Nov 07 11:07:54 impala kernel: nouveau E[   PFIFO][0000:01:00.0] read fault at 0x000001b000 [PAGE_NOT_PRESENT] from PFIFO/BAR_READ on channel 0x003fc1a000 [unknown]
Nov 07 11:07:54 impala RootLogin.desktop[27789]: xterm: fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) or KillClient on X server ":0"
Nov 07 11:07:54 impala gnome-keyring-daemon[26299]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala org.gnome.Terminal[26460]: (gnome-terminal-server:26771): Gdk-WARNING **: gnome-terminal-server: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
Nov 07 11:07:54 impala org.a11y.Bus[25832]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala org.gtk.vfs.Daemon[26460]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala ca.desrt.dconf[26460]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala org.freedesktop.Telepathy.AccountManager[26460]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala org.a11y.atspi.Registry[26467]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala gnome-session[26305]: (evolution-alarm-notify:26601): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.
Nov 07 11:07:54 impala org.freedesktop.IBus[26460]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala org.gnome.evolution.dataserver.Calendar4[26460]: Bus name 'org.gnome.evolution.dataserver.Calendar4' lost.
Nov 07 11:07:54 impala org.gnome.evolution.dataserver.Calendar4[26460]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala org.a11y.atspi.Registry[25838]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Nov 07 11:07:54 impala RootRlogin-Homenet-Lynx2_Homenet_root.desktop[16122]: xterm: fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) or KillClient on X server ":0"
Nov 07 11:07:54 impala RootRlogin-Homenet-Wildcat_Homenet_root.desktop[20064]: xterm: fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) or KillClient on X server ":0"
Comment 6 Juergen Rose 2014-11-10 07:01:23 UTC
Now after an uptime of 24 hours I have the next issues, now 3.17.2-gentoo. All windows are incompletely refreshed. Neither 'journalctl --no-pager -b /usr/bin/Xorg' nor 'dmesg' shows any error. 
'journalctl -xb' says:
Nov 10 07:28:58 impala su[14294]: pam_unix(su:session): session opened for user root by rose(uid=1203)
Nov 10 07:29:31 impala org.a11y.Bus[10758]: Activating service name='org.a11y.atspi.Registry'
Nov 10 07:29:31 impala org.a11y.Bus[10758]: Successfully activated service 'org.a11y.atspi.Registry'
Nov 10 07:29:31 impala org.a11y.atspi.Registry[15411]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Nov 10 07:29:31 impala org.a11y.atspi.Registry[15411]: ** (at-spi2-registryd:15414): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Se
Nov 10 07:29:31 impala org.a11y.atspi.Registry[15411]: ** (at-spi2-registryd:15414): WARNING **: Unable to register client with session manager
Nov 10 07:29:34 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): EDID vendor "GSM", prod id 30186
Nov 10 07:29:34 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Printing DDC gathered Modelines:
Nov 10 07:29:34 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
Nov 10 07:29:34 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Modeline "2560x1600"x0.0  268.00  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.5 kHz e)
Nov 10 07:29:35 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): EDID vendor "GSM", prod id 30186
Nov 10 07:29:35 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Printing DDC gathered Modelines:
Nov 10 07:29:35 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
Nov 10 07:29:35 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Modeline "2560x1600"x0.0  268.00  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.5 kHz e)
Nov 10 07:29:36 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): EDID vendor "GSM", prod id 30186
Nov 10 07:29:36 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Printing DDC gathered Modelines:
Nov 10 07:29:36 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Modeline "1280x800"x0.0   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
Nov 10 07:29:36 impala gdm-Xorg-:0[1396]: (II) NOUVEAU(0): Modeline "2560x1600"x0.0  268.00  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.5 kHz e)
Nov 10 07:29:54 impala automount[28982]: st_expire: state 1 path /misc

I don't know, if this is correlated.
Comment 7 Juergen Rose 2014-11-10 07:30:13 UTC
The last refresh problem seems to be connected in particular with overlapping windows. Randomly the uppermost or some lower window is shown. This holds also for the gnome panel and the task bar, where randomly the desktop background is shown.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-11-10 13:21:53 UTC
If possible, please open a bug report upstream at https://bugs.freedesktop.org/ too, and provide the link here.
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-11-17 14:16:59 UTC
Please report back to us when you have been able to test the patch mentioned in comment 9.
Comment 11 Juergen Rose 2014-11-19 09:46:47 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #10)
> Please report back to us when you have been able to test the patch mentioned
> in comment 9.

I am testing the patch for about one week. Until now the "read fault" seems to be not happened again. At least the desktop was not hanging again with the patched kernel. I will continue to observe the behaviour.
Comment 12 Juergen Rose 2014-11-19 22:39:10 UTC
(In reply to Juergen Rose from comment #11)
> (In reply to Chí-Thanh Christopher Nguyễn from comment #10)
> > Please report back to us when you have been able to test the patch mentioned
> > in comment 9.
> 
> I am testing the patch for about one week. Until now the "read fault" seems
> to be not happened again. At least the desktop was not hanging again with
> the patched kernel. I will continue to observe the behaviour.

Some hours later X11 hangs again with the patched kernel and I have nouveau read error:

root@impala:/root(26)# journalctl -xb | grep -U2 "read fault"
Nov 19 14:42:27 impala automount[32239]: expire_cleanup: sigchld: exp 139921385461504 finished, switching from 2 to 1
Nov 19 14:42:27 impala automount[32239]: st_ready: st_ready(): state = 2 path /net
Nov 19 14:42:52 impala kernel: nouveau E[   PFIFO][0000:01:00.0] read fault at 0x0001202000 [PAGE_NOT_PRESENT] from PGRAPH/GPC0/TEX on channel 0x003fb74000 [gnome-shell[1573]]
Nov 19 14:42:52 impala kernel: nouveau E[   PFIFO][0000:01:00.0] PGRAPH engine fault on channel 5, recovering...
Nov 19 14:42:52 impala kernel: nouveau E[  PGRAPH][0000:01:00.0] TRAP ch 5 [0x003fb74000 gnome-shell[1573]]
--
Nov 19 14:57:14 impala automount[32239]: st_ready: st_ready(): state = 2 path /misc
Nov 19 14:57:19 impala kernel: nouveau E[Xorg[488]] failed to idle channel 0xcccc0000 [Xorg[488]]
Nov 19 14:57:19 impala kernel: nouveau E[   PFIFO][0000:01:00.0] read fault at 0x000001b000 [PAGE_NOT_PRESENT] from PFIFO/BAR_READ on channel 0x003fc60000 [unknown]
Nov 19 14:57:19 impala gnome-session[1032]: hp-systray: Fatal IO error: client killed
Nov 19 14:57:19 impala gnome-keyring-daemon[1027]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Comment 13 Juergen Rose 2014-11-27 16:50:47 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #8)
> If possible, please open a bug report upstream at
> https://bugs.freedesktop.org/ too, and provide the link here.

I opened a bug at https://bugs.freedesktop.org/show_bug.cgi?id=86794 .
Comment 14 Mike Pagano gentoo-dev 2014-12-17 19:53:32 UTC
We'll watch the upstream bug and backport any fixes identified.