Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115767

Summary: media-tv/zapping-0.9.6 received an X Window System error w/ nvidia drivers >=8174
Product: Gentoo Linux Reporter: Mehmet Giritli <mehmet>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED TEST-REQUEST    
Severity: major CC: media-tv, nick, sven.koehler
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild for zapping 0.10cvs6

Description Mehmet Giritli 2005-12-16 05:39:00 UTC
Zapping stopped working recently with the following message given at the console:

(zapping:28320): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified
are supported and host-based authentication failed.
The program 'zapping' received an X Window System error.
This probably reflects a bug in the program.
The error was 'XF86DGANoDirectVideoMode'.
  (Details: serial 16 error_code 147 request_code 137 minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


This has never happened before and it is entirely new problem. I've tried
different zapping versions and it is all the same. Currently I got
media-tv/zapping-0.9.6 installed. I've tried 0.10 cvs too.


emerge info

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.12.0_pre11
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/splash /etc/terminfo /etc/wget
/etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.inode.at/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 a52 aac acl acpi alsa apm applet audiofile avi
bash-completion berkdb bitmap-fonts bonobo bootsplash browserplugin bzip2
calendar cddb cdparanoia cdr cpudetection crypt css curl custom-cflags dbus dio
divx4linux dmx dts dvd dvdr dvdread eds encode esd exif expat fam fat ffmpeg
firefox flac font-server ftp gdbm gif glade glut glx gnome gnomecanvas gnomedb
gnutls gpgme gpm gs gstreamer gtk gtk2 guile gvim hal howl hpn idn imap imlib
ipv6 ithreads java javascript jce jfs jp2 jpeg keyscrub lame lcms libg++ libgda
libsamplerate libwww mad maildir md5sum mikmod mime mmx mng motif moznocompose
moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer musicbrainz mzscheme ncurses
network nextaw nls nntp nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis
on-the-fly-crypt openal opengl osc oss pam pcre pdflib pic png quicktime
readline real recode reiserfs ruby sasl sdl slang smtp sndfile sockets spell sse
ssl svg svga symlink sysfs tcpd tetex threads tiff truetype truetype-fonts
type1-fonts udev unicode usb utf8 v4l v4l2 vda vorbis win32codecs wmf wxwindows
xfs xml xml2 xmms xpm xv zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Mehmet Giritli 2005-12-24 11:10:01 UTC
this seems to be caused by the new version of the nvidia drivers (>=8174)
Comment 2 raptor 2006-01-06 05:21:05 UTC
the same verion i.e. :
 media-tv/zapping (0.9.6)
crash the XServer.!!

Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.10-rc3 i686)
=================================================================
System uname: 2.6.10-rc3 i686 Intel(R) Celeron(R) CPU 2.53GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.3, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r3, 1.5.20
virtual/os-headers:  2.4.19-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
LANG="C"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="x86 X a52 aac aalib alsa apm audiofile autofs avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr chroot crypt curl dga directfb divx4linux dts dv dvb dvd dvdr dvdread emboss encode esd ethereal exif expat fam fbcon ffmpeg firefox foomaticdb fortran gd gdbm gif glut gmp gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 java javascript jpeg junit lcms ldap libg++ libgda libwww ltsp mad mldonkeypango mmx mmx2 mng mozilla moznomail mozsvg mp3 mpeg mpeg4 nas ncurses nls nsplugin nvidia ogg oggvorbis opengl opie oss pam pcap pcre pdflib perl pg-intdatetime pg-vacuumdelay png postgres propolice python quicktime readline rtc ruby samba scp screen sdl sftp sftplogging slang snmp speex spell sqlite sse sse2 ssl svg svga tcpd tga tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis win32codecs wmf wv xface xml xml2 xmms xv xvid zlib zvbi userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 3 Sven 2006-01-27 17:59:35 UTC
same problem here:

# zapping
The program 'zapping' received an X Window System error.
This probably reflects a bug in the program.
The error was 'XF86DGANoDirectVideoMode'.
  (Details: serial 15 error_code 159 request_code 138 minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

I'm using nvidia driver 1.0.8178
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2006-06-04 23:36:11 UTC
hmm. It seems like the nvidia drivers removed some direct access and are abstracting it out through the Xlib's or some other library access rather then having direct access now.

This probably won't go away in future nvidia versions. Maybe it'll get fixed in future zapping versions... Is it still being worked on upstream? because if not it's going to become a candidate for removal.
Comment 5 Nick Rout 2006-06-19 13:58:26 UTC
Just found this on upstream's sourceforge mailing list:

"> ERROR:
 > The program 'zapping' received an X Window System error.
 > This probably reflects a bug in the program.
 > The error was 'XF86DGANoDirectVideoMode'.
 
 The nvidia drivers do not support DGA anymore. It isn't required but
 older versions of Zapping didn't catch the error. 0.10 should work.
 
 Michael"

I see the latest downloadable is 0.10cvs6. I will try it and report back.
Comment 6 Nick Rout 2006-06-19 14:34:44 UTC
Created attachment 89571 [details]
ebuild for zapping 0.10cvs6

This ebuild probably isn't technically too correct - i couldn't work out how to have an ebuild with a version 0.10cvs6, portage kept telling me it was garbage.

Anyway it appears to compile and run, but I cannot fully check until I get home.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-11-10 17:43:13 UTC
0.10_rc6 is now in portage, please test.