Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156886 - nvidia-drivers-9629 crashes X when fullscreen
Summary: nvidia-drivers-9629 crashes X when fullscreen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-02 02:31 UTC by Alexis Lahouze
Modified: 2006-12-06 13:54 UTC (History)
2 users (show)

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


Attachments
alex-Xorg.0.log.2006-12-02 (Xorg.1.log,21.85 KB, text/x-log)
2006-12-02 02:33 UTC, Alexis Lahouze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Lahouze 2006-12-02 02:31:30 UTC
Hi there,
There is my configuration:
* hardware
- NVidia GeForce FX Go 5700
- amd64 (x86_64)
- 15.4" flat LCD screen in mode 1280x800 (this is a wide screened laptop)

* software
- Gentoo GNU/Linux 2006.1 amd64
- X Window System Version 7.1.1
- nvidia-drivers-9629
- libsdl-1.2.11-r1

I tried many games... not only "libre" games (neverwinter nights, quake 3, frozen bubble)
I think they all use SDL.

My example will be based on frozen-bubble.

1) I launch fb in --no-fullscreen mode. It works.
2) I launch fb in --fullscreen mode. It crashes my X server with output attached (alex-Xorg.0.log.2006-12-02)

Here is my emerge--info:
$ emerge --info
Portage 2.1.2_rc2-r3 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.6
Last Sync: Sat, 02 Dec 2006 01:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.blueyonder.co.uk http://gentoo.mirror.solnet.ch http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="fr_FR.UTF-8"
LINGUAS="fr en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi alsa apache apache2 automount bash-completion berkdb bitmap-fonts bonjour bzip2 cairo cdr cli cpudetection cracklib crypt cups dbus divx dlloader dri dv dvb dvd dvdr dvdread eds elibc_glibc emboss encode esd fam ffmpeg firefox flac fontconfig fortran fuse gdbm gif gmedia gnome gnutls gpm gstreamer gtk gtk2 hal iconv imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse insecure-savers ipv6 isdnlog java java5 javascript jpeg kernel_linux libcaca libg++ linguas_en linguas_fr lm_sensors logrotate mad maildir matroska mikmod mp3 mpeg msn musepack ncurses new-login nls nptl nptlonly ntfs nvidia ogg opengl oss pam parse-clocks pcre pdf perl png posix postfix ppds pppd python quicktime readline realmedia reflection reiserfs sdl session slang spell spl ssl startup-notification syslog tcl tcpd tga theora threads tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia vorbis widescreen wifi wmp x264 xanim xforms xine xinerama xml xorg xpm xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Alexis Lahouze 2006-12-02 02:33:31 UTC
Created attachment 103179 [details]
alex-Xorg.0.log.2006-12-02
Comment 2 Christian Kanzian 2006-12-02 05:09:45 UTC
Hello,

Same behavior here, X crashes if I try to switch to fullscreen mode with vmware for example.

#emerge -s nvidia-drivers
*  x11-drivers/nvidia-drivers
      Latest version available: 1.0.9629
      Latest version installed: 1.0.9629


#lspci
06:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1) (prog-if 00 [VGA])

kdm.log

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.17-gentoo-r8 x86_64
Current Operating System: Linux chk64 2.6.18-gentoo-r3 #1 SMP PREEMPT Sun Nov 26 21:45:15 CET 2006 x86_64
Build Date: 15 October 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec  2 13:36:28 2006
(==) Using config file: "/etc/X11/xorg.conf"
    xkb_keycodes             { include "xfree86+aliases(qwertz)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+de" };
    xkb_geometry             { include "pc(pc105)" };
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x71) [0x48bea1]
1: /lib/libc.so.6 [0x2af41b5b25d0]
2: /usr/lib64/xorg/modules/drivers/nvidia_drv.so(_nv001261X+0x4d) [0x2af41ce431cd]

Fatal server error:
Caught signal 11.  Server aborting


emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.6
Last Sync: Sat, 02 Dec 2006 11:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 arts asf avi berkdb binary-drivers bitmap-fonts cairo ccache cdparanoia cdr chroot cli cracklib crypt cups dbus dlloader dri dts dvd dvdr dxr3 eds elibc_glibc emul-linux-x86 encode esd exif fam fat ffmpeg flac fortran gdbm gif gimp gimpprint gkrellm gphoto2 gstreamer gtk gtk2 hal iconv icq ieee1394 imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 irda java javascript jpeg kde kernel_linux kipi lame libg++ linguas_de linguas_en lirc lirc_devices_leadtek_0010 lm_sensors logitech-mouse lzw mad mikmod mng mp3 mp4 mp4live mpd-mad mpeg mpeg2 ncurses nfs nls nptl nptlonly nsplugin ntfs nvidia nvtv ogg opengl oss pam pcre pdflib perl png postgres ppds pppd python qt3 qt4 quicktime rdesktop readline reflection reiserfs scanner sdl session speex spell spl sqlite3 ssl svg tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vorbis webdav wma wmf xcomposite xine xml xorg xv zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Fab 2006-12-02 07:24:20 UTC
Same problem here with 96.29.

I found this :

> This is a known bug which is triggered when making a specific type of mode
> change while using a DFP, and will be resolved in the next driver release. The
> current workarounds are to either change to the mode you need with xrandr or
> downgrade to an older driver version.

http://www.nvnews.net/vbulletin/showthread.php?t=81316

Try with 9742 :)
Comment 4 Alexis Lahouze 2006-12-02 08:24:34 UTC
(In reply to comment #3)
> Same problem here with 96.29.
> 
> I found this :
> 
> > This is a known bug which is triggered when making a specific type of mode
> > change while using a DFP, and will be resolved in the next driver release. The
> > current workarounds are to either change to the mode you need with xrandr or
> > downgrade to an older driver version.
> 
> http://www.nvnews.net/vbulletin/showthread.php?t=81316
> 
> Try with 9742 :)

It works for me, thanx :-)


Comment 5 Christian Kanzian 2006-12-03 12:19:13 UTC
Upgraded to nvidia-drivers 9742 and now it works for me too. Thanx for help! Bug solved?
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-04 07:28:38 UTC
Now, I'm going to guess that every last one of you has modes defined for every mode you're trying to use in full-screen, right?

$ cat /etc/X11/xorg.conf | grep Modes
                Modes     "1440x900" "1152x864" "1024x768" "800x600" "640x480"

Applications using libsdl are known to segfault if you do not have the modes defined.

For those of you with your modes set correctly that are affected by the DFP bug, we'll leave this open until a new version comes out (that isn't BETA) that fixes this, so 9742 doesn't count.
Comment 7 Christian Kanzian 2006-12-04 11:07:54 UTC
Yes, I had no Modes defined (sorry). 
-added Modes to xorg.conf
-downgraded to 9629

Applications like vmware or ut2004-demo switch without crash to fullscreen. But changing the resolution in ut2004-demo from the highest availiable to lower crashes X like before.
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-05 09:28:37 UTC
Please try 1.0.9631, which was just added to portage.
Comment 9 Christian Kanzian 2006-12-06 09:58:26 UTC
>Please try 1.0.9631, which was just added to portage.

Just merged. 
Changing the resolution in fullscreen mode works in UT2004-demo (UT2004-demo crasches on some resolutions but X does not! - does not matter). Also vmware runs in fullscreen mode and switching resolution works flawless(Win XP).
So X does not crashes anymore :-), if switching to fullscreen. Any additional infos needed?

thanks,
Christian
Comment 10 Fab 2006-12-06 12:42:40 UTC
(In reply to comment #8)
> Please try 1.0.9631, which was just added to portage.
> 

Yes, works fine here when switching lbreakout2 from window mode to fullscreen in 1440 x 900. Thanks.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-06 13:54:53 UTC
Thanks...